get https://sandbox.onebrick.io/v2/payments/gs/bank-account-validation
This API helps verify the bank account to prevent error.
Request parameters
Key Parameters | Data Type | Description |
---|---|---|
publicAccessToken | String | One time access-token generated using the auth token API |
accountNumber | String | Account number that the funds are intended to be sent to. |
bankShortCode | String | This should be the institution that your end-customer intends to receive funds in. Please see this link for full list of bank accounts you can send to. This API only able to validate bank account and not e-wallet account. |
Response parameters
Key Parameters | Data Type | Description |
---|---|---|
accountNo | String | Account number of the user |
bankShortCode | String | Institution short code of the user |
accountName | String | Institution account name that the funds are intended to be sent to. |