Skip to main content

Cancel transaction

User can cancel any existing transaction before being settled. It can only be performed on transactions, which have been authorised but not yet settled. Authenticate this request using HTTP Basic Auth by adding a bearer token to the header, e.g. Authentication: Bearer {{access_token}}. You can get the {{access_token}} from the create token request.

If the previous transaction is in Captured state, then that transaction can be cancelled.

Path Parameters
  • transaction_id string required

    The transaction ID

Request Body
  • reference string

    Cancellation note (if any).

Responses

Response Headers

    Schema
    • success boolean
    • message string
    • amount string
    • reference string
    • transaction_id string
    Loading...