Cancel order
Cancels an order that still has a reserved amount and items not marked as shipped. Cancelling an order paid with the TRUSTLY payment method also creates a refund transaction.
The response only confirms that Qliro received the request. Qliro sends the result in a notification with the PaymentTransactionId.
Body
application/jsonRequestIdstring, guidA GUID formatted string used to avoid the same request being executed multiple times. The GUID will be stored for 7 days, and during that time, any requests sent with the same GUID will be denied. https://guidgenerator.com/online-guid-generator.aspx
MerchantApiKeystringrequiredWill be provided by Qliro Checkout when setting up merchant account
Length:0 <= x <= 50
OrderIdinteger, int64The Qliro Checkout order ID
Responses
PaymentTransactionsobject[] | nullPaymentTransactionIdinteger, int64StatusInfrastructureConstantsPaymentTransactionStatusValues:0123456
ErrorCodestring | nullUnique error code
ErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout
ErrorCodestring | nullUnique error code
ErrorMessagestring | nullDetailed error message
ErrorReferencestring, guidA tracking ID from Qliro Checkout