Skip to Content
HomeLink Hub
Users & Profile

List banks supported for payouts

GET
/api/v1/user/banks

Access: Bearer token required.

Returns the banks the payout provider (PandaScrow) can pay out to, fetched live from the provider on every call; the list changes rarely, so clients may cache it. code is the value to send as bankCode to POST /user/bank-details/verify and PUT /user/bank-details. slug is derived from the bank name by the API (lower-cased, non-alphanumerics replaced with hyphens) for use as a stable key in pickers. If the provider call fails the error is a 500 whose message includes the provider's own text.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

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

Response Body

Bank list returned

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X GET 'http://localhost:4000/api/v1/user/banks'
Example Response
{  "status": 200,  "success": true,  "message": "Banks fetched successfully",  "data": {    "banks": [      {        "name": "Guaranty Trust Bank",        "code": "058",        "slug": "guaranty-trust-bank"      }    ]  }}