Comment on page

List Payment Methods

List supported payment method for a particular currency
To get the supported payment method for a currency, make a GET request to the following endpoint.
https://api.localramp.co/v1/transaction/buy/payment-methods?currency=NGN
The request takes currency as a query param.
With the following header
x-auth-token: <PUBLIC_KEY>
If the API call is successful, LocalRamp returns the following response:
{
"status": "success",
"data": {
"payment_methods": [
{
"name": "Instant P2P (Bank Transfer)",
"id": "instant_p2p",
"active": true
}
]
}
}
In extremely rare cases where a particular payment method might be down, the active field would be false