cURL
curl --request GET \ --url https://staging-api.getpartna.com/v4/discount \ --header 'x-api-key: <api-key>' \ --header 'x-api-user: <api-key>'
{ "data": [ { "discount": "10%", "minimumAssetValueInUSD": "1000" }, { "discount": "5%", "minimumAssetValueInUSD": "500" }, { "discount": "1%", "minimumAssetValueInUSD": "100" } ], "message": "success" }
Get discounts applied on USD-NGN offramp transaction rates based on the transaction amount.
get discount ok
The response is of type object.
object