Authentication Header
Authorization: {your_credentials}
Replace {your_credentials}
with your base64-encoded Basic Auth username and password given to you by your Implementation Manager.
You must use the Authorization
header for any request you send to our FX APIs, unless you are using client certificate authenticating with SSL/TLS.
Accept Header
Accept: application/vnd.worldpay.foreignexchange-v1+json
We use the Accept header to identify which version of our API you are using. You must use the Accept header for any request you send to our FX APIs.
DNS Whitelisting
Whitelist the following URLs:
https://try.access.worldpay.com/
https://access.worldpay.com/
Please ensure you use DNS whitelisting, not explicit IP whitelisting. When you make a request within Access Worldpay, you should always cache the response returned.
https://try.access.worldpay.com/
https://access.worldpay.com/
Transaction type (intention) for which rates should be retrieved.
For Multi-Currency Pricing customers, entity
is MCP Account Identifier (PartyID- Merchant Company ID, Unique ID given to you during the onboarding process.) for which rates should be retrieved.
For Account Payout customers, entity
is 6-digit reference given to you by your Implementation Manager during the onboarding process.
The transaction currency code. If not supplied, the response contains rates for all source currencies against the target currency.
https://try.access.worldpay.com/foreignExchange/rates
https://access.worldpay.com/foreignExchange/rates
No request payload
OK response if the request is valid
A collection of rates items.
6-digit reference given to you by your Implementation Manager during the onboarding process.
The posting date of the specific statement item.
{ "rates": [ { "rateId": "R12345678", "intent": "PAYOUT", "sourceCurrency": "EUR", "targetCurrency": "GBP", "bidRate": "1.23456789", "askRate": "1.23456789", "entity": "100001", "issuedDate": "2025-01-01T12:00:00.000Z", "validFrom": "2025-01-10T12:00:00.000Z", "validTo": "2025-01-10T12:00:00.000Z" } ] }
6-digit reference given to you by your Implementation Manager during the onboarding process
Transaction type (intention) for which rates should be retrieved.
https://try.access.worldpay.com/foreignExchange/quote
https://access.worldpay.com/foreignExchange/quote
{ "entity": "100001", "intent": "PAYOUT", "sourceCurrency": "USD", "targetCurrency": "EUR" }
{ "entity": "100001", "intent": "PAYOUT", "quote": [ { "quoteId": "Q000000001", "sourceCurrency": "EUR", "targetCurrency": "GBP", "rateId": "12345678", "rate": "1.2345", "quoteExpiryTime": "2025-01-10T12:00:00.000Z" } ] }
https://try.access.worldpay.com/foreignExchange/quote
https://access.worldpay.com/foreignExchange/quote
No request payload
{ "entity": "100001", "intent": "PAYOUT", "quote": [ { "quoteId": "Q000000001", "sourceCurrency": "EUR", "targetCurrency": "GBP", "rateId": "12345678", "rate": "1.2345", "quoteExpiryTime": "2025-01-10T12:00:00.000Z" } ] }
A future date when the contract becomes available and can be used. Date must be within 30 days in the future.
The transaction currency code. If not supplied, the response contains rates for all source currencies against the target currency.
Your funding (settlement) currency code. If not supplied, the response contains rates for all target currencies against the source currency.
The total amount for your forward FX contract and future payout request in the targetCurrency.
6-digit reference given to you by your Implementation Manager during the onboarding process
https://try.access.worldpay.com/foreignExchange/contract
https://access.worldpay.com/foreignExchange/contract
{ "effectiveDate": "2025-12-31", "sourceCurrency": "USD", "targetCurrency": "EUR", "targetAmount": 1.23, "entity": "100001", "customerReference": "Customer 001" }
OK response if the request is valid
Datetime representation in UTC of when the contract starts.
A reference generated by you representing the payer who funds the FX contract.
A collection of quote items.
6-digit reference given to you by your Implementation Manager during the onboarding process.
{ "contractId": "C000000001", "targetAmount": "EUR", "sourceAmount": "GBP", "status": "PENDING", "effectiveDate": "2025-01-01", "customerReference": "Customer 001", "quote": [ { "quoteId": "F000000001", "sourceCurrency": "EUR", "targetCurrency": "GBP", "entity": "100001", "intent": "FORWARD FX", "rateId": "1234567", "rate": "1.23456", "quoteExpiryTime": "2025-01-015T23:59:59.999Z" } ] }
https://try.access.worldpay.com/foreignExchange/contract/{contractId}
https://access.worldpay.com/foreignExchange/contract/{contractId}
{ "status": "ACTIVE", "entity": "100001" }
The transaction currency code. If not supplied, the response contains rates for all source currencies against the target currency.
Your funding (settlement) currency code. If not supplied, the response contains rates for all target currencies against the source currency.
https://try.access.worldpay.com/foreignExchange/markup/{entity}
https://access.worldpay.com/foreignExchange/markup/{entity}
{ "sourceCurrency": "AUD", "targetCurrency": "GBP", "markup": 1.23 }
https://try.access.worldpay.com/foreignExchange/markup/{entity}
https://access.worldpay.com/foreignExchange/markup/{entity}
No request payload
{ "sourceCurrency": "EUR", "targetCurrency": "GBP", "paymentMethod": "ENDCONSUMERRATES", "entity": "100001", "value": "1.234" }