Skip to content

Utilities

Reference data and connectivity checks.

Banks

Request

Banks reachable in this corridor. swift_code is what payment_details.bank_code carries, or iban_code for an institution with no BIC.

Security
bearerAuth
Query
countrystring(ApiCountry)required

Payment country

Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA"
payment_methodPaymentMethod (string) or null(Payment Method)
Any of:

The rail a payment travels on.

Keys pricing_flat, api_access, deals and the v3 payment models, so it is defined here rather than in v3 -- this module cannot import that one. app.models.v3.common re-exports it.

string(PaymentMethod)
Enum:"bank_transfer""cash_pickup""mobile_wallet""instant_payment"
curl -i -X GET \
  'https://docs.leanx.me/_mock/openapi/v3/info/payment_banks?country=BGD&payment_method=bank_transfer' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Successful Response

Bodyapplication/json
countrystring(ApiCountry)required
Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA"
banksArray of objects(Banks)required
Response
{ "country": "BGD", "banks": [ { … } ] }