# 1.3 Update Static Virtual Account
# Request URL
/api/v1/batch/paymentCode/{mchOrderId}/update
# Request Method
- POST
# *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
{
"code":1000,
"message":"success",
"data":{
"shortLink":"https://a.api-dev.paycools.com/1L9zOOL",
"paymentVaList":[
{// GCASH_STATIC_VA
"mchOrderId": "CCP2022111405068111",
"channelCode": "GCASH_STATIC_VA",
"guideUrl": "https://api-dev.paycools.com/repayment/static/guide/R2VtMG5GejRtYmZFZkZlK0V2SnBzeXJjYTZUanZydHgyWXM4dUptakgrUT0=",
"referenceNumber": "PC0000710000024",
"biller": "PAYCOOLS LOAN"
},
{//PAYMAYA_STATIC_VA
"mchOrderId": "CCP2022111405068111",
"channelCode": "PAYMAYA_STATIC_VA",
"guideUrl": "https://api-dev.paycools.com/repayment/static/guide/bCtvVVJobVVtdWNtQW8zSXhaMWRUa2FaN2YxZ0d3ZlJ1OTZDczdmc2xpaz0=",
"referenceNumber": "PC0088A0",
"biller": "Dragon Loans"
}
]
}
}
# failed response example. code see reference
{
"code":1002,
"message":"merchant white ip forbidden",
}