Direct Debit Payment Cancel
POST
/snap/v{version}/debit/cancel
POST
/snap/v{version}/debit/cancelUse this API to cancel the payment
- if the payment status is not returned after a long time.
Structure
A message consists of a header and body. The following sections are focused on the body structure. For the header structure, see:
Request Parameters
originalPartnerReferenceNo String
Required
String
RequiredOriginal invoice number that will was used during payment.
partnerReferenceNo String
Required
String
RequiredUnique invoice number to identify the order cancellation on the merchant side
merchantId String
Required
String
RequiredUnique merchant ID that is registered with 2C2P
Response Parameters
responseCode String
Required
String
RequiredResponse code.
Possible values are listed in the response codes table on this page.
responseMessage String
Required
String
RequiredResponse message that explains the response code.
Show Child Parameters
explanation String
Note: This field is returned when additionalInfo is returned.
Version String
API Version used
transactionDateTime String
Process transaction datetime
Note: Datetime format yyyyMMddHHmmss
processType String
"V"
latestTransactionStatus String
Transaction Status
- SUCCESS = "00"
- PENDING = "03"
- REFUNDED = "04"
- CANCELED = "05"
- FAILED = "06"
- NOT_FOUND = "07"
- EXPIRY = "08"
- REJECTED = "09"
Updated 2 days ago