update virtual account/customer
Update a virtual account/customer to support multiple banks
Each customer you create is provisioned with a VFD MFB virtual account by default. In order to link other bank accounts to your customer, you must pass an array of desired bank codes to this endpoint. Available banks are:
1) Providus Bank (Code: 000023)
This endpoint will asynchronously process your request bank by bank and send a response payload to your custom web hook once each requested bank is successfully added to your customer. Presently, you may request to add this custom web hook to your account in any of the developer support groups. NOTE: This custom webhook is different from your primary webhook that is configured from your dashboard profile settings.
This endpoint is throttled to 1 request every 500 milliseconds.
Request
Method | URL |
---|---|
POST | {{baseUrl}}/api/service/v1/query/customer/otherbanks/virtualaccount/update |
Header | Value | |
---|---|---|
Content-Type | application/json | |
publicKey | {{publicKey}} | |
b-access-token | {{accessToken}} | Use the accessToken that was given in response to /api/service/v1/query/merchant/login |
Request Body | Type | Description | |
---|---|---|---|
vfdvirtualaccount | string | VFD account for the customer | Mandatory |
banks | array | Array of bankcodes of the banks you want to update the customer with | Mandatory |
Request Payload Sample
Response Payload Sample
Webhook Success Notification: Payload Sample
Webhook Failure Notification: Payload Sample
Last updated