Skip to content

Add a markup to your FX rate

Request

Adding a markup to an existing FX rate.
For MCP customers only.

Security
basicAuth
Path
entitystringrequired

MCP Account Identifier (PartyID- Merchant Company ID, unique 6-digit ID given to you during the onboarding process) for which rates should be retrieved.

Example:100001
Headers
Acceptstringrequired
Example:application/vnd.worldpay.foreignexchange-v1+json
WP-CorrelationIdstring

Optional ID to trace requests, if not provided, it is generated.

Example:15cd16b2-7b82-41cb-9b11-21be9dacad88
Bodyapplication/vnd.worldpay.foreignexchange-v1+json
sourceCurrencyanyrequired

The transaction currency code. If not supplied, the response contains rates for all source currencies against the target currency.

Example:"AUD"
targetCurrencyanyrequired

Your funding (settlement) currency code. If not supplied, the response contains rates for all target currencies against the source currency.

Example:"GBP"
markupanyrequired

The additional margin percentage set up on FX rates.

Example:1.23
{ "sourceCurrency": "AUD", "targetCurrency": "GBP", "markup": 1.23 }

Responses

OK response if the request is valid

Response
No content