cURL
curl --request POST \ --url https://api.xpaycheckout.com/payments/cancel/{xIntentId} \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "xIntentId": "in_fooBOwYsaK50AEfK" }'
This response does not have an example.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Cancel Payment
The body is of type object.
object
Cancel Payment response
Was this page helpful?