get https://sandbox.onebrick.io/v2/payments/gs/bank-account-validation
This API helps verify the bank account to prevent fraud.
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 https://technical-docs.onebrick.io/docs/destination-banks for full list of accounts you can send to. |
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. |