1.3 Update Static Virtual Account
Request URL
/api/v1/batch/paymentCode/{mchOrderId}/update
Request Method
*Please note: mchOderId corresponds an actual payment user, each VA URL corresponds to a payment channel, merchant can request a VA URL by channelCode. VA channel is permanent, once it was acquired, merchant does not need to request it again.
Request Body
| parameter name | Is it mandatory | type of data | length | example | description |
| appId | mandatory | string | - | - | application APPID |
| channelCode | mandatory | string | - | GCASH_STATIC_VA,PAYMAYA_STATIC_VA | Static VA ChannelCode: Multiple chanlcode strings and separated by commas |
| sign | mandatory | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | sign |
response params
| parameter name | type of data | example | description |
| code | int | 1000 | Status code see reference |
| message | String | success | The message of status code |
| data | Object | - | Response Data |
| - shortLink | String | https://a.api-dev.paycools.com/1L9zObb | Repayment guidance link |
| - paymentVaList | List | | Bills Payment Date |
| -- mchOrderId | String | LT000000216 | Merchant Order Number |
| -- channelCode | String | GCASH_STATIC_VA | Collection Channel Code |
| -- guideUrl | String | - | The single channel repayment link |
| -- referenceNumber | String | - | Repayment code |
| -- biller | String | Dragon Loans | Collection agencies |
Successful Response Example
failed response example. code see reference