Skip to Content
HomeLink Hub
Earnings & Payouts

List banks supported for payouts

GET
/api/v1/earnings/banks

Access: Bearer token required.

Returns the payout provider's (Pandascrow GET /bank/lists) list of banks, for the bank picker on the withdrawal and payout-account forms. Use an item's bankCode as bankCode in POST /earnings/banks/validate and POST /earnings/withdraw. The list is fetched from the provider on every call (the API does not cache it) and each item is passed through as received, so fields beyond those shown may be present.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Response Body

Array of banks (empty array if the provider returned none).

application/json
  1. response
status*integer
success*boolean
message*string
data*array<>
Example Request
curl -X GET 'http://localhost:4000/api/v1/earnings/banks'
Example Response
{  "status": 200,  "success": true,  "message": "Banks fetched successfully",  "data": [    {      "bankName": "Guaranty Trust Bank",      "bankCode": "058",      "nibssBankCode": "000013"    }  ]}