# FX Manage Foreign Exchange. __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.

__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-bsh.securedataplatform.com/` * `https://access.worldpay-bsh.securedataplatform.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. Version: 1 Metadata: - catalog-list: true - business: ["Enterprise","Marketplaces"] - category: ["FX"] - generated: true ## Servers Test (Try) - Account Payouts customers only ``` https://try.access.worldpay-bsh.securedataplatform.com ``` Live ``` https://access.worldpay-bsh.securedataplatform.com ``` ## Security ### basicAuth Type: http Scheme: basic ## Download OpenAPI description [FX](https://developer.worldpay-bsh.securedataplatform.com/_bundle/products/fx/@v1/openapi.yaml) ## Other ### Get FX rates - [GET /foreignExchange/rates](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/getfxrates.md): Retrieve an FX rate for a particular payment method. ### Create FX quote - [POST /foreignExchange/quote](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/postfxquote.md): Lock the FX rate for a specific currency pairing. For Account Payouts customers only. ### Retrieve an FX quote - [GET /foreignExchange/quote](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/getfxquote.md): Retrieving an existing FX quote.For Account Payouts customers only. ### Create an external contract - [POST /foreignExchange/contract](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/postcontract.md): Create an external contract to lock a forward FX rate. For Account Payouts customers only. ### Activate or cancel contract - [PUT /foreignExchange/contract/{contractId}](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/putcontract.md): Enable a contract to use locked in FX rates in an Account Payout. For Account Payouts customers only. ### Add a markup to your FX rate - [PUT /foreignExchange/markup/{entity}](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/addmarkup.md): Adding a markup to an existing FX rate. For MCP customers only. ### Retrieve markup - [GET /foreignExchange/markup/{entity}](https://developer.worldpay-bsh.securedataplatform.com/products/fx/openapi/other/getmarkup.md): Retrieving an existing markup for a specific FX rate.For MCP customers only.