Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Panel
bgColor#79E2F2

Title: Get List of All Financial Institution by Country Code

Panel
bgColor#F4F5F7

Description: This endpoint provides list of all financial institutions available for a country code

Panel
bgColor#F4F5F7

URL: https://laas.leatherback.co/payout/Disbursement/Payout/BankCodes/:countryIso2

...

Panel
bgColor#F4F5F7

HTTP Method: GET

Panel
bgColor#F4F5F7

Headers: authorization Set value to X-API: SECRET_KEY

string

...

 

Element

Description

Type

Example

Required

countryIso2

Country code of the currency

String | iso2

 

 

to be pass as path variable

NG

 

Available countryIso

 

“NG” -> Nigeria Banks

“ET” -> Ethiopia Banks

“PK” -> Pakistan Banks

Yes

Panel
bgColor#FFC400

Sample Response code : 200Payloads

countryIso2:
"NG" -> Nigeria

"ET" -> Ethopia

...

Expand
titleSample Response (Success)
Code Block
languagejs
{
  "value": [
    {
      "
isSuccess
code": 
false
"110005",
      "
error
name":
null,
 "3LINE CARD MANAGEMENT LIMITED"
    },
    {
      "
message
code": 
null
"120001",
      "
responseCode
name":
null,
 "9 payment service Bank"
    },
    {
"type
      "code": "
050005",
      "
title
name": "
Access
AAA 
Denied!"
FINANCE"
    },
   ...additional 
"status
items
  ],
  "isSuccess": 
401
true,
  "error": "",
  "
detail
message": "
Access
",
 
Denied! Your key or token is invalid. Kindly check your credentials and try again.",
 "responseCode": null,
  "type": null,
  "title": null,
  "status": 202,
  "detail": null,
  "instance": null,
  
"AaaSPayoutService.API.Controllers.PayoutController.BankCodes (AaaSPayoutService.API)", "extensions": { "traceId": "00-7af1b0c358efe9beb9874a7ac668bc47-6c40eb259ff8687d-00" }

...

panelIconIdatlassian-info
panelIcon:info:
bgColor#DEEBFF
"extensions": {}
}
Expand
titleSample Response (If no result for the passed country iso)
Code Block
languagejs
{
  "value": [],
  "isSuccess": true,
  "error": "",
  "message": "",
  "responseCode": null,
  "type": null,
  "title": null,
  "status": 202,
  "detail": null,
  "instance": null,
  "extensions": {}
}

...