API Reference
Partner-Managed Card Issuing API
Card issuing, partner-driven authorization webhooks, and Master Settlement Account settlement.
Example data is synthetic. IDs, credentials and personal details are for documentation. Replace them with values assigned to your Sandbox integration.
1. Introduction
Overview
The Partner-Managed Card Issuing API connects DTC's card issuing infrastructure to the partner's authorization system.
- DTC provides card issuing infrastructure, eKYC capability and settlement services.
- The partner issues and manages cards through dtcpay, manages cardholder balances and makes real-time card authorization decisions.
- The partner pre-funds a Master Settlement Account (MSA) with DTC.
Security standards
Use HTTPS with TLS 1.2 or later.
Start by applying for and activating a card through the Partner-to-DTC card APIs. Integrate the card transaction callbacks to authorize and track activity on issued cards.
2. Partner-to-DTC card APIs
Call these endpoints from your system to apply for, activate and manage cards on dtcpay. dtcpay returns the result of each call. Keep the card ID for subsequent card operations.
API base URLs
Append the endpoint path to the base URL for your environment. Use the same base URL for OAuth token requests and partner query APIs.
| Environment | Base URL |
|---|---|
| Production | https://open-api.dtcpay.com |
| Sandbox (SBX) | https://open-api.sbx.dtcpayment.net |
Request and response formats
In request tables, M means mandatory, O means optional and C means conditional.
Send the card and cardholder fields for POST and PUT endpoints in the JSON query object. For paged POST endpoints, send page alongside query. For GET endpoints, put the required identifier in the path and send an empty body.
| Field | JSON type | Description |
|---|---|---|
query | Object | Endpoint-specific request fields. See the endpoint for required values. |
page | Object | Pagination settings for endpoints that accept them. current is the page number and size is the page size. |
{"query":{"cardId":88888888041}}Read header.success to determine the outcome. Use a JSON parser that preserves 64-bit integer precision for IDs. Optional response fields may be omitted.
| Field | JSON type | Description |
|---|---|---|
header.success | Boolean | Indicates whether dtcpay processed the request successfully. |
header.errCode | String | Error code on failure. Leading zeros are significant. |
header.errMsg | String | Error description on failure. |
result | Object | Data returned by a single-object endpoint. An acknowledgment-only response returns header. |
resultList | Array | Records returned by a list endpoint. |
pagination | Object | Pagination metadata returned by a paged list endpoint. |
{"header":{"success":true},"result":{"cardId":88888888041,"status":1}}{"header":{"success":false,"errCode":"31005","errMsg":"Invalid card information"}}Partner-to-DTC API signing
Obtain an access token and use the Sign Key associated with your API credential. OAuth 2.0 authentication
-
Build the string to sign from the following values in order.
- Method is the uppercase HTTP method.
- Timestamp is the Unix time in milliseconds used in
D-TIMESTAMP. Use a timestamp within two minutes of dtcpay server time. - Path is the request path with path parameters substituted. Use the scheme and host only in the HTTP request URL.
- Query string starts with
?when present. Preserve the exact parameter order and percent encoding. - Body is the exact UTF-8 request body. Use an empty string when there is no body. Preserve the JSON whitespace and key order.
Method + Timestamp + Path + ("?" + RawQuery if present) + BodyGET without query parameters — Inquire about a card by application reference
GET1780444800000/card/v1/inquiry-info/REF123POST with a JSON body — Freeze a card
POST1780444800000/card/v1/freeze{"query":{"cardId":88888888041}} -
Compute HMAC-SHA512 with your Sign Key and Base64-encode the result. The POST example above produces
HUEnlKDNaHZNn8cxMY7sPWhcOD7kI6hXL2ZSoIoNjSHhtaL7bPqLqFJXl5bywF+wfhVVlHosLsFlZWn6Zu/bcw==with the fictitious keyexample-sign-key. Generate a fresh timestamp for each actual request. -
Attach the request headers.
| Header | Required | Value |
|---|---|---|
Authorization | M | Bearer <access_token>. |
D-TIMESTAMP | M | The timestamp used in the signing input. |
D-SIGNATURE | M | The Base64-encoded signature. |
Content-Type | C | Required for requests with a JSON body. Use application/json. |
D-SUB-ACCOUNT-ID | C | The linked card client ID when acting on behalf of a sub-account. |
DTC-MFA-Data | C | MFA data for applicable requests. MFA requirements |
Signing example (Java)
Set DTC_SIGN_KEY to your Sign Key. Send the printed timestamp and signature as request headers. For the POST, send the body string as shown.
import java.nio.charset.StandardCharsets;
import java.util.Base64;
import java.util.Objects;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
public class PartnerCardSignatureExample {
public static void main(String[] args) throws Exception {
String signKey = Objects.requireNonNull(System.getenv("DTC_SIGN_KEY"), "Set DTC_SIGN_KEY");
sign("GET", "/card/v1/inquiry-info/REF123", "", "", signKey);
String body = "{\"query\":{\"cardId\":88888888041}}";
sign("POST", "/card/v1/freeze", "", body, signKey);
}
private static void sign(String method, String path, String rawQuery, String body, String signKey)
throws Exception {
String timestamp = Long.toString(System.currentTimeMillis());
String query = rawQuery.isEmpty() ? "" : "?" + rawQuery;
String stringToSign = method + timestamp + path + query + body;
Mac mac = Mac.getInstance("HmacSHA512");
mac.init(new SecretKeySpec(signKey.getBytes(StandardCharsets.UTF_8), "HmacSHA512"));
String signature = Base64.getEncoder().encodeToString(
mac.doFinal(stringToSign.getBytes(StandardCharsets.UTF_8)));
System.out.println("D-TIMESTAMP: " + timestamp);
System.out.println("D-SIGNATURE: " + signature);
}
}MFA requirements
dtcpay can enable or disable API MFA for each institution. When API MFA is enabled, include a valid DTC-MFA-Data header for completed face authentication when acting on behalf of a sub-account identified by D-SUB-ACCOUNT-ID on the card application, activation, set PIN, reset PIN and sensitive card information endpoints. Poll for the face-authentication result and use the token returned on success as the face-authentication proof in the header. See the individual endpoint for any OTP requirements.
Build the header value as the operation code followed by :1, and the face-authentication token. The following example is for a card application.
DTC-MFA-Data: 3:1,<face-authentication-token>| Card operation | Operation code |
|---|---|
| Apply for a card | 3 |
| Activate a card | 4 |
| Set a card PIN | 5 |
| Reset a card PIN | 6 |
| Inquire about sensitive card information | 7 |
2.1 Apply for a card
POST /card/v1/apply
Submit a virtual or physical card application for a linked card client. The partner must have a base-currency MSA and a configured card webhook. Save the application reference and the returned card ID to look up the card later. After a duplicate submission, check the existing application by its reference or card ID. The MFA requirements above apply.
dtcpay checks for duplicate card applications within a 1-second window.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.referenceNo | String | M | Idempotency key unique to the combination of the effective clientId and referenceNo for card applications. |
query.settlementMode | String | M | Set to MSA_DELEGATED. This value is required for Partner-Managed Card Issuing. |
query.productCode | String | M | Card product code assigned by DTC. |
query.cardMaterial | Integer | M | 1 metal, 2 plastic, 3 virtual. |
query.currency | String | M | ISO 4217 card currency, such as SGD. |
query.firstName | String | M | Cardholder given name, up to 25 characters. |
query.lastName | String | M | Cardholder family name, up to 25 characters. |
query.preferredPrintedName | String | C | Required for physical cards. Name to print on the card, up to 25 characters. |
query.email | String | M | Email associated with the card. |
query.mobile | Object | M | Mobile number associated with the card. |
query.mobile.countryCode | String | M | International calling code, such as 65. |
query.mobile.number | String | M | Phone number without the calling code. |
query.deliveryAddress | Object | C | Required for physical cards. Shipping address. Address fields below apply when this object is supplied. |
query.deliveryAddress.country | String | C | Required when supplying query.deliveryAddress. ISO 3166-1 alpha-3 destination country. |
query.deliveryAddress.state | String | O | State or province, up to 40 characters. |
query.deliveryAddress.city | String | C | Required when supplying query.deliveryAddress. City, up to 40 characters. |
query.deliveryAddress.district | String | O | District, up to 40 characters. |
query.deliveryAddress.address1 | String | C | Required when supplying query.deliveryAddress. First address line, up to 40 characters. |
query.deliveryAddress.address2 | String | O | Second address line, up to 40 characters. |
query.deliveryAddress.address3 | String | O | Additional address line. |
query.deliveryAddress.postal | String | C | Required when supplying query.deliveryAddress. Postal code, up to 10 characters. |
query.deliveryAddress.fullName | String | O | Recipient name, up to 60 characters. Defaults to the cardholder name. |
query.deliveryAddress.phoneNumber | String | O | Recipient phone number. Defaults to the cardholder mobile. |
query.cardFeeDetails | Array | O | Wallet-funded application or delivery charges, when applicable. |
query.cardFeeDetails[].type | Integer | C | Required for each entry in query.cardFeeDetails. Fee category. 1 application fee or 2 delivery fee. |
query.cardFeeDetails[].amount | Number | C | Required for each entry in query.cardFeeDetails. Fee amount. |
query.cardFeeDetails[].currency | String | C | Required for each entry in query.cardFeeDetails. ISO 4217 currency of the charge. |
query.autoDebitEnabled | Integer | O | 0 off (default), 1 on. |
Request example
{
"query": {
"referenceNo": "EXAMPLE-REF-013",
"settlementMode": "MSA_DELEGATED",
"productCode": "EXAMPLE_PRODUCT",
"cardMaterial": 3,
"currency": "SGD",
"firstName": "Alex",
"lastName": "Example",
"email": "alex@example.com",
"mobile": {
"countryCode": "65",
"number": "00000000"
}
}
}Successful response
| Field | JSON type | Description |
|---|---|---|
result.cardId | Long | DTC ID of the card created or resolved by the application. |
result.status | Integer | Current card status. A virtual card returns 1 (activated) immediately after successful issuance. A physical card returns 99 (pending approval). dtcpay issues the physical card after approving the application. |
{
"header": {
"success": true
},
"result": {
"cardId": 88888888041,
"status": 1
}
}Endpoint-specific errors include 31001 for an unavailable product configuration, 31055 for insufficient funds for an applicable card fee, and 31057 for a mainland China delivery address. If the partner's MSA or card webhook is missing, the response returns 31999 with the configuration error in header.errMsg.
2.2 Inquire about a card by application reference
GET /card/v1/inquiry-info/{referenceNo}
Look up the card associated with the reference used in the application.
Path parameter
| Field | JSON type | Required | Description |
|---|---|---|---|
referenceNo | String | M | Original application reference. Look up the card under the same effective clientId used to apply. |
Example request path GET /card/v1/inquiry-info/EXAMPLE-REF-013. This request uses an empty body.
Successful response
| Field | JSON type | Description |
|---|---|---|
result.cardId | Long | DTC card ID. |
result.referenceNo | String | Original application reference supplied when applying for the card. |
result.status | Integer | Current card status ID. See Card status. |
result.clientId | Long | ID of the card client. |
result.cardholderName | String | Name on the cardholder record. |
result.truncatedCardNumber | String | Masked card number, when available. |
result.currency | String | Card currency. |
result.cardBrand | Integer | 1 Visa, 2 Mastercard. |
result.cardMaterial | Integer | 1 metal, 2 plastic, 3 virtual. |
result.preferredPrintedName | String | Preferred name printed on a physical card. |
result.mobileNumber | String | Mobile number associated with the card. |
result.email | String | Email associated with the card. |
result.pinEnabled | Boolean | Indicates whether a card PIN is set. |
result.autoDebitEnabled | Boolean | Indicates whether auto-debit is enabled. |
result.cardLimitEnabled | Boolean | Indicates whether card spending limits are enabled. |
result.transactionLimit | Number | Per-transaction limit, when enabled. |
result.monthlyLimit | Number | Monthly limit, when enabled. |
result.productCode | String | DTC card product code. |
result.trackingNo | String | Shipment tracking reference, when assigned. |
result.createdAt | String | Card record creation time. |
result.issuedDate | String | Issuance date, when available. |
result.activationDate | String | Activation time, when available. |
result.deliveryAddress | Object | Delivery address for physical cards, when present. It can include country, state, city, district, address1, address2, address3 and postal. |
{
"header": {
"success": true
},
"result": {
"cardId": 88888888041,
"referenceNo": "EXAMPLE-REF-013",
"status": 1,
"clientId": 85888888901,
"cardholderName": "Alex Example",
"truncatedCardNumber": "000000******0000",
"currency": "SGD",
"cardBrand": 1,
"cardMaterial": 3,
"pinEnabled": false,
"productCode": "EXAMPLE_PRODUCT"
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information.
2.3 Inquire about a card by ID
GET /card/v1/inquiry-info/by-id/{cardId}
Look up a card using the DTC card ID.
Path parameter
| Field | JSON type | Required | Description |
|---|---|---|---|
cardId | Long | M | DTC ID returned by the card application. |
Example request path GET /card/v1/inquiry-info/by-id/88888888041. This request uses an empty body.
Successful response
| Field | JSON type | Description |
|---|---|---|
result.cardId | Long | DTC card ID. |
result.referenceNo | String | Original application reference supplied when applying for the card. |
result.status | Integer | Current card status ID. See Card status. |
result.clientId | Long | ID of the card client. |
result.cardholderName | String | Name on the cardholder record. |
result.truncatedCardNumber | String | Masked card number, when available. |
result.currency | String | Card currency. |
result.cardBrand | Integer | 1 Visa, 2 Mastercard. |
result.cardMaterial | Integer | 1 metal, 2 plastic, 3 virtual. |
result.preferredPrintedName | String | Preferred name printed on a physical card. |
result.mobileNumber | String | Mobile number associated with the card. |
result.email | String | Email associated with the card. |
result.pinEnabled | Boolean | Indicates whether a card PIN is set. |
result.autoDebitEnabled | Boolean | Indicates whether auto-debit is enabled. |
result.cardLimitEnabled | Boolean | Indicates whether card spending limits are enabled. |
result.transactionLimit | Number | Per-transaction limit, when enabled. |
result.monthlyLimit | Number | Monthly limit, when enabled. |
result.productCode | String | DTC card product code. |
result.trackingNo | String | Shipment tracking reference, when assigned. |
result.createdAt | String | Card record creation time. |
result.issuedDate | String | Issuance date, when available. |
result.activationDate | String | Activation time, when available. |
result.deliveryAddress | Object | Delivery address for physical cards, when present. It can include country, state, city, district, address1, address2, address3 and postal. |
{
"header": {
"success": true
},
"result": {
"cardId": 88888888041,
"referenceNo": "EXAMPLE-REF-013",
"status": 1,
"clientId": 85888888901,
"cardholderName": "Alex Example",
"truncatedCardNumber": "000000******0000",
"currency": "SGD",
"cardBrand": 1,
"cardMaterial": 3,
"pinEnabled": false,
"productCode": "EXAMPLE_PRODUCT"
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information.
2.4 Cancel a physical card application
POST /card/v1/cancel
Cancel an eligible physical card application.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
Request example
{
"query": {
"cardId": 88888888041
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 31027 for a failed cancellation.
2.5 Send a card activation OTP
POST /card/v1/otp/activate-card
Send a one-time password using the selected contact method registered on a card eligible for activation.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.otpType | Integer | M | 1 for email or 2 for SMS. |
Request example
{
"query": {
"cardId": 88888888041,
"otpType": 1
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 01006 for an OTP request inside the resend cooldown.
2.6 Activate a card
POST /card/v1/activate
Activate an issued card that is ready for activation. For a physical card, wait until the cardholder receives it. Send the card ID and the last four digits of the card number.
A 1-second duplicate-submission check uses query.cardId.
Activate the card using its last four digits and the applicable verification method. The MFA requirements above apply.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.lastFourDigitCardNo | String | M | Exactly four digits from the end of the card number. |
query.otpCode | String | C | Activation OTP. Supply it when the request lacks valid sub-account face authentication. |
Request example
{
"query": {
"cardId": 88888888041,
"lastFourDigitCardNo": "0000",
"otpCode": "000000"
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 00017 for an incorrect activation OTP, 31008 for a card number suffix mismatch, 31017 for failed activation.
2.7 Generate a card public key
POST /card/v1/public-key
Obtain a public key for encrypting the PIN or mobile number for an activated card. Use RSA/ECB/PKCS1Padding with the returned key. Send the resulting ciphertext as Base64 in the relevant operation.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.cardPublicKeyType | Integer | M | Use 0 (PIN) for setting or resetting a PIN, or 1 (CARD_PHONE) for editing a mobile number. |
Request example
{
"query": {
"cardId": 88888888041,
"cardPublicKeyType": 0
}
}Successful response
| Field | JSON type | Description |
|---|---|---|
result.publicKey | String | Base64-encoded RSA public key for the requested card and purpose. |
{
"header": {
"success": true
},
"result": {
"publicKey": "EXAMPLE_PUBLIC_KEY_BASE64"
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 31006 for an invalid key purpose.
2.8 Set a card PIN
POST /card/v1/set-pin
Set the initial PIN for an activated card. Generate a PIN public key for that card and encrypt the PIN before submitting it.
A 1-second duplicate-submission check uses query.cardId.
Set the first PIN for an activated card. Obtain a PIN public key for the same card before encrypting the new PIN. The MFA requirements above apply.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.encryptedPin | String | M | Base64 ciphertext produced by encrypting the six-digit PIN with the public key for purpose 0 (PIN). |
Request example
{
"query": {
"cardId": 88888888041,
"encryptedPin": "EXAMPLE_ENCRYPTED_PIN_BASE64"
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31014 for a PIN setup failure, 31031 for a PIN that does not meet the complexity rules, 31052 for a card that already has a PIN.
2.9 Send a PIN reset OTP
POST /card/v1/otp/reset-pin
Send a one-time password for resetting the PIN on an activated card.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.otpType | Integer | M | 1 for email or 2 for SMS. |
Request example
{
"query": {
"cardId": 88888888041,
"otpType": 2
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 01006 for an OTP request inside the resend cooldown.
2.10 Reset a card PIN
POST /card/v1/reset-pin
Replace the existing PIN on an activated card. Use a PIN public key for the same card. The MFA requirements above apply.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.encryptedPin | String | M | Base64 ciphertext produced by encrypting the six-digit PIN with the public key for purpose 0 (PIN). |
query.otpCode | String | C | Reset OTP when required by the partner’s verification configuration. Valid sub-account face authentication satisfies verification where enabled. |
Request example
{
"query": {
"cardId": 88888888041,
"encryptedPin": "EXAMPLE_ENCRYPTED_PIN_BASE64",
"otpCode": "000000"
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31014 for a PIN update failure, 31999 for an invalid reset OTP, with details in header.errMsg.
2.11 Freeze a card
POST /card/v1/freeze
A 1-second duplicate-submission check uses query.cardId.
Temporarily freeze an eligible card to prevent new spending. Use Unfreeze to restore the card when it can be used again.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
Request example
{
"query": {
"cardId": 88888888041
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 31011 for a failed freeze operation.
2.12 Unfreeze a card
POST /card/v1/unfreeze
A 1-second duplicate-submission check uses query.cardId.
Restore a frozen card so it can be used again, subject to the card status and controls.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
Request example
{
"query": {
"cardId": 88888888041
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 31012 for a failed unfreeze operation.
2.13 Terminate a card
POST /card/v1/terminate
A 1-second duplicate-submission check uses query.cardId.
Permanently close the card so the cardholder can no longer use it.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.reason | String | O | Free-text termination reason, up to 64 characters. |
Request example
{
"query": {
"cardId": 88888888041,
"reason": "Cardholder requested termination"
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 31027 for a failed termination.
2.14 Inquire about sensitive card information
POST /card/v1/inquiry-card-sensitive-info
Retrieve the card number, security code and expiry date for an authorized card. The MFA requirements above apply.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
Request example
{
"query": {
"cardId": 88888888041
}
}Successful response
| Field | JSON type | Description |
|---|---|---|
result.cardNumber | String | Full card number (PAN). |
result.cvc | String | Card verification code. |
result.expiryDate | String | Card expiry in yyyy-MM format. |
{
"header": {
"success": true
},
"result": {
"cardNumber": "0000000000000000",
"cvc": "000",
"expiryDate": "2030-04"
}
}Endpoint-specific errors include 31005 for invalid or unavailable card information, 31016 for failed retrieval of sensitive card data.
2.15 Edit the card mobile number
PUT /card/v1/edit-mobile
Update the mobile number associated with the card. Encrypt the new number, including its country calling code, with the key generated for CARD_PHONE.
Request body fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.cardId | Long | M | DTC ID of the card. |
query.encryptedMobile | String | M | Base64 ciphertext for the new mobile number, encrypted with this card’s public key for purpose 1. |
Request example
{
"query": {
"cardId": 88888888041,
"encryptedMobile": "EXAMPLE_ENCRYPTED_MOBILE_BASE64"
}
}Successful response
{
"header": {
"success": true
}
}Endpoint-specific errors include 31010 for an unknown card ID, 31002 for a decryption or processor failure.
3. Card transaction callbacks
Use one partner endpoint to receive HTTPS POST requests from dtcpay. These callbacks start after eligible cards are issued and activated. For authorization and other decision requests, your system checks the cardholder’s balance and applies your own rules before returning a decision. For result notifications, update your records from the reported event and acknowledge receipt. Route each callback by its top-level event field.
DTC-to-partner webhook signature verification
-
Build the string to sign from the following values in order.
- Method is
POST. - URL is the configured webhook URL exactly as entered, including its scheme, host, path and any query string.
- Data is compact JSON from the top-level
dataobject. Sort object keys recursively and preserve array element order. Preserve 64-bit integer precision and decimal scale when parsing and serializing JSON. For example, keep100.00as100.00.
POST + ConfiguredWebhookUrl + CanonicalJson(data) - Method is
-
Compute HMAC-SHA512 with the Sign Key associated with the webhook configuration and Base64-encode the result.
-
Compare the resulting signature with
signaturein the request body. Card transaction callbacks also carry the signature inD-SIGNATURE.
Webhook signature example
Use the fictitious key example-sign-key, URL https://partner.example/webhook and input data {"tranType":2,"tranId":9007199254740993,"amount":100.00}. The first line is the exact signing input after canonicalizing data. The second is the Base64-encoded HMAC.
POSThttps://partner.example/webhook{"amount":100.00,"tranId":9007199254740993,"tranType":2}
RHmcfeqYYSWHZIKdTWoXXjcC5VI39MT5wt8IWqg7kU1dUc8YQngDt/nOdbWU3yKsWMQBgxTVpPTRPk/4xbWueA==Webhook request format
Callbacks use Content-Type: application/json. Card transaction callbacks include the Unix timestamp in milliseconds in timestamp and D-TIMESTAMP. The 3DS OOB callbacks use the signature in the body.
| Field | JSON type | Description |
|---|---|---|
event | String | Callback name used to select the payload and response format. |
clientId | Long | Card client ID, also supplied as data.clientId. |
timestamp | Integer | Event timestamp for card transaction callbacks. |
data | Object | Event-specific payload described below. |
signature | String | Base64-encoded signature for the request. |
Example IDs are fictitious. Both clientId fields are 64-bit JSON integers. The examples use 85888888901 for the card client and 85888888903 for its partner institution.
Webhook response format
| Field | JSON type | Description |
|---|---|---|
code | String | Return "000000" with HTTP 2xx to acknowledge that your system received and processed the callback. |
msg | String | Optional response message, such as "success". |
data | Object | Event-specific response fields, such as responseCode for a decision or authenInd for a 3DS OOB inquiry. |
Decision requests
Return HTTP 2xx and outer code of "000000" when you have processed a decision request. Set data.responseCode to "00" to approve or to a supported processor response code to decline.
{"code":"000000","msg":"success","data":{"responseCode":"00"}}For example, you can decline for insufficient funds using the following response.
{"code":"000000","msg":"success","data":{"responseCode":"51"}}DTC forwards recognized decline codes to the processor. An unrecognized non-empty code is treated as 05. A timeout, failed delivery, non-2xx status, invalid response, non-success outer code or missing decision code is treated as 91. For a successful ATM balance inquiry, include the balances specified below.
Result notifications
Acknowledge receipt with HTTP 2xx and outer code of "000000".
{"code":"000000","msg":"success"}The acknowledgment confirms delivery. DTC determines the transaction outcome and MSA movement independently of this acknowledgment. The sender attempts delivery once per processing attempt. Handle redeliveries idempotently. For transaction events, use data.eventId to identify a repeated delivery of the same event and tranId to correlate separate events for the same transaction.
3.1 Authorization request
CARD_TXN_AUTH_REQ
DTC reserves the requested amount from the MSA before sending the request and creates a PENDING ledger entry. The reserved amount is unavailable for new transactions while DTC waits for your decision. Approval moves the ledger entry to FROZEN. A decline or failed decision callback releases the reservation and marks the associated transaction and ledger as denied. If DTC cannot fund the reservation, the processor can receive 51 before a webhook is sent.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_AUTH_REQ. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC authorization transaction ID. Use it to associate the request with its result. |
data.oriTranId | Long | DTC ID of the original transaction, when supplied. |
data.tranType | Integer | Numeric Webhook transaction type. Examples are 2 for purchase, 8 for cash withdrawal and 20 for account verification. |
data.tranState | Integer | Numeric Webhook transaction state. 0 (pending) while the partner decision is requested. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
data.merchantId | String | Merchant ID supplied for the authorization. |
data.merchantCountry | String | Merchant country supplied for the authorization. |
data.eci | String | Electronic commerce indicator, when supplied. |
data.cavvResult | String | Cardholder authentication verification result, when supplied. |
{
"event": "CARD_TXN_AUTH_REQ",
"timestamp": 1780444800000,
"clientId": 85888888901,
"data": {
"eventId": 88888888032,
"clientId": 85888888901,
"cardId": 88888888041,
"tranId": 88888888031,
"tranType": 2,
"tranState": 0,
"tranAmount": 100.00,
"tranCurrency": "SGD",
"amount": 100.00,
"currency": "SGD"
},
"signature": "EXAMPLE_SIGNATURE_BASE64"
}Partner response
Return HTTP 2xx and {"code":"000000","data":{"responseCode":"00"}} to approve. To decline, return a supported processor response code in data.responseCode.
3.2 Authorization result notification
CARD_TXN_AUTH_NOTIFICATION
DTC reports the processor’s authorization result. On processor approval, the existing reservation remains in place. On processor decline, DTC releases it.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_AUTH_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | Authorization transaction ID. Use it to associate this result with the request. |
data.oriTranId | Long | DTC ID of the original transaction, when supplied. |
data.tranType | Integer | Card transaction type. Examples are 2 for purchase, 8 for cash withdrawal and 20 for account verification. |
data.tranState | Integer | Transaction state after dtcpay processing. 101 is authorized, 200 is successful zero-amount account verification and 900 is denied. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.3 Incremental authorization request
CARD_TXN_INCRE_AUTH_REQ
DTC reserves the additional amount before asking for your decision and creates a PENDING ledger entry. Approval marks that entry FROZEN. A decline or failed decision callback releases the additional amount. The original reservation remains in place.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_INCRE_AUTH_REQ. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC ID of this incremental authorization. |
data.oriTranId | Long | DTC transaction ID of the original authorization. |
data.tranType | Integer | 23 (incremental authorization). |
data.tranState | Integer | 0 (pending) while the partner decision is requested. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
data.merchantId | String | Merchant ID supplied for the authorization. |
data.merchantCountry | String | Merchant country supplied for the authorization. |
data.eci | String | Electronic commerce indicator, when supplied. |
data.cavvResult | String | Cardholder authentication verification result, when supplied. |
Partner response
Return HTTP 2xx and {"code":"000000","data":{"responseCode":"00"}} to approve. To decline, return a supported processor response code in data.responseCode.
3.4 Incremental authorization result notification
CARD_TXN_INCRE_AUTH_NOTIFICATION
DTC reports the processor’s decision for the additional amount. A processor decline releases the incremental reservation.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_INCRE_AUTH_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | Incremental authorization ID. Use it to associate this result with the request. |
data.oriTranId | Long | DTC transaction ID of the original authorization. |
data.tranType | Integer | 23 (incremental authorization). |
data.tranState | Integer | Incremental authorization state after dtcpay processing. 101 is authorized and 900 is denied. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.5 Capture notification
CARD_TXN_CAPTURE_NOTIFICATION
DTC reports a capture associated with an earlier authorization. An existing authorization can cover the capture. DTC may debit an excess amount or release a qualifying unused amount. For eligible clearing events that reference a closed authorization, DTC funds the capture independently.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_CAPTURE_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC transaction ID of the capture. |
data.oriTranId | Long | DTC transaction ID of the original authorization, when available. |
data.tranType | Integer | 21 (capture). |
data.tranState | Integer | 200 (successful capture). |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
data.finalAmount | Number | Cumulative capture amount in card currency, when available. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.6 Capture without prior authorization notification
CARD_TXN_CAPTURE_WITHOUT_AUTH_NOTIFICATION
DTC records the full eligible capture amount before sending the notification. Insufficient balance can result in a forced debit and an alert.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_CAPTURE_WITHOUT_AUTH_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC transaction ID of the capture. |
data.oriTranId | Long | Original transaction ID, when available. A capture without an original transaction omits this field. |
data.tranType | Integer | 21 (capture). |
data.tranState | Integer | 200 (successful capture). |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
data.finalAmount | Number | Cumulative capture amount in card currency, when available. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.7 Capture cancellation notification
CARD_TXN_CAPTURE_CANCEL_NOTIFICATION
DTC reports a completed cancellation of a prior capture. DTC reverses applicable MSA movements of the original capture. An original debit is credited back. An original credit is debited back. A capture without a separate ledger movement has no movement to reverse. If a required re-debit cannot be funded, DTC declines the cancellation with processor response code 05.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_CAPTURE_CANCEL_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC transaction ID of the canceled capture. |
data.oriTranId | Long | DTC transaction ID of the authorization associated with the capture, when available. |
data.tranType | Integer | 21 (capture). |
data.tranState | Integer | 900 indicates that the original capture was canceled. The event detail for the same eventId returns "SUCCESS" for the completed cancellation. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount of the original capture in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
data.finalAmount | Number | Cumulative capture amount in card currency after applying the cancellation, when available. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.8 Card deposits
Card deposits are unavailable for MSA-delegated cards.
3.9 Refund notification
CARD_TXN_REFUND_NOTIFICATION
DTC records the eligible refund credit before sending the notification. The credited amount may be converted to the applicable MSA settlement currency.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_REFUND_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC transaction ID of the refund. |
data.oriTranId | Long | DTC transaction ID associated with the refund, when available. |
data.tranType | Integer | 18 (refund). |
data.tranState | Integer | 200 (refund recorded successfully). |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.10 Reversal request
CARD_TXN_REVERSAL_REQ
DTC asks for your decision on the reversal. For a purchase reversal, DTC releases the applicable authorization amount after successful processor confirmation.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_REVERSAL_REQ. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC transaction ID of the reversal. |
data.oriTranId | Long | DTC ID of the transaction being reversed. |
data.tranType | Integer | 19 (reversal). |
data.tranState | Integer | 0 (pending) while the partner decision is requested. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
data.merchantId | String | Merchant ID supplied for the reversal. |
Partner response
Return HTTP 2xx and {"code":"000000","data":{"responseCode":"00"}} to approve. To decline, return a supported processor response code in data.responseCode.
3.11 Reversal result notification
CARD_TXN_REVERSAL_NOTIFICATION
dtcpay reports the reversal outcome after processing the processor's confirmation. A successful purchase reversal releases the applicable original and incremental authorization holds. The partner can receive tranState = 900 after Coshine confirms a successful reversal if dtcpay rejects it during confirmation checks.
When an authorization times out and dtcpay successfully releases the remaining hold, dtcpay sends this same event with tranType = 24 (TIMEOUT_REVERSAL) and tranState = 200.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_TXN_REVERSAL_NOTIFICATION. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | Reversal transaction ID. Use it to match the result to a reversal request when applicable. |
data.oriTranId | Long | DTC ID of the transaction being reversed. |
data.tranType | Integer | 19 for a regular reversal or 24 (TIMEOUT_REVERSAL) for an automatic release. |
data.tranState | Integer | Reversal state after dtcpay processing. 200 is successful, including a successful automatic release. 900 is denied. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Amount in the original request currency. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Amount recorded for this transaction in card currency. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}.
3.12 ATM balance inquiry request
CARD_BALANCE_INQUIRY_REQ
DTC requests the balance to show on an ATM inquiry.
Fields with no value may be omitted. Preserve the full precision of 64-bit IDs.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_BALANCE_INQUIRY_REQ. |
timestamp | Integer | Unix event timestamp in milliseconds. Also sent in D-TIMESTAMP. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature. Also sent in D-SIGNATURE. |
data.eventId | Long | Unique identifier of this event. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.cardNumber | String | Truncated card number. |
data.cardProdCode | String | Card product code. |
data.cardPresence | String | Card presence indicator, when supplied. |
data.cardholderPresence | String | Cardholder presence indicator, when supplied. |
data.tranId | Long | DTC transaction ID of the balance inquiry. |
data.oriTranId | Long | DTC ID of the original transaction, when supplied. |
data.tranType | Integer | 15 (ATM balance inquiry). |
data.tranState | Integer | 200 means that dtcpay recorded the ATM inquiry. The partner’s data.responseCode determines whether the inquiry succeeds. |
data.tranCode | String | Processor transaction code. |
data.tranDate | String | Transaction date as received from the processor. |
data.tranTime | String | Transaction time as received from the processor. |
data.tranAmount | Number | Original inquiry amount. Always zero. |
data.tranCurrency | String | Currency of tranAmount. |
data.amount | Number | Inquiry amount in card currency. Always zero. |
data.currency | String | Card currency of amount. |
data.rejectedReason | String | Rejection reason, when available. |
data.exchangeRate | Number | Exchange rate recorded for this card transaction, when available. |
data.merchantName | String | Merchant name or transaction descriptor. |
data.merchantCity | String | Merchant city. |
data.merchantCode | String | Merchant category code (MCC). |
data.panEntryMode | String | Card number entry mode, when supplied. |
data.pinEntryMode | String | PIN entry mode, when supplied. |
Partner response
Return HTTP 2xx and code: "000000". Set data.responseCode to "00" when the balance inquiry succeeds. Return all three balances in the card currency as decimal strings. Keep acctBalance = avaiBalance + blockBalance. dtcpay forwards each balance to the processor individually. It forwards zero for a missing or invalid value.
| Field | JSON type | Meaning |
|---|---|---|
data.avaiBalance | String | Available balance. The amount the cardholder can currently spend, after deducting authorization holds. |
data.blockBalance | String | Held balance. Amounts reserved by authorizations that have yet to be posted or released. |
data.acctBalance | String | Book balance. The balance after posted transactions, including funds that are still on hold. |
For a card in SGD, return balances as of the inquiry time.
| When the inquiry arrives | avaiBalance | blockBalance | acctBalance |
|---|---|---|---|
| Before authorization, with SGD 100 on the account and no holds | "100.00" | "0.00" | "100.00" |
| After an authorization places SGD 30 on hold | "70.00" | "30.00" | "100.00" |
| After SGD 10 of the hold is captured and posted, with SGD 20 still on hold | "70.00" | "20.00" | "90.00" |
Example response after an authorization places SGD 30 on hold.
{
"code": "000000",
"msg": "success",
"data": {
"responseCode": "00",
"avaiBalance": "70.00",
"blockBalance": "30.00",
"acctBalance": "100.00"
}
}3.13 One-time password delivery
DTC handles one-time password delivery for supported wallet provisioning and 3DS OTP flows.
3.14 3DS OOB authentication request
CARD_3DS_OOB_REQ
DTC sends this event to start cardholder authentication in the partner’s authentication flow.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_3DS_OOB_REQ. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature in the request body. |
data.acsTransId | String | Authentication transaction ID. Use it to link the request and inquiry. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.customerId | String | Processor customer ID. |
data.acquirerBin | String | Acquirer BIN, when supplied. |
data.merchantId | String | Merchant ID, when supplied. |
data.merchantName | String | Merchant name, when supplied. |
data.last4Digits | String | Last four digits of the card number, when available. |
data.expiryDate | String | Card expiry, when available. |
data.purchaseAmount | String | Purchase amount in minor units as supplied by the processor. |
data.purchaseCurrency | String | Purchase currency as supplied by the processor. |
data.purchaseExponent | String | Decimal exponent. "3999" with exponent "2" represents 39.99. |
data.purchaseDate | String | Purchase date and time as supplied by the processor. |
data.expiryAt | String | Authentication expiry as an ISO 8601 UTC timestamp with milliseconds. DTC adds five minutes to the purchase time if it can parse it as yyyyMMddHHmmss in UTC. Otherwise, DTC adds five minutes to processing time. |
data.callbackUrl | String | Processor-supplied callback URL, when present. |
{
"event": "CARD_3DS_OOB_REQ",
"clientId": 85888888901,
"data": {
"acsTransId": "00000000-0000-4000-8000-888888880009",
"clientId": 85888888901,
"cardId": 88888888041,
"customerId": "EXAMPLE-CUSTOMER-ID-017",
"purchaseAmount": "3999",
"purchaseCurrency": "EUR",
"purchaseExponent": "2",
"purchaseDate": "20260520123000",
"expiryAt": "2026-05-20T12:35:00.000Z"
},
"signature": "EXAMPLE_SIGNATURE_BASE64"
}Partner response
Acknowledge receipt with HTTP 2xx and {"code":"000000","msg":"success"}. Report authentication status through the inquiry response.
3.15 3DS OOB authentication inquiry
CARD_3DS_OOB_INQUIRY
DTC sends this event when the processor asks for the current authentication status. The processor can poll more than once.
| Field | JSON type | Meaning |
|---|---|---|
event | String | CARD_3DS_OOB_INQUIRY. |
clientId | Long | Card client ID. Equal to data.clientId. |
data | Object | Payload described by the data.* fields below. |
signature | String | Base64 signature in the request body. |
data.acsTransId | String | Authentication transaction ID. Use it to link the request and inquiry. |
data.clientId | Long | Card client ID. Equal to the top-level clientId. |
data.cardId | Long | DTC card ID. |
data.customerId | String | Processor customer ID. |
{
"event": "CARD_3DS_OOB_INQUIRY",
"clientId": 85888888901,
"data": {
"acsTransId": "00000000-0000-4000-8000-888888880009",
"customerId": "EXAMPLE-CUSTOMER-ID-017",
"clientId": 85888888901,
"cardId": 88888888041
},
"signature": "EXAMPLE_SIGNATURE_BASE64"
}Partner response
Return HTTP 2xx, code: "000000" and data.authenInd. Return "P" while the cardholder is deciding.
{"code":"000000","msg":"success","data":{"authenInd":"P"}}authenInd | Meaning |
|---|---|
Y | The cardholder approved in the partner’s authentication flow. |
F | Authentication failed or was declined. DTC also uses this result for failed or invalid inquiry replies. |
O | Authentication timed out. |
P | The cardholder’s decision is pending. A subsequent inquiry can request the updated result. |
4. Balance threshold alerts
dtcpay administrators configure the baseline balance and email recipients for these alerts. Contact dtcpay to set up or update your alert settings.
DTC checks the base-currency MSA available balance asynchronously after applicable reservations or debits. If alert recipients are configured, an alert is sent when the available balance reaches or falls below a threshold and the tier is currently clear. One balance change can trigger several tiers. A credit to the base-currency MSA clears a tier once the available balance is above that tier's threshold. An authorization that cannot be funded may be declined with response code 51.
| Tier | Threshold | Action |
|---|---|---|
| Tier 1 | alertBaseLineBalance / 0.6 | Warning email |
| Tier 2 | alertBaseLineBalance / 0.8 | Urgent email |
| Tier 3 | alertBaseLineBalance | Critical balance alert email |
Tier 1 and Tier 2 thresholds are rounded to eight decimal places, half-up.
4.1 Alert email content
Balance alert emails identify the MSA and use the account currency for the reported amounts. The current frozen balance reflects funds still reserved when the email is generated.
| Tier | What the email communicates |
|---|---|
| Tier 1 | The available balance has reached or fallen below the Tier 1 threshold. |
| Tier 2 | The available balance has reached or fallen below the Tier 2 threshold. |
| Tier 3 | The available balance has reached or fallen below the critical threshold. Authorizations that cannot be funded may be declined with response code 51. |
5. Partner query APIs
Call these endpoints to reconcile activity in your settlement accounts and look up recorded card events. Partner-to-DTC API signing
5.1 Query MSA accounts
GET /card/v1/master-settlement-accounts
Authenticate as the partner institution with Card permission. The endpoint returns its MSA accounts in resultList without pagination.
Response fields
| Field | JSON type | Meaning |
|---|---|---|
id | Long | Settlement account ID. Use it as msaId in ledger queries. |
clientId | Long | Master institution client ID. |
currency | String | Account currency. |
balance | Number | Recorded MSA book balance. |
baseCurrencyFlag | Boolean | Indicates the base-currency MSA. In balance-check mode, the base account can be used when the dedicated currency account is missing or has insufficient funds. |
latestSettlementBatchId | Long | Most recent settlement batch ID, when assigned. |
useType | Integer | Account usage. 1 identifies card usage. |
status | Integer | Account status. 0 is inactive and 1 is active. |
alertBaseLineBalance | Number | Baseline used to calculate alert thresholds. |
thresholdTier1Balance | Number | Tier 1 threshold. |
thresholdTier2Balance | Number | Tier 2 threshold. |
thresholdTier3Balance | Number | Tier 3 threshold, equal to alertBaseLineBalance. |
thresholdTier1Status, thresholdTier2Status, thresholdTier3Status | Integer | Status of each tier. 0 is clear and 1 is alerting. |
alertEmails | String | Comma-separated alert recipients, when configured. |
createdAt | String | Account creation time, when present. |
updatedAt | String | Account update time, when present. |
Response example
{
"header": {
"success": true
},
"resultList": [
{
"id": 88888888020,
"clientId": 85888888903,
"currency": "SGD",
"balance": 12000.0,
"baseCurrencyFlag": true,
"useType": 1,
"status": 1,
"alertBaseLineBalance": 6000.0,
"thresholdTier1Balance": 10000.0,
"thresholdTier2Balance": 7500.0,
"thresholdTier3Balance": 6000.0,
"thresholdTier1Status": 0,
"thresholdTier2Status": 0,
"thresholdTier3Status": 0
}
]
}5.2 Query MSA ledger history
POST /card/v1/master-settlement-account-ledgers
Authenticate as the partner institution with Card permission. Ledger rows are ordered by ID in descending order.
Request fields
| Field | JSON type | Required | Meaning |
|---|---|---|---|
query.clientId | Long | O | Card client ID linked to the authenticated institution through an enabled mapping. Omit to query the institution's permitted ledger rows. |
query.msaId | Long | O | ID of an MSA owned by the authenticated institution. |
query.currency | String | O | Filter on the card transaction currency recorded on the ledger. |
query.startDate | String | O | Ledger creation date in yyyy-MM-dd format. The lower bound is midnight on that date, inclusive. |
query.endDate | String | O | Ledger creation date in yyyy-MM-dd format. The upper bound is midnight on the next day, exclusive. |
page.current | Integer | O | Page number. Defaults to 1. |
page.size | Integer | O | Page size. Defaults to 10. |
Request example
{
"query": {
"clientId": 85888888901,
"msaId": 88888888020,
"currency": "SGD",
"startDate": "2026-05-14",
"endDate": "2026-05-14"
},
"page": {
"current": 1,
"size": 20
}
}Response fields
Read ledger rows from resultList. The pagination object contains current, size, total and, when available, pages. Its records field is an empty array.
| Field in each ledger row | JSON type | Meaning |
|---|---|---|
id | Long | Ledger entry ID. |
msaId | Long | Settlement account ID. |
clientId | Long | Client associated with the ledger entry, typically the card client. |
currency | String | Card transaction currency recorded on the ledger. |
amount | Number | Card transaction amount recorded on the ledger. |
settleCurrency | String | Currency used for the MSA movement. |
settleAmount | Number | Amount applied to the MSA. Use this amount and settleCurrency for reconciliation. |
availableBalanceAfterSnapshot | Number | Balance snapshot recorded at booking. The source depends on the funding path. |
exchangeRate | String | Recorded exchange rate, when present. |
quoteId | Long | Quote ID, when recorded. |
indicator | String | debit for funds out and credit for funds in. |
cardTransactionId | Long | Related card transaction ID, when available. |
cardId | Long | Related card ID, when available. |
type | Integer | MSA ledger type. |
status | Integer | MSA ledger status. |
settlementBatchId | Long | Settlement batch ID, when assigned. |
remark | String | Optional ledger remark. |
frozenAt | String | Timestamp when the entry reached FROZEN, when available. |
createdAt | String | Ledger creation time, when present. |
updatedAt | String | Ledger update time, when present. |
Response example
{
"header": { "success": true },
"resultList": [
{
"id": 88888888031,
"msaId": 88888888020,
"clientId": 85888888901,
"currency": "SGD",
"amount": 100.00,
"settleCurrency": "SGD",
"settleAmount": 100.00,
"exchangeRate": "1",
"indicator": "debit",
"type": 1,
"status": 2
}
],
"pagination": {
"current": 1,
"size": 20,
"pages": 8,
"total": 156,
"records": []
}
}5.3 Card event queries
Query the events exchanged between dtcpay and your authorization system. Both endpoints require the Card Transaction permission. Use the Partner-to-DTC signing rules. To reconcile MSA account movements, use settleAmount and settleCurrency from MSA ledger history.
In the request tables below, O means optional, M means mandatory and C means conditional.
List card events
POST /card/v1/card-event/list
List events for the authenticated client or one of its linked card clients. Send a top-level page object. Rows are ordered by event ID in descending order. All filters in query are optional. Omit query to list events for the authenticated client without filters.
Request fields
| Field | JSON type | Required | Description |
|---|---|---|---|
query.clientId | Long | O | ID of a card client linked to the authenticated institution. Omit this field to query the authenticated client's own events. |
query.eventId | Long | O | Event ID from the callback's data.eventId. |
query.cardId | Long | O | dtcpay card ID. |
query.eventTimeFrom | String | O | Inclusive start of the event time range in yyyy-MM-dd HH:mm:ss format. |
query.eventTimeTo | String | O | Exclusive end of the event time range in yyyy-MM-dd HH:mm:ss format. |
query.tranId | Long | O | dtcpay transaction ID. |
query.oriTranId | Long | O | dtcpay ID of the original transaction. |
query.eventType | String | O | Exact callback event name, such as CARD_TXN_CAPTURE_CANCEL_NOTIFICATION. |
page.current | Integer | M | Page number, starting at 1. |
page.size | Integer | M | Records per page. |
Request example
{
"query": {
"clientId": 85888888901,
"cardId": 88888888041,
"eventType": "CARD_TXN_CAPTURE_CANCEL_NOTIFICATION"
},
"page": { "current": 1, "size": 20 }
}Response fields
Read event records from resultList when header.success is true. The pagination object contains current (page number), size (page size), pages (total pages), total (total matching records) and records (an empty array).
| Field in each event | JSON type | Description |
|---|---|---|
id | Long | Event ID. Use it in the detail endpoint or match it to the callback's data.eventId. |
eventType | String | Callback event name. |
tranId | Long | dtcpay transaction ID. |
oriTranId | Long | dtcpay ID of the original transaction, when available. |
eventTime | String | Time the event was recorded, in yyyy-MM-dd HH:mm:ss format. |
clientId | Long | Card client ID. |
cardId | Long | dtcpay card ID. |
tranType | String | Transaction type enum name, such as CAPTURE or TIMEOUT_REVERSAL. |
settlementAmount | Number | Event amount in the card currency. Capture cancellations reduce the cumulative amount, so this value can be negative. |
settlementCurrency | String | Card currency of settlementAmount. |
requestAmount | Number | Amount in the original processor request, when available. |
requestCurrency | String | Currency of requestAmount. |
deltaIndicator | String | Direction of the recorded settlement account movement, DEBIT or CREDIT, when present. |
deltaAmount | Number | Amount of that movement, when present. |
deltaCurrency | String | Currency of deltaAmount. |
exchangeRate | Number | Transaction exchange rate, when recorded. |
merchantName | String | Merchant name or transaction descriptor, when available. |
merchantCity | String | Merchant city, when available. |
merchantCode | String | Merchant category code (MCC), when available. |
acquirerReferenceNo | String | Acquirer reference number, when available. |
processorTransactionId | String | Processor transaction identifier, when available. |
deniedReason | String | Denial reason, when recorded. |
createdAt | String | Record creation time in yyyy-MM-dd HH:mm:ss format. |
Response example
{
"header": { "success": true },
"resultList": [
{
"id": 88888888033,
"eventType": "CARD_TXN_CAPTURE_CANCEL_NOTIFICATION",
"clientId": 85888888901,
"cardId": 88888888041,
"tranId": 88888888035,
"oriTranId": 88888888034,
"eventTime": "2026-05-20 12:40:00",
"tranType": "CAPTURE",
"settlementAmount": -10.00,
"settlementCurrency": "SGD"
}
],
"pagination": { "current": 1, "size": 20, "pages": 1, "total": 1, "records": [] }
}A missing page object or null pagination values return 31006. A client ID outside the authenticated institution's scope returns 00006.
Get card event details
GET /card/v1/card-event/{eventId}
Use the id returned by the list endpoint or data.eventId from a callback. The event must belong to the authenticated client or one of its linked card clients.
Request fields
| Path parameter | Type | Required | Description |
|---|---|---|---|
eventId | Long | M | dtcpay event ID. |
Request example
GET /card/v1/card-event/88888888033Response fields
| Field | JSON type | Description |
|---|---|---|
result.event | String | Callback event name. |
result.data | Object | Recorded event details. Uses the list row fields above, with eventType represented as result.event and createdAt omitted. The detail can include additional event-specific fields. |
result.data.tranState | String | Recorded state enum name for this event, such as "SUCCESS". |
result.data.finalSettlementAmount | Number | Cumulative capture amount in the card currency after this event, when available. |
For CARD_TXN_CAPTURE_CANCEL_NOTIFICATION, the webhook’s numeric data.tranState is 900 when the original capture has been canceled. Looking up that same event ID returns result.data.tranState as "SUCCESS" because dtcpay processed the cancellation successfully.
Response example
{
"header": { "success": true },
"result": {
"event": "CARD_TXN_CAPTURE_CANCEL_NOTIFICATION",
"data": {
"id": 88888888033,
"clientId": 85888888901,
"cardId": 88888888041,
"tranId": 88888888035,
"oriTranId": 88888888034,
"eventTime": "2026-05-20 12:40:00",
"tranType": "CAPTURE",
"tranState": "SUCCESS",
"settlementAmount": -10.00,
"settlementCurrency": "SGD",
"finalSettlementAmount": 0.00
}
}
}An unknown event ID or an event outside your permitted scope returns 00010.
5.4 MSA funding and withdrawal
Contact dtcpay to arrange funding or withdrawals for your MSA offline. These operations currently have no public API.
6. Enum reference
Webhook transaction state
tranState | Meaning |
|---|---|
0 | Pending |
101 | Authorized |
200 | Successful. For CARD_BALANCE_INQUIRY_REQ, this means dtcpay recorded the ATM inquiry. The partner’s data.responseCode determines whether the inquiry succeeds. |
900 | Denied, expired or canceled. Use event to interpret the outcome. |
Webhook transaction type
tranType | Meaning |
|---|---|
2 | Purchase |
8 | Cash withdrawal |
15 | ATM balance inquiry |
18 | Refund |
19 | Reversal |
20 | Account verification |
21 | Capture |
23 | Incremental authorization |
24 | TIMEOUT_REVERSAL (automatic release of the remaining authorization hold) |
Response Code
The processor recognizes these two-character strings. Use the code that describes the outcome of the decision request.
| Code | Meaning |
|---|---|
00 | No error |
01 | Invalid participant |
02 | Invalid card number |
03 | Invalid card status |
04 | Invalid card token |
05 | Do not honor |
10 | Restricted access |
12 | Invalid transaction |
13 | Invalid amount |
24 | Invalid PIN block format |
25 | Original transaction not found |
30 | Invalid message format |
40 | Unsupported function |
51 | Insufficient funds |
55 | PIN verification failed |
57 | Transaction not permitted to cardholder |
61 | Amount limit exceeded |
62 | Restricted card |
64 | Original amount does not match |
65 | Count limit exceeded |
91 | System error |
94 | Duplicate transaction |
99 | Unexpected data retrieval error |
Card status
| ID | Name | Meaning |
|---|---|---|
0 | INACTIVE | Not activated |
1 | ACTIVATED | Activated |
2 | FROZEN | Frozen |
3 | TERMINATED | Terminated |
4 | CANCELLED | Application canceled |
5 | REJECTED | Rejected |
6 | SUSPENDED | Suspended |
7 | DISPATCH | Dispatch |
8 | PRE_TERMINATED | Pre-terminated |
99 | PENDING | Pending approval |
MSA ledger type
| ID | Name | Meaning |
|---|---|---|
1 | AUTH | Authorization |
2 | INCREMENTAL_AUTH | Incremental authorization |
3 | CAPTURE | Capture, capture without prior authorization and capture cancellation movements |
4 | REFUND | Refund |
5 | REVERSAL | Reversal |
7 | TRANSFER_IN | Transfer in |
8 | TRANSFER_OUT | Transfer out |
MSA ledger status
| ID | Name | Meaning |
|---|---|---|
0 | PENDING | Awaiting the applicable decision or confirmation |
1 | DENIED | Failed or rejected |
2 | FROZEN | Confirmed and awaiting settlement |
3 | SETTLING | Settlement in progress |
4 | SETTLED | Marked settled and assigned to a batch |