ledger-payments
Get reference rate
Changed onGet reference rate for cash payments
get/ledger/cash-payments/rates
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
accountCurrencystring required
payoutCurrencystring required
Response
Rate retrieved
Example response
{
"accountCurrency": "USD",
"cashCurrency": "NGN",
"rate": 1500.5
}Changes
- info
the endpoint scheme security
HMACAuthwas added to the API - info
the endpoint scheme security
authTokenwas removed from the API
- info
- info
endpoint added
- info