Logo
GoCardless API API Documentation

List Currency Exchange

GET {{url}}/currency_exchange_rates?source=GBP&target=EUR

Returns a cursor-paginated list of all exchange rates from our foreign exchange provider.

Currency exchange rates API Docs

 

Body PARAM

Key Datatype Required Description 
source
string Source currency
target
string Target currency
limit
null Number of records to return.
after
null Cursor pointing to the start of the desired set.
before
null Cursor pointing to the end of the desired set.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "currency_exchange_rates": [ { "source": "GBP", "target": "EUR", "rate": "1.18861", "time": "2024-07-29T22:49:19.000Z" } ], "meta": { "cursors": { "before": null, "after": null }, "limit": 50 } }



Curl
curl -X GET 'https://api-sandbox.gocardless.com/currency_exchange_rates?source=GBP&target=EUR?source=GBP&target=EUR&limit=&after=&before='

ENDPOINTS