Path | /ordersnap/api/v1.0/transfer-va/status |
HTTP Method | POST |
Version | v1.0 |
Service Code | 26 |
Request Header
Field Name | Field Type | Mandatory | Field Description |
---|---|---|---|
Content-Type | String | M | Media type of the resource, i.e. application/json |
Authorization | String | M | Represents access_token of a request; string starts with keyword “Bearer ” followed by access_token. Can get this from Access Token B2B API response. Read here |
X-TIMESTAMP | String | M | Client’s current local time in ISO-8601 format |
X-SIGNATURE | String | M | Created using symmetric signature HMAC_SHA512 algorithm. Read here |
X-PARTNER-ID | String | M | Unique identifier for caller |
X-EXTERNAL-ID | String | M | Merchant’s unique ID per transaction request |
CHANNEL-ID | String | M | PJP’s channel id. |
Content-Type | application/json |
Authorization | Bearer gp9HjjEj813Y9JGoqwOeOPWbnt4CupvIJbU1Mmu4a11MNDZ7Sg5u9a |
X-TIMESTAMP | 2023-07-06T14:12:50+07:00 |
X-SIGNATURE | qoda1fa417c72d6b91c257e01e54fac824 |
X-PARTNER-ID | 7fb118fb-2738-4886-9817-8a2c4de43001 |
X-EXTERNAL-ID | 41807553358950093184162180797837 |
CHANNEL-ID | 95221 |
Request Body
Field Name | Field Type | Mandatory | Field Description |
---|---|---|---|
virtualAccountNo | String | M | virtualAccountNo from Create VA Response (Dengan format : partnerServiceId (8 digit spasi padding kiri) + CustomerNo (hingga 20 digit).. |
{
"virtualAccountNo": "9901023070661153"
}
Response Body
Field Name | Field Type | Mandatory | Field Description |
---|---|---|---|
additionalInfo | Object | O | Object Additional Information |
responseCode | String(7) | M | Status code of transaction charge result |
responseMessage | String(150) | M | Description of transaction charge result. |
virtualAccountData | Object | M | Object Data |
virtualAccountData.billDetails | Array of Objects | O | |
virtualAccountData.customerNo | String | M | Unique number costumer |
virtualAccountData.flagAdvise | String | O | Status is this a retry notification |
virtualAccountData.inquiryRequestId | String(128) | M | Unique identifier from Inquiry |
virtualAccountData.paidAmount | Object | O | Object Paid Amount |
virtualAccountData.paidAmount.currency | String(3) | M | Currency of amount based on ISO 4217 |
virtualAccountData.paidAmount.value | String(16,2) | M | Paid Amount with 2 decimal |
virtualAccountData.paidBills | String | O | Hexadecimal format of binary of flag of paid bills |
virtualAccountData.partnerServiceId | String | M | Partner Service ID |
virtualAccountData.paymentFlagReason | Object | O | Object Reason for Payment Status |
virtualAccountData.paymentFlagReason.english | String | O | Reason for Payment Status in English |
virtualAccountData.paymentFlagReason.indonesia | String | O | Reason for Payment Status in Bahasa |
virtualAccountData.paymentFlagStatus | String(2) | O | Status for Payment Flag: 00 (Success) 01 (Initiated) 02 (Paying) 03 (Pending) 04 (Refunded) 05 (Canceled) 06 (Failed) 07 (Not found) 08 (Expiry) 09 (Rejected) |
virtualAccountData.paymentRequestId | String(128) | C | Unique identifier for this Payment from PJP. Mandatory if Payment happened. |
virtualAccountData.paymentType | String(1) | O | Type of payment |
virtualAccountData.referenceNo | String(15) | O | Payment auth code generated by PJP |
virtualAccountData.totalAmount | Object | O | Object total amount |
virtualAccountData.totalAmount.currency | String(3) | M | Currency of amount based on ISO 4217 |
virtualAccountData.totalAmount.value | String(16,2) | M | Total Amount with 2 decimal |
virtualAccountData.transactionDate | Date | O | Payment datetime when the payment happened |
virtualAccountData.trxDateTime | Date | O | Transaction datetime |
virtualAccountData.virtualAccountNo | String(28) | M | virtualAccountNo from Create VA Response (Dengan format : partnerServiceId (8 digit spasi padding kiri) + CustomerNo (hingga 20 digit) |
{
"additionalInfo": {},
"responseCode": "2002600",
"responseMessage": "Request has been processed successfully",
"virtualAccountData": {
"billDetails": [],
"customerNo": "",
"flagAdvise": "",
"inquiryRequestId": "",
"paidAmount": {
"currency": "IDR",
"value": "12500.00"
},
"paidBills": "",
"partnerServiceId": "",
"paymentFlagReason": {
"english": "PENDING",
"indonesia": "Tertunda"
},
"paymentFlagStatus": "03",
"paymentRequestId": "",
"paymentType": "",
"referenceNo": "testingQA7",
"totalAmount": {
"currency": "IDR",
"value": "12500.00"
},
"transactionDate": "2024-08-23T07:44:11+07:00",
"trxDateTime": "2024-08-23T07:44:11+07:00",
"virtualAccountNo": "7509240900683392"
}
}
List Response Code
Response Code | HTTP Status | Description |
---|---|---|
2002600 | 200 | Successful |
4002601 | 400 | Invalid format |