Get Bank Accounts
This API will return all the bank accounts to where the payouts are done. You can use the ‘Partner Bank ID’ instead of bank account details in payout requests.
http://kraken.airpay.co.in:8000/payout/partner/bank-accountsHeader
Section titled “Header”| Field | Type | Description |
|---|---|---|
| Content-Type | String | application/json |
| Authorization | String | Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Header-Example:
Section titled “Header-Example:”{ "Accept": "application/json", "Authorization": "Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}Parameter
Section titled “Parameter”| Field | Type | Required | Description |
|---|---|---|---|
| offset | Numeric | No | Numeric offset value |
| limit | Numeric | No | Number of rows in the response (maximum 100) |
Request-Example
Section titled “Request-Example”GET 'partner/bank-accounts?offset=0&limit=25'Success 200
Section titled “Success 200”| Field | Type | Description |
|---|---|---|
| status | Alphanumeric | success / error |
| message | Alphanumeric | Response description |
| errors | Array | Error messages if response status is ‘error’ |
| data | Array | Response data |
| data[id] | Numeric | Partner bank id |
| data[bank_name] | Alphanumeric | Bank name |
| data[bank_account_type] | Alphanumeric | savings / current |
| data[bank_account_number] | Numeric | Bank account number |
| data[bank_ifsc] | Alphanumeric | Balance IFSC code |
Example Response Encrypted
Section titled “Example Response Encrypted”{ "status": "success", "message": "Bank Accounts", "data": "3xgybBIkvqYx5nsHOdKFwSrZFOBXTpTat0FYjYeoiEHcC8Vrf4imWX604dRR9KMemv9Lz9ONHoJz1jlOZN/NFR3eKvedt7l4gcxBgL1DOKLtyaS8v94QWlTgSsTw+hvp8n4rRxRIwe38lGUgOPEYI5ZYW4/REo+9SCELSnXYtc9ttl+tKXjN0M+R/BJc0phyQEkoujv+3bUhLCCcOqPxliy5vvO8BkDGf6xSZkEtVUn2h2XOUZBadb2NzQ8XL84rpfoGaG8l6F4su+0d68fNZzE5O7oOQ+ppZFSN+5sDAznO6S9uWe5WFnv94SuhQIUbuPF9zG3/no+XjL8N5+5DzaUNm9YzviWcduebXd5cAak="}Response Decrypted
Section titled “Response Decrypted”{ "status": "success", "message": "Bank Accounts", "data": [ { "id": "845", "bank_name": "ICICI", "bank_account_type": "savings", "bank_account_number": "560002379836", "bank_ifsc": "ICIC0094354" }, { "id": "845", "bank_name": "ICICI", "bank_account_type": "savings", "bank_account_number": "560002379835", "bank_ifsc": "ICIC0094354" } ]}