POST /payments/cancel/{xIntentId}

Request

  • Base URL
    https://api.xpaycheckout.com
  • URL
    https://api.xpaycheckout.com/payments/cancel/{xIntentId}
  • Auth
    HTTP basic

Headers

Idempotency-Keystring

A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.

Request body

xIntentIdstring required

Unique identifier of the payment

Example request

{
  "xIntentId": "in_fooBOwYsaK50AEfK"
}

Response

Cancel Payment response

Changes

No recorded changes to this operation across all 2 revisions of this API.