Fetch lists of banks

circle-info

Countries we support : There are limitations to countries we supports, However here are the list of countries our Fetch bank api supports.

  • Nigeria (NGN)

  • Ghana (GHS)

  • South Africa (ZAR)

  • United State (USA)

  • Kenya (KES)

  • Uganda (UGX)

  • Tanzania (TZ)

circle-exclamation

Make your "Request"

https://github.com/quaapay/fetch-our-supported-banksarrow-up-right

Curl request methods
curl --request POST \
    --url "https://apis.quaapay/v1/banks" \
    --header "Content-Type: application/json" \
    --header "Authorization: your_auth_key" \
    --data '{
        "country": "us"
    }'

Certainly! The curl request you provided is used to make an HTTP POST request to the URL "https://apis.quaapay/v1/banks" with a JSON payload. Here's a breakdown of the components in the request:

  1. curl: This is the command-line tool used for making HTTP requests.

  2. --request POST: This specifies that the request method is POST.

  3. --url "https://apis.quaapay/v1/banks": This specifies the URL to which the request will be sent.

  4. --header "Content-Type: application/json": This sets the "Content-Type" header to indicate that the request payload is in JSON format.

  5. --data '{ "country": "us" }': This is the data you're sending in the request body. In this case, it's a JSON object with a key-value pair "country": "us".

Putting it all together, the curl request sends a POST request to the specified URL with a JSON payload containing the "country" field set to "us". The server at the specified URL will process the request and respond accordingly.

Last updated