Inquire Virtual Account
POST
/snap/v{version}/transfer-va/status
POST
/snap/v{version}/transfer-va/statusUse this API to inquire payments when
- Transaction is completed and inquire to get transaction details
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
trxId String
Required
String
RequiredUnique invoice number to identify the order on the merchant side, which is assigned by the merchant.
serviceCode String
Required
String
RequiredMapped to "27" for Virtual Account
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.
paymentId String
PaymentID for referencing this transaction for future payment such as "MIT" e.g ccpp_12345678
merchantId String
Unique merchant ID that is registered with 2C2P
originalPartnerReferenceNo String
Unique invoice number to identify the order on the merchant side, which is assigned by the merchant.
amount String
The value of the amount as a positive integer in the smallest currency unit.
For example, if the currency is USD and the amount is $1.00, set the value of this parameter to 1.00
or if the currency is IDR and the amount is IDR 10000, set the value of this parameter to 10000
currencyCode String
Transaction currency code in 3 alphabetical values as specified in ISO 4217.
If the value is empty, the system will use the merchant's base currency
tranRef String
Issued by System. This is to trace the transactions in the Routing System.
transactionDateTime String
Process transaction datetime
Note: Datetime format yyyyMMddHHmmss
agentCode String
Refer to Agent code List
channelCode String
Refer to Process By / Channel Code List
paymentScheme String
Refer to Payment Scheme / Process by List
displayProcessingAmount String
Boolean to display processing amount
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