POST
/
payments
/
cancel
/
{xIntentId}
curl --request POST \
  --url https://api.xpaycheckout.com/payments/cancel/{xIntentId} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "xIntentId": "66f53a6e2097773e4f0112c8"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Cancel Payment

The body is of type object.

Response

200

Cancel Payment response