Virtual Account
Inquiry Virtual Account
API ini digunakan untuk melakukan inquiry/pengecekan informasi Virtual Account.
POST
https://staging-gateway.paprika.co.id/api/snap/v1.0/transfer-va/inquiry-vaAPI ini digunakan untuk melakukan inquiry/pengecekan informasi Virtual Account.
Response Codes
| Code | Message | Keterangan |
|---|---|---|
| 2005100 | Successful | Query berhasil diproses. |
| 4045101 | Bill not found | Bill tidak ditemukan. |
| 4045101 | Payment not found | Pembayaran tidak ditemukan. |
| 4014701 | Invalid Token (B2B) | Invalid token B2B. |
| 4014700 | Unauthorized signature | Unauthorized signature. |
| 4004702 | Invalid Mandatory Field [Authorization] | Field authentication belum terisi. |
| 4044708 | Invalid Merchant [Suspended] | Merchant id inactive. |
| 4004701 | Invalid Field Format [X-EXTERNAL-ID] | Terdapat kesalahan pada format X-External-id. |
Parameters
6 parameters accepted on this request.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| string | header | Required | application/json | |
| datetime | header | Required | YYYY-MM-DDTHH:mm:ssZ | |
| string | header | Required | Signature untuk verifikasi. | |
| string | header | Required | Partner ID merchant. | |
| string | header | Required | Channel ID yang digunakan. | |
| string | header | Required | Bearer access token (B2B). |
Request
Content-Type application/json
{
"partnerServiceId": " 123",
"customerNo": "1234567890",
"trxId": "TRX-20260701-0001",
"virtualAccountNo": "75911231234567890"
}Response Samples
200 OKSuccessful
{
"responseCode": "2003000",
"responseMessage": "Successful",
"virtualAccountData": {
"partnerServiceId": " 123",
"customerNo": "1234567890",
"virtualAccountNo": "75911231234567890",
"virtualAccountName": "John Doe",
"trxId": "TRX-20260701-0001",
"virtualAccountTrxType": "C",
"totalAmount": {
"value": "10000.00",
"currency": "IDR"
},
"expiredDate": "2026-12-31T23:59:59+07:00",
"lastUpdateDate": "2026-07-01T15:55:41+07:00",
"paymentDate": "",
"additionalInfo": {
"bankCode": "013"
}
}
}