Cancel

Last changes: 09-18-2020

Cancel API method cancels an authorized but non-captured transaction. Blocked funds on the consumers funding source are released.

API Parameters

Field Description Type Length Mandatory
transactionId Unique transaction identifier. String 36 Yes
reference Merchant unique request identifier. String 64 No
merchantKey Merchant identifier. String 36 Yes

Example

Request

Path:

POST {Base URL}/payment/cancel

Header:

Content-Type: application/json
Accept-Language: en-US

{
  "transactionId": "933a0fab-80a0-42c5-b010-c71174f4ab32",
  "reference": "f7c55bb3-0002-4363-9a33-56af8d5e691e",
  "merchantKey": "31928de9-1344-469f-b0eb-8e5d0fef3d21"
}

Response

Status Code:

200 (OK)

Header:

Content-Type: application/json
Accept-Language: en-US

{
  "transactionId": "933a0fab-80a0-42c5-b010-c71174f4ab32",
  "result": "Successful execution"
}