Get Supported Currencies

Before initializing a pay transaction, you'll need to know the supported countries and currencies. Make a GET request to the following endpoint.

https://api.localramp.co/v1/transaction/pay/currencies

With the following header

x-auth-token: <SECRET_KEY>

If the API call is successful, LocalRamp returns the following response:

{
    "status": "success",
    "data": {
        "sender_currency": [
            {
                "fiat": "NGN",
                "name": "Nigeria",
                "max_decimal": 2,
                "country_code": "NG"
            },
            {
                "fiat": "KES",
                "name": "Kenya",
                "max_decimal": 2,
                "country_code": "KE"
            },
            {
                "fiat": "ZMW",
                "name": "Zambia",
                "max_decimal": 2,
                "country_code": "ZM"
            }
        ]
    }
}

Last updated