Retrieving an existing markup for a specific FX rate.
For MCP customers only.
Security
basicAuth
- Test (Try) - Account Payouts customers onlyhttps://try.access.worldpay.com/foreignExchange/markup/{entity}
- Livehttps://access.worldpay.com/foreignExchange/markup/{entity}
curl -i -X GET \
-u '<username>:<password>' \
'https://try.access.worldpay.com/foreignExchange/markup/100001?sourceCurrency=USD&targetCurrency=EUR' \
-H 'Accept: application/vnd.worldpay.foreignexchange-v1+json' \
-H 'WP-CorrelationId: 15cd16b2-7b82-41cb-9b11-21be9dacad88'OK response if the request is valid
6-digit reference given to you by your Worldpay Implementation Manager during the onboarding process.
Example:"100001"
Response
{ "sourceCurrency": "EUR", "targetCurrency": "GBP", "paymentMethod": "ENDCONSUMERRATES", "entity": "100001", "value": "1.234" }