Virtual Account SNAP
Update VA (SNAP)
Update Virtual Account via SNAP transfer-va service.
HTTPMethod: POST
URL: ${ROOT_URL}/v1.0/transfer-va/update-va
Service Code: 32
Version: 1.0
ServiceGroup: transfer-va
ProductType: update-va
| Parameter | Required | Type | Length | Remarks |
|---|
| Content-Type | M | String | - | Fixed value application/json |
| Authorization | C | String | Dynamic | access_token; mandatory if using symmetric encryption |
| X-TIMESTAMP | M | String | 64 | Jakarta time, format 2021-11-29T09:22:18+07:00 |
| X-PARTNER-ID | M | String | 36 | Merchant ID |
| X-EXTERNAL-ID | M | String | 12 | Request ID |
| X-SIGNATURE | M | String | Dynamic | Signature strings |
| X-IP-ADDRESS | M | String | 15 | Client IP (IPv4) |
| Parameter | Required | Type | Length | Remarks |
|---|
| partnerServiceId | String | M | 8 | Derivative of X-PARTNER-ID, similar to company code, 8 digit left padding space. partnerServiceId + customerNo or virtualAccountNo |
| customerNo | String | M | 20 | Unique number (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo |
| virtualAccountNo | String | M | 28 | partnerServiceId (8 digit left padding space) + customerNo (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo |
| virtualAccountName | String | M | 255 | Payer name |
| virtualAccountEmail | String | O | 255 | Email |
| virtualAccountPhone | String | O | 30 | Mobile phone, Format: 62xxxxxxxxxxxxx |
| trxId | String | O | 12 | Partner system transaction ID |
| virtualAccountTrxType | String | O | 1 | Virtual Account Type |
| +additionalInfo | Object | O | unlimited | From Inquiry Response |
| Parameter | Required | Type | Length | Remarks |
|---|
| Content-Type | M | String | - | Fixed value application/json |
| X-TIMESTAMP | M | String | 64 | Jakarta time, format 2021-11-29T09:22:18+07:00 |
| Parameter | Required | Type | Length | Remarks |
|---|
| responseCode | String | M | 7 | HTTP status code + service code + case code |
| responseMessage | String | M | 150 | Response description |
| + virtualAccountData | Object | M | | |
| - partnerServiceId | String | M | 8 | Derivative of X-PARTNER-ID, similar to company code, 8 digit left padding space |
| - customerNo | String | M | 20 | Unique number (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo |
| - virtualAccountNo | String | M | 28 | partnerServiceId (8 digit left padding space) + customerNo (up to 20 digits). partnerServiceId + customerNo or virtualAccountNo |
| - trxId | String | O | 64 | Partner system transaction ID |
| + additionalInfo | Object | O | unlimited | From Inquiry Response |
Content-type: application/json
X-TIMESTAMP: 2020-12-21T14:36:19+07:00
{
"responseCode":"2003200",
"responseMessage":"Success",
"virtualAccountData":{
"partnerServiceId":" 088899",
"customerNo":"12345678901234567890",
"virtualAccountNo":" 08889912345678901234567890",
"trxId":"abcdefgh1234",
"additionalInfo":{
}
}
}