{"templateId":"markdown","versions":[{"version":"v1","label":"v1","link":"/products/fx/fx-markup","default":true,"active":true,"folderId":"0592dff7"}],"sharedDataIds":{"sidebar":"sidebar-products/fx/sidebars.yaml","current-catalog-info":"current-catalog-info-/products/fx/openapi"},"props":{"metadata":{"markdoc":{"tagList":["partial","badge","code-snippet"]},"custom_product":"FX","type":"markdown"},"seo":{"title":"Markup FX API","description":"Worldpay for Developers - docs, code examples, resources and tools. Everything you need to build your omnichannel payment solution.","siteUrl":"https://docs.worldpay.com/access","image":"/access/assets/worldpay-logo-light.21b7daf79984773a9fcd7d4fbcb07ae5289dfffd6023c4c3dca720c7058e53dc.33f780a6.svg","keywords":"documentation, api, openapi, sdks, developer, payments, json, payouts, 3ds","jsonLd":{"@context":"https://schema.org","@type":"Organization","url":"https://docs.worldpay.com/access","name":"Worldpay"},"meta":[{"name":"google-site-verification","content":"zjziIKaP3ImsqsfhYnEBnq1R85UabiSwl7HTXuwtZuo"},{"name":"doc_product","content":"Access"},{"name":"doc_category","content":"Documentation"}],"llmstxt":{"hide":false,"sections":[{"title":"Payments API","description":"Payment orchestration API combining fraud assessment, 3ds authentication, SCA exemptions, Worldpay Token creation and a card or wallet based payment.","includeFiles":["products/payments/@20240601/**/*"],"excludeFiles":[]},{"title":"Payment Queries API","description":"Querying your payments data, based on a variety of parameters.","includeFiles":["products/payment-queries/@v1/**/*"],"excludeFiles":[]},{"title":"Card BIN Data API","description":"Provides detailed information about a card.","includeFiles":["products/card-bin/@v1/**/*"],"excludeFiles":[]},{"title":"3DS Authentication API","description":"Request 3DS authentication to protect against fraud, be SCA compliant and to shift liability using this standalone API.","includeFiles":["products/3ds/@v3/**/*"],"excludeFiles":[]},{"title":"FraudSight API","description":"Request a risk assessment and receive a response with an outcome (e.g. lowRisk) using this standalone API.","includeFiles":["products/fraudsight/@v1/**/*"],"excludeFiles":[]},{"title":"Checkout SDK","description":"Integrate using our clientside SDKs for both web and native devices. Benefit from SAQ-A/PCI-SSF compliance.","includeFiles":["products/checkout/web/@v2/**/*","products/checkout/ios/@v4/**/*","products/checkout/android/@v4/**/*","products/checkout/react-native/@v3/**/*","products/checkout/flutter/@v1/**/*"],"excludeFiles":[]},{"title":"Tokens API","description":"Minimizes the exposure of sensitive card details and increases the security of your customer's card details.","includeFiles":["products/tokens/@v3/**/*"],"excludeFiles":[]},{"title":"Card Payments API","description":"Request a card payment using this standalone API, requires separate requests for 3DS, Fraud assessment etc.","includeFiles":["products/card-payments/@v7/**/*"],"excludeFiles":[]},{"title":"Card Verifications API","description":"Verify your customer's card to maximize your authentication rates.","includeFiles":["products/card-verifications/@v6/**/*"],"excludeFiles":[]},{"title":"Account Payouts API","description":"Send funds to your customer's bank accounts and search for payouts using parameters.","includeFiles":["products/account-payouts/@20250101/**/*"],"excludeFiles":[]},{"title":"APMs","description":"Pay using eWallets, bank transfers, direct debits, local card schemes, Postpay and eInvoice/ Buy Now Pay Later.","includeFiles":["products/apms/@20240701/**/*"],"excludeFiles":[]},{"title":"Balance API","description":"Request your account details for a single account or all accounts under an entity.","includeFiles":["products/balance/@20250101/**/*"],"excludeFiles":[]},{"title":"Card Payouts API","description":"Send funds to your customer's cards.","includeFiles":["products/card-payouts/@v4/**/*"],"excludeFiles":[]},{"title":"Events (Webhooks)","description":"Receive status updates from Access Worldpay by setting up a webhook.","includeFiles":["products/events/@v1/**/*"],"excludeFiles":[]},{"title":"FX API","description":"Manage Foreign Exchange (FX) on your payments.","includeFiles":["products/fx/@v1/**/*"],"excludeFiles":[]},{"title":"Hosted Payment Pages (HPP) API","description":"Our low-code option to take payments securely at the lowest PCI compliance level - SAQ A.","includeFiles":["products/hosted-payment-pages/@v1/**/*"],"excludeFiles":[]},{"title":"Money Transfers API","description":"Money Transfer OCTs (Original Credit Transaction) allow funds to be pushed to an eligible card in 30 minutes or less.","includeFiles":["products/money-transfers/@v1/**/*"],"excludeFiles":[]},{"title":"Parties API","description":"Create parties, manage your payout instruments and beneficial owners and carry out identity verification checks.","includeFiles":["products/parties/@20250101/**/*"],"excludeFiles":[]},{"title":"SCA Exemptions API","description":"Maximize a frictionless checkout experience by using issuer data insights to apply exemptions.","includeFiles":["products/sca-exemptions/@v1/**/*"],"excludeFiles":[]},{"title":"Split Payments API","description":"Divide funds from a single payment amongst yourself and your parties/sellers.","includeFiles":["products/split-payments/@20250625/**/*"],"excludeFiles":[]},{"title":"Statements API","description":"Retrieve your account statement and see individual entries for all credits and debits.","includeFiles":["products/statements/@20250101/**/*"],"excludeFiles":[]},{"title":"Transfers API","description":"Transfer funds from source account to target account.","includeFiles":["products/transfers/@20250101/**/*"],"excludeFiles":[]},{"title":"Verified Tokens API","description":"Verified Tokens ensures that your customer's payment details are valid and CIT compliant when creating a token.","includeFiles":["products/verified-tokens/@v3/**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Last updated"]},": 05 June 2025 | ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/fx/changelog/"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Change log"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"markup-fx-api","__idx":0},"children":["Markup FX API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Badge","attributes":{"size":"small","fontWeight":"bold","color":"white","mt":"0rem","mb":"0.5rem","px":"1rem","py":"0.5rem","borderRadius":"6rem","bg":"var(--wp-colour-light-blue)"},"children":["Multi-Currency Pricing customers only"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add a markup to your FX rate"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-started","__idx":1},"children":["Get started"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Start using our FX API by ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/fx#set-your-headers"},"children":["setting your headers"]},"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"Authorization: {your_credentials}\nAccept: application/vnd.worldpay.foreignexchange-v1+json\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request","__idx":2},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://access.worldpay.com/foreignExchange/markup/"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-body","__idx":3},"children":["Request body"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/fx-add_markup.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"SourceCurrency\": \"USD\",\n    \"TargetCurrency\": \"EUR\",\n    \"Markup\": 0.38800000\n}\n\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters","__idx":4},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field name"},"children":["Field name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data type/format"},"children":["Data type/format"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"M/O/C"},"children":["M/O/C"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Min-max length"},"children":["Min-max length"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Validation criteria"},"children":["Validation criteria"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MCP Account Identifier (PartyID- Merchant Company ID, Unique ID given to you during the onboarding process.) for which rates should be retrieved."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AN"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["M"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["6"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must be six characters."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SourceCurrency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The transaction currency code. If not supplied, the response contains rates for all source currencies against the target currency."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 4217",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Valid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency codes"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["O"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0-3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must be upper case."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TargetCurrency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your funding (settlement) currency code. If not supplied, the response contains rates for all target currencies against the source currency."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 4217",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Valid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency codes"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["O"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0-3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must be upper case."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Markup"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The additional margin percentage set up on FX rates."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["M"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The value must be in decimal format"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response","__idx":5},"children":["Response"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"successful-response","__idx":6},"children":["Successful response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You receive an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HTTP response code 200"]}," for a successful request."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"error-response-example","__idx":7},"children":["Error response example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/fx-add_markup-error-example.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"errorName\": \"notFound\",\n    \"message\": \"Not found\"\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"error-response-codes","__idx":8},"children":["Error response codes"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error"},"children":["Error"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Message"},"children":["Message"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Scenario"},"children":["Scenario"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unauthorizedRequest"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The request is unauthorized"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unauthorized request. Your credentials are incorrect."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["forbidden"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Forbidden"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No permission to access."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["urlContainsInvalidValue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The URL contains a value or values that are invalid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query string parameters are invalid."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fieldHasInvalidValue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid SourceCurrency value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You've used and invalid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency code"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fieldHasInvalidValue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid TargetCurrency value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You've used and invalid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency code"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fieldIsMissing"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Missing Markup value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Markup field is missing."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notFound"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not found"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sourceCurrency"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCurrency"]}," is not found."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["internalErrorOccurred"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Something went wrong"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Internal error. Please speak to your Worldpay Implementation Manager for further information."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"retrieve-the-markup-applied-on-entity","__idx":9},"children":["Retrieve the markup applied on entity"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request-1","__idx":10},"children":["Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://access.worldpay.com/foreignExchange/markup/"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-query-string","__idx":11},"children":["Example query string"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://access.worldpay.com/foreignExchange/markup/foreignExchange/markup/PO4043058348?sourceCurrency=USD&targetCurrency=EUR"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-1","__idx":12},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field name"},"children":["Field name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data type/format"},"children":["Data type/format"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Min-max length"},"children":["Min-max length"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Validation criteria"},"children":["Validation criteria"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MCP Account Identifier (PartyID- Merchant Company ID, Unique ID given to you during the onboarding process.) for which rates should be retrieved."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0-30"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sourceCurrency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The transaction currency code. If not supplied, the response contains rates for all source currencies against the target currency."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 4217",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Valid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency codes"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0-3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must be upper case."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCurrency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your funding (settlement) currency code. If not supplied, the response contains rates for all target currencies against the source currency."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 4217",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Valid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency codes"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["0-3"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Must be upper case."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-1","__idx":13},"children":["Response"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"successful-response-example","__idx":14},"children":["Successful response example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/markup-successful-response.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n        \"sourceCurrency\": \"USD\",\n        \"targetCurrency\": \"EUR\",\n        \"paymentMethod\": \"ENDCONSUMERRATES\",\n        \"entity\": \"PO4043058348\",\n        \"value\": 0.38800000\n    }"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"successful-response-fields","__idx":15},"children":["Successful response fields"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field name"},"children":["Field name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data type/format"},"children":["Data type/format"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sourceCurrency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The debit currency."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 4217",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Valid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency codes"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCurrency"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The credit currency."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 4217",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Valid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency codes"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MCP Account Identifier (PartyID- Merchant Company ID, Unique ID given to you during the onboarding process.) for which rates should be retrieved."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AN"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Markup value setup"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"error-response-example-1","__idx":16},"children":["Error response example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"file":"./code/markup-error-response.json","language":"json","header":{"controls":{"copy":{}}},"lang":"json","source":"{\n    \"errorName\": \"notFound\",\n    \"message\": \"Not found\"\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"error-response-codes-1","__idx":17},"children":["Error response codes"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Error"},"children":["Error"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Message"},"children":["Message"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Scenario"},"children":["Scenario"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unauthorizedRequest"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The request is unauthorized"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unauthorized request. Your credentials are incorrect."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["forbidden"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Forbidden"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No permission to access."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["urlContainsInvalidValue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The URL contains a value or values that are invalid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Query string parameters are invalid."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["InvalidSourceCurrency value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid SourceCurrency value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You've used and invalid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency code"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["InvalidTargetCurrency value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid TargetCurrency value"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You've used and invalid ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/reference/supported-countries-currencies#iso-currency-codes"},"children":["currency code"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["notFound"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not found"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["entity"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sourceCurrency"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCurrency"]}," is not found."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["internalErrorOccurred"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Something went wrong"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Internal error. Please speak to your Worldpay Implementation Manager for further information."]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next steps"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/fx/fxrate-mcp"},"children":["Get FX MCP Rates"]}]}]},"headings":[{"value":"Markup FX API","id":"markup-fx-api","depth":1},{"value":"Get started","id":"get-started","depth":2},{"value":"Request","id":"request","depth":3},{"value":"Request body","id":"request-body","depth":4},{"value":"Parameters","id":"parameters","depth":4},{"value":"Response","id":"response","depth":3},{"value":"Successful response","id":"successful-response","depth":4},{"value":"Error response example","id":"error-response-example","depth":4},{"value":"Error response codes","id":"error-response-codes","depth":4},{"value":"Retrieve the markup applied on entity","id":"retrieve-the-markup-applied-on-entity","depth":2},{"value":"Request","id":"request-1","depth":3},{"value":"Example query string","id":"example-query-string","depth":4},{"value":"Parameters","id":"parameters-1","depth":4},{"value":"Response","id":"response-1","depth":3},{"value":"Successful response example","id":"successful-response-example","depth":4},{"value":"Successful response fields","id":"successful-response-fields","depth":4},{"value":"Error response example","id":"error-response-example-1","depth":4},{"value":"Error response codes","id":"error-response-codes-1","depth":4}],"frontmatter":{"seo":{"title":"Markup FX API"}},"lastModified":"2026-05-13T07:59:15.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/fx/fx-markup","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}