1:I["8f048adc2ca3",[],"StyleSheetProvider",1] 2:I["911c8e14a321",[],"RevpressProvider",1] 3:I["b0b3943575f9",[],"Link",1] d:I["98d563c3c055",[],"ToastProvider",1] e:I["9ab2c8c971c4",[],"LayoutTopNav",1] f:I["3c81c6443917",[],"LayoutMenu",1] 10:I["98d563c3c055",[],"Tag",1] 11:I["98d563c3c055",[],"Action",1] 13:I["e7f2352d5acc",[],"ApiAuthentication",1] 15:I["9083c63ad443",[],"CopyAnchor",1] 16:I["741b00e3790d",[],"AIToolbar",1] 55:I["d4c6751a9c52",[],"HashObserver",1] 56:I["98d563c3c055",[],"ToastContainer",1] :HL["/_assets/request-D65efmQn.css","stylesheet"] :HL["https://storage.googleapis.com/revolut-prod-apps_cdn/Brand/Retail/Logos/Wordmark/Revolut_Black.svg","image"] :HL["https://storage.googleapis.com/revolut-prod-apps_cdn/Brand/Retail/Logos/Wordmark/Revolut_White.svg","image"] 0:{"root":["$","html",null,{"suppressHydrationWarning":true,"lang":"en","data-feature-web-density":"true","data-banner-id":"$undefined","children":[["$","head",null,{"children":[[["$","meta",null,{"charSet":"utf-8"}],["$","meta",null,{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta",null,{"name":"color-scheme","content":"light dark"}],["$","meta",null,{"name":"generator","content":"Revpress v0.8.0"}],["$","meta",null,{"property":"og:site_name","content":"Developer"}],["$","meta",null,{"property":"og:type","content":"website"}]],[["$","link","css:/_assets/request-D65efmQn.css",{"rel":"stylesheet","precedence":"vite-rsc/importer-resources","href":"/_assets/request-D65efmQn.css","data-rsc-css-href":"/_assets/request-D65efmQn.css"}],"$undefined"],["$","script",null,{"src":"/_assets/theme-init-add2a6d7.js"}],[["$","link",null,{"rel":"apple-touch-icon","sizes":"180x180","href":"/_assets/favicons/apple-touch-icon.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"32x32","href":"/_assets/favicons/favicon-32x32.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"16x16","href":"/_assets/favicons/favicon-16x16.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"192x192","href":"/_assets/favicons/android-chrome-192x192.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"512x512","href":"/_assets/favicons/android-chrome-512x512.png"}],["$","link",null,{"rel":"shortcut icon","href":"/_assets/favicons/favicon.ico"}]]]}],["$","body",null,{"className":"pjjwra0","children":["$","$L1",null,{"children":["$","$L2",null,{"nav":[{"item":{"id":"Guides","title":"Guides","items":[{"id":"/docs/guides/merchant/introduction","title":"Merchant","use":"$3","to":"/docs/guides/merchant/introduction","scope":"/docs/guides/merchant","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/introduction","title":"Accept Revolut Pay payments","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/introduction","title":"Accept card payments","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/introduction","title":"Accept Apple Pay and Google Pay payments","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/introduction","title":"Accept direct bank payments","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/introduction","title":"Accept payments with Revolut Checkout","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/introduction","title":"Accept payments via Hosted Checkout Page","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit/introduction","title":"Accept payments via SEPA Direct Debit","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/introduction","title":"Plugins and integrations","use":"$3","to":"/docs/guides/merchant/accept-payments/no-code/plugins/introduction","scope":"/docs/guides/merchant"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/introduction","title":"In-person payments","use":"$3","to":"/docs/guides/merchant/accept-payments/in-person-payments/introduction","scope":"/docs/guides/merchant"}]},{"id":"/docs/guides/manage-accounts/introduction","title":"Business","use":"$3","to":"/docs/guides/manage-accounts/introduction","scope":"/docs/guides/manage-accounts","items":[{"id":"/docs/guides/manage-accounts/transfers/send-money","title":"Send money","use":"$3","to":"/docs/guides/manage-accounts/transfers/send-money","scope":"/docs/guides/manage-accounts"},{"id":"/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","title":"Manage your money","use":"$3","to":"/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","scope":"/docs/guides/manage-accounts"},{"id":"/docs/guides/manage-accounts/exchange-money","title":"Exchange currency","use":"$3","to":"/docs/guides/manage-accounts/exchange-money","scope":"/docs/guides/manage-accounts"},{"id":"/docs/guides/manage-accounts/cards/manage-cards","title":"Manage cards","use":"$3","to":"/docs/guides/manage-accounts/cards/manage-cards","scope":"/docs/guides/manage-accounts"},{"id":"/docs/guides/manage-accounts/teams/manage-team-members","title":"Manage your team","use":"$3","to":"/docs/guides/manage-accounts/teams/manage-team-members","scope":"/docs/guides/manage-accounts"}]},{"id":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/introduction","title":"Open Banking","use":"$3","to":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/introduction","scope":"/docs/guides/build-banking-apps","items":[{"id":"/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment","title":"Make payments","use":"$3","to":"/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment","scope":"/docs/guides/build-banking-apps"},{"id":"/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information","title":"Get account information","use":"$3","to":"/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information","scope":"/docs/guides/build-banking-apps"}]},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/introduction-to-revolut-ramp","title":"Crypto Ramp","use":"$3","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/introduction-to-revolut-ramp","scope":"/docs/guides/crypto-ramp","items":[{"id":"/docs/guides/crypto-ramp/get-started/integrate-with-revolut-ramp","title":"Integrate with Revolut Ramp","use":"$3","to":"/docs/guides/crypto-ramp/get-started/integrate-with-revolut-ramp","scope":"/docs/guides/crypto-ramp"}]},{"id":"/docs/guides/revolut-wallet/introduction","title":"Revolut Wallet","use":"$3","to":"/docs/guides/revolut-wallet/introduction","scope":"/docs/guides/revolut-wallet","items":[{"id":"/docs/guides/revolut-wallet/get-started","title":"Get started","use":"$3","to":"/docs/guides/revolut-wallet/get-started","scope":"/docs/guides/revolut-wallet"},{"id":"/docs/guides/revolut-wallet/operations/create-pass","title":"Create a pass","use":"$3","to":"/docs/guides/revolut-wallet/operations/create-pass","scope":"/docs/guides/revolut-wallet"},{"id":"/docs/guides/revolut-wallet/operations/update-pass","title":"Update a pass","use":"$3","to":"/docs/guides/revolut-wallet/operations/update-pass","scope":"/docs/guides/revolut-wallet"},{"id":"/docs/guides/revolut-wallet/operations/transaction-results","title":"Transaction results","use":"$3","to":"/docs/guides/revolut-wallet/operations/transaction-results","scope":"/docs/guides/revolut-wallet"}]}]}},{"item":{"id":"APIs","title":"APIs","items":[{"id":"/docs/api/merchant","title":"Merchant API","use":"$3","to":"/docs/api/merchant","items":[{"id":"/docs/api/merchant#tag-orders","title":"Orders","use":"$3","to":"/docs/api/merchant#tag-orders"},{"id":"/docs/api/merchant#tag-customers","title":"Customers","use":"$3","to":"/docs/api/merchant#tag-customers"},{"id":"/docs/api/merchant#tag-payments","title":"Payments","use":"$3","to":"/docs/api/merchant#tag-payments"},{"id":"/docs/api/merchant#tag-subscriptions","title":"Subscriptions","use":"$3","to":"/docs/api/merchant#tag-subscriptions"},{"id":"/docs/api/merchant#tag-payouts","title":"Payouts","use":"$3","to":"/docs/api/merchant#tag-payouts"},{"id":"/docs/api/merchant#tag-disputes","title":"Disputes","use":"$3","to":"/docs/api/merchant#tag-disputes"},{"id":"/docs/api/merchant#tag-report-runs","title":"Report runs","use":"$3","to":"/docs/api/merchant#tag-report-runs"},{"id":"/docs/api/merchant#tag-webhooks","title":"Webhooks","use":"$3","to":"/docs/api/merchant#tag-webhooks"},{"id":"/docs/api/merchant#tag-locations","title":"Locations","use":"$3","to":"/docs/api/merchant#tag-locations"}]},{"id":"/docs/api/business","title":"Business API","use":"$3","to":"/docs/api/business","items":[{"id":"/docs/api/business#tag-accounting","title":"Accounting settings","use":"$3","to":"/docs/api/business#tag-accounting"},{"id":"/docs/api/business#tag-accounts","title":"Accounts","use":"$3","to":"/docs/api/business#tag-accounts"},{"id":"/docs/api/business#tag-cards","title":"Cards","use":"$3","to":"/docs/api/business#tag-cards"},{"id":"/docs/api/business#tag-counterparties","title":"Counterparties","use":"$3","to":"/docs/api/business#tag-counterparties"},{"id":"/docs/api/business#tag-expenses","title":"Expenses","use":"$3","to":"/docs/api/business#tag-expenses"},{"id":"/docs/api/business#tag-foreign-exchange","title":"Foreign exchange","use":"$3","to":"/docs/api/business#tag-foreign-exchange"},{"id":"/docs/api/business#tag-payment-drafts","title":"Payment drafts","use":"$3","to":"/docs/api/business#tag-payment-drafts"},{"id":"/docs/api/business#tag-payout-links","title":"Payout links","use":"$3","to":"/docs/api/business#tag-payout-links"},{"id":"/docs/api/business#tag-team-members","title":"Team members","use":"$3","to":"/docs/api/business#tag-team-members"},{"id":"/docs/api/business#tag-transactions","title":"Transactions","use":"$3","to":"/docs/api/business#tag-transactions"},{"id":"/docs/api/business#tag-transfers","title":"Transfers","use":"$3","to":"/docs/api/business#tag-transfers"},{"id":"/docs/api/business#tag-webhooks-v2","title":"Webhooks","use":"$3","to":"/docs/api/business#tag-webhooks-v2"}]},{"id":"/docs/api/open-banking","title":"Open Banking API","use":"$3","to":"/docs/api/open-banking","items":[{"id":"/docs/api/open-banking#tag-accounts","title":"Accounts","use":"$3","to":"/docs/api/open-banking#tag-accounts"},{"id":"/docs/api/open-banking#tag-applications","title":"Applications","use":"$3","to":"/docs/api/open-banking#tag-applications"},{"id":"/docs/api/open-banking#tag-domestic-payment","title":"Payments","use":"$3","to":"/docs/api/open-banking#tag-domestic-payment"},{"id":"/docs/api/open-banking#tag-transactions","title":"Transactions","use":"$3","to":"/docs/api/open-banking#tag-transactions"}]},{"id":"/docs/api/crypto-ramp","title":"Crypto Ramp API","use":"$3","to":"/docs/api/crypto-ramp","items":[{"id":"/docs/api/crypto-ramp#tag-partners","title":"Partners","use":"$3","to":"/docs/api/crypto-ramp#tag-partners"},{"id":"/docs/api/crypto-ramp#tag-webhooks","title":"Webhooks","use":"$3","to":"/docs/api/crypto-ramp#tag-webhooks"}]},{"id":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/exchange-fix-api","title":"Crypto Exchange APIs","use":"$3","to":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/exchange-fix-api","scope":"/docs/guides/exchange-fix-api","items":[{"id":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/exchange-fix-api","title":"Crypto Exchange FIX API","use":"$3","to":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/exchange-fix-api","scope":"/docs/guides/exchange-fix-api"},{"id":"/docs/api/revolut-x-crypto-exchange","title":"Crypto Exchange REST API","use":"$3","to":"/docs/api/revolut-x-crypto-exchange"}]},{"id":"/docs/api/revolut-wallet-partner","title":"Revolut Wallet APIs","use":"$3","to":"/docs/api/revolut-wallet-partner","items":[{"id":"/docs/api/revolut-wallet-partner","title":"Partner API","use":"$3","to":"/docs/api/revolut-wallet-partner"},{"id":"/docs/api/revolut-wallet-callbacks","title":"Partner callbacks API","use":"$3","to":"/docs/api/revolut-wallet-callbacks"}]}]}},{"item":{"id":"SDKs","title":"SDKs","items":[{"id":"/docs/sdks/merchant-web-sdk/introduction","title":"Merchant Web SDKs","use":"$3","to":"/docs/sdks/merchant-web-sdk/introduction","scope":"/docs/sdks/merchant-web-sdk","items":[{"id":"/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout","title":"Revolut Checkout","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay","title":"Revolut Pay","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay","title":"Apple Pay and Google Pay","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank","title":"Pay by Bank","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/sepa-direct-debit","title":"SEPA Direct Debit","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/sepa-direct-debit","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/card-field","title":"Card field","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/card-field","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/pop-up","title":"Card pop-up","use":"$3","to":"/docs/sdks/merchant-web-sdk/payment-methods/pop-up","scope":"/docs/sdks/merchant-web-sdk"},{"id":"/docs/sdks/merchant-web-sdk/promotional-widgets/introduction","title":"Promotional widgets","use":"$3","to":"/docs/sdks/merchant-web-sdk/promotional-widgets/introduction","scope":"/docs/sdks/merchant-web-sdk"}]},{"id":"/docs/sdks/merchant-ios-sdk/introduction","title":"Merchant iOS SDKs","use":"$3","to":"/docs/sdks/merchant-ios-sdk/introduction","scope":"/docs/sdks/merchant-ios-sdk","items":[{"id":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk/introduction","title":"Revolut Pay","use":"$3","to":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk/introduction","scope":"/docs/sdks/merchant-ios-sdk"},{"id":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk/introduction","title":"Apple Pay","use":"$3","to":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk/introduction","scope":"/docs/sdks/merchant-ios-sdk"},{"id":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk/introduction","title":"Tap to Pay","use":"$3","to":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk/introduction","scope":"/docs/sdks/merchant-ios-sdk"},{"id":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk/introduction","title":"Card Form","use":"$3","to":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk/introduction","scope":"/docs/sdks/merchant-ios-sdk"}]},{"id":"/docs/sdks/merchant-android-sdk/introduction","title":"Merchant Android SDKs","use":"$3","to":"/docs/sdks/merchant-android-sdk/introduction","scope":"/docs/sdks/merchant-android-sdk","items":[{"id":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk/introduction","title":"Revolut Pay","use":"$3","to":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk/introduction","scope":"/docs/sdks/merchant-android-sdk"},{"id":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk/introduction","title":"Card Form","use":"$3","to":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk/introduction","scope":"/docs/sdks/merchant-android-sdk"}]}]}},{"item":{"id":"Resources","title":"Resources","items":[{"id":"/docs/resources/marketing-guidelines","title":"Revolut Pay marketing assets and guidelines","use":"$3","to":"/docs/resources/marketing-guidelines","scope":"/docs/resources"},{"id":"/docs/resources/revolut-pay-button-guidelines","title":"Revolut Pay button guidelines","use":"$3","to":"/docs/resources/revolut-pay-button-guidelines","scope":"/docs/resources"},{"id":"/docs/resources/open-banking-logo-guidelines","title":"Revolut Open Banking logo assets and guidelines","use":"$3","to":"/docs/resources/open-banking-logo-guidelines","scope":"/docs/resources"}]}},{"item":{"id":"More","title":"More","items":[{"id":"/blog","title":"Blog","use":"$3","to":"/blog","scope":"/blog"},{"id":"https://developer.revolut.com/portal/signup","title":"Developer Portal","use":"a","href":"https://developer.revolut.com/portal/signup","target":"_blank","rel":"noreferrer"}]}}],"menu":{"docs":[{"id":"/docs","title":"Docs","use":"$3","items":[{"id":"/docs/guides","title":"Guides","use":"$3","items":[]},{"id":"/docs/sdks","title":"Sdks","use":"$3","items":[]}]},{"id":"/docs/guides/build-banking-apps","title":"Build Banking Apps","use":"$3","root":true,"items":[{"id":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api","title":"Introduction to the Open Banking API","use":"$3","items":[{"id":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/introduction","title":"Introduction","to":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/introduction","use":"$3"},{"id":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/who-can-access-the-api","title":"Who can access the API","to":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/who-can-access-the-api","use":"$3"},{"id":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/global-customer-access-controls","title":"Global customer access controls","to":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/global-customer-access-controls","use":"$3"}]},{"id":"/docs/guides/build-banking-apps/get-started","title":"Get started","use":"$3","items":[{"id":"/docs/guides/build-banking-apps/get-started/register-your-application-in-the-developer-portal","title":"1. Register your application in the Developer Portal","to":"/docs/guides/build-banking-apps/get-started/register-your-application-in-the-developer-portal","use":"$3"},{"id":"/docs/guides/build-banking-apps/get-started/prepare-sandbox-environment","title":"2. Prepare your Sandbox environment","to":"/docs/guides/build-banking-apps/get-started/prepare-sandbox-environment","use":"$3"},{"id":"/docs/guides/build-banking-apps/get-started/setup-prod-environment","title":"3. Set up production environment","to":"/docs/guides/build-banking-apps/get-started/setup-prod-environment","use":"$3"},{"id":"/docs/guides/build-banking-apps/get-started/get-access-token","title":"4. Get the access token","to":"/docs/guides/build-banking-apps/get-started/get-access-token","use":"$3"}]},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr","title":"Register your application using DCR","use":"$3","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr","items":[{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-the-jwks-url","title":"1. Get the JWKs URL","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-the-jwks-url","use":"$3"},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-the-software-statement","title":"2. Get the software statement","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-the-software-statement","use":"$3"},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-your-certificates-distinguished-name","title":"3. Get your certificate's distinguished name","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-your-certificates-distinguished-name","use":"$3"},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/create-a-jwt","title":"4. Create a JWT","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/create-a-jwt","use":"$3"},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/validate-your-jwt","title":"5. Validate your JWT","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/validate-your-jwt","use":"$3"},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-a-client-id","title":"6. Get a client ID","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/get-a-client-id","use":"$3"},{"id":"/docs/guides/build-banking-apps/register-your-application-using-dcr/open-id-configuration-urls","title":"Open ID configuration URLs","to":"/docs/guides/build-banking-apps/register-your-application-using-dcr/open-id-configuration-urls","use":"$3"}]},{"id":"/docs/guides/build-banking-apps/manage-your-applications","title":"Manage your applications","use":"$3","items":[{"id":"/docs/guides/build-banking-apps/manage-your-applications/get-an-application","title":"Retrieve application data","to":"/docs/guides/build-banking-apps/manage-your-applications/get-an-application","use":"$3"},{"id":"/docs/guides/build-banking-apps/manage-your-applications/update-an-application","title":"Update application data","to":"/docs/guides/build-banking-apps/manage-your-applications/update-an-application","use":"$3"},{"id":"/docs/guides/build-banking-apps/manage-your-applications/update-certificates","title":"Update application certificates","to":"/docs/guides/build-banking-apps/manage-your-applications/update-certificates","use":"$3"},{"id":"/docs/guides/build-banking-apps/manage-your-applications/delete-an-application","title":"Delete an application","to":"/docs/guides/build-banking-apps/manage-your-applications/delete-an-application","use":"$3"}]},{"id":"/docs/guides/build-banking-apps/tutorials","title":"Tutorials","use":"$3","items":[{"id":"/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information","title":"Get account and transaction information","to":"/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment","title":"Initiate your first payment","to":"/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/test-with-postman","title":"Test with Postman","use":"$3","items":[{"id":"/docs/guides/build-banking-apps/tutorials/test-with-postman/set-up-postman","title":"Set up Postman","to":"/docs/guides/build-banking-apps/tutorials/test-with-postman/set-up-postman","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/test-with-postman/get-an-account-access-consent","title":"Get an account access consent","to":"/docs/guides/build-banking-apps/tutorials/test-with-postman/get-an-account-access-consent","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/test-with-postman/get-a-payment-consent","title":"Get a payment consent","to":"/docs/guides/build-banking-apps/tutorials/test-with-postman/get-a-payment-consent","use":"$3"}]},{"id":"/docs/guides/build-banking-apps/tutorials/create-a-file-payment","title":"Create a file payment","to":"/docs/guides/build-banking-apps/tutorials/create-a-file-payment","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/create-your-first-draft-payment","title":"Create your first draft payment","to":"/docs/guides/build-banking-apps/tutorials/create-your-first-draft-payment","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/work-with-draft-payments","title":"Work with draft payments","to":"/docs/guides/build-banking-apps/tutorials/work-with-draft-payments","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/work-with-json-web-tokens","title":"Work with JSON Web Tokens","to":"/docs/guides/build-banking-apps/tutorials/work-with-json-web-tokens","use":"$3"},{"id":"/docs/guides/build-banking-apps/tutorials/work-with-json-web-signatures","title":"Work with JSON Web Signatures","to":"/docs/guides/build-banking-apps/tutorials/work-with-json-web-signatures","use":"$3"}]},{"id":"/docs/guides/build-banking-apps/api-metrics","title":"API metrics","to":"/docs/guides/build-banking-apps/api-metrics","use":"$3"},{"id":"/docs/guides/build-banking-apps/usage-and-limits","title":"Usage and limits","to":"/docs/guides/build-banking-apps/usage-and-limits","use":"$3"},{"id":"/docs/guides/build-banking-apps/glossary","title":"Glossary","to":"/docs/guides/build-banking-apps/glossary","use":"$3"},{"id":"/docs/guides/build-banking-apps/faqs","title":"FAQs","to":"/docs/guides/build-banking-apps/faqs","use":"$3"},{"id":"/docs/guides/build-banking-apps/errors","title":"Errors","to":"/docs/guides/build-banking-apps/errors","use":"$3"}]},{"id":"/docs/guides/crypto-ramp","title":"Crypto Ramp","use":"$3","root":true,"items":[{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp","title":"Introduction to Revolut Ramp","use":"$3","items":[{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/introduction-to-revolut-ramp","title":"Introduction","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/introduction-to-revolut-ramp","use":"$3"},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/partner-journey","title":"Partner journey","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/partner-journey","use":"$3"},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details","title":"Coverage and other details","use":"$3","items":[{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/crypto-tokens","title":"Tokens","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/crypto-tokens","use":"$3"},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/currencies-and-regions","title":"Currencies and regions","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/currencies-and-regions","use":"$3"},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/payment-options","title":"Payment options","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/payment-options","use":"$3"},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/limits-and-fees","title":"Limits and fees","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/coverage-and-other-details/limits-and-fees","use":"$3"}]},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/integration-options","title":"Integration with Revolut Ramp","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/integration-options","use":"$3"},{"id":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/configuration-options","title":"Configuration options","to":"/docs/guides/crypto-ramp/introduction-to-revolut-ramp/configuration-options","use":"$3"}]},{"id":"/docs/guides/crypto-ramp/get-started","title":"Get started","use":"$3","items":[{"id":"/docs/guides/crypto-ramp/get-started/integrate-with-revolut-ramp","title":"Integrate with Revolut Ramp","to":"/docs/guides/crypto-ramp/get-started/integrate-with-revolut-ramp","use":"$3"},{"id":"/docs/guides/crypto-ramp/get-started/initiate-transaction","title":"Initiate a transaction","to":"/docs/guides/crypto-ramp/get-started/initiate-transaction","use":"$3"},{"id":"/docs/guides/crypto-ramp/get-started/customer-perspective","title":"Create an order - customer's perspective","to":"/docs/guides/crypto-ramp/get-started/customer-perspective","use":"$3"}]},{"id":"/docs/guides/crypto-ramp/tutorials","title":"API usage and testing","use":"$3","items":[{"id":"/docs/guides/crypto-ramp/tutorials/test-the-integration","title":"Test the integration","to":"/docs/guides/crypto-ramp/tutorials/test-the-integration","use":"$3"},{"id":"/docs/guides/crypto-ramp/tutorials/use-the-api","title":"Leverage the Crypto Ramp API","to":"/docs/guides/crypto-ramp/tutorials/use-the-api","use":"$3"},{"id":"/docs/guides/crypto-ramp/tutorials/work-with-webhooks","title":"Work with webhooks","use":"$3","items":[{"id":"/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks","title":"Track order and payment lifecycle","to":"/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks","use":"$3"},{"id":"/docs/guides/crypto-ramp/tutorials/work-with-webhooks/verify-the-payload-signature","title":"Verify the payload signature","to":"/docs/guides/crypto-ramp/tutorials/work-with-webhooks/verify-the-payload-signature","use":"$3"}]}]},{"id":"/docs/guides/crypto-ramp/glossary","title":"Glossary","to":"/docs/guides/crypto-ramp/glossary","use":"$3"}]},{"id":"/docs/guides/exchange-fix-api","title":"Exchange FIX API","use":"$3","root":true,"items":[{"id":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api","title":"Introduction to the Revolut Exchange FIX API","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/exchange-fix-api","title":"Introduction","to":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/exchange-fix-api","use":"$3"},{"id":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/system-overview","title":"System overview","to":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/system-overview","use":"$3"},{"id":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/reading-instructions","title":"Reading instructions","to":"/docs/guides/exchange-fix-api/introduction-to-the-exchange-fix-api/reading-instructions","use":"$3"}]},{"id":"/docs/guides/exchange-fix-api/trading-fix-api","title":"Trading FIX API","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages","title":"Supported FIX messages","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/supported-fix-messages-trading-overview","title":"Overview","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/supported-fix-messages-trading-overview","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages","title":"Session level messages","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-A-logon","title":"A (Logon)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-A-logon","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-0-heartbeat","title":"0 (Heartbeat)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-0-heartbeat","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-1-test-request","title":"1 (Test request)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-1-test-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-2-resend-request","title":"2 (Resend request)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-2-resend-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-3-session-level-reject","title":"3 (Session level reject)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-3-session-level-reject","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-4-reset-sequence","title":"4 (Sequence reset)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-4-reset-sequence","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-5-logout","title":"5 (Logout)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-session-level-messages/message-5-logout","use":"$3"}]},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages","title":"Application level messages","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-header","title":"Standard message header","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-header","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-trailer","title":"Standard message trailer","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-trailer","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/order-state-transitions","title":"Order state transitions","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/order-state-transitions","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/currency-pairs","title":"Currency pairs","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/currency-pairs","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/order-rejection-codes","title":"Order rejection codes","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/order-rejection-codes","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-D-new-order-single","title":"D (New order - single)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-D-new-order-single","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-F-order-cancel-request","title":"F (Order cancel request)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-F-order-cancel-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-G-order-cancel-replace-request","title":"G (Order cancel/replace request)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-G-order-cancel-replace-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-H-order-status-request","title":"H (Order status request)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-H-order-status-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-q-order-mass-cancel-request","title":"q (Order mass cancel request)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-q-order-mass-cancel-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-8-execution-report","title":"8 (Execution report)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-8-execution-report","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-9-order-cancel-reject","title":"9 (Order cancel reject)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-9-order-cancel-reject","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-j-business-message-reject","title":"j (Business message reject)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-j-business-message-reject","use":"$3"},{"id":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-r-order-mass-cancel-report","title":"r (Order mass cancel report)","to":"/docs/guides/exchange-fix-api/trading-fix-api/supported-fix-messages/fix-application-level-messages/message-r-order-mass-cancel-report","use":"$3"}]}]}]},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api","title":"Market Data FIX API","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages","title":"Supported FIX messages","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/supported-fix-messages-market-data-overview","title":"Overview","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/supported-fix-messages-market-data-overview","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages","title":"Session level messages","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-A-logon","title":"A (Logon)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-A-logon","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-0-heartbeat","title":"0 (Heartbeat)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-0-heartbeat","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-1-test-request","title":"1 (Test request)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-1-test-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-2-resend-request","title":"2 (Resend request)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-2-resend-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-3-session-level-reject","title":"3 (Session level reject)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-3-session-level-reject","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-4-reset-sequence","title":"4 (Sequence reset)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-4-reset-sequence","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-5-logout","title":"5 (Logout)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-session-level-messages/message-5-logout","use":"$3"}]},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages","title":"Application level messages","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-header","title":"Standard message header","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-header","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-trailer","title":"Standard message trailer","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/standard-message-trailer","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/currency-pairs","title":"Currency pairs","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/currency-pairs","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-v-market-data-request","title":"V (Market data request)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-v-market-data-request","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-w-full-refresh","title":"W (Market Data - Snapshot/Full refresh)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-w-full-refresh","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-x-incremental-refresh","title":"X (Market Data - Incremental Refresh)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-x-incremental-refresh","use":"$3"},{"id":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-y-market-data-request-reject","title":"Y (Market Data Request Reject)","to":"/docs/guides/exchange-fix-api/market-data-fix-api/supported-fix-messages/fix-application-level-messages/message-y-market-data-request-reject","use":"$3"}]}]}]},{"id":"/docs/guides/exchange-fix-api/fix-session-management","title":"FIX session management","use":"$3","items":[{"id":"/docs/guides/exchange-fix-api/fix-session-management/starting-session-and-authentication","title":"Starting session and authentication","to":"/docs/guides/exchange-fix-api/fix-session-management/starting-session-and-authentication","use":"$3"},{"id":"/docs/guides/exchange-fix-api/fix-session-management/session-termination","title":"Session termination","to":"/docs/guides/exchange-fix-api/fix-session-management/session-termination","use":"$3"},{"id":"/docs/guides/exchange-fix-api/fix-session-management/reject-handling","title":"Reject handling","to":"/docs/guides/exchange-fix-api/fix-session-management/reject-handling","use":"$3"}]}]},{"id":"/docs/guides/manage-accounts","title":"Manage Accounts","use":"$3","root":true,"items":[{"id":"/docs/guides/manage-accounts/introduction","title":"Introduction to the Business API","to":"/docs/guides/manage-accounts/introduction","use":"$3"},{"id":"/docs/guides/manage-accounts/use-cases","title":"Use cases","use":"$3","items":[{"id":"/docs/guides/manage-accounts/use-cases/accounts-and-transactions-syncing","title":"Accounts and transactions syncing","to":"/docs/guides/manage-accounts/use-cases/accounts-and-transactions-syncing","use":"$3"},{"id":"/docs/guides/manage-accounts/use-cases/expenses-and-receipts","title":"Expenses and receipts syncing","to":"/docs/guides/manage-accounts/use-cases/expenses-and-receipts","use":"$3"},{"id":"/docs/guides/manage-accounts/use-cases/payouts-automation","title":"Payouts automation","to":"/docs/guides/manage-accounts/use-cases/payouts-automation","use":"$3"}]},{"id":"/docs/guides/manage-accounts/get-started","title":"Get started","use":"$3","items":[{"id":"/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","title":"1. Sign up for Revolut Business account","to":"/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","use":"$3"},{"id":"/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","title":"2. Set up a test environment with Revolut Sandbox","to":"/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","use":"$3"},{"id":"/docs/guides/manage-accounts/get-started/make-your-first-api-request","title":"3. Make your first API request","to":"/docs/guides/manage-accounts/get-started/make-your-first-api-request","use":"$3"}]},{"id":"/docs/guides/manage-accounts/accounting","title":"Accounting settings","use":"$3","items":[{"id":"/docs/guides/manage-accounts/accounting/manage-accounting-settings","title":"Overview","to":"/docs/guides/manage-accounts/accounting/manage-accounting-settings","use":"$3"},{"id":"/docs/guides/manage-accounts/accounting/manage-accounting-categories","title":"Accounting categories","to":"/docs/guides/manage-accounts/accounting/manage-accounting-categories","use":"$3"},{"id":"/docs/guides/manage-accounts/accounting/manage-tax-rates","title":"Tax rates","to":"/docs/guides/manage-accounts/accounting/manage-tax-rates","use":"$3"},{"id":"/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","title":"Labels and label groups","to":"/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","use":"$3"}]},{"id":"/docs/guides/manage-accounts/accounts-and-transactions","title":"Accounts and transactions","use":"$3","items":[{"id":"/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","title":"Accounts","to":"/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","use":"$3"},{"id":"/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","title":"Expenses","to":"/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","use":"$3"},{"id":"/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions","title":"Transactions","to":"/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions","use":"$3"},{"id":"/docs/guides/manage-accounts/accounts-and-transactions/map-transaction-data","title":"Map transactions","to":"/docs/guides/manage-accounts/accounts-and-transactions/map-transaction-data","use":"$3"}]},{"id":"/docs/guides/manage-accounts/counterparties","title":"Counterparties","use":"$3","items":[{"id":"/docs/guides/manage-accounts/counterparties/create-a-counterparty","title":"Create a counterparty","to":"/docs/guides/manage-accounts/counterparties/create-a-counterparty","use":"$3"},{"id":"/docs/guides/manage-accounts/counterparties/retrieve-counterparties","title":"Retrieve counterparties","to":"/docs/guides/manage-accounts/counterparties/retrieve-counterparties","use":"$3"},{"id":"/docs/guides/manage-accounts/counterparties/update-counterparty-payment-method","title":"Update a counterparty's payment method","to":"/docs/guides/manage-accounts/counterparties/update-counterparty-payment-method","use":"$3"},{"id":"/docs/guides/manage-accounts/counterparties/confirmation-of-payee","title":"Confirmation of Payee (CoP)","to":"/docs/guides/manage-accounts/counterparties/confirmation-of-payee","use":"$3"}]},{"id":"/docs/guides/manage-accounts/transfers","title":"Transfers","use":"$3","items":[{"id":"/docs/guides/manage-accounts/transfers/send-money","title":"Send money","to":"/docs/guides/manage-accounts/transfers/send-money","use":"$3"},{"id":"/docs/guides/manage-accounts/transfers/bank-transfers","title":"Bank transfers","to":"/docs/guides/manage-accounts/transfers/bank-transfers","use":"$3"},{"id":"/docs/guides/manage-accounts/transfers/card-transfers","title":"Card transfers","to":"/docs/guides/manage-accounts/transfers/card-transfers","use":"$3"},{"id":"/docs/guides/manage-accounts/transfers/payout-links","title":"Payout links","to":"/docs/guides/manage-accounts/transfers/payout-links","use":"$3"},{"id":"/docs/guides/manage-accounts/transfers/payment-drafts","title":"Payment drafts","to":"/docs/guides/manage-accounts/transfers/payment-drafts","use":"$3"},{"id":"/docs/guides/manage-accounts/transfers/prepare-and-validate-transfers","title":"Prepare and validate transfers","to":"/docs/guides/manage-accounts/transfers/prepare-and-validate-transfers","use":"$3"}]},{"id":"/docs/guides/manage-accounts/exchange-money","title":"Foreign exchange","to":"/docs/guides/manage-accounts/exchange-money","use":"$3"},{"id":"/docs/guides/manage-accounts/cards","title":"Cards","use":"$3","items":[{"id":"/docs/guides/manage-accounts/cards/manage-cards","title":"Cards","to":"/docs/guides/manage-accounts/cards/manage-cards","use":"$3"},{"id":"/docs/guides/manage-accounts/cards/manage-card-invitations","title":"Card invitations","to":"/docs/guides/manage-accounts/cards/manage-card-invitations","use":"$3"}]},{"id":"/docs/guides/manage-accounts/teams","title":"Teams","use":"$3","items":[{"id":"/docs/guides/manage-accounts/teams/manage-team-members","title":"Members and roles","to":"/docs/guides/manage-accounts/teams/manage-team-members","use":"$3"}]},{"id":"/docs/guides/manage-accounts/webhooks","title":"Webhooks","use":"$3","items":[{"id":"/docs/guides/manage-accounts/webhooks/about-webhooks","title":"About webhooks","to":"/docs/guides/manage-accounts/webhooks/about-webhooks","use":"$3"},{"id":"/docs/guides/manage-accounts/webhooks/manage-webhooks","title":"Manage webhooks","to":"/docs/guides/manage-accounts/webhooks/manage-webhooks","use":"$3"},{"id":"/docs/guides/manage-accounts/webhooks/verify-the-payload-signature","title":"Verify the payload signature","to":"/docs/guides/manage-accounts/webhooks/verify-the-payload-signature","use":"$3"}]},{"id":"/docs/guides/manage-accounts/api-usage-and-testing","title":"API usage and testing","use":"$3","items":[{"id":"/docs/guides/manage-accounts/api-usage-and-testing/errors","title":"Errors","to":"/docs/guides/manage-accounts/api-usage-and-testing/errors","use":"$3"},{"id":"/docs/guides/manage-accounts/api-usage-and-testing/usage-and-limits","title":"Usage and limits","to":"/docs/guides/manage-accounts/api-usage-and-testing/usage-and-limits","use":"$3"},{"id":"/docs/guides/manage-accounts/api-usage-and-testing/test-flows-with-simulations","title":"Test your flows with simulations (Sandbox only)","to":"/docs/guides/manage-accounts/api-usage-and-testing/test-flows-with-simulations","use":"$3"}]}]},{"id":"/docs/guides/merchant","title":"Merchant","use":"$3","root":true,"items":[{"id":"/docs/guides/merchant/introduction","title":"Introduction","to":"/docs/guides/merchant/introduction","use":"$3"},{"id":"/docs/guides/merchant/get-started","title":"Get started","to":"/docs/guides/merchant/get-started","use":"$3"},{"id":"/docs/guides/merchant/test-and-go-live","title":"Test & go live","use":"$3","items":[{"id":"/docs/guides/merchant/test-and-go-live/set-up-sandbox","title":"Set up a test environment","to":"/docs/guides/merchant/test-and-go-live/set-up-sandbox","use":"$3"},{"id":"/docs/guides/merchant/test-and-go-live/testing","title":"Testing","use":"$3","items":[{"id":"/docs/guides/merchant/test-and-go-live/testing/implementation-checklists","title":"Implementation checklist","to":"/docs/guides/merchant/test-and-go-live/testing/implementation-checklists","use":"$3"},{"id":"/docs/guides/merchant/test-and-go-live/testing/test-flows","title":"Test payment flows","to":"/docs/guides/merchant/test-and-go-live/testing/test-flows","use":"$3"},{"id":"/docs/guides/merchant/test-and-go-live/testing/test-cards","title":"Test cards","to":"/docs/guides/merchant/test-and-go-live/testing/test-cards","use":"$3"}]}]},{"id":"/docs/guides/merchant/accept-payments","title":"Accept payments","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments","title":"Online payments","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout","title":"Revolut Checkout","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/web","title":"Web","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/web","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay","title":"Revolut Pay","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/web","title":"Web","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/web","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile","title":"Mobile","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile/ios","title":"iOS","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile/ios","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile/android","title":"Android","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile/android","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile/react-native","title":"React Native","to":"/docs/guides/merchant/accept-payments/online-payments/revolut-pay/mobile/react-native","use":"$3"}]},{"id":"/docs/guides/merchant/optimise-checkout/fast-checkout","title":"Fast checkout","use":"$3","to":"/docs/guides/merchant/optimise-checkout/fast-checkout"}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments","title":"Card payments","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/web","title":"Web","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/web/card-field","title":"Card field","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/web/card-field","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/web/pop-up","title":"Card pop-up","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/web/pop-up","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile","title":"Mobile","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile/ios","title":"iOS","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile/ios","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile/android","title":"Android","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile/android","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile/react-native","title":"React Native","to":"/docs/guides/merchant/accept-payments/online-payments/card-payments/mobile/react-native","use":"$3"}]}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay","title":"Apple Pay and Google Pay","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/web","title":"Web","to":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/web","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/mobile","title":"Mobile","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/mobile/ios","title":"iOS","to":"/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/mobile/ios","use":"$3"}]}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank","title":"Pay by Bank","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/web","title":"Web","to":"/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/web","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit","title":"SEPA Direct Debit","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit/web","title":"Web","to":"/docs/guides/merchant/accept-payments/online-payments/sepa-direct-debit/web","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page","title":"Hosted Checkout Page","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/payment-link","title":"Payment link","to":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/payment-link","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api","title":"API","to":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api","use":"$3"}]}]},{"id":"/docs/guides/merchant/accept-payments/in-person-payments","title":"In-person payments","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/in-person-payments/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos","title":"Revolut POS","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/get-started","title":"Get started","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/get-started","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app","title":"Web app","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/get-started","title":"Get started","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/get-started","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/product-management","title":"Product and catalogue management","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/product-management","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/settings","title":"Settings","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/settings","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/staff-management","title":"Staff management","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/staff-management","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/analytics-orders","title":"Analytics and orders","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/web-app/analytics-orders","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app","title":"iOS app","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/get-started","title":"Get started","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/get-started","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/order-management","title":"Order management","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/order-management","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/table-service","title":"Table service","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/table-service","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/catalogue","title":"Catalogue","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/catalogue","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/operational-settings","title":"Operational settings","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/operational-settings","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/hardware-settings","title":"Hardware settings","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/hardware-settings","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/reports","title":"Reports","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/ios-app/reports","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/order-pay","title":"Order and Pay","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/order-pay","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/support","title":"Support","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/support","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/pos/faq","title":"FAQs","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/faq","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal","title":"Revolut Terminal","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/get-started","title":"Get started","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/get-started","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/manage-payments","title":"Manage payments","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/manage-payments","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/additional-features","title":"Additional features","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/additional-features","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","title":"Push payments to Revolut Terminal","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/pre-authorisation","title":"Pre-authorisation","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/pre-authorisation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/support-warranty","title":"Support and warranty","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/support-warranty","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader","title":"Revolut Reader","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader/get-started","title":"Get started","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/get-started","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader/manage-payments","title":"Manage payments","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/manage-payments","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader/additional-features","title":"Additional features","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/additional-features","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader/support-warranty","title":"Support and warranty","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/support-warranty","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/reader/faq","title":"FAQs","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/faq","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay","title":"Tap to Pay","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay/get-started","title":"Get started","to":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay/get-started","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay/integration-guide","title":"Integration guide","to":"/docs/guides/merchant/accept-payments/in-person-payments/tap-to-pay/integration-guide","use":"$3"}]}]},{"id":"/docs/guides/merchant/accept-payments/no-code","title":"No-code integrations","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins","title":"E-commerce plugins","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce","title":"WooCommerce","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/installation","title":"Installation","to":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/installation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/features","title":"Features and operations","to":"/docs/guides/merchant/accept-payments/no-code/plugins/woocommerce/features","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop","title":"PrestaShop","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/installation","title":"Installation","to":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/installation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/features","title":"Features and operations","to":"/docs/guides/merchant/accept-payments/no-code/plugins/prestashop/features","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/magento","title":"Adobe Commerce (Magento 2)","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/installation","title":"Installation","to":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/installation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/features","title":"Features and operations","to":"/docs/guides/merchant/accept-payments/no-code/plugins/magento/features","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce","title":"BigCommerce","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/installation","title":"Installation","to":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/installation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/features","title":"Features and operations","to":"/docs/guides/merchant/accept-payments/no-code/plugins/bigcommerce/features","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify","title":"Shopify","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/installation","title":"Installation","to":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/installation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/features","title":"Features and operations","to":"/docs/guides/merchant/accept-payments/no-code/plugins/shopify/features","use":"$3"}]},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart","title":"OpenCart","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/introduction","title":"Introduction","to":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/introduction","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/installation","title":"Installation","to":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/installation","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/features","title":"Features and operations","to":"/docs/guides/merchant/accept-payments/no-code/plugins/opencart/features","use":"$3"}]}]},{"id":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/payment-link","title":"Payment links","use":"$3","to":"/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/payment-link"},{"id":"/docs/guides/merchant/accept-payments/no-code/invoices","title":"Invoices","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/invoices/xero","title":"Xero invoices","use":"$3","items":[{"id":"/docs/guides/merchant/accept-payments/no-code/invoices/xero/configuration","title":"Configuration","to":"/docs/guides/merchant/accept-payments/no-code/invoices/xero/configuration","use":"$3"},{"id":"/docs/guides/merchant/accept-payments/no-code/invoices/xero/troubleshooting","title":"Troubleshooting","to":"/docs/guides/merchant/accept-payments/no-code/invoices/xero/troubleshooting","use":"$3"}]}]}]}]},{"id":"/docs/guides/merchant/operations","title":"Operations","use":"$3","items":[{"id":"/docs/guides/merchant/operations/capture-and-settlement","title":"Capture & settlement","use":"$3","items":[{"id":"/docs/guides/merchant/operations/capture-and-settlement/capture-later","title":"Authorise a payment to capture later","to":"/docs/guides/merchant/operations/capture-and-settlement/capture-later","use":"$3"},{"id":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation","title":"Advanced authorisation","use":"$3","items":[{"id":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/introduction","title":"Introduction","to":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/introduction","use":"$3"},{"id":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/pre-authorisation","title":"Pre-authorisation","to":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/pre-authorisation","use":"$3"},{"id":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/incremental-authorisation","title":"Incremental authorisation","to":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/incremental-authorisation","use":"$3"},{"id":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/clearing-windows","title":"Clearing windows","to":"/docs/guides/merchant/operations/capture-and-settlement/advanced-authorisation/clearing-windows","use":"$3"}]}]},{"id":"/docs/guides/merchant/operations/refunds","title":"Refund payments","to":"/docs/guides/merchant/operations/refunds","use":"$3"}]},{"id":"/docs/guides/merchant/optimise-checkout","title":"Optimise checkout","use":"$3","items":[{"id":"/docs/guides/merchant/optimise-checkout/save-payment-methods","title":"Save and charge payment methods","use":"$3","items":[{"id":"/docs/guides/merchant/optimise-checkout/save-payment-methods/charge-saved-payment-method","title":"Charge a customer's saved payment method","to":"/docs/guides/merchant/optimise-checkout/save-payment-methods/charge-saved-payment-method","use":"$3"},{"id":"/docs/guides/merchant/optimise-checkout/save-payment-methods/checkout-with-saved-card","title":"Save cards and speed up checkout","to":"/docs/guides/merchant/optimise-checkout/save-payment-methods/checkout-with-saved-card","use":"$3"},{"id":"/docs/guides/merchant/optimise-checkout/save-payment-methods/subscription-management","title":"Manage subscriptions","to":"/docs/guides/merchant/optimise-checkout/save-payment-methods/subscription-management","use":"$3"}]},{"id":"/docs/guides/merchant/optimise-checkout/fast-checkout","title":"Fast checkout","to":"/docs/guides/merchant/optimise-checkout/fast-checkout","use":"$3"},{"id":"/docs/guides/merchant/optimise-checkout/promo-banners","title":"Add Promotional banner to your checkout page","to":"/docs/guides/merchant/optimise-checkout/promo-banners","use":"$3"}]},{"id":"/docs/guides/merchant/monitor-and-observe","title":"Monitor & observe","use":"$3","items":[{"id":"/docs/guides/merchant/monitor-and-observe/reports-reconciliation","title":"Create CSV reports of transactions","to":"/docs/guides/merchant/monitor-and-observe/reports-reconciliation","use":"$3"},{"id":"/docs/guides/merchant/monitor-and-observe/webhooks","title":"Work with webhooks","use":"$3","items":[{"id":"/docs/guides/merchant/monitor-and-observe/webhooks/using-webhooks","title":"Use webhooks to track order and payment lifecycle","to":"/docs/guides/merchant/monitor-and-observe/webhooks/using-webhooks","use":"$3"},{"id":"/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature","title":"Verify the payload signature","to":"/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature","use":"$3"}]}]},{"id":"/docs/guides/merchant/reference","title":"Reference","use":"$3","items":[{"id":"/docs/guides/merchant/reference/versioning","title":"Versioning","use":"$3","items":[{"id":"/docs/guides/merchant/reference/versioning/api-versions","title":"API versions","to":"/docs/guides/merchant/reference/versioning/api-versions","use":"$3"},{"id":"/docs/guides/merchant/reference/versioning/deprecation-policy","title":"Deprecation policy","to":"/docs/guides/merchant/reference/versioning/deprecation-policy","use":"$3"},{"id":"/docs/guides/merchant/reference/versioning/changelog","title":"Changelog","to":"/docs/guides/merchant/reference/versioning/changelog","use":"$3"}]},{"id":"/docs/api/merchant","title":"API","use":"$3","to":"/docs/api/merchant"},{"id":"/docs/guides/merchant/reference/sdks","title":"SDKs","use":"$3","items":[{"id":"/docs/sdks/merchant-web-sdk/introduction","title":"Web SDK","use":"$3","to":"/docs/sdks/merchant-web-sdk/introduction"},{"id":"/docs/sdks/merchant-ios-sdk/introduction","title":"iOS SDK","use":"$3","to":"/docs/sdks/merchant-ios-sdk/introduction"},{"id":"/docs/sdks/merchant-android-sdk/introduction","title":"Android SDK","use":"$3","to":"/docs/sdks/merchant-android-sdk/introduction"}]},{"id":"/docs/guides/merchant/reference/3d-secure","title":"3D Secure","to":"/docs/guides/merchant/reference/3d-secure","use":"$3"},{"id":"/docs/guides/merchant/reference/error-codes","title":"Errors","use":"$3","items":[{"id":"/docs/guides/merchant/reference/error-codes/http-response-errors","title":"HTTP response errors","to":"/docs/guides/merchant/reference/error-codes/http-response-errors","use":"$3"},{"id":"/docs/guides/merchant/reference/error-codes/decline-reasons","title":"Decline reasons","to":"/docs/guides/merchant/reference/error-codes/decline-reasons","use":"$3"}]},{"id":"/docs/guides/merchant/reference/order-lifecycle","title":"Order and payment lifecycle","to":"/docs/guides/merchant/reference/order-lifecycle","use":"$3"}]},{"id":"/blog","title":"Updates","use":"$3","to":"/blog"}]},{"id":"/docs/guides/revolut-wallet","title":"Revolut Wallet","use":"$3","root":true,"items":[{"id":"/docs/guides/revolut-wallet/introduction","title":"Introduction","to":"/docs/guides/revolut-wallet/introduction","use":"$3"},{"id":"/docs/guides/revolut-wallet/get-started","title":"Get started","to":"/docs/guides/revolut-wallet/get-started","use":"$3"},{"id":"/docs/guides/revolut-wallet/operations","title":"Operations","use":"$3","items":[{"id":"/docs/guides/revolut-wallet/operations/introduction","title":"Introduction","to":"/docs/guides/revolut-wallet/operations/introduction","use":"$3"},{"id":"/docs/guides/revolut-wallet/operations/create-pass","title":"Create a pass","to":"/docs/guides/revolut-wallet/operations/create-pass","use":"$3"},{"id":"/docs/guides/revolut-wallet/operations/update-pass","title":"Update a pass","to":"/docs/guides/revolut-wallet/operations/update-pass","use":"$3"},{"id":"/docs/guides/revolut-wallet/operations/transaction-results","title":"Transaction results","to":"/docs/guides/revolut-wallet/operations/transaction-results","use":"$3"}]}]},{"id":"/docs/resources","title":"Resources","use":"$3","root":true,"items":[{"id":"/docs/resources/marketing-guidelines","title":"Revolut Pay marketing assets and guidelines","to":"/docs/resources/marketing-guidelines","use":"$3"},{"id":"/docs/resources/revolut-pay-button-guidelines","title":"Revolut Pay button guidelines","to":"/docs/resources/revolut-pay-button-guidelines","use":"$3"},{"id":"/docs/resources/open-banking-logo-guidelines","title":"Revolut Open Banking logo assets and guidelines","to":"/docs/resources/open-banking-logo-guidelines","use":"$3"}]},{"id":"/docs/sdks/merchant-android-sdk","title":"Merchant Android SDK","use":"$3","root":true,"items":[{"id":"/docs/sdks/merchant-android-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-android-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk","title":"Revolut Pay SDK","use":"$3","items":[{"id":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/merchant-android-sdk/revolut-pay-android-sdk/methods-parameters","use":"$3"}]},{"id":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk","title":"Revolut Card Form SDK","use":"$3","items":[{"id":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/merchant-android-sdk/revolut-card-form-android-sdk/methods-parameters","use":"$3"}]}]},{"id":"/docs/sdks/merchant-ios-sdk","title":"Merchant iOS SDK","use":"$3","root":true,"items":[{"id":"/docs/sdks/merchant-ios-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-ios-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk","title":"Revolut Pay SDK","use":"$3","items":[{"id":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/merchant-ios-sdk/revolut-pay-ios-sdk/methods-parameters","use":"$3"}]},{"id":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk","title":"Apple Pay SDK","use":"$3","items":[{"id":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/merchant-ios-sdk/apple-pay-ios-sdk/methods-parameters","use":"$3"}]},{"id":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk","title":"Tap to Pay SDK","use":"$3","items":[{"id":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/merchant-ios-sdk/tap-to-pay-sdk/methods-parameters","use":"$3"}]},{"id":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk","title":"Revolut Card Form SDK","use":"$3","items":[{"id":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/merchant-ios-sdk/revolut-card-form-ios-sdk/methods-parameters","use":"$3"}]}]},{"id":"/docs/sdks/merchant-web-sdk","title":"Merchant Web SDK","use":"$3","root":true,"items":[{"id":"/docs/sdks/merchant-web-sdk/introduction","title":"Introduction","to":"/docs/sdks/merchant-web-sdk/introduction","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/get-started","title":"Get started","to":"/docs/sdks/merchant-web-sdk/get-started","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/initialisation","title":"Initialisation","use":"$3","items":[{"id":"/docs/sdks/merchant-web-sdk/initialisation/token-based","title":"Token-based initialisation","to":"/docs/sdks/merchant-web-sdk/initialisation/token-based","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/initialisation/direct","title":"Direct initialisation","to":"/docs/sdks/merchant-web-sdk/initialisation/direct","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/initialisation/payments-module","title":"Payments module initialisation","to":"/docs/sdks/merchant-web-sdk/initialisation/payments-module","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/initialisation/upsell-module","title":"Upsell module initialisation","to":"/docs/sdks/merchant-web-sdk/initialisation/upsell-module","use":"$3"}]},{"id":"/docs/sdks/merchant-web-sdk/payment-methods","title":"Payment methods","use":"$3","items":[{"id":"/docs/sdks/merchant-web-sdk/payment-methods/introduction","title":"Introduction","to":"/docs/sdks/merchant-web-sdk/payment-methods/introduction","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout","title":"Embedded checkout","to":"/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay","title":"Revolut Pay","to":"/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay","title":"Apple Pay / Google Pay","to":"/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/card-field","title":"Card field","to":"/docs/sdks/merchant-web-sdk/payment-methods/card-field","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/pop-up","title":"Card pop-up","to":"/docs/sdks/merchant-web-sdk/payment-methods/pop-up","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank","title":"Pay by Bank","to":"/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/payment-methods/sepa-direct-debit","title":"SEPA Direct Debit","to":"/docs/sdks/merchant-web-sdk/payment-methods/sepa-direct-debit","use":"$3"}]},{"id":"/docs/sdks/merchant-web-sdk/promotional-widgets","title":"Promotional widgets","use":"$3","items":[{"id":"/docs/sdks/merchant-web-sdk/promotional-widgets/introduction","title":"Introduction","to":"/docs/sdks/merchant-web-sdk/promotional-widgets/introduction","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/promotional-widgets/card-gateway-banner","title":"Card gateway banner","to":"/docs/sdks/merchant-web-sdk/promotional-widgets/card-gateway-banner","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/promotional-widgets/promotional-banner","title":"Promotional banner","to":"/docs/sdks/merchant-web-sdk/promotional-widgets/promotional-banner","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/promotional-widgets/enrollment-confirmation-banner","title":"Enrollment confirmation banner","to":"/docs/sdks/merchant-web-sdk/promotional-widgets/enrollment-confirmation-banner","use":"$3"}]},{"id":"/docs/sdks/merchant-web-sdk/types","title":"Types","use":"$3","items":[{"id":"/docs/sdks/merchant-web-sdk/types/introduction","title":"Introduction","to":"/docs/sdks/merchant-web-sdk/types/introduction","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/types/locale","title":"Locale","to":"/docs/sdks/merchant-web-sdk/types/locale","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/types/address","title":"Address","to":"/docs/sdks/merchant-web-sdk/types/address","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/types/customer-details","title":"CustomerDetails","to":"/docs/sdks/merchant-web-sdk/types/customer-details","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/types/revolut-checkout-error","title":"RevolutCheckoutError","to":"/docs/sdks/merchant-web-sdk/types/revolut-checkout-error","use":"$3"},{"id":"/docs/sdks/merchant-web-sdk/types/validation-error","title":"ValidationError","to":"/docs/sdks/merchant-web-sdk/types/validation-error","use":"$3"}]},{"id":"/docs/sdks/merchant-web-sdk/integration-examples","title":"Integration examples","to":"/docs/sdks/merchant-web-sdk/integration-examples","use":"$3"}]},{"id":"/docs/sdks/reverywhere-web-sdk","title":"RevEverywhere Web SDK","use":"$3","root":true,"items":[{"id":"/docs/sdks/reverywhere-web-sdk/introduction-and-setup","title":"Introduction and setup","to":"/docs/sdks/reverywhere-web-sdk/introduction-and-setup","use":"$3"}]},{"id":"/docs/sdks/revolut-id-sdk","title":"(BETA) Revolut ID SDK","use":"$3","root":true,"items":[{"id":"/docs/sdks/revolut-id-sdk/introduction","title":"Introduction","to":"/docs/sdks/revolut-id-sdk/introduction","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web","title":"Web","use":"$3","items":[{"id":"/docs/sdks/revolut-id-sdk/web/introduction","title":"Introduction","to":"/docs/sdks/revolut-id-sdk/web/introduction","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/configure-client","title":"Configure client","to":"/docs/sdks/revolut-id-sdk/web/configure-client","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/integrate-sdk","title":"Integrate SDK","use":"$3","items":[{"id":"/docs/sdks/revolut-id-sdk/web/integrate-sdk/java-script","title":"JavaScript","to":"/docs/sdks/revolut-id-sdk/web/integrate-sdk/java-script","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/integrate-sdk/react","title":"React","to":"/docs/sdks/revolut-id-sdk/web/integrate-sdk/react","use":"$3"}]},{"id":"/docs/sdks/revolut-id-sdk/web/code-exchange","title":"Code exchange","to":"/docs/sdks/revolut-id-sdk/web/code-exchange","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/api-reference","title":"API reference","use":"$3","to":"/docs/sdks/revolut-id-sdk/web/api-reference","items":[{"id":"/docs/sdks/revolut-id-sdk/web/api-reference/revolut-id","title":"RevolutId","to":"/docs/sdks/revolut-id-sdk/web/api-reference/revolut-id","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/api-reference/revolutid-loader","title":"RevolutIdLoader","to":"/docs/sdks/revolut-id-sdk/web/api-reference/revolutid-loader","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/api-reference/button-client","title":"ButtonClient","to":"/docs/sdks/revolut-id-sdk/web/api-reference/button-client","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/api-reference/button-style","title":"ButtonStyle","to":"/docs/sdks/revolut-id-sdk/web/api-reference/button-style","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/web/api-reference/openid-configuration","title":"OIDC Configuration","to":"/docs/sdks/revolut-id-sdk/web/api-reference/openid-configuration","use":"$3"}]}]},{"id":"/docs/sdks/revolut-id-sdk/ios","title":"iOS","use":"$3","items":[{"id":"/docs/sdks/revolut-id-sdk/ios/introduction","title":"Introduction","to":"/docs/sdks/revolut-id-sdk/ios/introduction","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/ios/integration-guide","title":"Integration guide","to":"/docs/sdks/revolut-id-sdk/ios/integration-guide","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/ios/code-exchange","title":"Code exchange","to":"/docs/sdks/revolut-id-sdk/ios/code-exchange","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/ios/api-reference","title":"Methods and parameters","use":"$3","to":"/docs/sdks/revolut-id-sdk/ios/api-reference","items":[]}]},{"id":"/docs/sdks/revolut-id-sdk/android","title":"Android","use":"$3","items":[{"id":"/docs/sdks/revolut-id-sdk/android/introduction","title":"Introduction","to":"/docs/sdks/revolut-id-sdk/android/introduction","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/android/integration-guide","title":"Integration guide","to":"/docs/sdks/revolut-id-sdk/android/integration-guide","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/android/code-exchange","title":"Code exchange","to":"/docs/sdks/revolut-id-sdk/android/code-exchange","use":"$3"},{"id":"/docs/sdks/revolut-id-sdk/android/methods-parameters","title":"Methods and parameters","to":"/docs/sdks/revolut-id-sdk/android/methods-parameters","use":"$3"}]}]},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk","title":"UI Kit MiniApp Web SDK","use":"$3","root":true,"items":[{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/introduction","title":"Introduction","to":"/docs/sdks/ui-kit-miniapp-web-sdk/introduction","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components","title":"Components","use":"$3","items":[{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Action","title":"Action","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Action","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/ActionButton","title":"ActionButton","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/ActionButton","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Avatar","title":"Avatar","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Avatar","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Badge","title":"Badge","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Badge","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/BottomSheet","title":"BottomSheet","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/BottomSheet","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Button","title":"Button","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Button","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Calendar","title":"Calendar","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Calendar","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Cell","title":"Cell","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Cell","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/CellSkeleton","title":"CellSkeleton","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/CellSkeleton","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Checkbox","title":"Checkbox","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Checkbox","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/CompactInput","title":"CompactInput","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/CompactInput","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Copyable","title":"Copyable","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Copyable","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/DetailsCell","title":"DetailsCell","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/DetailsCell","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Dropdown","title":"Dropdown","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Dropdown","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/FilterButton","title":"FilterButton","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/FilterButton","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Footnote","title":"Footnote","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Footnote","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Group","title":"Group","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Group","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/HStack","title":"HStack","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/HStack","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Icon","title":"Icon","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Icon","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Image","title":"Image","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Image","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Input","title":"Input","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Input","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Link","title":"Link","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Link","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/List","title":"List","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/List","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/MessageBubble","title":"MessageBubble","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/MessageBubble","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Page","title":"Page","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Page","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Placeholder","title":"Placeholder","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Placeholder","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Popup","title":"Popup","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Popup","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/ProgressSteps","title":"ProgressSteps","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/ProgressSteps","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Radio","title":"Radio","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Radio","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/RootProvider","title":"RootProvider","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/RootProvider","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Search","title":"Search","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Search","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Spacer","title":"Spacer","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Spacer","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Subheader","title":"Subheader","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Subheader","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Switch","title":"Switch","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Switch","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/TabBar","title":"TabBar","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/TabBar","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Text","title":"Text","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Text","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/TextArea","title":"TextArea","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/TextArea","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/ToggleButton","title":"ToggleButton","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/ToggleButton","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Toast","title":"Toast","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/Toast","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/VStack","title":"VStack","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/VStack","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/components/VisuallyHidden","title":"VisuallyHidden","to":"/docs/sdks/ui-kit-miniapp-web-sdk/components/VisuallyHidden","use":"$3"}]},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/hooks","title":"Hooks","use":"$3","items":[{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/hooks/useStatusSheet","title":"useStatusSheet","to":"/docs/sdks/ui-kit-miniapp-web-sdk/hooks/useStatusSheet","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/hooks/useToast","title":"useToast","to":"/docs/sdks/ui-kit-miniapp-web-sdk/hooks/useToast","use":"$3"}]},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/constants","title":"Constants","use":"$3","items":[{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/constants/token","title":"Token","to":"/docs/sdks/ui-kit-miniapp-web-sdk/constants/token","use":"$3"}]},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types","title":"Types","use":"$3","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types","items":[{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/HTMLTag","title":"HTMLTag","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/HTMLTag","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/IconName","title":"IconName","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/IconName","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeButtonProps","title":"NativeButtonProps","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeButtonProps","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeDivProps","title":"NativeDivProps","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeDivProps","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeHeadingProps","title":"NativeHeadingProps","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeHeadingProps","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeMainProps","title":"NativeMainProps","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeMainProps","use":"$3"},{"id":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeSpanProps","title":"NativeSpanProps","to":"/docs/sdks/ui-kit-miniapp-web-sdk/types/NativeSpanProps","use":"$3"}]}]}],"blog":[{"id":"/blog/2026-07-14-tap-to-pay-sdk","title":"New: Tap to Pay SDK for iOS","use":"$3","to":"/blog/2026-07-14-tap-to-pay-sdk"},{"id":"/blog/2026-07-06-revolut-checkout-hide-customer-details","title":"Revolut Checkout: hide customer details with pre-fill","use":"$3","to":"/blog/2026-07-06-revolut-checkout-hide-customer-details"},{"id":"/blog/2026-06-02-react-native-merchant-sdks","title":"New: Revolut Pay and Card Form SDKs for React Native","use":"$3","to":"/blog/2026-06-02-react-native-merchant-sdks"},{"id":"/blog/2026-05-28-incremental-authorisation-sandbox","title":"Incremental Authorisation: Sandbox testing now available","use":"$3","to":"/blog/2026-05-28-incremental-authorisation-sandbox"},{"id":"/blog/2026-05-06-revolut-checkout-sdk-reference","title":"Revolut Checkout: full SDK reference and shipping options now documented","use":"$3","to":"/blog/2026-05-06-revolut-checkout-sdk-reference"},{"id":"/blog/2026-04-22-merchant-api-version-2026-04-20","title":"New Merchant API version: 2026-04-20","use":"$3","to":"/blog/2026-04-22-merchant-api-version-2026-04-20"},{"id":"/blog/2026-03-14-billing-address-card-payments","title":"Billing address is now required for card payments in the Web SDK","use":"$3","to":"/blog/2026-03-14-billing-address-card-payments"},{"id":"/blog/2026-03-01-hosted-checkout-page","title":"Merchant API: Hosted Checkout Page documentation restructuring","use":"$3","to":"/blog/2026-03-01-hosted-checkout-page"},{"id":"/blog/2026-02-05-incremental-authorisation","title":"New: Incremental Authorisation for card payments","use":"$3","to":"/blog/2026-02-05-incremental-authorisation"},{"id":"/blog/2026-02-01-revolut-checkout","title":"Release announcement: Revolut Checkout","use":"$3","to":"/blog/2026-02-01-revolut-checkout"},{"id":"/blog/2025-12-15-open-banking-minor-updates","title":"Open Banking API: Updates to OpenID config file, account subtype, and DCR scopes","use":"$3","to":"/blog/2025-12-15-open-banking-minor-updates"},{"id":"/blog/2025-12-01-push-payments-to-terminal","title":"Merchant API: Push payments to Revolut Terminal","use":"$3","to":"/blog/2025-12-01-push-payments-to-terminal"},{"id":"/blog/2025-08-15-pay-by-bank-example","title":"New Pay by Bank integration example on GitHub","use":"$3","to":"/blog/2025-08-15-pay-by-bank-example"},{"id":"/blog/2025-07-11-revolut-openapi-github-repository","title":"Revolut APIs: Public API Specs on GitHub","use":"$3","to":"/blog/2025-07-11-revolut-openapi-github-repository"},{"id":"/blog/2025-06-18-new-disputes-endpoints","title":"Merchant API: New Disputes endpoints","use":"$3","to":"/blog/2025-06-18-new-disputes-endpoints"},{"id":"/blog/2025-06-03-apple-pay-unregister","title":"Merchant API: New Apple Pay unregistration endpoint","use":"$3","to":"/blog/2025-06-03-apple-pay-unregister"},{"id":"/blog/2025-05-28-pay-by-bank","title":"Release announcement: Pay by Bank","use":"$3","to":"/blog/2025-05-28-pay-by-bank"},{"id":"/blog/2025-03-19-open-banking-refresh-tokens","title":"Open Banking API Refresh Tokens","use":"$3","to":"/blog/2025-03-19-open-banking-refresh-tokens"},{"id":"/blog/2025-03-04-open-banking-fapi1-advanced","title":"Financial-grade API 1.0 (FAPI 1) Advanced","use":"$3","to":"/blog/2025-03-04-open-banking-fapi1-advanced"},{"id":"/blog/2025-02-03-open-banking-accounts-endpoint","title":"Open Banking API SCA restrictions update","use":"$3","to":"/blog/2025-02-03-open-banking-accounts-endpoint"},{"id":"/blog/2024-09-16-open-banking-ais-restrictions","title":"Restrictions on AIS endpoints","use":"$3","to":"/blog/2024-09-16-open-banking-ais-restrictions"},{"id":"/blog/2024-09-14-open-banking-payment-status","title":"Payment Initiation status update","use":"$3","to":"/blog/2024-09-14-open-banking-payment-status"},{"id":"/blog/2024-08-16-open-banking-migration-of-swiss-users","title":"Migration of Swiss users","use":"$3","to":"/blog/2024-08-16-open-banking-migration-of-swiss-users"}],"openapiByPath":{"/docs/api/business":{"items":[{"id":"/docs/api/business#tag-accounting","title":"Accounting","use":"a","href":"#tag-accounting","items":[{"id":"/docs/api/business#create-accounting-category","title":"Create an accounting category","use":"a","href":"#create-accounting-category","options":{"method":"post"}},{"id":"/docs/api/business#get-accounting-categories","title":"Retrieve a list of accounting categories","use":"a","href":"#get-accounting-categories","options":{"method":"get"}},{"id":"/docs/api/business#get-accounting-category","title":"Retrieve accounting category details","use":"a","href":"#get-accounting-category","options":{"method":"get"}},{"id":"/docs/api/business#update-accounting-category","title":"Update accounting category settings","use":"a","href":"#update-accounting-category","options":{"method":"patch"}},{"id":"/docs/api/business#delete-accounting-category","title":"Delete an accounting category","use":"a","href":"#delete-accounting-category","options":{"method":"delete"}},{"id":"/docs/api/business#create-label-group","title":"Create a new label group","use":"a","href":"#create-label-group","options":{"method":"post"}},{"id":"/docs/api/business#get-label-groups","title":"Retrieve a list of label groups","use":"a","href":"#get-label-groups","options":{"method":"get"}},{"id":"/docs/api/business#get-label-group","title":"Retrieve label group details","use":"a","href":"#get-label-group","options":{"method":"get"}},{"id":"/docs/api/business#update-label-group","title":"Update label group settings","use":"a","href":"#update-label-group","options":{"method":"patch"}},{"id":"/docs/api/business#delete-label-group","title":"Delete a label group","use":"a","href":"#delete-label-group","options":{"method":"delete"}},{"id":"/docs/api/business#create-label","title":"Create a new label","use":"a","href":"#create-label","options":{"method":"post"}},{"id":"/docs/api/business#get-labels","title":"Retrieve a list of labels from a label group","use":"a","href":"#get-labels","options":{"method":"get"}},{"id":"/docs/api/business#update-label","title":"Update a label","use":"a","href":"#update-label","options":{"method":"patch"}},{"id":"/docs/api/business#delete-label","title":"Delete a label","use":"a","href":"#delete-label","options":{"method":"delete"}},{"id":"/docs/api/business#create-tax-rate","title":"Create a new tax rate","use":"a","href":"#create-tax-rate","options":{"method":"post"}},{"id":"/docs/api/business#get-tax-rates","title":"Retrieve a list of tax rates","use":"a","href":"#get-tax-rates","options":{"method":"get"}},{"id":"/docs/api/business#get-tax-rate","title":"Retrieve tax rate details","use":"a","href":"#get-tax-rate","options":{"method":"get"}},{"id":"/docs/api/business#update-tax-rate","title":"Update tax rate settings","use":"a","href":"#update-tax-rate","options":{"method":"patch"}},{"id":"/docs/api/business#delete-tax-rate","title":"Delete a tax rate","use":"a","href":"#delete-tax-rate","options":{"method":"delete"}}]},{"id":"/docs/api/business#tag-accounts","title":"Accounts","use":"a","href":"#tag-accounts","items":[{"id":"/docs/api/business#get-accounts","title":"Retrieve all accounts","use":"a","href":"#get-accounts","options":{"method":"get"}},{"id":"/docs/api/business#get-account","title":"Retrieve an account","use":"a","href":"#get-account","options":{"method":"get"}},{"id":"/docs/api/business#get-account-details","title":"Retrieve account's full bank details","use":"a","href":"#get-account-details","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-cards","title":"Cards","use":"a","href":"#tag-cards","items":[{"id":"/docs/api/business#get-cards","title":"Retrieve a list of cards","use":"a","href":"#get-cards","options":{"method":"get"}},{"id":"/docs/api/business#create-card","title":"Create a card","use":"a","href":"#create-card","options":{"method":"post"}},{"id":"/docs/api/business#get-card","title":"Retrieve card details","use":"a","href":"#get-card","options":{"method":"get"}},{"id":"/docs/api/business#update-card","title":"Update card settings","use":"a","href":"#update-card","options":{"method":"patch"}},{"id":"/docs/api/business#delete-card","title":"Terminate a card","use":"a","href":"#delete-card","options":{"method":"delete"}},{"id":"/docs/api/business#update-card-contacts","title":"Update card contacts","use":"a","href":"#update-card-contacts","options":{"method":"put"}},{"id":"/docs/api/business#update-card-references","title":"Update card references","use":"a","href":"#update-card-references","options":{"method":"put"}},{"id":"/docs/api/business#freeze-card","title":"Freeze a card","use":"a","href":"#freeze-card","options":{"method":"post"}},{"id":"/docs/api/business#unfreeze-card","title":"Unfreeze a card","use":"a","href":"#unfreeze-card","options":{"method":"post"}},{"id":"/docs/api/business#lock-card","title":"Lock a card","use":"a","href":"#lock-card","options":{"method":"post"}},{"id":"/docs/api/business#unlock-card","title":"Unlock a card","use":"a","href":"#unlock-card","options":{"method":"post"}},{"id":"/docs/api/business#get-sensitive-card-details","title":"Retrieve sensitive card details","use":"a","href":"#get-sensitive-card-details","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-card-invitations","title":"Card invitations","use":"a","href":"#tag-card-invitations","items":[{"id":"/docs/api/business#create-card-invitation","title":"Create a card invitation","use":"a","href":"#create-card-invitation","options":{"method":"post"}},{"id":"/docs/api/business#get-card-invitations","title":"Retrieve a list of card invitations","use":"a","href":"#get-card-invitations","options":{"method":"get"}},{"id":"/docs/api/business#get-card-invitation","title":"Retrieve card invitation details","use":"a","href":"#get-card-invitation","options":{"method":"get"}},{"id":"/docs/api/business#update-card-invitation","title":"Update card invitation settings","use":"a","href":"#update-card-invitation","options":{"method":"patch"}},{"id":"/docs/api/business#cancel-card-invitation","title":"Cancel a card invitation","use":"a","href":"#cancel-card-invitation","options":{"method":"post"}}]},{"id":"/docs/api/business#tag-counterparties","title":"Counterparties","use":"a","href":"#tag-counterparties","items":[{"id":"/docs/api/business#validate-account-name","title":"Validate an account name (CoP/VoP)","use":"a","href":"#validate-account-name","options":{"method":"post"}},{"id":"/docs/api/business#get-counterparties","title":"Retrieve a list of counterparties","use":"a","href":"#get-counterparties","options":{"method":"get"}},{"id":"/docs/api/business#add-counterparty","title":"Create a counterparty","use":"a","href":"#add-counterparty","options":{"method":"post"}},{"id":"/docs/api/business#get-counterparty-countries","title":"Check supported countries and currencies","use":"a","href":"#get-counterparty-countries","options":{"method":"get"}},{"id":"/docs/api/business#get-counterparty-requirements","title":"Check counterparty field requirements","use":"a","href":"#get-counterparty-requirements","options":{"method":"get"}},{"id":"/docs/api/business#get-counterparty","title":"Retrieve a counterparty","use":"a","href":"#get-counterparty","options":{"method":"get"}},{"id":"/docs/api/business#delete-counterparty","title":"Delete a counterparty","use":"a","href":"#delete-counterparty","options":{"method":"delete"}},{"id":"/docs/api/business#update-counterparty-payment-method","title":"Update a counterparty's payment method","use":"a","href":"#update-counterparty-payment-method","options":{"method":"patch"}}]},{"id":"/docs/api/business#tag-expenses","title":"Expenses","use":"a","href":"#tag-expenses","items":[{"id":"/docs/api/business#get-expenses","title":"Retrieve a list of expenses","use":"a","href":"#get-expenses","options":{"method":"get"}},{"id":"/docs/api/business#get-expense","title":"Retrieve an expense","use":"a","href":"#get-expense","options":{"method":"get"}},{"id":"/docs/api/business#get-expense-receipt","title":"Retrieve a receipt related to an expense","use":"a","href":"#get-expense-receipt","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-foreign-exchange","title":"Foreign exchange","use":"a","href":"#tag-foreign-exchange","items":[{"id":"/docs/api/business#get-rate","title":"Get an exchange rate","use":"a","href":"#get-rate","options":{"method":"get"}},{"id":"/docs/api/business#exchange-money","title":"Exchange money","use":"a","href":"#exchange-money","options":{"method":"post"}},{"id":"/docs/api/business#get-exchange-reasons","title":"Get exchange reasons","use":"a","href":"#get-exchange-reasons","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-payment-drafts","title":"Payment drafts","use":"a","href":"#tag-payment-drafts","items":[{"id":"/docs/api/business#get-payment-drafts","title":"Retrieve a list of payment drafts","use":"a","href":"#get-payment-drafts","options":{"method":"get"}},{"id":"/docs/api/business#create-payment-draft","title":"Create a payment draft","use":"a","href":"#create-payment-draft","options":{"method":"post"}},{"id":"/docs/api/business#get-payment-draft","title":"Retrieve a payment draft","use":"a","href":"#get-payment-draft","options":{"method":"get"}},{"id":"/docs/api/business#delete-payment-draft","title":"Delete a payment draft","use":"a","href":"#delete-payment-draft","options":{"method":"delete"}},{"id":"/docs/api/business#update-payment-draft","title":"Update a payment draft","use":"a","href":"#update-payment-draft","options":{"method":"patch"}},{"id":"/docs/api/business#add-payment-draft-payment","title":"Add a payment to a payment draft","use":"a","href":"#add-payment-draft-payment","options":{"method":"post"}},{"id":"/docs/api/business#update-payment-draft-payment","title":"Update a payment in a payment draft","use":"a","href":"#update-payment-draft-payment","options":{"method":"patch"}},{"id":"/docs/api/business#delete-payment-draft-payment","title":"Delete a payment from a payment draft","use":"a","href":"#delete-payment-draft-payment","options":{"method":"delete"}}]},{"id":"/docs/api/business#tag-payout-links","title":"Payout links","use":"a","href":"#tag-payout-links","items":[{"id":"/docs/api/business#create-payout-link","title":"Create a payout link","use":"a","href":"#create-payout-link","options":{"method":"post"}},{"id":"/docs/api/business#get-payout-links","title":"Retrieve a list of payout links","use":"a","href":"#get-payout-links","options":{"method":"get"}},{"id":"/docs/api/business#get-payout-link","title":"Retrieve a payout link","use":"a","href":"#get-payout-link","options":{"method":"get"}},{"id":"/docs/api/business#cancel-payout-link","title":"Cancel a payout link","use":"a","href":"#cancel-payout-link","options":{"method":"post"}}]},{"id":"/docs/api/business#tag-simulations","title":"Simulations","use":"a","href":"#tag-simulations","items":[{"id":"/docs/api/business#simulate-transfer-state-update","title":"Simulate a transfer state update (Sandbox only)","use":"a","href":"#simulate-transfer-state-update","options":{"method":"post"}},{"id":"/docs/api/business#simulate-top-up","title":"Simulate an account top-up (Sandbox only)","use":"a","href":"#simulate-top-up","options":{"method":"post"}}]},{"id":"/docs/api/business#tag-team-members","title":"Team members","use":"a","href":"#tag-team-members","items":[{"id":"/docs/api/business#get-team-members","title":"Retrieve a list of team members","use":"a","href":"#get-team-members","options":{"method":"get"}},{"id":"/docs/api/business#invite-team-member","title":"Invite a new member to your business","use":"a","href":"#invite-team-member","options":{"method":"post"}},{"id":"/docs/api/business#delete-team-member","title":"Delete a team member","use":"a","href":"#delete-team-member","options":{"method":"delete"}},{"id":"/docs/api/business#get-roles","title":"Retrieve team roles","use":"a","href":"#get-roles","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-transactions","title":"Transactions","use":"a","href":"#tag-transactions","items":[{"id":"/docs/api/business#get-transactions","title":"Retrieve a list of transactions","use":"a","href":"#get-transactions","options":{"method":"get"}},{"id":"/docs/api/business#get-transaction","title":"Retrieve a transaction","use":"a","href":"#get-transaction","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-transfers","title":"Transfers","use":"a","href":"#tag-transfers","items":[{"id":"/docs/api/business#create-payment","title":"Create a transfer to another account or card","use":"a","href":"#create-payment","options":{"method":"post"}},{"id":"/docs/api/business#get-indicative-quote","title":"Get an indicative quote for a transfer","use":"a","href":"#get-indicative-quote","options":{"method":"post"}},{"id":"/docs/api/business#get-payment-requirements","title":"Check transfer field requirements","use":"a","href":"#get-payment-requirements","options":{"method":"post"}},{"id":"/docs/api/business#create-transfer","title":"Move money between your accounts","use":"a","href":"#create-transfer","options":{"method":"post"}},{"id":"/docs/api/business#get-transfer-reasons","title":"Get transfer reasons","use":"a","href":"#get-transfer-reasons","options":{"method":"get"}}]},{"id":"/docs/api/business#tag-webhooks-v1-deprecated","title":"Webhooks (v1) (deprecated)","use":"a","href":"#tag-webhooks-v1-deprecated","items":[{"id":"/docs/api/business#get-webhook-v1","title":"Retrieve a webhook","use":"a","href":"#get-webhook-v1","options":{"method":"get"}},{"id":"/docs/api/business#set-up-webhook","title":"Set a webhook","use":"a","href":"#set-up-webhook","options":{"method":"post"}},{"id":"/docs/api/business#delete-webhook-v1","title":"Delete a webhook","use":"a","href":"#delete-webhook-v1","options":{"method":"delete"}}]},{"id":"/docs/api/business#tag-webhooks-v2","title":"Webhooks (v2)","use":"a","href":"#tag-webhooks-v2","items":[{"id":"/docs/api/business#create-webhook","title":"Create a new webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/business#get-webhooks","title":"Retrieve a list of webhooks","use":"a","href":"#get-webhooks","options":{"method":"get"}},{"id":"/docs/api/business#get-webhook","title":"Retrieve a webhook","use":"a","href":"#get-webhook","options":{"method":"get"}},{"id":"/docs/api/business#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/business#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/business#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}},{"id":"/docs/api/business#get-failed-webhook-events","title":"Retrieve a list of failed webhook events","use":"a","href":"#get-failed-webhook-events","options":{"method":"get"}}]}],"versions":"$undefined"},"/docs/api/crypto-ramp/2.0.0":{"items":[{"id":"/docs/api/crypto-ramp/2.0.0#tag-partners","title":"Partners","use":"a","href":"#tag-partners","items":[{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-configuration","title":"Retrieve configuration","use":"a","href":"#retrieve-configuration","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-an-order-quote","title":"Retrieve an order quote","use":"a","href":"#retrieve-an-order-quote","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-a-redirect-url","title":"Retrieve a redirect URL","use":"a","href":"#retrieve-a-redirect-url","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-an-order","title":"Retrieve an order","use":"a","href":"#retrieve-an-order","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-all-orders","title":"Retrieve all orders","use":"a","href":"#retrieve-all-orders","options":{"method":"get"}}]},{"id":"/docs/api/crypto-ramp/2.0.0#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-a-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-a-webhook","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/2.0.0#update-a-webhook","title":"Update a webhook","use":"a","href":"#update-a-webhook","options":{"method":"patch"}},{"id":"/docs/api/crypto-ramp/2.0.0#delete-a-webhook","title":"Delete a webhook","use":"a","href":"#delete-a-webhook","options":{"method":"delete"}},{"id":"/docs/api/crypto-ramp/2.0.0#retrieve-a-list-of-webhooks","title":"Retrieve a list of webhooks","use":"a","href":"#retrieve-a-list-of-webhooks","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/2.0.0#create-a-webhook","title":"Create a webhook","use":"a","href":"#create-a-webhook","options":{"method":"post"}}]}],"versions":[{"label":"2.0.0","path":"/docs/api/crypto-ramp","latest":true},{"label":"1.0.0","path":"/docs/api/crypto-ramp/1.0.0","latest":false}]},"/docs/api/crypto-ramp/1.0.0":{"items":[{"id":"/docs/api/crypto-ramp/1.0.0#tag-partners","title":"Partners","use":"a","href":"#tag-partners","items":[{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-configuration","title":"Retrieve configuration","use":"a","href":"#retrieve-configuration","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-an-order-quote","title":"Retrieve an order quote","use":"a","href":"#retrieve-an-order-quote","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-a-redirect-url","title":"Retrieve a redirect URL","use":"a","href":"#retrieve-a-redirect-url","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-an-order","title":"Retrieve an order","use":"a","href":"#retrieve-an-order","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-all-orders","title":"Retrieve all orders","use":"a","href":"#retrieve-all-orders","options":{"method":"get"}}]},{"id":"/docs/api/crypto-ramp/1.0.0#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-a-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-a-webhook","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/1.0.0#update-a-webhook","title":"Update a webhook","use":"a","href":"#update-a-webhook","options":{"method":"patch"}},{"id":"/docs/api/crypto-ramp/1.0.0#delete-a-webhook","title":"Delete a webhook","use":"a","href":"#delete-a-webhook","options":{"method":"delete"}},{"id":"/docs/api/crypto-ramp/1.0.0#retrieve-a-list-of-webhooks","title":"Retrieve a list of webhooks","use":"a","href":"#retrieve-a-list-of-webhooks","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp/1.0.0#create-a-webhook","title":"Create a webhook","use":"a","href":"#create-a-webhook","options":{"method":"post"}}]}],"versions":[{"label":"2.0.0","path":"/docs/api/crypto-ramp","latest":true},{"label":"1.0.0","path":"/docs/api/crypto-ramp/1.0.0","latest":false}]},"/docs/api/crypto-ramp":{"items":[{"id":"/docs/api/crypto-ramp#tag-partners","title":"Partners","use":"a","href":"#tag-partners","items":[{"id":"/docs/api/crypto-ramp#retrieve-configuration","title":"Retrieve configuration","use":"a","href":"#retrieve-configuration","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp#retrieve-an-order-quote","title":"Retrieve an order quote","use":"a","href":"#retrieve-an-order-quote","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp#retrieve-a-redirect-url","title":"Retrieve a redirect URL","use":"a","href":"#retrieve-a-redirect-url","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp#retrieve-an-order","title":"Retrieve an order","use":"a","href":"#retrieve-an-order","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp#retrieve-all-orders","title":"Retrieve all orders","use":"a","href":"#retrieve-all-orders","options":{"method":"get"}}]},{"id":"/docs/api/crypto-ramp#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/crypto-ramp#retrieve-a-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-a-webhook","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp#update-a-webhook","title":"Update a webhook","use":"a","href":"#update-a-webhook","options":{"method":"patch"}},{"id":"/docs/api/crypto-ramp#delete-a-webhook","title":"Delete a webhook","use":"a","href":"#delete-a-webhook","options":{"method":"delete"}},{"id":"/docs/api/crypto-ramp#retrieve-a-list-of-webhooks","title":"Retrieve a list of webhooks","use":"a","href":"#retrieve-a-list-of-webhooks","options":{"method":"get"}},{"id":"/docs/api/crypto-ramp#create-a-webhook","title":"Create a webhook","use":"a","href":"#create-a-webhook","options":{"method":"post"}}]}],"versions":[{"label":"2.0.0","path":"/docs/api/crypto-ramp","latest":true},{"label":"1.0.0","path":"/docs/api/crypto-ramp/1.0.0","latest":false}]},"/docs/api/merchant/2026-04-20":{"items":[{"id":"/docs/api/merchant/2026-04-20#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2026-04-20#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#increment-authorisation","title":"Increment authorisation","use":"a","href":"#increment-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#refund-order","title":"Refund an order","use":"a","href":"#refund-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2026-04-20#create-customer","title":"Create a customer","use":"a","href":"#create-customer","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-customer-list","title":"Retrieve a customer list","use":"a","href":"#retrieve-customer-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-customer","title":"Retrieve a customer","use":"a","href":"#retrieve-customer","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-customer","title":"Update a customer","use":"a","href":"#update-customer","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#delete-customer","title":"Delete a customer","use":"a","href":"#delete-customer","options":{"method":"delete"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-payment-method-list","title":"Retrieve payment method list of a customer","use":"a","href":"#retrieve-payment-method-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-payment-method","title":"Retrieve a customer's payment method","use":"a","href":"#retrieve-payment-method","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-payment-method","title":"Update a customer's payment method","use":"a","href":"#update-payment-method","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#delete-payment-method","title":"Delete a customer's payment method","use":"a","href":"#delete-payment-method","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2026-04-20#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-subscriptions","title":"Subscriptions","use":"a","href":"#tag-subscriptions","items":[{"id":"/docs/api/merchant/2026-04-20#create-subscription-plan","title":"Create a subscription plan","use":"a","href":"#create-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-plan-list","title":"Retrieve a subscription plan list","use":"a","href":"#retrieve-subscription-plan-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-plan","title":"Retrieve a subscription plan","use":"a","href":"#retrieve-subscription-plan","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#create-subscription","title":"Create a subscription","use":"a","href":"#create-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-list","title":"Retrieve a subscription list","use":"a","href":"#retrieve-subscription-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription","title":"Retrieve a subscription","use":"a","href":"#retrieve-subscription","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-subscription","title":"Update a subscription","use":"a","href":"#update-subscription","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#change-subscription-plan","title":"Change a subscription plan","use":"a","href":"#change-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#update-subscription-renewal-date","title":"Update a subscription renewal date","use":"a","href":"#update-subscription-renewal-date","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#cancel-subscription","title":"Cancel a subscription","use":"a","href":"#cancel-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-cycle-list","title":"Retrieve a subscription cycle list","use":"a","href":"#retrieve-subscription-cycle-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-cycle","title":"Retrieve a subscription cycle","use":"a","href":"#retrieve-subscription-cycle","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#create-subscription-usage","title":"Create a subscription usage","use":"a","href":"#create-subscription-usage","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-usage-list","title":"Retrieve a subscription usage list","use":"a","href":"#retrieve-subscription-usage-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-subscription-usage","title":"Retrieve a subscription usage","use":"a","href":"#retrieve-subscription-usage","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-subscription-usage","title":"Update a subscription usage","use":"a","href":"#update-subscription-usage","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#delete-subscription-usage","title":"Delete a subscription usage","use":"a","href":"#delete-subscription-usage","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2026-04-20#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-disputes","title":"Disputes","use":"a","href":"#tag-disputes","items":[{"id":"/docs/api/merchant/2026-04-20#retrieve-dispute-list","title":"Retrieve a dispute list","use":"a","href":"#retrieve-dispute-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-dispute","title":"Retrieve a dispute","use":"a","href":"#retrieve-dispute","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#accept-dispute","title":"Accept a dispute","use":"a","href":"#accept-dispute","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#upload-dispute-evidence","title":"Upload evidence for a dispute","use":"a","href":"#upload-dispute-evidence","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#challenge-dispute","title":"Challenge a dispute","use":"a","href":"#challenge-dispute","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2026-04-20#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2026-04-20#create-webhook","title":"Create a webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-webhook-list","title":"Retrieve a webhook list","use":"a","href":"#retrieve-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-webhook","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/merchant/2026-04-20#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2026-04-20#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-04-20#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2026-04-20#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2026-04-20#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2026-04-20#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-04-20#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2026-04-20#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-04-20#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-04-20#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/2026-03-12":{"items":[{"id":"/docs/api/merchant/2026-03-12#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2026-03-12#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#increment-authorisation","title":"Increment authorisation","use":"a","href":"#increment-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#refund-order","title":"Refund an order","use":"a","href":"#refund-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2026-03-12#create-customer","title":"Create a customer","use":"a","href":"#create-customer","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-customer-list","title":"Retrieve a customer list","use":"a","href":"#retrieve-customer-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-customer","title":"Retrieve a customer","use":"a","href":"#retrieve-customer","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-customer","title":"Update a customer","use":"a","href":"#update-customer","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#delete-customer","title":"Delete a customer","use":"a","href":"#delete-customer","options":{"method":"delete"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-payment-method-list","title":"Retrieve payment method list of a customer","use":"a","href":"#retrieve-payment-method-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-payment-method","title":"Retrieve a customer's payment method","use":"a","href":"#retrieve-payment-method","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-payment-method","title":"Update a customer's payment method","use":"a","href":"#update-payment-method","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#delete-payment-method","title":"Delete a customer's payment method","use":"a","href":"#delete-payment-method","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2026-03-12#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-subscriptions","title":"Subscriptions","use":"a","href":"#tag-subscriptions","items":[{"id":"/docs/api/merchant/2026-03-12#create-subscription-plan","title":"Create a subscription plan","use":"a","href":"#create-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-plan-list","title":"Retrieve a subscription plan list","use":"a","href":"#retrieve-subscription-plan-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-plan","title":"Retrieve a subscription plan","use":"a","href":"#retrieve-subscription-plan","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#create-subscription","title":"Create a subscription","use":"a","href":"#create-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-list","title":"Retrieve a subscription list","use":"a","href":"#retrieve-subscription-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription","title":"Retrieve a subscription","use":"a","href":"#retrieve-subscription","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-subscription","title":"Update a subscription","use":"a","href":"#update-subscription","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#change-subscription-plan","title":"Change a subscription plan","use":"a","href":"#change-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#update-subscription-renewal-date","title":"Update a subscription renewal date","use":"a","href":"#update-subscription-renewal-date","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#cancel-subscription","title":"Cancel a subscription","use":"a","href":"#cancel-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-cycle-list","title":"Retrieve a subscription cycle list","use":"a","href":"#retrieve-subscription-cycle-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-cycle","title":"Retrieve a subscription cycle","use":"a","href":"#retrieve-subscription-cycle","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#create-subscription-usage","title":"Create a subscription usage","use":"a","href":"#create-subscription-usage","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-usage-list","title":"Retrieve a subscription usage list","use":"a","href":"#retrieve-subscription-usage-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-subscription-usage","title":"Retrieve a subscription usage","use":"a","href":"#retrieve-subscription-usage","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-subscription-usage","title":"Update a subscription usage","use":"a","href":"#update-subscription-usage","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#delete-subscription-usage","title":"Delete a subscription usage","use":"a","href":"#delete-subscription-usage","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2026-03-12#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-disputes","title":"Disputes","use":"a","href":"#tag-disputes","items":[{"id":"/docs/api/merchant/2026-03-12#retrieve-dispute-list","title":"Retrieve a dispute list","use":"a","href":"#retrieve-dispute-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-dispute","title":"Retrieve a dispute","use":"a","href":"#retrieve-dispute","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#accept-dispute","title":"Accept a dispute","use":"a","href":"#accept-dispute","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#upload-dispute-evidence","title":"Upload evidence for a dispute","use":"a","href":"#upload-dispute-evidence","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#challenge-dispute","title":"Challenge a dispute","use":"a","href":"#challenge-dispute","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2026-03-12#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2026-03-12#create-webhook","title":"Create a webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-webhook-list","title":"Retrieve a webhook list","use":"a","href":"#retrieve-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-webhook","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/merchant/2026-03-12#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2026-03-12#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2026-03-12#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2026-03-12#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2026-03-12#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2026-03-12#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2026-03-12#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2026-03-12#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2026-03-12#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2026-03-12#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/2025-12-04":{"items":[{"id":"/docs/api/merchant/2025-12-04#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2025-12-04#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#increment-authorisation","title":"Increment authorisation","use":"a","href":"#increment-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#refund-order","title":"Refund an order","use":"a","href":"#refund-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2025-12-04#create-customer","title":"Create a customer","use":"a","href":"#create-customer","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-customer-list","title":"Retrieve a customer list","use":"a","href":"#retrieve-customer-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-customer","title":"Retrieve a customer","use":"a","href":"#retrieve-customer","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-customer","title":"Update a customer","use":"a","href":"#update-customer","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#delete-customer","title":"Delete a customer","use":"a","href":"#delete-customer","options":{"method":"delete"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-payment-method-list","title":"Retrieve payment method list of a customer","use":"a","href":"#retrieve-payment-method-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-payment-method","title":"Retrieve a customer's payment method","use":"a","href":"#retrieve-payment-method","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-payment-method","title":"Update a customer's payment method","use":"a","href":"#update-payment-method","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#delete-payment-method","title":"Delete a customer's payment method","use":"a","href":"#delete-payment-method","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2025-12-04#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-subscriptions","title":"Subscriptions","use":"a","href":"#tag-subscriptions","items":[{"id":"/docs/api/merchant/2025-12-04#create-subscription-plan","title":"Create a subscription plan","use":"a","href":"#create-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-plan-list","title":"Retrieve a subscription plan list","use":"a","href":"#retrieve-subscription-plan-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-plan","title":"Retrieve a subscription plan","use":"a","href":"#retrieve-subscription-plan","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#create-subscription","title":"Create a subscription","use":"a","href":"#create-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-list","title":"Retrieve a subscription list","use":"a","href":"#retrieve-subscription-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription","title":"Retrieve a subscription","use":"a","href":"#retrieve-subscription","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-subscription","title":"Update a subscription","use":"a","href":"#update-subscription","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#cancel-subscription","title":"Cancel a subscription","use":"a","href":"#cancel-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#change-subscription-plan","title":"Change a subscription plan","use":"a","href":"#change-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#update-subscription-renewal-date","title":"Update a subscription renewal date","use":"a","href":"#update-subscription-renewal-date","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-cycle-list","title":"Retrieve a subscription cycle list","use":"a","href":"#retrieve-subscription-cycle-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-cycle","title":"Retrieve a subscription cycle","use":"a","href":"#retrieve-subscription-cycle","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#create-subscription-usage","title":"Create a subscription usage","use":"a","href":"#create-subscription-usage","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-usage-list","title":"Retrieve a subscription usage list","use":"a","href":"#retrieve-subscription-usage-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-subscription-usage","title":"Retrieve a subscription usage","use":"a","href":"#retrieve-subscription-usage","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-subscription-usage","title":"Update a subscription usage","use":"a","href":"#update-subscription-usage","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#delete-subscription-usage","title":"Delete a subscription usage","use":"a","href":"#delete-subscription-usage","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2025-12-04#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-disputes","title":"Disputes","use":"a","href":"#tag-disputes","items":[{"id":"/docs/api/merchant/2025-12-04#retrieve-dispute-list","title":"Retrieve a dispute list","use":"a","href":"#retrieve-dispute-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-dispute","title":"Retrieve a dispute","use":"a","href":"#retrieve-dispute","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#accept-dispute","title":"Accept a dispute","use":"a","href":"#accept-dispute","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#upload-dispute-evidence","title":"Upload evidence for a dispute","use":"a","href":"#upload-dispute-evidence","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#challenge-dispute","title":"Challenge a dispute","use":"a","href":"#challenge-dispute","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2025-12-04#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2025-12-04#create-webhook","title":"Create a webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-webhook-list","title":"Retrieve a webhook list","use":"a","href":"#retrieve-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-webhook","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/merchant/2025-12-04#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2025-12-04#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-12-04#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2025-12-04#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2025-12-04#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2025-12-04#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-12-04#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2025-12-04#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-12-04#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-12-04#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/2025-10-16":{"items":[{"id":"/docs/api/merchant/2025-10-16#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2025-10-16#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#increment-order-authorisation","title":"Increment authorisation","use":"a","href":"#increment-order-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#refund-order","title":"Refund an order","use":"a","href":"#refund-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2025-10-16#create-customer","title":"Create a customer","use":"a","href":"#create-customer","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-customer-list","title":"Retrieve a customer list","use":"a","href":"#retrieve-customer-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-customer","title":"Retrieve a customer","use":"a","href":"#retrieve-customer","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-customer","title":"Update a customer","use":"a","href":"#update-customer","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#delete-customer","title":"Delete a customer","use":"a","href":"#delete-customer","options":{"method":"delete"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-payment-method-list","title":"Retrieve payment method list of a customer","use":"a","href":"#retrieve-payment-method-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-payment-method","title":"Retrieve a customer's payment method","use":"a","href":"#retrieve-payment-method","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-payment-method","title":"Update a customer's payment method","use":"a","href":"#update-payment-method","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#delete-payment-method","title":"Delete a customer's payment method","use":"a","href":"#delete-payment-method","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2025-10-16#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-subscriptions","title":"Subscriptions","use":"a","href":"#tag-subscriptions","items":[{"id":"/docs/api/merchant/2025-10-16#create-subscription-plan","title":"Create a subscription plan","use":"a","href":"#create-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-plan-list","title":"Retrieve a subscription plan list","use":"a","href":"#retrieve-subscription-plan-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-plan","title":"Retrieve a subscription plan","use":"a","href":"#retrieve-subscription-plan","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#create-subscription","title":"Create a subscription","use":"a","href":"#create-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-list","title":"Retrieve a subscription list","use":"a","href":"#retrieve-subscription-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription","title":"Retrieve a subscription","use":"a","href":"#retrieve-subscription","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-subscription","title":"Update a subscription","use":"a","href":"#update-subscription","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#cancel-subscription","title":"Cancel a subscription","use":"a","href":"#cancel-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#change-subscription-plan","title":"Change a subscription plan","use":"a","href":"#change-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#update-subscription-renewal-date","title":"Update a subscription renewal date","use":"a","href":"#update-subscription-renewal-date","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-cycle-list","title":"Retrieve a subscription cycle list","use":"a","href":"#retrieve-subscription-cycle-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-cycle","title":"Retrieve a subscription cycle","use":"a","href":"#retrieve-subscription-cycle","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#create-subscription-usage","title":"Create a subscription usage","use":"a","href":"#create-subscription-usage","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-usage-list","title":"Retrieve a subscription usage list","use":"a","href":"#retrieve-subscription-usage-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-subscription-usage","title":"Retrieve a subscription usage","use":"a","href":"#retrieve-subscription-usage","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-subscription-usage","title":"Update a subscription usage","use":"a","href":"#update-subscription-usage","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#delete-subscription-usage","title":"Delete a subscription usage","use":"a","href":"#delete-subscription-usage","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2025-10-16#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-disputes","title":"Disputes","use":"a","href":"#tag-disputes","items":[{"id":"/docs/api/merchant/2025-10-16#retrieve-dispute-list","title":"Retrieve a dispute list","use":"a","href":"#retrieve-dispute-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-dispute","title":"Retrieve a dispute","use":"a","href":"#retrieve-dispute","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#accept-dispute","title":"Accept a dispute","use":"a","href":"#accept-dispute","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#upload-dispute-evidence","title":"Upload evidence for a dispute","use":"a","href":"#upload-dispute-evidence","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#challenge-dispute","title":"Challenge a dispute","use":"a","href":"#challenge-dispute","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2025-10-16#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2025-10-16#create-webhook","title":"Create a webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-webhook-list","title":"Retrieve a webhook list","use":"a","href":"#retrieve-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-webhook","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/merchant/2025-10-16#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2025-10-16#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2025-10-16#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2025-10-16#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2025-10-16#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2025-10-16#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2025-10-16#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2025-10-16#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2025-10-16#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2025-10-16#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/2024-09-01":{"items":[{"id":"/docs/api/merchant/2024-09-01#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2024-09-01#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#increment-order-authorisation","title":"Increment authorisation","use":"a","href":"#increment-order-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#refund-order","title":"Refund an order","use":"a","href":"#refund-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2024-09-01#create-customer","title":"Create a customer","use":"a","href":"#create-customer","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-customer-list","title":"Retrieve a customer list","use":"a","href":"#retrieve-customer-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-customer","title":"Retrieve a customer","use":"a","href":"#retrieve-customer","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-customer","title":"Update a customer","use":"a","href":"#update-customer","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#delete-customer","title":"Delete a customer","use":"a","href":"#delete-customer","options":{"method":"delete"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-payment-method-list","title":"Retrieve payment method list of a customer","use":"a","href":"#retrieve-payment-method-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-payment-method","title":"Retrieve a customer's payment method","use":"a","href":"#retrieve-payment-method","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-payment-method","title":"Update a customer's payment method","use":"a","href":"#update-payment-method","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#delete-payment-method","title":"Delete a customer's payment method","use":"a","href":"#delete-payment-method","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2024-09-01#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-subscriptions","title":"Subscriptions","use":"a","href":"#tag-subscriptions","items":[{"id":"/docs/api/merchant/2024-09-01#create-subscription-plan","title":"Create a subscription plan","use":"a","href":"#create-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-plan-list","title":"Retrieve a subscription plan list","use":"a","href":"#retrieve-subscription-plan-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-plan","title":"Retrieve a subscription plan","use":"a","href":"#retrieve-subscription-plan","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#create-subscription","title":"Create a subscription","use":"a","href":"#create-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-list","title":"Retrieve a subscription list","use":"a","href":"#retrieve-subscription-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription","title":"Retrieve a subscription","use":"a","href":"#retrieve-subscription","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-subscription","title":"Update a subscription","use":"a","href":"#update-subscription","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#cancel-subscription","title":"Cancel a subscription","use":"a","href":"#cancel-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#change-subscription-plan","title":"Change a subscription plan","use":"a","href":"#change-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#update-subscription-renewal-date","title":"Update a subscription renewal date","use":"a","href":"#update-subscription-renewal-date","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-cycle-list","title":"Retrieve a subscription cycle list","use":"a","href":"#retrieve-subscription-cycle-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-cycle","title":"Retrieve a subscription cycle","use":"a","href":"#retrieve-subscription-cycle","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#create-subscription-usage","title":"Create a subscription usage","use":"a","href":"#create-subscription-usage","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-usage-list","title":"Retrieve a subscription usage list","use":"a","href":"#retrieve-subscription-usage-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-subscription-usage","title":"Retrieve a subscription usage","use":"a","href":"#retrieve-subscription-usage","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-subscription-usage","title":"Update a subscription usage","use":"a","href":"#update-subscription-usage","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#delete-subscription-usage","title":"Delete a subscription usage","use":"a","href":"#delete-subscription-usage","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2024-09-01#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-disputes","title":"Disputes","use":"a","href":"#tag-disputes","items":[{"id":"/docs/api/merchant/2024-09-01#retrieve-dispute-list","title":"Retrieve a dispute list","use":"a","href":"#retrieve-dispute-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-dispute","title":"Retrieve a dispute","use":"a","href":"#retrieve-dispute","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#accept-dispute","title":"Accept a dispute","use":"a","href":"#accept-dispute","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#upload-dispute-evidence","title":"Upload evidence for a dispute","use":"a","href":"#upload-dispute-evidence","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#challenge-dispute","title":"Challenge a dispute","use":"a","href":"#challenge-dispute","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2024-09-01#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2024-09-01#create-webhook","title":"Create a webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-webhook-list","title":"Retrieve a webhook list","use":"a","href":"#retrieve-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-webhook","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/merchant/2024-09-01#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2024-09-01#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-09-01#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2024-09-01#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2024-09-01#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2024-09-01#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-09-01#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2024-09-01#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-09-01#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-09-01#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/2024-05-01":{"items":[{"id":"/docs/api/merchant/2024-05-01#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2024-05-01#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#increment-order-authorisation","title":"Increment authorisation","use":"a","href":"#increment-order-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#refund-order-deprecated","title":"Refund an order (Deprecated)","use":"a","href":"#refund-order-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2024-05-01#create-customer-deprecated","title":"Create a customer (Deprecated)","use":"a","href":"#create-customer-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-all-customers-deprecated","title":"Retrieve a customer list (Deprecated)","use":"a","href":"#retrieve-all-customers-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-customer-deprecated","title":"Retrieve a customer (Deprecated)","use":"a","href":"#retrieve-customer-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#update-customer-deprecated","title":"Update a customer (Deprecated)","use":"a","href":"#update-customer-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-05-01#delete-customer-deprecated","title":"Delete a customer (Deprecated)","use":"a","href":"#delete-customer-deprecated","options":{"method":"delete"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-all-payment-methods-deprecated","title":"Retrieve all payment methods of a customer (Deprecated)","use":"a","href":"#retrieve-all-payment-methods-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-payment-method-deprecated","title":"Retrieve a customer's payment method (Deprecated)","use":"a","href":"#retrieve-payment-method-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#update-payment-method-deprecated","title":"Update a customer's payment method (Deprecated)","use":"a","href":"#update-payment-method-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-05-01#delete-payment-method-deprecated","title":"Delete a customer's payment method (Deprecated)","use":"a","href":"#delete-payment-method-deprecated","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2024-05-01#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2024-05-01#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2024-05-01#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2024-05-01#create-webhook-deprecated","title":"Create a webhook (Deprecated)","use":"a","href":"#create-webhook-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-all-webhooks-deprecated","title":"Retrieve a webhook list (Deprecated)","use":"a","href":"#retrieve-all-webhooks-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-webhook-deprecated","title":"Retrieve a webhook (Deprecated)","use":"a","href":"#retrieve-webhook-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#update-webhook-deprecated","title":"Update a webhook (Deprecated)","use":"a","href":"#update-webhook-deprecated","options":{"method":"put"}},{"id":"/docs/api/merchant/2024-05-01#delete-webhook-deprecated","title":"Delete a webhook (Deprecated)","use":"a","href":"#delete-webhook-deprecated","options":{"method":"delete"}},{"id":"/docs/api/merchant/2024-05-01#rotate-webhook-signing-secret-deprecated","title":"Rotate a webhook signing secret (Deprecated)","use":"a","href":"#rotate-webhook-signing-secret-deprecated","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2024-05-01#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2024-05-01#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2024-05-01#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2024-05-01#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2024-05-01#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2024-05-01#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2024-05-01#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2024-05-01#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2024-05-01#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/2023-09-01":{"items":[{"id":"/docs/api/merchant/2023-09-01#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/2023-09-01#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#refund-order-deprecated","title":"Refund an order (Deprecated)","use":"a","href":"#refund-order-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/2023-09-01#create-customer-deprecated","title":"Create a customer (Deprecated)","use":"a","href":"#create-customer-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-all-customers-deprecated","title":"Retrieve a customer list (Deprecated)","use":"a","href":"#retrieve-all-customers-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-customer-deprecated","title":"Retrieve a customer (Deprecated)","use":"a","href":"#retrieve-customer-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#update-customer-deprecated","title":"Update a customer (Deprecated)","use":"a","href":"#update-customer-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/2023-09-01#delete-customer-deprecated","title":"Delete a customer (Deprecated)","use":"a","href":"#delete-customer-deprecated","options":{"method":"delete"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-all-payment-methods-deprecated","title":"Retrieve all payment methods of a customer (Deprecated)","use":"a","href":"#retrieve-all-payment-methods-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-payment-method-deprecated","title":"Retrieve a customer's payment method (Deprecated)","use":"a","href":"#retrieve-payment-method-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#update-payment-method-deprecated","title":"Update a customer's payment method (Deprecated)","use":"a","href":"#update-payment-method-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/2023-09-01#delete-payment-method-deprecated","title":"Delete a customer's payment method (Deprecated)","use":"a","href":"#delete-payment-method-deprecated","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/2023-09-01#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant/2023-09-01#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/2023-09-01#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/2023-09-01#create-webhook-deprecated","title":"Create a webhook (Deprecated)","use":"a","href":"#create-webhook-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-all-webhooks-deprecated","title":"Retrieve a webhook list (Deprecated)","use":"a","href":"#retrieve-all-webhooks-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-webhook-deprecated","title":"Retrieve a webhook (Deprecated)","use":"a","href":"#retrieve-webhook-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#update-webhook-deprecated","title":"Update a webhook (Deprecated)","use":"a","href":"#update-webhook-deprecated","options":{"method":"put"}},{"id":"/docs/api/merchant/2023-09-01#delete-webhook-deprecated","title":"Delete a webhook (Deprecated)","use":"a","href":"#delete-webhook-deprecated","options":{"method":"delete"}},{"id":"/docs/api/merchant/2023-09-01#rotate-webhook-signing-secret-deprecated","title":"Rotate a webhook signing secret (Deprecated)","use":"a","href":"#rotate-webhook-signing-secret-deprecated","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/2023-09-01#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/2023-09-01#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant/2023-09-01#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant/2023-09-01#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/2023-09-01#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/2023-09-01#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/2023-09-01#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/2023-09-01#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/2023-09-01#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant/Legacy":{"items":[{"id":"/docs/api/merchant/Legacy#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant/Legacy#create-order-deprecated","title":"Create an order (Deprecated)","use":"a","href":"#create-order-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-order-list-deprecated","title":"Retrieve an order list (Deprecated)","use":"a","href":"#retrieve-order-list-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#retrieve-order-deprecated","title":"Retrieve an order (Deprecated)","use":"a","href":"#retrieve-order-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#update-order-deprecated","title":"Update an order (Deprecated)","use":"a","href":"#update-order-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/Legacy#capture-order-deprecated","title":"Capture an order (Deprecated)","use":"a","href":"#capture-order-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#cancel-order-deprecated","title":"Cancel an order (Deprecated)","use":"a","href":"#cancel-order-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#refund-order-deprecated","title":"Refund an order (Deprecated)","use":"a","href":"#refund-order-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant/Legacy#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant/Legacy#create-customer-deprecated","title":"Create a customer (Deprecated)","use":"a","href":"#create-customer-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-all-customers-deprecated","title":"Retrieve a customer list (Deprecated)","use":"a","href":"#retrieve-all-customers-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#retrieve-customer-deprecated","title":"Retrieve a customer (Deprecated)","use":"a","href":"#retrieve-customer-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#update-customer-deprecated","title":"Update a customer (Deprecated)","use":"a","href":"#update-customer-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/Legacy#delete-customer-deprecated","title":"Delete a customer (Deprecated)","use":"a","href":"#delete-customer-deprecated","options":{"method":"delete"}},{"id":"/docs/api/merchant/Legacy#retrieve-all-payment-methods-deprecated","title":"Retrieve all payment methods of a customer (Deprecated)","use":"a","href":"#retrieve-all-payment-methods-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#retrieve-payment-method-deprecated","title":"Retrieve a customer's payment method (Deprecated)","use":"a","href":"#retrieve-payment-method-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#update-payment-method-deprecated","title":"Update a customer's payment method (Deprecated)","use":"a","href":"#update-payment-method-deprecated","options":{"method":"patch"}},{"id":"/docs/api/merchant/Legacy#delete-payment-method-deprecated","title":"Delete a customer's payment method (Deprecated)","use":"a","href":"#delete-payment-method-deprecated","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/Legacy#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant/Legacy#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant/Legacy#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant/Legacy#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant/Legacy#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant/Legacy#create-webhook-deprecated","title":"Create a webhook (Deprecated)","use":"a","href":"#create-webhook-deprecated","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-all-webhooks-deprecated","title":"Retrieve a webhook list (Deprecated)","use":"a","href":"#retrieve-all-webhooks-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#retrieve-webhook-deprecated","title":"Retrieve a webhook (Deprecated)","use":"a","href":"#retrieve-webhook-deprecated","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#update-webhook-deprecated","title":"Update a webhook (Deprecated)","use":"a","href":"#update-webhook-deprecated","options":{"method":"put"}},{"id":"/docs/api/merchant/Legacy#delete-webhook-deprecated","title":"Delete a webhook (Deprecated)","use":"a","href":"#delete-webhook-deprecated","options":{"method":"delete"}},{"id":"/docs/api/merchant/Legacy#rotate-webhook-signing-secret-deprecated","title":"Rotate a webhook signing secret (Deprecated)","use":"a","href":"#rotate-webhook-signing-secret-deprecated","options":{"method":"post"}}]},{"id":"/docs/api/merchant/Legacy#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant/Legacy#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant/Legacy#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant/Legacy#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant/Legacy#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant/Legacy#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant/Legacy#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant/Legacy#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant/Legacy#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/merchant":{"items":[{"id":"/docs/api/merchant#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/merchant#create-order","title":"Create an order","use":"a","href":"#create-order","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-order-list","title":"Retrieve an order list","use":"a","href":"#retrieve-order-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-order","title":"Retrieve an order","use":"a","href":"#retrieve-order","options":{"method":"get"}},{"id":"/docs/api/merchant#update-order","title":"Update an order","use":"a","href":"#update-order","options":{"method":"patch"}},{"id":"/docs/api/merchant#increment-authorisation","title":"Increment authorisation","use":"a","href":"#increment-authorisation","options":{"method":"post"}},{"id":"/docs/api/merchant#capture-order","title":"Capture an order","use":"a","href":"#capture-order","options":{"method":"post"}},{"id":"/docs/api/merchant#cancel-order","title":"Cancel an order","use":"a","href":"#cancel-order","options":{"method":"post"}},{"id":"/docs/api/merchant#refund-order","title":"Refund an order","use":"a","href":"#refund-order","options":{"method":"post"}},{"id":"/docs/api/merchant#pay-order","title":"Pay for an order","use":"a","href":"#pay-order","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-payment-list","title":"Retrieve payment list of an order","use":"a","href":"#retrieve-payment-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant#tag-customers","title":"Customers","use":"a","href":"#tag-customers","items":[{"id":"/docs/api/merchant#create-customer","title":"Create a customer","use":"a","href":"#create-customer","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-customer-list","title":"Retrieve a customer list","use":"a","href":"#retrieve-customer-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-customer","title":"Retrieve a customer","use":"a","href":"#retrieve-customer","options":{"method":"get"}},{"id":"/docs/api/merchant#update-customer","title":"Update a customer","use":"a","href":"#update-customer","options":{"method":"patch"}},{"id":"/docs/api/merchant#delete-customer","title":"Delete a customer","use":"a","href":"#delete-customer","options":{"method":"delete"}},{"id":"/docs/api/merchant#retrieve-payment-method-list","title":"Retrieve payment method list of a customer","use":"a","href":"#retrieve-payment-method-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-payment-method","title":"Retrieve a customer's payment method","use":"a","href":"#retrieve-payment-method","options":{"method":"get"}},{"id":"/docs/api/merchant#update-payment-method","title":"Update a customer's payment method","use":"a","href":"#update-payment-method","options":{"method":"patch"}},{"id":"/docs/api/merchant#delete-payment-method","title":"Delete a customer's payment method","use":"a","href":"#delete-payment-method","options":{"method":"delete"}}]},{"id":"/docs/api/merchant#tag-payments","title":"Payments","use":"a","href":"#tag-payments","items":[{"id":"/docs/api/merchant#retrieve-payment-details","title":"Retrieve payment details","use":"a","href":"#retrieve-payment-details","options":{"method":"get"}}]},{"id":"/docs/api/merchant#tag-subscriptions","title":"Subscriptions","use":"a","href":"#tag-subscriptions","items":[{"id":"/docs/api/merchant#create-subscription-plan","title":"Create a subscription plan","use":"a","href":"#create-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-subscription-plan-list","title":"Retrieve a subscription plan list","use":"a","href":"#retrieve-subscription-plan-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-subscription-plan","title":"Retrieve a subscription plan","use":"a","href":"#retrieve-subscription-plan","options":{"method":"get"}},{"id":"/docs/api/merchant#create-subscription","title":"Create a subscription","use":"a","href":"#create-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-subscription-list","title":"Retrieve a subscription list","use":"a","href":"#retrieve-subscription-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-subscription","title":"Retrieve a subscription","use":"a","href":"#retrieve-subscription","options":{"method":"get"}},{"id":"/docs/api/merchant#update-subscription","title":"Update a subscription","use":"a","href":"#update-subscription","options":{"method":"patch"}},{"id":"/docs/api/merchant#change-subscription-plan","title":"Change a subscription plan","use":"a","href":"#change-subscription-plan","options":{"method":"post"}},{"id":"/docs/api/merchant#update-subscription-renewal-date","title":"Update a subscription renewal date","use":"a","href":"#update-subscription-renewal-date","options":{"method":"post"}},{"id":"/docs/api/merchant#cancel-subscription","title":"Cancel a subscription","use":"a","href":"#cancel-subscription","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-subscription-cycle-list","title":"Retrieve a subscription cycle list","use":"a","href":"#retrieve-subscription-cycle-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-subscription-cycle","title":"Retrieve a subscription cycle","use":"a","href":"#retrieve-subscription-cycle","options":{"method":"get"}},{"id":"/docs/api/merchant#create-subscription-usage","title":"Create a subscription usage","use":"a","href":"#create-subscription-usage","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-subscription-usage-list","title":"Retrieve a subscription usage list","use":"a","href":"#retrieve-subscription-usage-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-subscription-usage","title":"Retrieve a subscription usage","use":"a","href":"#retrieve-subscription-usage","options":{"method":"get"}},{"id":"/docs/api/merchant#update-subscription-usage","title":"Update a subscription usage","use":"a","href":"#update-subscription-usage","options":{"method":"patch"}},{"id":"/docs/api/merchant#delete-subscription-usage","title":"Delete a subscription usage","use":"a","href":"#delete-subscription-usage","options":{"method":"delete"}}]},{"id":"/docs/api/merchant#tag-payouts","title":"Payouts","use":"a","href":"#tag-payouts","items":[{"id":"/docs/api/merchant#retrieve-payout-list","title":"Retrieve a payout list","use":"a","href":"#retrieve-payout-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-payout","title":"Retrieve a payout","use":"a","href":"#retrieve-payout","options":{"method":"get"}}]},{"id":"/docs/api/merchant#tag-disputes","title":"Disputes","use":"a","href":"#tag-disputes","items":[{"id":"/docs/api/merchant#retrieve-dispute-list","title":"Retrieve a dispute list","use":"a","href":"#retrieve-dispute-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-dispute","title":"Retrieve a dispute","use":"a","href":"#retrieve-dispute","options":{"method":"get"}},{"id":"/docs/api/merchant#accept-dispute","title":"Accept a dispute","use":"a","href":"#accept-dispute","options":{"method":"post"}},{"id":"/docs/api/merchant#upload-dispute-evidence","title":"Upload evidence for a dispute","use":"a","href":"#upload-dispute-evidence","options":{"method":"post"}},{"id":"/docs/api/merchant#challenge-dispute","title":"Challenge a dispute","use":"a","href":"#challenge-dispute","options":{"method":"post"}}]},{"id":"/docs/api/merchant#tag-report-runs","title":"Report runs","use":"a","href":"#tag-report-runs","items":[{"id":"/docs/api/merchant#create-report-run","title":"Create a report run","use":"a","href":"#create-report-run","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-report-run","title":"Retrieve a report run","use":"a","href":"#retrieve-report-run","options":{"method":"get"}},{"id":"/docs/api/merchant#download-report-file","title":"Download report file","use":"a","href":"#download-report-file","options":{"method":"get"}}]},{"id":"/docs/api/merchant#tag-webhooks","title":"Webhooks","use":"a","href":"#tag-webhooks","items":[{"id":"/docs/api/merchant#create-webhook","title":"Create a webhook","use":"a","href":"#create-webhook","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-webhook-list","title":"Retrieve a webhook list","use":"a","href":"#retrieve-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-webhook","title":"Retrieve a webhook","use":"a","href":"#retrieve-webhook","options":{"method":"get"}},{"id":"/docs/api/merchant#update-webhook","title":"Update a webhook","use":"a","href":"#update-webhook","options":{"method":"patch"}},{"id":"/docs/api/merchant#delete-webhook","title":"Delete a webhook","use":"a","href":"#delete-webhook","options":{"method":"delete"}},{"id":"/docs/api/merchant#rotate-webhook-signing-secret","title":"Rotate a webhook signing secret","use":"a","href":"#rotate-webhook-signing-secret","options":{"method":"post"}}]},{"id":"/docs/api/merchant#tag-locations","title":"Locations","use":"a","href":"#tag-locations","items":[{"id":"/docs/api/merchant#create-location","title":"Create a location","use":"a","href":"#create-location","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-location-list","title":"Retrieve location list","use":"a","href":"#retrieve-location-list","options":{"method":"get"}},{"id":"/docs/api/merchant#retrieve-location","title":"Retrieve a location","use":"a","href":"#retrieve-location","options":{"method":"get"}},{"id":"/docs/api/merchant#update-location","title":"Update a location","use":"a","href":"#update-location","options":{"method":"patch"}},{"id":"/docs/api/merchant#delete-location","title":"Delete a location","use":"a","href":"#delete-location","options":{"method":"delete"}}]},{"id":"/docs/api/merchant#tag-terminals","title":"Terminals","use":"a","href":"#tag-terminals","items":[{"id":"/docs/api/merchant#retrieve-terminal-list","title":"Retrieve terminal list","use":"a","href":"#retrieve-terminal-list","options":{"method":"get"}}]},{"id":"/docs/api/merchant#tag-payment-intents","title":"Payment intents","use":"a","href":"#tag-payment-intents","items":[{"id":"/docs/api/merchant#create-payment-intent","title":"Create a payment intent","use":"a","href":"#create-payment-intent","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-payment-intent","title":"Retrieve a payment intent","use":"a","href":"#retrieve-payment-intent","options":{"method":"get"}},{"id":"/docs/api/merchant#cancel-payment-intent","title":"Cancel a payment intent","use":"a","href":"#cancel-payment-intent","options":{"method":"post"}}]},{"id":"/docs/api/merchant#tag-apple-pay-merchant-registration","title":"Apple Pay merchant registration","use":"a","href":"#tag-apple-pay-merchant-registration","items":[{"id":"/docs/api/merchant#register-domain-apple-pay","title":"Register domain for Apple Pay","use":"a","href":"#register-domain-apple-pay","options":{"method":"post"}},{"id":"/docs/api/merchant#unregister-domain-apple-pay","title":"Unregister domain for Apple Pay","use":"a","href":"#unregister-domain-apple-pay","options":{"method":"post"}}]},{"id":"/docs/api/merchant#tag-other","title":"Other","use":"a","href":"#tag-other","items":[{"id":"/docs/api/merchant#register-address-validation-endpoint","title":"Register address validation endpoint for Fast checkout","use":"a","href":"#register-address-validation-endpoint","options":{"method":"post"}},{"id":"/docs/api/merchant#retrieve-synchronous-webhook-list","title":"Retrieve a synchronous webhook list","use":"a","href":"#retrieve-synchronous-webhook-list","options":{"method":"get"}},{"id":"/docs/api/merchant#delete-synchronous-webhook","title":"Delete a synchronous webhook","use":"a","href":"#delete-synchronous-webhook","options":{"method":"delete"}}]}],"versions":[{"label":"2026-04-20","path":"/docs/api/merchant","latest":true},{"label":"2026-03-12","path":"/docs/api/merchant/2026-03-12","latest":false},{"label":"2025-12-04","path":"/docs/api/merchant/2025-12-04","latest":false},{"label":"2025-10-16","path":"/docs/api/merchant/2025-10-16","latest":false},{"label":"2024-09-01","path":"/docs/api/merchant/2024-09-01","latest":false},{"label":"2024-05-01","path":"/docs/api/merchant/2024-05-01","latest":false},{"label":"2023-09-01","path":"/docs/api/merchant/2023-09-01","latest":false},{"label":"Legacy","path":"/docs/api/merchant/Legacy","latest":false}]},"/docs/api/open-banking":{"items":[{"id":"/docs/api/open-banking#tag-applications","title":"Applications","use":"a","href":"#tag-applications","items":[{"id":"/docs/api/open-banking#get-distinguished-name","title":"Get a distinguished name (DN)","use":"a","href":"#get-distinguished-name","options":{"method":"get"}},{"id":"/docs/api/open-banking#register-application","title":"Register an application","use":"a","href":"#register-application","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-application","title":"Get an application","use":"a","href":"#get-application","options":{"method":"get"}},{"id":"/docs/api/open-banking#update-application","title":"Update an application","use":"a","href":"#update-application","options":{"method":"put"}},{"id":"/docs/api/open-banking#delete-application","title":"Delete an application","use":"a","href":"#delete-application","options":{"method":"delete"}}]},{"id":"/docs/api/open-banking#tag-accounts","title":"Accounts","use":"a","href":"#tag-accounts","items":[{"id":"/docs/api/open-banking#create-account-access-consents","title":"Create an account access consent","use":"a","href":"#create-account-access-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-account-access-consents-consent-id","title":"Retrieve an account access consent","use":"a","href":"#get-account-access-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#delete-account-access-consents-consent-id","title":"Delete an account access consent","use":"a","href":"#delete-account-access-consents-consent-id","options":{"method":"delete"}},{"id":"/docs/api/open-banking#get-accounts","title":"Retrieve all accounts","use":"a","href":"#get-accounts","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-accounts-account-id","title":"Retrieve an account","use":"a","href":"#get-accounts-account-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-accounts-account-id-balances","title":"Retrieve an account balance","use":"a","href":"#get-accounts-account-id-balances","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-accounts-account-id-beneficiaries","title":"Retrieve all account's beneficiaries","use":"a","href":"#get-accounts-account-id-beneficiaries","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-transactions","title":"Transactions","use":"a","href":"#tag-transactions","items":[{"id":"/docs/api/open-banking#get-accounts-account-id-direct-debits","title":"Retrieve all account's direct debits","use":"a","href":"#get-accounts-account-id-direct-debits","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-accounts-account-id-standing-orders","title":"Retrieve all account's standing orders","use":"a","href":"#get-accounts-account-id-standing-orders","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-accounts-account-id-transactions","title":"Retrieve all transactions","use":"a","href":"#get-accounts-account-id-transactions","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-domestic-payment","title":"Domestic payment","use":"a","href":"#tag-domestic-payment","items":[{"id":"/docs/api/open-banking#create-domestic-payment-consents","title":"Create a domestic payment consent","use":"a","href":"#create-domestic-payment-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-domestic-payment-consents-consent-id","title":"Retrieve a domestic payment consent","use":"a","href":"#get-domestic-payment-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-domestic-payment-consents-consent-id-funds-confirmation","title":"Get funds confirmation for a domestic payment consent","use":"a","href":"#get-domestic-payment-consents-consent-id-funds-confirmation","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-domestic-payments","title":"Create a domestic payment","use":"a","href":"#create-domestic-payments","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-domestic-payments-domestic-payment-id","title":"Retrieve a domestic payment","use":"a","href":"#get-domestic-payments-domestic-payment-id","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-domestic-scheduled-payment","title":"Domestic scheduled payment","use":"a","href":"#tag-domestic-scheduled-payment","items":[{"id":"/docs/api/open-banking#create-domestic-scheduled-payment-consents","title":"Create a domestic scheduled payment consent","use":"a","href":"#create-domestic-scheduled-payment-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-domestic-scheduled-payment-consents-consent-id","title":"Retrieve a domestic scheduled payment consent","use":"a","href":"#get-domestic-scheduled-payment-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-domestic-scheduled-payments","title":"Create a domestic scheduled payment","use":"a","href":"#create-domestic-scheduled-payments","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-domestic-scheduled-payments-domestic-scheduled-payment-id","title":"Retrieve a domestic scheduled payment","use":"a","href":"#get-domestic-scheduled-payments-domestic-scheduled-payment-id","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-domestic-standing-order","title":"Domestic standing order","use":"a","href":"#tag-domestic-standing-order","items":[{"id":"/docs/api/open-banking#create-domestic-standing-order-consents","title":"Create a domestic standing order consent","use":"a","href":"#create-domestic-standing-order-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-domestic-standing-order-consents-consent-id","title":"Retrieve a domestic standing order consent","use":"a","href":"#get-domestic-standing-order-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-domestic-standing-orders","title":"Create a domestic standing order","use":"a","href":"#create-domestic-standing-orders","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-domestic-standing-orders-domestic-standing-order-id","title":"Retrieve a domestic standing order","use":"a","href":"#get-domestic-standing-orders-domestic-standing-order-id","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-file-payment","title":"File payment","use":"a","href":"#tag-file-payment","items":[{"id":"/docs/api/open-banking#create-file-payment-consents","title":"Create a file payment consent","use":"a","href":"#create-file-payment-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-file-payment-consents-consent-id-file","title":"Retrieve an uploaded payment file","use":"a","href":"#get-file-payment-consents-consent-id-file","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-file-payment-consents-consent-id-file","title":"Upload a payment file","use":"a","href":"#create-file-payment-consents-consent-id-file","options":{"method":"post"}},{"id":"/docs/api/open-banking#create-file-payments","title":"Create a file payment","use":"a","href":"#create-file-payments","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-file-payments-file-payment-id","title":"Retrieve a file payment","use":"a","href":"#get-file-payments-file-payment-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-file-payments-file-payment-id-report-file","title":"Retrieve all payments of a file payment","use":"a","href":"#get-file-payments-file-payment-id-report-file","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-international-payment","title":"International payment","use":"a","href":"#tag-international-payment","items":[{"id":"/docs/api/open-banking#create-international-payment-consents","title":"Create an international payment consent","use":"a","href":"#create-international-payment-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-international-payment-consents-consent-id","title":"Retrieve an international payment consent","use":"a","href":"#get-international-payment-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-international-payment-consents-consent-id-funds-confirmation","title":"Get funds confirmation for an international payment consent","use":"a","href":"#get-international-payment-consents-consent-id-funds-confirmation","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-international-payments","title":"Create an international payment","use":"a","href":"#create-international-payments","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-international-payments-international-payment-id","title":"Retrieve an international payment","use":"a","href":"#get-international-payments-international-payment-id","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-international-scheduled-payment","title":"International scheduled payment","use":"a","href":"#tag-international-scheduled-payment","items":[{"id":"/docs/api/open-banking#create-international-scheduled-payment-consents","title":"Create an international scheduled payment consent","use":"a","href":"#create-international-scheduled-payment-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-international-scheduled-payment-consents-consent-id","title":"Retrieve an international scheduled payment consent","use":"a","href":"#get-international-scheduled-payment-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#get-international-scheduled-payment-consents-consent-id-funds-confirmation","title":"Get funds confirmation for an international scheduled payment","use":"a","href":"#get-international-scheduled-payment-consents-consent-id-funds-confirmation","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-international-scheduled-payments","title":"Create an international scheduled payment","use":"a","href":"#create-international-scheduled-payments","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-international-scheduled-payments-international-scheduled-payment-id","title":"Retrieve an international scheduled payment","use":"a","href":"#get-international-scheduled-payments-international-scheduled-payment-id","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-international-standing-order","title":"International standing order","use":"a","href":"#tag-international-standing-order","items":[{"id":"/docs/api/open-banking#create-international-standing-order-consents","title":"Create an international standing order consent","use":"a","href":"#create-international-standing-order-consents","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-international-standing-order-consents-consent-id","title":"Retrieve an international standing order consent","use":"a","href":"#get-international-standing-order-consents-consent-id","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-international-standing-orders","title":"Create an international standing order","use":"a","href":"#create-international-standing-orders","options":{"method":"post"}},{"id":"/docs/api/open-banking#get-international-standing-orders-international-standing-order-id","title":"Retrieve an international standing order","use":"a","href":"#get-international-standing-orders-international-standing-order-id","options":{"method":"get"}}]},{"id":"/docs/api/open-banking#tag-draft-payment","title":"Draft payment","use":"a","href":"#tag-draft-payment","items":[{"id":"/docs/api/open-banking#list-draft-payment","title":"List draft payments","use":"a","href":"#list-draft-payment","options":{"method":"get"}},{"id":"/docs/api/open-banking#create-draft-payment","title":"Create a draft payment","use":"a","href":"#create-draft-payment","options":{"method":"post"}},{"id":"/docs/api/open-banking#delete-draft-payment-transfer","title":"Delete a draft payment transfer","use":"a","href":"#delete-draft-payment-transfer","options":{"method":"delete"}},{"id":"/docs/api/open-banking#find-draft-payment","title":"Retrieve a draft payment","use":"a","href":"#find-draft-payment","options":{"method":"get"}},{"id":"/docs/api/open-banking#delete-draft-payment","title":"Delete a draft payment","use":"a","href":"#delete-draft-payment","options":{"method":"delete"}}]},{"id":"/docs/api/open-banking#tag-untagged","title":"Untagged","use":"a","href":"#tag-untagged","items":[{"id":"/docs/api/open-banking#get-file-payment-consents-consent-id","title":"Retrieve a file payment consent","use":"a","href":"#get-file-payment-consents-consent-id","options":{"method":"get"}}]}],"versions":"$undefined"},"/docs/api/revolut-wallet-callbacks":{"items":[{"id":"/docs/api/revolut-wallet-callbacks#tag-transaction-outcomes","title":"Transaction outcomes","use":"a","href":"#tag-transaction-outcomes","items":[{"id":"/docs/api/revolut-wallet-callbacks#search-transaction-outcomes","title":"Fetch transaction outcomes for a transaction","use":"a","href":"#search-transaction-outcomes","options":{"method":"post"}}]},{"id":"/docs/api/revolut-wallet-callbacks#tag-passes","title":"Passes","use":"a","href":"#tag-passes","items":[{"id":"/docs/api/revolut-wallet-callbacks#fetch-pass","title":"Retrieve a pass","use":"a","href":"#fetch-pass","options":{"method":"get"}}]}],"versions":"$undefined"},"/docs/api/revolut-wallet-partner":{"items":[{"id":"/docs/api/revolut-wallet-partner#tag-passes","title":"Passes","use":"a","href":"#tag-passes","items":[{"id":"/docs/api/revolut-wallet-partner#create-pass","title":"Create a pass","use":"a","href":"#create-pass","options":{"method":"post"}},{"id":"/docs/api/revolut-wallet-partner#push-pass-update","title":"Update a pass","use":"a","href":"#push-pass-update","options":{"method":"put"}}]}],"versions":"$undefined"},"/docs/api/revolut-x-crypto-exchange":{"items":[{"id":"/docs/api/revolut-x-crypto-exchange#tag-balance","title":"Balance","use":"a","href":"#tag-balance","items":[{"id":"/docs/api/revolut-x-crypto-exchange#get-all-balances","title":"Get all balances","use":"a","href":"#get-all-balances","options":{"method":"get"}}]},{"id":"/docs/api/revolut-x-crypto-exchange#tag-configuration","title":"Configuration","use":"a","href":"#tag-configuration","items":[{"id":"/docs/api/revolut-x-crypto-exchange#get-all-currencies","title":"Get all currencies","use":"a","href":"#get-all-currencies","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-all-currency-pairs","title":"Get all currency pairs","use":"a","href":"#get-all-currency-pairs","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-all-public-currencies","title":"Get all currencies public","use":"a","href":"#get-all-public-currencies","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-all-public-currency-pairs","title":"Get all currency pairs public","use":"a","href":"#get-all-public-currency-pairs","options":{"method":"get"}}]},{"id":"/docs/api/revolut-x-crypto-exchange#tag-public-market-data","title":"Public Market Data","use":"a","href":"#tag-public-market-data","items":[{"id":"/docs/api/revolut-x-crypto-exchange#get-last-trades","title":"Get last trades","use":"a","href":"#get-last-trades","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-all-trades-public","title":"Get public trades (market history)","use":"a","href":"#get-all-trades-public","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-public-order-book","title":"Get order book","use":"a","href":"#get-public-order-book","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-public-order-book-v2","title":"Get order book V2","use":"a","href":"#get-public-order-book-v2","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-public-candles","title":"Get public historical OHLCV candles","use":"a","href":"#get-public-candles","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-public-tickers","title":"Get public tickers","use":"a","href":"#get-public-tickers","options":{"method":"get"}}]},{"id":"/docs/api/revolut-x-crypto-exchange#tag-orders","title":"Orders","use":"a","href":"#tag-orders","items":[{"id":"/docs/api/revolut-x-crypto-exchange#place-order","title":"Place order","use":"a","href":"#place-order","options":{"method":"post"}},{"id":"/docs/api/revolut-x-crypto-exchange#cancel-all-orders","title":"Cancel all active orders","use":"a","href":"#cancel-all-orders","options":{"method":"delete"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-active-orders","title":"Get active orders","use":"a","href":"#get-active-orders","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-historical-orders","title":"Get historical orders","use":"a","href":"#get-historical-orders","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-order","title":"Get order by ID","use":"a","href":"#get-order","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#cancel-order","title":"Cancel order by ID","use":"a","href":"#cancel-order","options":{"method":"delete"}},{"id":"/docs/api/revolut-x-crypto-exchange#replace-order","title":"Replace order","use":"a","href":"#replace-order","options":{"method":"put"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-order-fills","title":"Get fills of order by ID","use":"a","href":"#get-order-fills","options":{"method":"get"}}]},{"id":"/docs/api/revolut-x-crypto-exchange#tag-trades","title":"Trades","use":"a","href":"#tag-trades","items":[{"id":"/docs/api/revolut-x-crypto-exchange#get-all-trades","title":"Get public trades for a specific symbol (market history)","use":"a","href":"#get-all-trades","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-private-trades","title":"Get client trades (associated with the provided API key) for a specific symbol","use":"a","href":"#get-private-trades","options":{"method":"get"}}]},{"id":"/docs/api/revolut-x-crypto-exchange#tag-market-data","title":"Market Data","use":"a","href":"#tag-market-data","items":[{"id":"/docs/api/revolut-x-crypto-exchange#get-order-book","title":"Get order book snapshot","use":"a","href":"#get-order-book","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-candles","title":"Get historical OHLCV candles","use":"a","href":"#get-candles","options":{"method":"get"}},{"id":"/docs/api/revolut-x-crypto-exchange#get-ticker","title":"Get all tickers","use":"a","href":"#get-ticker","options":{"method":"get"}}]}],"versions":"$undefined"}},"alphaByPath":{}},"children":["$undefined","$L4","$L5"]}]}]}]]}]} 5:["$","footer",null,{"className":"_19k157u0","children":["$","div",null,{"className":"_19k157u1","children":[["$","div",null,{"className":"_19k157u2","children":[["$","img",null,{"data-revpress-display":"light","className":"_19k157u8","src":"https://storage.googleapis.com/revolut-prod-apps_cdn/Brand/Retail/Logos/Wordmark/Revolut_Black.svg","alt":"Revolut"}],["$","img",null,{"data-revpress-display":"dark","className":"_19k157u8","src":"https://storage.googleapis.com/revolut-prod-apps_cdn/Brand/Retail/Logos/Wordmark/Revolut_White.svg","alt":"Revolut"}],[["$","div","0",{"className":"_19k157u4","children":[["$","span",null,{"className":"_19k157u3","children":"Company and products"}],[["$","$L3","0",{"className":"_19k157u5","to":"https://revolut.com/","children":"Discover Revolut"}],["$","$L3","1",{"className":"_19k157u5","to":"https://www.revolut.com/careers/","children":"Join the team!"}],["$","$L3","2",{"className":"_19k157u5","to":"mailto:api-requests@revolut.com","children":"Email us for API support"}]]]}],["$","div","1",{"className":"_19k157u4","children":[["$","span",null,{"className":"_19k157u3","children":"Build Banking Apps"}],[["$","$L3","0",{"className":"_19k157u5","to":"/docs/guides/build-banking-apps/introduction-to-the-open-banking-api/introduction","children":"Documentation"}],["$","$L3","1",{"className":"_19k157u5","to":"/docs/api/open-banking","children":"Open Banking API"}],["$","$L3","2",{"className":"_19k157u5","to":"/docs/guides/build-banking-apps/api-metrics","children":"API Status"}],["$","$L3","3",{"className":"_19k157u5","to":"https://developer.revolut.com/portal/signup","children":"Developer Portal"}],["$","$L3","4",{"className":"_19k157u5","to":"mailto:api-requests@revolut.com","children":"Request Sandbox access"}]]]}],["$","div","2",{"className":"_19k157u4","children":[["$","span",null,{"className":"_19k157u3","children":"Manage Accounts"}],[["$","$L3","0",{"className":"_19k157u5","to":"/docs/guides/manage-accounts/introduction","children":"Documentation"}],["$","$L3","1",{"className":"_19k157u5","to":"/docs/api/business","children":"Business API"}]]]}],["$","div","3",{"className":"_19k157u4","children":[["$","span",null,{"className":"_19k157u3","children":"Accept Payments"}],[["$","$L3","0",{"className":"_19k157u5","to":"/docs/guides/merchant/introduction","children":"Documentation"}],["$","$L3","1",{"className":"_19k157u5","to":"/docs/api/merchant","children":"Merchant API"}],["$","$L3","2",{"className":"_19k157u5","to":"/docs/sdks/merchant-web-sdk/introduction","children":"Merchant Web SDKs"}],["$","$L3","3",{"className":"_19k157u5","to":"/docs/sdks/merchant-ios-sdk/introduction","children":"Merchant iOS SDKs"}],["$","$L3","4",{"className":"_19k157u5","to":"/docs/sdks/merchant-android-sdk/introduction","children":"Merchant Android SDKs"}]]]}],["$","div","4",{"className":"_19k157u4","children":[["$","span",null,{"className":"_19k157u3","children":"In-person Payments"}],[["$","$L3","0",{"className":"_19k157u5","to":"/docs/guides/merchant/accept-payments/in-person-payments/introduction","children":"Documentation"}],["$","$L3","1",{"className":"_19k157u5","to":"/docs/guides/merchant/accept-payments/in-person-payments/pos/introduction","children":"Revolut POS"}],["$","$L3","2",{"className":"_19k157u5","to":"https://apps.apple.com/gb/app/revolut-pos/id1604861598","children":"Download the Revolut POS app"}],["$","$L3","3",{"className":"_19k157u5","to":"/docs/guides/merchant/accept-payments/in-person-payments/reader/introduction","children":"Revolut Reader"}],["$","$L3","4",{"className":"_19k157u5","to":"/docs/guides/merchant/accept-payments/in-person-payments/terminal/introduction","children":"Revolut Terminal"}]]]}]]]}],["$","div",null,{"data-has-links":true,"className":"_19k157u6","children":[["$","p",null,{"className":"_19k157u7","children":["© Revolut Ltd ",2026]}],[["$","p","0",{"className":"_19k157u7","children":"If you would like to find out more about which Revolut entity you receive services from, or if you have any other questions, please reach out to us via the in-app chat in the Revolut app. Revolut Ltd (No. 08804411) is authorised by the Financial Conduct Authority under the Electronic Money Regulations 2011 (Firm Reference 900562). Registered address: 30 South Colonnade, Canary Wharf, London, England, E14 5HX. Insurance related-products are arranged by Revolut Travel Ltd which is authorised by the Financial Conduct Authority to undertake insurance distribution activities (FCA No: 780586) and by Revolut Ltd, an Appointed Representative of Revolut Travel Ltd in relation to insurance distribution activities. Trading and investment products are provided by Revolut Trading Ltd (No. 832790) is wholly owned subsidiary of Revolut Ltd and is an appointed representative of Resolution Compliance Ltd which is authorised and regulated by the Financial Conduct Authority."}],"$L6","$L7"]]}]]}]}] 6:["$","p","1",{"className":"_19k157u7","children":"We are also registered with the Financial Conduct Authority to offer cryptocurrency services under the Money Laundering, Terrorist Financing and Transfer of Funds (Information on the Payer) Regulations 2017."}] 7:["$","p","2",{"className":"_19k157u7","children":"Revolut's commodities service is not regulated by the FCA."}] 8:T75a,Welcome to the Revolut Merchant API - your solution to managing the core aspects of e-commerce and accepting online payments. Whether you're a startup, a growing business, or an established enterprise in the e-commerce industry, our API helps you streamline your operations. As a Revolut Business customer with a Merchant Account, you can use the Merchant API to leverage the following features: - [Order management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-orders) - [Customer management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-customers) - [Payment management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-payments) - [Reporting analytics](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-report-runs) - [Webhook management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-webhooks) - [Location management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-locations) ... and more. ### API versions :::warning We highly recommend using versioning in your API calls. If you don't provide a version header on the operations where it's required, you will receive an error response. ::: The Merchant API uses request header versioning. Where it is required you need to use the `Revolut-Api-Version` header parameter to specify an API version. Each request, where it is indicated in the API specification, must contain a version header in the following format: ``` 'Revolut-Api-Version: 2023-09-01' ``` :::info For more information, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions) ::: ### Test the Merchant API You can test the Merchant API in Postman by forking this collection: [![View in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/revolut-api/workspace/revolut-developers/overview)9:T75a,Welcome to the Revolut Merchant API - your solution to managing the core aspects of e-commerce and accepting online payments. Whether you're a startup, a growing business, or an established enterprise in the e-commerce industry, our API helps you streamline your operations. As a Revolut Business customer with a Merchant Account, you can use the Merchant API to leverage the following features: - [Order management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-orders) - [Customer management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-customers) - [Payment management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-payments) - [Reporting analytics](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-report-runs) - [Webhook management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-webhooks) - [Location management](https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-locations) ... and more. ### API versions :::warning We highly recommend using versioning in your API calls. If you don't provide a version header on the operations where it's required, you will receive an error response. ::: The Merchant API uses request header versioning. Where it is required you need to use the `Revolut-Api-Version` header parameter to specify an API version. Each request, where it is indicated in the API specification, must contain a version header in the following format: ``` 'Revolut-Api-Version: 2023-09-01' ``` :::info For more information, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions) ::: ### Test the Merchant API You can test the Merchant API in Postman by forking this collection: [![View in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/revolut-api/workspace/revolut-developers/overview)4:[["$","title",null,{"children":"Merchant API | Developer"}],["$","meta",null,{"property":"og:title","content":"Merchant API | Developer"}],[["$","meta",null,{"name":"description","content":"$8"}],["$","meta",null,{"property":"og:description","content":"$9"}]],"$undefined","$La","$Lb","$Lc"] a:["$","meta",null,{"property":"og:url","content":"https://developer.revolut.com/docs/api/merchant/2023-09-01"}] b:[["$","meta",null,{"property":"og:image","content":"https://developer.revolut.com/_assets/og/docs/api/merchant/2023-09-01.png"}],["$","meta",null,{"property":"og:image:width","content":"1200"}],["$","meta",null,{"property":"og:image:height","content":"630"}],["$","meta",null,{"property":"og:image:type","content":"image/png"}],["$","meta",null,{"name":"twitter:card","content":"summary_large_image"}]] c:["$","$Ld",null,{"children":["$","div",null,{"data-variant":"menu-wide","data-has-feed":false,"data-revpress":"layout","className":"wp3eky1","children":[["$","$Le",null,{"actions":"$undefined"}],["$","$Lf",null,{}],["$","main",null,{"data-variant":"$undefined","className":"_12jbm4g0","children":[["$","nav",null,{"className":"e43y4a0","data-event-key":"breadcrumbs","children":["$","ol",null,{"className":"e43y4a1","children":[["$","li","/-0",{"className":"e43y4a2","children":["$","$L3",null,{"className":"e43y4a3","to":"/","children":"Home"}]}],["$","li","/docs/api/merchant/2023-09-01-1",{"className":"e43y4a2","children":null}]]}]}],["$","div",null,{"className":"nizrjz0","children":[["$","h1",null,{"className":"nizrjz2","children":["Merchant API",["$","span",null,{"className":"ubxf1y0","children":["$","$L10",null,{"variant":"faded","color":"accent","children":"2023-09-01"}]}]]}],["$","div",null,{"className":"nizrjz1","children":["$","$L11",null,{"color":"var(--rui-color-grey-tone-50)","className":"_107lvaj3","useIcon":"16/Code","use":"a","href":"/docs/api/merchant/2023-09-01.yaml","target":"_blank","rel":"noreferrer noopener","children":"View schema"}]}]]}],["$","article",null,{"className":"_8qmzte0 ubxf1y1","children":[["$","div",null,{"className":"_107lvaj0","children":["$undefined","$L12",["$","$L13",null,{"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L14"}}}]]}],[["$","div","tag-orders",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-orders","children":["Orders",["$","$L15",null,{"id":"tag-orders"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-orders.md"}]]}],"$L17"]}]}],"$undefined"]}],["$L18","$L19","$L1a","$L1b","$L1c","$L1d","$L1e","$L1f","$L20"]]}],["$","div","tag-customers",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-customers","children":["Customers",["$","$L15",null,{"id":"tag-customers"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-customers.md"}]]}],"$L21"]}]}],"$undefined"]}],["$L22","$L23","$L24","$L25","$L26","$L27","$L28","$L29","$L2a"]]}],["$","div","tag-payments",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-payments","children":["Payments",["$","$L15",null,{"id":"tag-payments"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-payments.md"}]]}],"$L2b"]}]}],"$undefined"]}],["$L2c"]]}],["$","div","tag-payouts",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-payouts","children":["Payouts",["$","$L15",null,{"id":"tag-payouts"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-payouts.md"}]]}],"$L2d"]}]}],"$undefined"]}],["$L2e","$L2f"]]}],["$","div","tag-report-runs",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-report-runs","children":["Report runs",["$","$L15",null,{"id":"tag-report-runs"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-report-runs.md"}]]}],"$L30"]}]}],"$undefined"]}],["$L31","$L32","$L33"]]}],["$","div","tag-webhooks",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-webhooks","children":["Webhooks",["$","$L15",null,{"id":"tag-webhooks"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-webhooks.md"}]]}],"$L34"]}]}],"$undefined"]}],["$L35","$L36","$L37","$L38","$L39","$L3a"]]}],["$","div","tag-locations",{"children":["$L3b",["$L3c","$L3d","$L3e","$L3f","$L40"]]}],"$L41","$L42","$L43","$L44"],"$L45"]}]]}],"$L46"]}]}] 3b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-locations","children":["Locations",["$","$L15",null,{"id":"tag-locations"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-locations.md"}]]}],"$L47"]}]}],"$undefined"]}] 41:["$","div","tag-terminals",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-terminals","children":["Terminals",["$","$L15",null,{"id":"tag-terminals"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-terminals.md"}]]}],"$L48"]}]}],"$undefined"]}],["$L49"]]}] 42:["$","div","tag-payment-intents",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-payment-intents","children":["Payment intents",["$","$L15",null,{"id":"tag-payment-intents"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-payment-intents.md"}]]}],"$L4a"]}]}],"$undefined"]}],["$L4b","$L4c","$L4d"]]}] 43:["$","div","tag-apple-pay-merchant-registration",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-apple-pay-merchant-registration","children":["Apple Pay merchant registration",["$","$L15",null,{"id":"tag-apple-pay-merchant-registration"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-apple-pay-merchant-registration.md"}]]}],"$L4e"]}]}],"$undefined"]}],["$L4f","$L50"]]}] 44:["$","div","tag-other",{"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-other","children":["Other",["$","$L15",null,{"id":"tag-other"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/tags/tag-other.md"}]]}],"$L51"]}]}],"$undefined"]}],["$L52","$L53","$L54"]]}] 45:["$","$L55",null,{"sectionIds":["tag-orders","create-order","retrieve-order","update-order","retrieve-order-list","capture-order","cancel-order","refund-order-deprecated","pay-order","retrieve-payment-list","tag-customers","create-customer-deprecated","retrieve-all-customers-deprecated","retrieve-customer-deprecated","update-customer-deprecated","delete-customer-deprecated","retrieve-all-payment-methods-deprecated","retrieve-payment-method-deprecated","update-payment-method-deprecated","delete-payment-method-deprecated","tag-payments","retrieve-payment-details","tag-payouts","retrieve-payout-list","retrieve-payout","tag-report-runs","create-report-run","retrieve-report-run","download-report-file","tag-webhooks","create-webhook-deprecated","retrieve-all-webhooks-deprecated","retrieve-webhook-deprecated","update-webhook-deprecated","delete-webhook-deprecated","rotate-webhook-signing-secret-deprecated","tag-locations","create-location","retrieve-location-list","retrieve-location","update-location","delete-location","tag-terminals","retrieve-terminal-list","tag-payment-intents","create-payment-intent","retrieve-payment-intent","cancel-payment-intent","tag-apple-pay-merchant-registration","register-domain-apple-pay","unregister-domain-apple-pay","tag-other","register-address-validation-endpoint","retrieve-synchronous-webhook-list","delete-synchronous-webhook"]}] 46:["$","div",null,{"className":"wp3eky0","children":["$","$L56",null,{}]}] 58:I["98d563c3c055",[],"Icon",1] 14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L57","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The Orders resource in the Merchant API offers a comprehensive solution for managing the lifecycle of orders within your e-commerce or retail platform. Designed to streamline order processing, this resource encapsulates a suite of operations that allow for efficiently handling order management-related tasks. For more information about the order lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}],"\n",["$","p","p-1",{"children":"These operations are equipped to handle various order management scenarios, providing a robust interface for businesses to interact with their order data."}],"\n",["$","p","p-2",{"children":["To process a payment related to your customers' purchases, you need to create an ",["$","code","code-0",{"children":"Order"}]," object. Then you can use an order's unique ",["$","code","code-1",{"children":"token"}]," to process and accept payments via the Revolut Checkout Widget."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-order","target":"_blank","rel":"noreferrer","children":"Create an order endpoint"}]," was updated to a new version and now returns ",["$","code","code-0",{"children":"token"}]," as the public identifier for the order. Previous integrations might still use the deprecated endpoint returning ",["$","code","code-1",{"children":"public_id"}],"."]}],["$","p","p-1",{"children":["We strongly advise upgrading to the new ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-order","target":"_blank","rel":"noreferrer","children":"Create an order endpoint"}],"."]}]]}]]}]]}] 21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Customers resource in the Merchant API is a pivotal tool for tracking and managing customer-related transactions within your e-commerce or retail platform. This resource provides a structured approach to customer management, enabling you to maintain a consistent record of customer transactions."}],"\n",["$","p","p-1",{"children":["A ",["$","code","code-0",{"children":"Customer"}]," object can be created using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-customer","target":"_blank","rel":"noreferrer","children":"Create a customer"}]," endpoint and you can then retrieve, update and delete a customer using its ",["$","code","code-1",{"children":"id"}],". ",["$","code","code-2",{"children":"Customer"}]," objects enable you to track multiple transactions in your system associated with the same customer in the Merchant API."]}],"\n",["$","p","p-2",{"children":["You can save and store payment methods of a customer in the ",["$","code","code-0",{"children":"payment_method"}]," object, for more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/charge-saved-payment-method","target":"_blank","rel":"noreferrer","children":"Charge a customer's saved payment method"}],". A merchant can store the details of the payment securely and group transactions from the same payment method in their system."]}],"\n",["$","p","p-3",{"children":"A payment method is unique for each customer. For example, if the same card is used for a transaction by two different customers, two payment method objects are created linked to each customer."}],"\n",["$","p","p-4",{"children":"Similar principle applies when saving payment methods via Revolut Pay for merchant initiated transaction (MIT - useful for recurring payments). If a customer saves their details through Revolut Pay for MIT in separate sessions, each session will create a new payment method object linked to the customer."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"You cannot create a payment method explicitly because they are generated as part of a payment. You can only retrieve, update or delete a payment method, or you can retrieve all payment methods of a customer."}]}]]}]]}] 2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment operations enable you to initiate payments, or track payment status transitions. You can use the ID of the payment to retrieve information about a specific payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the payment lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}]}]]}]]}] 2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Endpoints for retrieving information about payouts, allowing merchants to access details of funds withdrawn from their Merchant account to external bank accounts."}],"\n",["$","p","p-1",{"children":["Merchants can use these endpoints to retrieve a list of payouts and specific payout details. The payout IDs obtained can be used to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-report-runs","target":"_blank","rel":"noreferrer","children":"generate detailed reports"}]," that provide comprehensive breakdowns of all transactions contributing to the payout amounts."]}],"\n",["$","p","p-2",{"children":["Payout information, including IDs, can be retrieved via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-payout-list","target":"_blank","rel":"noreferrer","children":"Retrieve payout list"}]," endpoint or from ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-webhook#callbacks","target":"_blank","rel":"noreferrer","children":"webhook events related to payouts"}],"."]}]]}] 30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Use ",["$","strong","strong-0",{"children":"Report runs"}]," operations to generate CSV reports of your Merchant account transactions. Choose from the following report types based on your use case:"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All payments, including failed and declined ones.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All transactions that contributed to a specific payout.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"IC++ fee components broken down per transaction for a specific IC++ charge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about how to generate CSV reports, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/reports-reconciliation","target":"_blank","rel":"noreferrer","children":"Create CSV reports of transactions"}],"."]}]}]]}]]}] 34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A ",["$","code","code-0",{"children":"webhook"}]," (also called a web callback) allows your system to receive an event from a different app immediately after it happens."]}],"\n",["$","p","p-1",{"children":["For example, you can subscribe to a webhook when an order changes from ",["$","code","code-0",{"children":"pending"}]," to ",["$","code","code-1",{"children":"completed"}]," status. When the payment is cleared and the order is completed, Revolut servers send a notification to the URL of your choice. This is a more efficient way to know when an order is paid as opposed to trying to get the status of the order every few seconds."]}],"\n",["$","p","p-2",{"children":["Many events that happen to a Revolut Merchant account are synchronous, which means they arrive instantly and have immediate results. For example, a successful request to create a customer immediately returns a ",["$","code","code-0",{"children":"Customer"}]," object. Such requests don't require webhooks."]}],"\n",["$","p","p-3",{"children":["The Revolut Merchant API supports webhooks for events including ",["$","code","code-0",{"children":"ORDER_COMPLETED"}]," and ",["$","code","code-1",{"children":"ORDER_AUTHORISED"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Because we cannot guarantee the delivery order of the status (",["$","code","code-0",{"children":"events"}],"), you might receive the status not in the expected order. Make sure that your implementation does not rely on the order that the events are being received in."]}]}]]}],"\n",["$","p","p-4",{"children":["For example, for a completed order, you should receive the ",["$","code","code-0",{"children":"ORDER_AUTHORISED"}]," status first and then ",["$","code","code-1",{"children":"ORDER_COMPLETED"}],". However, if the ",["$","code","code-2",{"children":"ORDER_AUTHORISED"}]," status isn't sent successfully at first, it's moved to the queue to be resent in the next few minutes. Before then, if the ",["$","code","code-3",{"children":"ORDER_COMPLETED"}]," status is sent successfully, you get ",["$","code","code-4",{"children":"ORDER_COMPLETED"}]," first and then ",["$","code","code-5",{"children":"ORDER_AUTHORISED"}],"."]}],"\n",["$","p","p-5",{"children":["Check out our tutorial for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/using-webhooks","target":"_blank","rel":"noreferrer","children":"Using webhooks to keep track of the payment lifecycle"}],"."]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the order and payment lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}]}]]}]]}] 5b:I["5a58dc8a966f",[],"Media",1] 47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The Locations API is designed to help merchants manage multiple points of sale, including both ",["$","strong","strong-0",{"children":"online storefronts"}]," and ",["$","strong","strong-1",{"children":"physical stores"}],". Registering locations lets you differentiate and group your orders from different stores. You can also introduce custom business logic for each location, such as different inventory management, pricing, or shipping rules."]}],"\n",["$","p","p-1",{"children":"To start using locations, follow the relevant use case for your business:"}],"\n",["$","h3","h3-0",{"children":"Online locations"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Register an online location using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-location","target":"_blank","rel":"noreferrer","children":"Create a location"}]," endpoint, setting the ",["$","code","code-0",{"children":"type"}]," to ",["$","code","code-1",{"children":"online"}],"."]}],"\n",["$","li","li-1",{"children":"Configure your custom processes on your backend for each registered location (e.g., grouping orders, custom pricing, etc.)."}],"\n",["$","li","li-2",{"children":["Send the ",["$","code","code-0",{"children":"location_id"}]," parameter in the request body during ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-order","target":"_blank","rel":"noreferrer","children":"order creation"}]," to assign the order to a specific location."]}],"\n"]}],"\n",["$","h5","h5-0",{"children":"Physical locations"}],"\n",["$","ol","ol-1",{"children":["\n",["$","li","li-0",{"children":["Register a physical location using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-location","target":"_blank","rel":"noreferrer","children":"Create a location"}]," endpoint, setting the ",["$","code","code-0",{"children":"type"}]," to ",["$","code","code-1",{"children":"physical"}],"."]}],"\n",["$","li","li-1",{"children":["In case of Revolut POS, our system handles order creation including ",["$","code","code-0",{"children":"location_id"}]," to associate the order with your location."]}],"\n"]}],"\n",["$","h4","h4-0",{"children":"Fast checkout for multiple storefronts"}],"\n",["$","p","p-2",{"children":["Locations are particularly useful for tailoring the user experience on each of your online storefronts, especially when using features like ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/fast-checkout","target":"_blank","rel":"noreferrer","children":["$","strong","strong-0",{"children":"Fast checkout"}]}],"."]}],"\n",["$","p","p-3",{"children":["For example, if you operate two online stores with different shipping rules, you can register two separate ",["$","code","code-0",{"children":"online"}]," locations. By then using the ",["$","code","code-1",{"children":"location_id"}]," to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#register-address-validation-endpoint","target":"_blank","rel":"noreferrer","children":"register a distinct address validation endpoint"}]," for each one, your backend can apply the correct shipping logic and pricing for the specific storefront a customer is buying from."]}]]}] 48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Operations for managing Revolut Terminal devices and push payment integrations with Point of Sale (POS) systems."}],"\n",["$","p","p-1",{"children":["The Terminals API enables POS software providers to integrate with Revolut Terminal devices for accepting in-person payments through a ",["$","strong","strong-0",{"children":"push payments"}]," model. This server-to-server integration allows your POS system to:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Discover available terminals at specific locations"}],"\n",["$","li","li-1",{"children":"Push payment requests to physical terminal devices"}],"\n",["$","li","li-2",{"children":"Track payment intent and payment status in real-time"}],"\n",["$","li","li-3",{"children":"Cancel pending payment requests when needed"}],"\n"]}],"\n",["$","h3","h3-0",{"children":"Push payments workflow"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Terminal discovery:"}]," Use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-terminal-list","target":"_blank","rel":"noreferrer","children":"Retrieve terminal list"}]," endpoint to find available terminals at a location (filtered by ",["$","code","code-0",{"children":"operation_mode=pos"}],")"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Payment intent creation:"}]," Push a payment request to a specific terminal using ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-payment-intent","target":"_blank","rel":"noreferrer","children":"Create a payment intent"}]]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"Status tracking:"}]," Poll the payment intent status until completion using ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-payment-intent","target":"_blank","rel":"noreferrer","children":"Retrieve a payment intent"}]," endpoint"]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":"Payment confirmation:"}]," Once the payment intent reaches ",["$","code","code-0",{"children":"completed"}]," state, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-payment-details","target":"_blank","rel":"noreferrer","children":"retrieve the final payment status"}]," using the returned ",["$","code","code-1",{"children":"payment_id"}]]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed implementation guidance, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","target":"_blank","rel":"noreferrer","children":"Push payments to Revolut Terminal"}],"."]}]}]]}]]}] 4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Operations for managing payment intents in the push payments to Revolut Terminal flow."}],"\n",["$","p","p-1",{"children":["A ",["$","strong","strong-0",{"children":"payment intent"}]," represents the intention to complete payment for a specific order on a specific Revolut Terminal device. Payment intents are the mechanism that links orders created via the Merchant API with physical terminal devices in ",["$","strong","strong-1",{"children":"Pay at Counter"}]," mode."]}],"\n",["$","h3","h3-0",{"children":"What is a payment intent?"}],"\n",["$","p","p-2",{"children":"When you create a payment intent, you're pushing a payment request from your POS system to a Revolut Terminal. The payment intent:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Links an order to a specific terminal device"}],"\n",["$","li","li-1",{"children":"Triggers the payment request to appear on the terminal screen"}],"\n",["$","li","li-2",{"children":"Tracks the customer's interaction with the terminal (pending → processing → completed)"}],"\n",["$","li","li-3",{"children":["Provides a ",["$","code","code-0",{"children":"payment_id"}]," when completed, which you use to retrieve the final payment status"]}],"\n"]}],"\n",["$","h4","h4-0",{"children":"Payment intent lifecycle"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Create:"}]," Push a payment intent to a terminal by ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-payment-intent","target":"_blank","rel":"noreferrer","children":"creating a payment intent"}]]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Track:"}]," Poll the payment intent status by ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-payment-intent","target":"_blank","rel":"noreferrer","children":"retrieving payment intent details"}]," until it reaches a final state"]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"Complete:"}]," When state is ",["$","code","code-0",{"children":"completed"}],", extract the ",["$","code","code-1",{"children":"payment_id"}]," and ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-payment-details","target":"_blank","rel":"noreferrer","children":"retrieve the final payment status"}]]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":"Cancel (optional):"}]," Cancel pending payment intents using ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#cancel-payment-intent","target":"_blank","rel":"noreferrer","children":"Cancel a payment intent"}]]}],"\n"]}],"\n",["$","h4","h4-1",{"children":"Important notes"}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":["A payment intent reaching ",["$","code","code-0",{"children":"completed"}]," state means the checkout process finished on the terminal, but it does ",["$","strong","strong-0",{"children":"not"}]," guarantee the payment succeeded"]}],"\n",["$","li","li-1",{"children":["You must check the actual payment status using the ",["$","code","code-0",{"children":"payment_id"}]," returned in the completed payment intent"]}],"\n",["$","li","li-2",{"children":["Payment status can be ",["$","code","code-0",{"children":"captured"}],"/",["$","code","code-1",{"children":"completed"}]," (successful), ",["$","code","code-2",{"children":"declined"}]," (card rejected), ",["$","code","code-3",{"children":"failed"}]," (technical error), or ",["$","code","code-4",{"children":"cancelled"}]]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For the complete push payments integration guide, see: ","$L59","."]}]}]]}]]}] 4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Operations for managing a merchant's domain registration and configuration with Apple for integration of Apple Pay via Revolut."}],"\n",["$","p","p-1",{"children":"This includes initiating domain validation with Apple, a necessary step for merchants to offer Apple Pay as a payment method on their websites or apps."}],"\n",["$","p","p-2",{"children":["These endpoints interact with Apple's ",["$","a","a-0",{"href":"https://developer.apple.com/documentation/applepaywebmerchantregistrationapi","target":"_blank","rel":"noreferrer","children":"Apple Pay Web Merchant Registration services"}],"."]}]]}] 51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Other operations that can be done with the Merchant API."}]]}] 12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Welcome to the Revolut Merchant API - your solution to managing the core aspects of e-commerce and accepting online payments. Whether you're a startup, a growing business, or an established enterprise in the e-commerce industry, our API helps you streamline your operations."}],"\n",["$","p","p-1",{"children":"As a Revolut Business customer with a Merchant Account, you can use the\nMerchant API to leverage the following features:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-orders","target":"_blank","rel":"noreferrer","children":"Order management"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-customers","target":"_blank","rel":"noreferrer","children":"Customer management"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-payments","target":"_blank","rel":"noreferrer","children":"Payment management"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-report-runs","target":"_blank","rel":"noreferrer","children":"Reporting analytics"}]}],"\n",["$","li","li-4",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-webhooks","target":"_blank","rel":"noreferrer","children":"Webhook management"}]}],"\n",["$","li","li-5",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#tag-locations","target":"_blank","rel":"noreferrer","children":"Location management"}]}],"\n"]}],"\n",["$","p","p-2",{"children":"... and more."}],"\n",["$","h2","h2-0",{"children":"API versions"}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"We highly recommend using versioning in your API calls. If you don't provide a version header on the operations where it's required, you will receive an error response."}]}]]}],"\n",["$","p","p-3",{"children":["The Merchant API uses request header versioning. Where it is required you need to use the ",["$","code","code-0",{"children":"Revolut-Api-Version"}]," header parameter to specify an API version. Each request, where it is indicated in the API specification, must contain a version header in the following format:"]}],"\n","$L5a","\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}]]}]}]]}],"\n",["$","h4","h4-0",{"children":"Test the Merchant API"}],"\n",["$","p","p-4",{"children":"You can test the Merchant API in Postman by forking this collection:"}],"\n",["$","p","p-5",{"children":["$","a","a-0",{"href":"https://www.postman.com/revolut-api/workspace/revolut-developers/overview","target":"_blank","rel":"noreferrer","children":["$","$L5b","img-0",{"src":"https://run.pstmn.io/button.svg","alt":"View in Postman"}]}]}]]}] 59:["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","target":"_blank","rel":"noreferrer","children":"Push payments to Revolut Terminal"}] 5c:I["50460d952402",[],"ScrollArea",1] 5d:I["669a0b877249",[],"CopyButton",1] 57:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 5a:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Revolut-Api-Version: 2023-09-01'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Revolut-Api-Version: 2023-09-01'\n"}]}]]}] 5e:"$Sreact.fragment" 5f:I["18c949fc15ff",[],"ApiEndpointProvider",1] 67:I["fb6f11acc98a",[],"Request",1] 6b:I["1ec75fa958bc",[],"Response",1] 6c:I["f366e5914c23",[],"CodeSnippets",1] 6d:T8b5,
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
6e:Td9d,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
6f:T6c9,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
70:T1541,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
71:T1461,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
72:T8bd,
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
73:Tda5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
74:T6d1,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
75:T1549,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
76:T1469,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
26:["$","$5e","delete-customer-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"No Content","descriptionNode":"$L60"},"401":{"description":"Unauthorized","descriptionNode":"$L61"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L62"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L63"}},"required":["errorId","timestamp"]}}},"descriptionNode":"$L64"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-customer-deprecated","children":[["$L65",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"delete-customer-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/delete-customer-deprecated.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L66",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":["Bearer sk_1234567890ABCdefGHIjklMNOpqrSTUvwxYZ_1234567890-Ab_cdeFGHijkLMNopq"]},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L68"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L69"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L6a"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$26:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6d","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6e","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$6f","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$70","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$71","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$72","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$73","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$74","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$75","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$76","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":["https://merchant.revolut.com","https://sandbox-merchant.revolut.com"],"path":"/api/1.0/customers/{customer_id}","parameters":["$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L77"],"$L78","$L79"]}]]}]]}]}],false]}] 88:T8d2,
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
89:Tdba,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
8a:T6e6,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.delete(url, headers=headers)
print(response.json())
8b:T155e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8c:T147e,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8d:T8da,
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
8e:Tdc2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
8f:T6ee,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.delete(url, headers=headers)
print(response.json())
90:T1566,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
91:T1486,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2a:["$","$5e","delete-payment-method-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"No Content","descriptionNode":"$L7a"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L7b"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L7c"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L7d"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L7e"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L7f"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L80"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-payment-method-deprecated","children":[["$L81",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"delete-payment-method-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/delete-payment-method-deprecated.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L82",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L83"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L84"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L85"},{"name":"payment_method_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L86"},"required":true,"description":"The ID of the payment method.","descriptionNode":"$L87"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$2a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X DELETE \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$88","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$89","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$8a","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$8b","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$8c","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X DELETE \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8d","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8e","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$8f","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$90","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$91","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers/{customer_id}/payment-methods/{payment_method_id}","parameters":["$2a:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$2a:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1","$2a:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:2"]}],"$L92"],"$L93","$L94"]}]]}]]}]}],false]}] a1:T8b4,
fetch("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a2:Td9c,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
a3:T6c8,
import requests

url = "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
a4:T1540,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a5:T1460,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a6:T8bc,
fetch("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a7:Tda4,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
a8:T6d0,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
a9:T1548,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
aa:T1468,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
39:["$","$5e","delete-webhook-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"No Content","descriptionNode":"$L95"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L96"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L97"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L98"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L99"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L9a"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L9b"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-webhook-deprecated","children":[["$L9c",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"delete-webhook-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/delete-webhook-deprecated.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L9d",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L9e"},{"name":"webhook_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L9f"},"required":true,"description":"The ID of the webhook.","descriptionNode":"$La0"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$39:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a1","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a2","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$a3","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$a4","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$a5","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a6","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a7","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$a8","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$a9","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$aa","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/webhooks/{webhook_id}","parameters":["$39:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$39:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$Lab"],"$Lac","$Lad"]}]]}]]}]}],false]}] ae:I["9e60c70d72c7",[],"Authorization",1] b0:I["48c2ae8093a4",[],"RequestSample",1] b1:I["b2446624eec0",[],"ResponseSample",1] 77:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Laf"}}}] 78:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 79:["$","$Lb1",null,{"exampleBlocks":{"204":{},"401":{},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Lb2"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 92:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Lb3"}}}] 93:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 94:["$","$Lb1",null,{"exampleBlocks":{"204":{},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Lb4"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Lb5"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] ab:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Lb6"}}}] ac:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] ad:["$","$Lb1",null,{"exampleBlocks":{"204":{},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Lb7"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Lb8"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] c5:T8b1,
fetch("https://merchant.revolut.com/api/locations/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c6:Td99,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/locations/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
c7:T6c5,
import requests

url = "https://merchant.revolut.com/api/locations/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
c8:T153d,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/locations/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c9:T145d,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://merchant.revolut.com/api/locations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
ca:T8b9,
fetch("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
cb:Tda1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
cc:T6cd,
import requests

url = "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
cd:T1545,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
ce:T1465,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
40:["$","$5e","delete-location",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"Location deleted","descriptionNode":"$Lb9"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$Lba"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$Lbb"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lbc"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$Lbd"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$Lbe"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lbf"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-location","children":[["$Lc0","$undefined"],["$","$L15",null,{"id":"delete-location"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/delete-location.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc1",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$Lc2"},{"name":"location_id","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$Lc3"},"in":"path","required":true,"description":"The ID of the location.","descriptionNode":"$Lc4"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$40:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c5","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c6","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$c7","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$c8","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$c9","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$ca","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$cb","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$cc","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$cd","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$ce","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/locations/{location_id}","parameters":["$40:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$40:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$Lcf"],"$Ld0","$Ld1"]}]]}]]}]}],false]}] dc:T8bc,
fetch("https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
dd:Tda4,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
de:T6d0,
import requests

url = "https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
df:T1548,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
e0:T1468,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
e1:T8c4,
fetch("https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
e2:Tdac,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
e3:T6d8,
import requests

url = "https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.delete(url, headers=headers)
print(response.json())
e4:T1550,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
e5:T1470,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
54:["$","$5e","delete-synchronous-webhook",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"Synchronous webhook deleted","descriptionNode":"$Ld2"},"401":{"description":"Unauthorized","descriptionNode":"$Ld3"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$Ld4"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$Ld5"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Ld6"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-synchronous-webhook","children":[["$Ld7","$undefined"],["$","$L15",null,{"id":"delete-synchronous-webhook"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/delete-synchronous-webhook.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Ld8",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$Ld9"},{"name":"synchronous_webhook_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$Lda"},"required":true,"description":"The ID of the synchronous webhook.","descriptionNode":"$Ldb"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$54:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$dc","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dd","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$de","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$df","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$e0","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X DELETE \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$e1","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$e2","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$e3","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .DELETE(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$e4","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Delete,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$e5","tokens":[{"marker":"__RP_TOK_0__","paramName":"synchronous_webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:synchronous_webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/synchronous-webhooks/{synchronous_webhook_id}","parameters":["$54:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$54:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$Le6"],"$Le7","$Le8"]}]]}]]}]}],false]}] cf:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Le9"}}}] d0:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] d1:["$","$Lb1",null,{"exampleBlocks":{"204":{},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Lea"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Leb"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] e6:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Lec"}}}] e7:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] e8:["$","$Lb1",null,{"exampleBlocks":{"204":{},"401":{},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$Led"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 32:["$","$5e","retrieve-report-run",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Report run found","content":{"application/json":{"schema":{"title":"ReportRunDetails","type":"object","description":"The `ReportRunDetails` object contains all information associated with a specific report run, identified by the `report_run_id`.","properties":{"report_run_id":{"type":"string","format":"uuid","description":"Unique ID used for accessing report details. Use this to check report generation status.","descriptionNode":"$Lee"},"status":{"type":"string","description":"Current status of the report run.\n\n| Value | Description |\n| ----- | ----------- |\n| `processing` | Report generation is still in progress. |\n| `completed` | Report generation finished successfully and the file is available to download for 24 hours via `file_url`. |\n| `failed` | Report generation failed and no report file is available. |\n| `expired` | Report generation previously completed, but the 24-hour file availability window has elapsed and the file can no longer be downloaded. |","enum":["processing","completed","failed","expired"],"descriptionNode":"$Lef"},"file_url":{"type":"string","description":"Use this link to download the report file. Available only when `status` is `completed`, and only for 24 hours after report generation finishes.","descriptionNode":"$Lf0"}},"required":["report_run_id","status"],"descriptionNode":"$Lf1"},"examples":{"report_run_processing":{"summary":"Report run processing","value":{"report_run_id":"d6f6ef64-f668-4e64-8967-1cdf8afb2561","status":"processing"}},"report_run_completed":{"summary":"Report run completed","value":{"report_run_id":"d6f6ef64-f668-4e64-8967-1cdf8afb2561","status":"completed","file_url":"https://merchant.revolut.com/api/report-runs/d6f6ef64-f668-4e64-8967-1cdf8afb2561/file"}},"report_run_expired":{"summary":"Report run expired","value":{"report_run_id":"d6f6ef64-f668-4e64-8967-1cdf8afb2561","status":"expired"}}}}},"descriptionNode":"$Lf2"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lf3"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lf4"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lf5"}}}}},"descriptionNode":"$Lf6"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lf7"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lf8"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lf9"}}}}},"descriptionNode":"$Lfa"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lfb"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lfc"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lfd"}}}}},"descriptionNode":"$Lfe"}},"requestBody":"$undefined","variantLabels":["Report run processing","Report run completed","Report run expired"],"children":["$Lff","$L100"]}]}],false]}] 65:"Delete a customer (Deprecated)" ff:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-report-run","children":[["$L101","$undefined"],["$","$L15",null,{"id":"retrieve-report-run"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-report-run.md"}]]}]}],"$undefined"]}] 106:T8b0,
fetch("https://merchant.revolut.com/api/report-runs/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
107:Td98,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/report-runs/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
108:T6c4,
import requests

url = "https://merchant.revolut.com/api/report-runs/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
109:T153c,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/report-runs/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
10a:T145c,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/report-runs/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
10b:T8b8,
fetch("https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
10c:Tda0,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
10d:T6cc,
import requests

url = "https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
10e:T1544,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
10f:T1464,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
100:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L102",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L103"},{"name":"report_run_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L104"},"required":true,"description":"Unique ID of the report run.","descriptionNode":"$L105"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$32:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$106","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$107","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$108","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$109","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$10a","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$10b","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$10c","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$10d","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$10e","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$10f","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/report-runs/{report_run_id}","parameters":["$100:props:children:0:props:children:1:props:parameters:0","$100:props:children:0:props:children:1:props:parameters:1"]}],"$L110"],"$L111","$L112"]}]]}] 81:"Delete a customer's payment method (Deprecated)" 9c:"Delete a webhook (Deprecated)" c0:"Delete a location" 110:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L113"}}}] 111:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 112:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"report_run_processing","label":"Report run processing","rawValue":"$32:props:children:0:props:children:props:responses:200:content:application/json:examples:report_run_processing:value","block":"$L114"},{"key":"report_run_completed","label":"Report run completed","rawValue":"$32:props:children:0:props:children:props:responses:200:content:application/json:examples:report_run_completed:value","block":"$L115"},{"key":"report_run_expired","label":"Report run expired","rawValue":"$32:props:children:0:props:children:props:responses:200:content:application/json:examples:report_run_expired:value","block":"$L116"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L117"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L118"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L119"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] d7:"Delete a synchronous webhook" 60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"No Content"}]]}] 61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Delete the profile of a specific ",["$","code","code-0",{"children":"customer"}],"."]}]]}] 68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"No Content"}]]}] 7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific payment method. The payment method is completely deleted from the customer payment methods."}],"\n",["$","p","p-1",{"children":"To reuse the payment method that is deleted, direct your customer to the checkout page and save the card details again."}]]}] 83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"No Content"}]]}] 96:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 98:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a webhook so that events are not sent to the specified URL any more."}]]}] 9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L11a","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L11b","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L11c","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location deleted"}]]}] ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific location, based on its ID."}]]}] c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the location."}]]}] 101:"Retrieve a report run" d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Synchronous webhook deleted"}]]}] d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific synchronous webhook registration, based on its ID."}]]}] d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the synchronous webhook."}]]}] 11f:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|36:["$","$5e","retrieve-all-webhooks-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"title":"Webhook","type":"object","description":"A `webhook` (also called a web callback) allows your system to receive an event from a different app immediately after it happens. \n\nFor example, you can subscribe to a webhook when an order changes from Pending to Completed. When the payment is cleared and the order is completed, Revolut servers will send a notification to the URL of your choice. This is a much more efficient way to know when an order is paid as opposed to trying to get the status of the order every few seconds.\n\nMany events that happen to a Revolut Merchant account are synchronous, which means that they arrive instantly and have immediate results. For example, a successful request to create a customer immediately returns a Customer object. Such requests don't require webhooks.\n\nThe Revolut Merchant API supports webhooks for events such as `ORDER_COMPLETED` and `ORDER_AUTHORISED`.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L11d"},"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L11e"},"events":{"type":"array","description":"$11f","items":{"type":"string","description":"The available event types your can listen to.","enum":["ORDER_COMPLETED","ORDER_AUTHORISED","ORDER_CANCELLED","ORDER_FAILED","ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED","ORDER_INCREMENTAL_AUTHORISATION_DECLINED","ORDER_INCREMENTAL_AUTHORISATION_FAILED","ORDER_PAYMENT_AUTHENTICATION_CHALLENGED","ORDER_PAYMENT_AUTHENTICATED","ORDER_PAYMENT_AUTHORISATION_STARTED","ORDER_PAYMENT_DECLINED","ORDER_PAYMENT_FAILED","SUBSCRIPTION_INITIATED","SUBSCRIPTION_FINISHED","SUBSCRIPTION_CANCELLED","SUBSCRIPTION_OVERDUE","PAYOUT_INITIATED","PAYOUT_COMPLETED","PAYOUT_FAILED","DISPUTE_ACTION_REQUIRED","DISPUTE_UNDER_REVIEW","DISPUTE_WON","DISPUTE_LOST"],"descriptionNode":"$L120"},"minItems":1,"descriptionNode":"$L121"}},"required":["id"],"descriptionNode":"$L122"}},"examples":{"list_of_webhooks":{"summary":"List of webhooks","value":[{"id":"6fc8db62-6489-4470-a9e0-84b462fe3908","url":"https://revolut.com/webhooks","events":["ORDER_COMPLETED"]},{"id":"b466ab77-4932-4850-beb0-113bfc1166f8","url":"https://business.revolut.com/webhooks","events":["ORDER_COMPLETED","ORDER_AUTHORISED"]},{"id":"4a31c8a3-8037-4260-a09e-090475d37025","url":"https://developer.revolut.com/webhooks","events":["ORDER_AUTHORISED"]},{"id":"5d815041-5753-46bc-aebc-315fe99f30aa","url":"https://example.com/webhooks","events":["ORDER_COMPLETED","ORDER_AUTHORISED"]}]}}}},"descriptionNode":"$L123"},"401":{"description":"Unauthorized","descriptionNode":"$L124"}},"requestBody":"$undefined","variantLabels":[],"children":["$L125","$L126"]}]}],false]}] 129:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|37:["$","$5e","retrieve-webhook-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Webhook with signing secret","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L127"},"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L128"},"events":{"type":"array","description":"$129","items":{"type":"string","description":"The available event types your can listen to.","enum":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:events:items:enum","descriptionNode":"$L12a"},"minItems":1,"descriptionNode":"$L12b"},"signing_secret":{"type":"string","description":"The signing secret for the webhook. Use it to verify the signature for the webhook request's payload.","descriptionNode":"$L12c"}},"required":["id","signing_secret"]},"examples":{"retrieved_webhook":{"summary":"Retrieved webhook","value":{"id":"c6b981f4-53b3-47d5-9b24-4f87af1160eb","url":"https://example.com/webhooks","events":["ORDER_AUTHORISED","ORDER_COMPLETED"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"}}}}},"descriptionNode":"$L12d"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L12e"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L12f"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L130"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L131"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L132"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L133"}},"requestBody":"$undefined","variantLabels":[],"children":["$L134","$L135"]}]}],false]}] e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L136","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L137","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID used for accessing report details. Use this to check report generation status."}]]}] ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Current status of the report run."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Report generation is still in progress.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Report generation finished successfully and the file is available to download for 24 hours via ",["$","code","code-0",{"children":"file_url"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Report generation failed and no report file is available.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"expired"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Report generation previously completed, but the 24-hour file availability window has elapsed and the file can no longer be downloaded.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Use this link to download the report file. Available only when ",["$","code","code-0",{"children":"status"}]," is ",["$","code","code-1",{"children":"completed"}],", and only for 24 hours after report generation finishes."]}]]}] f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"ReportRunDetails"}]," object contains all information associated with a specific report run, identified by the ",["$","code","code-1",{"children":"report_run_id"}],"."]}]]}] f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Report run found"}]]}] f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 125:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-all-webhooks-deprecated","children":[["$L138",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"retrieve-all-webhooks-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-all-webhooks-deprecated.md"}]]}]}],"$undefined"]}] 13b:T8a4,
fetch("https://merchant.revolut.com/api/1.0/webhooks", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_0__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
13c:Td8c,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/webhooks"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
13d:T6b8,
import requests

url = "https://merchant.revolut.com/api/1.0/webhooks"
headers = {
  "Authorization": "__RP_TOK_0__"
}

response = requests.get(url, headers=headers)
print(response.json())
13e:T1530,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/webhooks"))
      .header("Authorization", "__RP_TOK_0__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
13f:T1450,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
140:T8ac,
fetch("https://sandbox-merchant.revolut.com/api/1.0/webhooks", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_0__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
141:Td94,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/webhooks"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
142:T6c0,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/webhooks"
headers = {
  "Authorization": "__RP_TOK_0__"
}

response = requests.get(url, headers=headers)
print(response.json())
143:T1538,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/webhooks"))
      .header("Authorization", "__RP_TOK_0__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
144:T1458,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
126:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L139",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L13a"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$36:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/webhooks\" \\\n -H \"Authorization: __RP_TOK_0__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/webhooks\" \\\n  -H \"Authorization: __RP_TOK_0__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/webhooks\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_0__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$13b","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/webhooks\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$13c","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Authorization\": \"__RP_TOK_0__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$13d","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/webhooks\"))\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$13e","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$13f","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\" \\\n -H \"Authorization: __RP_TOK_0__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\" \\\n  -H \"Authorization: __RP_TOK_0__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_0__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$140","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$141","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Authorization\": \"__RP_TOK_0__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$142","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"))\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$143","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$144","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/webhooks","parameters":["$126:props:children:0:props:children:1:props:parameters:0"]}],"$L145"],"$L146","$L147"]}]]}] 134:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-webhook-deprecated","children":[["$L148",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"retrieve-webhook-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-webhook-deprecated.md"}]]}]}],"$undefined"]}] 14d:T8b1,
fetch("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
14e:Td99,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
14f:T6c5,
import requests

url = "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
150:T153d,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
151:T145d,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
152:T8b9,
fetch("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
153:Tda1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
154:T6cd,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
155:T1545,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
156:T1465,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
135:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L149",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L14a"},{"name":"webhook_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L14b"},"required":true,"description":"The ID of the webhook.","descriptionNode":"$L14c"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$37:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$14d","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$14e","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$14f","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$150","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$151","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$152","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$153","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$154","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$155","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$156","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/webhooks/{webhook_id}","parameters":["$135:props:children:0:props:children:1:props:parameters:0","$135:props:children:0:props:children:1:props:parameters:1"]}],"$L157"],"$L158","$L159"]}]]}] fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 102:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve details of a report run, based on the ",["$","code","code-0",{"children":"report_run_id"}],"."]}],"\n",["$","p","p-1",{"children":"Use this method to check the status of a report run."}],"\n",["$","p","p-2",{"children":["If a report run's ",["$","code","code-0",{"children":"status"}]," is ",["$","code","code-1",{"children":"completed"}],", the report file can be downloaded using the ",["$","code","code-2",{"children":"file_url"}]," for 24 hours after report generation finishes."]}],"\n",["$","p","p-3",{"children":["Once that 24-hour window elapses, the report run remains retrievable but transitions to ",["$","code","code-0",{"children":"expired"}],", and the file can no longer be downloaded."]}]]}] 103:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 104:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 105:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID of the report run."}]]}] 2f:["$","$5e","retrieve-payout",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Payout retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Permanent payout ID used for payouts operations.","descriptionNode":"$L15a"},"state":{"type":"string","enum":["processing","completed","failed"],"description":"The state of the payout.","descriptionNode":"$L15b"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payout was created.","descriptionNode":"$L15c"},"destination_type":{"type":"string","enum":["current_pocket","external_beneficiary"],"description":"The destination of the payout funds when a merchant initiates a withdrawal from their merchant account.\n\n| Destination type | Description |\n| ---------------- | ----------- |\n| `current_pocket` | The funds were moved from the merchant account to the business account within the platform. This indicates an **internal transfer**, allowing the merchant to access the funds within their own business account. |\n| `external_beneficiary` | The funds were transferred to an external bank account or beneficiary outside the platform. This indicates a **transfer to an external account**, enabling the merchant to withdraw funds to external financial institutions. |","descriptionNode":"$L15d"},"amount":{"type":"integer","minimum":1,"description":"The total amount of the payout in minor currency units. For example, `7034` represents €70.34.","descriptionNode":"$L15e"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L15f"}},"required":["id","state","created_at","destination_type"]},"examples":{"default":{"value":{"id":"a830020e-090c-4717-836d-37941a27ad12","state":"completed","created_at":"2024-02-27T00:16:39.079285Z","destination_type":"current_pocket","amount":50000,"currency":"GBP"}}}}},"descriptionNode":"$L160"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L161"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L162"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L163"}}},"examples":{"default":{"value":{"code":"bad_request","message":"Missing Revolut-Api-Version header","timestamp":1721049596461}}}}},"headers":{},"descriptionNode":"$L164"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L165"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L166"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L167"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$L168"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L169"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L16a"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L16b"}}},"examples":{"default":{"value":{"code":"not_found","message":"The requested resource is not found","timestamp":1721050063886}}}}},"descriptionNode":"$L16c"}},"requestBody":"$undefined","variantLabels":[],"children":["$L16d","$L16e"]}]}],false]}] 145:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L16f"}}}] 146:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 147:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_webhooks","label":"List of webhooks","rawValue":"$36:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_webhooks:value","block":"$L170"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 157:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L171"}}}] 158:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 159:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"retrieved_webhook","label":"Retrieved webhook","rawValue":"$37:props:children:0:props:children:props:responses:200:content:application/json:examples:retrieved_webhook:value","block":"$L172"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L173"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L174"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 16d:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-payout","children":[["$L175","$undefined"],["$","$L15",null,{"id":"retrieve-payout"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-payout.md"}]]}]}],"$undefined"]}] 17b:T9d1,
fetch("https://merchant.revolut.com/api/payouts/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
17c:Tf6e,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/payouts/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
17d:T7e3,
import requests

url = "https://merchant.revolut.com/api/payouts/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
17e:T170f,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/payouts/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
17f:T15b9,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/payouts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
180:T9d9,
fetch("https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
181:Tf76,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
182:T7eb,
import requests

url = "https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
183:T1717,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
184:T15c1,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
16e:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L176",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L177"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":["2023-09-01","2024-05-01","2024-09-01","2025-10-16","2025-12-04","2026-03-12","2026-04-20"],"examples":["2026-04-20"]},"required":true,"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\nIf not specified, you will receive an error.\n\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"example":"2023-09-01","descriptionNode":"$L178"},{"name":"payout_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L179"},"required":true,"description":"The ID of the `Payout` object.","descriptionNode":"$L17a"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$2f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$17b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$17c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$17d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$17e","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/payouts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$17f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$180","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$181","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$182","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$183","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/payouts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$184","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payout_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/payouts/{payout_id}","parameters":["$16e:props:children:0:props:children:1:props:parameters:0","$16e:props:children:0:props:children:1:props:parameters:1","$16e:props:children:0:props:children:1:props:parameters:2"]}],"$L185"],"$L186","$L187"]}]]}] 113:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L188","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 185:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L189"}}}] 186:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 187:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2f:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L18a"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2f:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L18b"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2f:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L18c"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2f:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L18d"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 196:T554,
curl -X POST "https://merchant.revolut.com/api/apple-pay/domains/register" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "domain": "revolut.com"
}'
197:Td65,
const payload = {
  "domain": "revolut.com"
};
fetch("https://merchant.revolut.com/api/apple-pay/domains/register", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
198:T144c,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/apple-pay/domains/register"
  jsonData := []byte(`
{
  "domain": "revolut.com"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
199:Ta9b,
import requests

url = "https://merchant.revolut.com/api/apple-pay/domains/register"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "domain": "revolut.com"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
19a:T19b3,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "domain": "revolut.com"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/apple-pay/domains/register"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
19b:T1c11,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/apple-pay/domains/register"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""domain"": ""revolut.com""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
19c:T55c,
curl -X POST "https://sandbox-merchant.revolut.com/api/apple-pay/domains/register" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "domain": "revolut.com"
}'
19d:Td6d,
const payload = {
  "domain": "revolut.com"
};
fetch("https://sandbox-merchant.revolut.com/api/apple-pay/domains/register", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
19e:T1454,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/apple-pay/domains/register"
  jsonData := []byte(`
{
  "domain": "revolut.com"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
19f:Taa3,
import requests

url = "https://sandbox-merchant.revolut.com/api/apple-pay/domains/register"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "domain": "revolut.com"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
1a0:T19bb,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "domain": "revolut.com"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/apple-pay/domains/register"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1a1:T1c19,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/apple-pay/domains/register"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""domain"": ""revolut.com""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4f:["$","$5e","register-domain-apple-pay",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"Domain registered successfully","descriptionNode":"$L18e"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L18f"},"message":{"type":"string","description":"Human readable text describing what went wrong.","descriptionNode":"$L190"}},"required":["code"]},"examples":{"error_message":{"summary":"Error message","value":{"code":"validation","message":"Exactly one value must be supplied for client_id"}}}}},"descriptionNode":"$L191"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name of your website without the scheme (i.e. without `http://` or `https://`).","examples":["revolut.com"],"descriptionNode":"$L192"}},"required":["domain"]},"examples":{"example_request":{"summary":"Example domain registration request for Apple Pay","value":{"domain":"revolut.com"}}}}}},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"register-domain-apple-pay","children":[["$L193","$undefined"],["$","$L15",null,{"id":"register-domain-apple-pay"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/register-domain-apple-pay.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L194",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L195"}],"requestBody":"$4f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$4f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/apple-pay/domains/register\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"domain\": \"revolut.com\"\n}'","templateHtml":"$196","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"domain\": \"revolut.com\"\n};\nfetch(\"https://merchant.revolut.com/api/apple-pay/domains/register\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$197","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/apple-pay/domains/register\"\n jsonData := []byte(`\n{\n \"domain\": \"revolut.com\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$198","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/apple-pay/domains/register\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"domain\": \"revolut.com\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$199","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"domain\": \"revolut.com\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/apple-pay/domains/register\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$19a","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/apple-pay/domains/register\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"domain\"\": \"\"revolut.com\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$19b","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/apple-pay/domains/register\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"domain\": \"revolut.com\"\n}'","templateHtml":"$19c","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"domain\": \"revolut.com\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/apple-pay/domains/register\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$19d","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/apple-pay/domains/register\"\n jsonData := []byte(`\n{\n \"domain\": \"revolut.com\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$19e","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/apple-pay/domains/register\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"domain\": \"revolut.com\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$19f","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"domain\": \"revolut.com\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/apple-pay/domains/register\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$1a0","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/apple-pay/domains/register\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"domain\"\": \"\"revolut.com\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$1a1","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/apple-pay/domains/register","parameters":["$4f:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L1a2"],"$L1a3","$L1a4"]}]]}]]}]}],false]}] 53:["$","$5e","retrieve-synchronous-webhook-list",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Synchronous webhook list returned","content":{"application/json":{"schema":{"type":"array","items":{"title":"SynchronousWebhook","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the synchronous webhook object.","descriptionNode":"$L1a5"},"signing_key":{"type":"string","pattern":"^swsk_[a-zA-Z0-9]{32}$","description":"A randomly generated signing key, which can be used by merchants to authenticate requests from Revolut by verifying the signature. For more information, see: [Payload Signature](https://developer.revolut.com/docs/api/merchant#authentication).","descriptionNode":"$L1a6"},"url":{"type":"string","format":"uri","pattern":"^https:\\/{2}.+/gi","maxLength":2000,"description":"The valid URL of the endpoint, that uses HTTPS URL schema. Revolut sends the shipping address of the customer to this URL for validation.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L1a7"},"event_type":{"type":"string","enum":["fast_checkout.validate_address"],"description":"Type of event this synchronous webhook is configured for.\n\n:::note\nAt the moment, synchronous webhooks only support address validation events. \n:::","descriptionNode":"$L1a8"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L1a9"}},"required":["id","signing_key","url","event_type"]}},"examples":{"example_without_location":{"summary":"List of synchronous webhooks","value":[{"id":"f6abc4df-eb48-417c-8e75-f7c6d7ad394f","signing_key":"swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1","url":"https://example.com/webhooks/validate-address","event_type":"fast_checkout.validate_address"},{"id":"5c08dcc1-cd60-4b7d-a255-e42d24d7365c","signing_key":"swsk_VsuFcq6FIpa9gOWUu0n2WxiCbsDHIJlN","url":"https://groceries.example.com/webhooks/validate-address","event_type":"fast_checkout.validate_address","location_id":"b0ebede4-5cbc-4951-977f-70329faa8769"},{"id":"dbebe6f8-4c47-4176-a94f-576d76e1d0b6","signing_key":"swsk_0TKYlzoakBgGGVvojCiRRqInMD1ufLZn","url":"https://clothes.example.com/webhooks/validate-address","event_type":"fast_checkout.validate_address","location_id":"6ebd3d2b-7a51-42e4-84f4-3c513621edd3"}]}}}},"descriptionNode":"$L1aa"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L1ab"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L1ac"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1ad"},"401":{"description":"Unauthorized","descriptionNode":"$L1ae"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-synchronous-webhook-list","children":[["$L1af","$undefined"],["$","$L15",null,{"id":"retrieve-synchronous-webhook-list"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-synchronous-webhook-list.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":"$L1b0"}],"$L1b1"]}]]}]}],false]}] 138:"Retrieve a webhook list (Deprecated)" 1a2:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L1b2"}}}] 1a3:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_request","label":"Example domain registration request for Apple Pay","rawValue":"$4f:props:children:0:props:children:props:requestBody:content:application/json:examples:example_request:value","block":"$L1b3"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1a4:["$","$Lb1",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"error_message","label":"Error message","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:error_message:value","block":"$L1b4"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 1b0:["$L1b5",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L1b6"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$53:props:children:0:props:children:props:responses","headingAs":"h3"}]] 1b7:T8ac,
fetch("https://merchant.revolut.com/api/synchronous-webhooks", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_0__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1b8:Td94,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/synchronous-webhooks"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
1b9:T6c0,
import requests

url = "https://merchant.revolut.com/api/synchronous-webhooks"
headers = {
  "Authorization": "__RP_TOK_0__"
}

response = requests.get(url, headers=headers)
print(response.json())
1ba:T1538,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/synchronous-webhooks"))
      .header("Authorization", "__RP_TOK_0__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1bb:T1458,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/synchronous-webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1bc:T8b4,
fetch("https://sandbox-merchant.revolut.com/api/synchronous-webhooks", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_0__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1bd:Td9c,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/synchronous-webhooks"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
1be:T6c8,
import requests

url = "https://sandbox-merchant.revolut.com/api/synchronous-webhooks"
headers = {
  "Authorization": "__RP_TOK_0__"
}

response = requests.get(url, headers=headers)
print(response.json())
1bf:T1540,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/synchronous-webhooks"))
      .header("Authorization", "__RP_TOK_0__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1c0:T1460,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/synchronous-webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1b1:["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/synchronous-webhooks\" \\\n -H \"Authorization: __RP_TOK_0__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/synchronous-webhooks\" \\\n  -H \"Authorization: __RP_TOK_0__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/synchronous-webhooks\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_0__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/synchronous-webhooks\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/synchronous-webhooks\"\nheaders = {\n \"Authorization\": \"__RP_TOK_0__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/synchronous-webhooks\"))\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$1ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/synchronous-webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$1bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\" \\\n -H \"Authorization: __RP_TOK_0__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\" \\\n  -H \"Authorization: __RP_TOK_0__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_0__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"\nheaders = {\n \"Authorization\": \"__RP_TOK_0__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1be","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"))\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$1bf","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$1c0","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/synchronous-webhooks","parameters":["$1b0:1:props:parameters:0"]}],"$L1c1"],"$L1c2","$L1c3"]}] 148:"Retrieve a webhook (Deprecated)" 11d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 11e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 175:"Retrieve a payout" 1c1:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L1c4"}}}] 1c2:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1c3:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"example_without_location","label":"List of synchronous webhooks","rawValue":"$53:props:children:0:props:children:props:responses:200:content:application/json:examples:example_without_location:value","block":"$L1c5"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L1c6"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 127:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 128:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 12a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 12b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 12c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The signing secret for the webhook. Use it to verify the signature for the webhook request's payload."}]]}] 12d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 12e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 12f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 130:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 131:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 132:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 133:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 1d1:T6c5,
curl -X POST "https://merchant.revolut.com/api/apple-pay/domains/unregister" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -H "Revolut-Api-Version: __RP_TOK_1__" \
  -d '{
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}'
1d2:Tfb6,
const payload = {
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
};
fetch("https://merchant.revolut.com/api/apple-pay/domains/unregister", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__",
    "Revolut-Api-Version": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1d3:T16aa,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/apple-pay/domains/unregister"
  jsonData := []byte(`
{
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
1d4:Tcea,
import requests

url = "https://merchant.revolut.com/api/apple-pay/domains/unregister"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__",
  "Revolut-Api-Version": "__RP_TOK_1__"
}
payload = {
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
1d5:T1c0e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/apple-pay/domains/unregister"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .header("Revolut-Api-Version", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1d6:T1f82,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/apple-pay/domains/unregister"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
    { "Revolut-Api-Version", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""domain"": ""revolut.com"",
  ""reason"": ""Unregister due to domain change.""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1d7:T6cd,
curl -X POST "https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -H "Revolut-Api-Version: __RP_TOK_1__" \
  -d '{
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}'
1d8:Tfbe,
const payload = {
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
};
fetch("https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__",
    "Revolut-Api-Version": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1d9:T16b2,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister"
  jsonData := []byte(`
{
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
1da:Tcf2,
import requests

url = "https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__",
  "Revolut-Api-Version": "__RP_TOK_1__"
}
payload = {
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
1db:T1c16,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "domain": "revolut.com",
  "reason": "Unregister due to domain change."
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .header("Revolut-Api-Version", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1dc:T1f8a,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
    { "Revolut-Api-Version", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""domain"": ""revolut.com"",
  ""reason"": ""Unregister due to domain change.""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
50:["$","$5e","unregister-domain-apple-pay",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"204":{"description":"Domain ungistered successfully","descriptionNode":"$L1c7"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L1c8"},"message":{"type":"string","description":"Human readable text describing what went wrong.","descriptionNode":"$L1c9"}},"required":["code"]},"examples":{"error_message":{"summary":"Error message","value":{"code":"validation","message":"Exactly one value must be supplied for client_id"}}}}},"descriptionNode":"$L1ca"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"Domain name of your website without the scheme (i.e. without `http://` or `https://`).","examples":["revolut.com"],"descriptionNode":"$L1cb"},"reason":{"type":"string","description":"A short explanation why you remove the domain.","maxLength":1024,"descriptionNode":"$L1cc"}},"required":["domain","reason"]},"examples":{"example_request":{"summary":"Example domain registration request for Apple Pay","value":{"domain":"revolut.com","reason":"Unregister due to domain change."}}}}}},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"unregister-domain-apple-pay","children":[["$L1cd","$undefined"],["$","$L15",null,{"id":"unregister-domain-apple-pay"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/unregister-domain-apple-pay.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1ce",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L1cf"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":["2023-09-01","2024-05-01","2024-09-01","2025-10-16","2025-12-04","2026-03-12","2026-04-20"],"examples":["2026-04-20"]},"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"descriptionNode":"$L1d0"}],"requestBody":"$50:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$50:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/apple-pay/domains/unregister\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_1__\" \\\n -d '{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}'","templateHtml":"$1d1","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n};\nfetch(\"https://merchant.revolut.com/api/apple-pay/domains/unregister\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1d2","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/apple-pay/domains/unregister\"\n jsonData := []byte(`\n{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1d3","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/apple-pay/domains/unregister\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n}\npayload = {\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$1d4","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/apple-pay/domains/unregister\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$1d5","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/apple-pay/domains/unregister\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"domain\"\": \"\"revolut.com\"\",\n \"\"reason\"\": \"\"Unregister due to domain change.\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$1d6","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_1__\" \\\n -d '{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}'","templateHtml":"$1d7","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1d8","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister\"\n jsonData := []byte(`\n{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1d9","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n}\npayload = {\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$1da","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$1db","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/apple-pay/domains/unregister\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"domain\"\": \"\"revolut.com\"\",\n \"\"reason\"\": \"\"Unregister due to domain change.\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$1dc","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/apple-pay/domains/unregister","parameters":["$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L1dd"],"$L1de","$L1df"]}]]}]]}]}],false]}] 2e:["$","$5e","retrieve-payout-list",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"Payouts retrieved","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Permanent payout ID used for payouts operations.","descriptionNode":"$L1e0"},"state":{"type":"string","enum":"$2f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"The state of the payout.","descriptionNode":"$L1e1"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payout was created.","descriptionNode":"$L1e2"},"destination_type":{"type":"string","enum":"$2f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:destination_type:enum","description":"The destination of the payout funds when a merchant initiates a withdrawal from their merchant account.\n\n| Destination type | Description |\n| ---------------- | ----------- |\n| `current_pocket` | The funds were moved from the merchant account to the business account within the platform. This indicates an **internal transfer**, allowing the merchant to access the funds within their own business account. |\n| `external_beneficiary` | The funds were transferred to an external bank account or beneficiary outside the platform. This indicates a **transfer to an external account**, enabling the merchant to withdraw funds to external financial institutions. |","descriptionNode":"$L1e3"},"amount":{"type":"integer","minimum":1,"description":"The total amount of the payout in minor currency units. For example, `7034` represents €70.34.","descriptionNode":"$L1e4"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L1e5"}},"required":"$2f:props:children:0:props:children:props:responses:200:content:application/json:schema:required"}},"examples":{"default":{"value":[{"id":"a830020e-090c-4717-836d-37941a27ad12","state":"completed","created_at":"2024-02-27T00:16:39.079285Z","destination_type":"current_pocket","amount":50000,"currency":"GBP"},{"id":"66ffee42-7c4a-a15c-9a47-5dc67150386f","state":"processing","created_at":"2024-02-26T17:16:39.079285Z","destination_type":"external_beneficiary","amount":10000,"currency":"GBP"}]}}}},"descriptionNode":"$L1e6"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L1e7"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L1e8"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L1e9"}}},"examples":{"default":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1721049596461}}}}},"headers":{},"descriptionNode":"$L1ea"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L1eb"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L1ec"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L1ed"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$L1ee"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L1ef"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L1f0"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L1f1"}}}}},"descriptionNode":"$L1f2"}},"requestBody":"$undefined","variantLabels":[],"children":["$L1f3","$L1f4"]}]}],false]}] 120:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 121:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 122:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A ",["$","code","code-0",{"children":"webhook"}]," (also called a web callback) allows your system to receive an event from a different app immediately after it happens."]}],"\n",["$","p","p-1",{"children":"For example, you can subscribe to a webhook when an order changes from Pending to Completed. When the payment is cleared and the order is completed, Revolut servers will send a notification to the URL of your choice. This is a much more efficient way to know when an order is paid as opposed to trying to get the status of the order every few seconds."}],"\n",["$","p","p-2",{"children":"Many events that happen to a Revolut Merchant account are synchronous, which means that they arrive instantly and have immediate results. For example, a successful request to create a customer immediately returns a Customer object. Such requests don't require webhooks."}],"\n",["$","p","p-3",{"children":["The Revolut Merchant API supports webhooks for events such as ",["$","code","code-0",{"children":"ORDER_COMPLETED"}]," and ",["$","code","code-1",{"children":"ORDER_AUTHORISED"}],"."]}]]}] 123:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 124:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 139:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get a list of webhooks that you are currently subscribed to."}]]}] 13a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 193:"Register domain for Apple Pay" 1dd:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L1f5"}}}] 1de:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_request","label":"Example domain registration request for Apple Pay","rawValue":"$50:props:children:0:props:children:props:requestBody:content:application/json:examples:example_request:value","block":"$L1f6"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1df:["$","$Lb1",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"error_message","label":"Error message","rawValue":"$50:props:children:0:props:children:props:responses:400:content:application/json:examples:error_message:value","block":"$L1f7"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 1f3:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-payout-list","children":[["$L1f8","$undefined"],["$","$L15",null,{"id":"retrieve-payout-list"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-payout-list.md"}]]}]}],"$undefined"]}] 201:T442,
curl -X GET "https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__" \
  -H "Authorization: __RP_TOK_5__" \
  -H "Revolut-Api-Version: __RP_TOK_6__"
202:Ta50,
fetch("https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_5__",
    "Revolut-Api-Version": "__RP_TOK_6__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
203:Tfed,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_5__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_6__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
204:T862,
import requests

url = "https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"
headers = {
  "Authorization": "__RP_TOK_5__",
  "Revolut-Api-Version": "__RP_TOK_6__"
}

response = requests.get(url, headers=headers)
print(response.json())
205:T178e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"))
      .header("Authorization", "__RP_TOK_5__")
      .header("Revolut-Api-Version", "__RP_TOK_6__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
206:T1638,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_5__" },
    { "Revolut-Api-Version", "__RP_TOK_6__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
207:T44a,
curl -X GET "https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__" \
  -H "Authorization: __RP_TOK_5__" \
  -H "Revolut-Api-Version: __RP_TOK_6__"
208:Ta58,
fetch("https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_5__",
    "Revolut-Api-Version": "__RP_TOK_6__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
209:Tff5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_5__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_6__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
20a:T86a,
import requests

url = "https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"
headers = {
  "Authorization": "__RP_TOK_5__",
  "Revolut-Api-Version": "__RP_TOK_6__"
}

response = requests.get(url, headers=headers)
print(response.json())
20b:T1796,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"))
      .header("Authorization", "__RP_TOK_5__")
      .header("Revolut-Api-Version", "__RP_TOK_6__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
20c:T1640,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_5__" },
    { "Revolut-Api-Version", "__RP_TOK_6__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1f4:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1f9",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L1fa"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$16e:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$16e:props:children:0:props:children:1:props:parameters:1:schema:examples"},"required":true,"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\nIf not specified, you will receive an error.\n\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"example":"2023-09-01","descriptionNode":"$L1fb"},{"name":"currency","in":"query","schema":{"type":"string","minLength":3,"maxLength":3},"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L1fc"},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":500},"description":"The maximum number of payouts returned per page. Used for **pagination**.","descriptionNode":"$L1fd"},{"name":"from_created_date","in":"query","schema":{"type":"string","format":"date-time"},"description":"Retrieve all payouts with a `created_date` ≥ `from_created_date`. Used for **filtering**.\n\nUse the [ISO date format](https://en.wikipedia.org/wiki/ISO_8601): `yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z`. For example, `2021-02-10T16:59:50.886826Z`.","descriptionNode":"$L1fe"},{"name":"to_created_date","in":"query","schema":{"type":"string","format":"date-time"},"description":"Retrieve all payouts with a `created_date` ≤ `to_created_date`. Used for **filtering**.\n\nUse the [ISO date format](https://en.wikipedia.org/wiki/ISO_8601): `yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z`. For example, `2021-02-10T16:59:50.886826Z`.","descriptionNode":"$L1ff"},{"name":"state","in":"query","schema":{"type":"array","items":{"type":"string","enum":["processing","completed","failed"]}},"style":"form","explode":true,"description":"Retrieve all payouts with specific states. You can pass several states. Used for **filtering**.\n\nIf multiple states are selected, for example `completed` and `processing`, payouts with either of the selected values are returned. See this example of such a request URL: \n\n```curl\nhttps://merchant.revolut.com/api/payouts?state=completed&state=processing\n```\n\nThe parameter is case sensitive.","descriptionNode":"$L200"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$2e:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\" \\\n -H \"Authorization: __RP_TOK_5__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_6__\"","templateHtml":"$201","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_5__\",\n \"Revolut-Api-Version\": \"__RP_TOK_6__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$202","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_5__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_6__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$203","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_5__\",\n \"Revolut-Api-Version\": \"__RP_TOK_6__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$204","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"))\n .header(\"Authorization\", \"__RP_TOK_5__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_6__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$205","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_5__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_6__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$206","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\" \\\n -H \"Authorization: __RP_TOK_5__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_6__\"","templateHtml":"$207","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_5__\",\n \"Revolut-Api-Version\": \"__RP_TOK_6__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$208","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_5__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_6__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$209","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_5__\",\n \"Revolut-Api-Version\": \"__RP_TOK_6__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$20a","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"))\n .header(\"Authorization\", \"__RP_TOK_5__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_6__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$20b","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/payouts?currency=__RP_TOK_0__&limit=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&state=__RP_TOK_4__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_5__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_6__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$20c","tokens":[{"marker":"__RP_TOK_0__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:currency":"aaa","query:limit":"1","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:state":"[]"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/payouts","parameters":["$1f4:props:children:0:props:children:1:props:parameters:0","$1f4:props:children:0:props:children:1:props:parameters:1","$1f4:props:children:0:props:children:1:props:parameters:2","$1f4:props:children:0:props:children:1:props:parameters:3","$1f4:props:children:0:props:children:1:props:parameters:4","$1f4:props:children:0:props:children:1:props:parameters:5","$1f4:props:children:0:props:children:1:props:parameters:6"]}],"$L20d"],"$L20e","$L20f"]}]]}] 1af:"Retrieve a synchronous webhook list" 149:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of a specific webhook."}]]}] 14a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 14b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 14c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 15a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent payout ID used for payouts operations."}]]}] 15b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the payout."}]]}] 15c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payout was created."}]]}] 15d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The destination of the payout funds when a merchant initiates a withdrawal from their merchant account."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Destination type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"current_pocket"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The funds were moved from the merchant account to the business account within the platform. This indicates an ",["$","strong","strong-0",{"children":"internal transfer"}],", allowing the merchant to access the funds within their own business account."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"external_beneficiary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The funds were transferred to an external bank account or beneficiary outside the platform. This indicates a ",["$","strong","strong-0",{"children":"transfer to an external account"}],", enabling the merchant to withdraw funds to external financial institutions."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 15e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The total amount of the payout in minor currency units. For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}]]}] 15f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 160:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payout retrieved"}]]}] 161:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 162:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 163:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 164:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 165:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 166:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 167:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 168:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 16f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L210","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 171:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L211","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 169:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 16a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 16b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 16c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 176:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the details of a payout. Provide the unique payout ID, and the corresponding payout information is returned."}]]}] 177:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 178:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","p","p-1",{"children":"If not specified, you will receive an error."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 179:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 17a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Payout"}]," object."]}]]}] 20d:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L212"}}}] 20e:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 20f:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2e:props:children:0:props:children:props:responses:201:content:application/json:examples:default:value","block":"$L213"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2e:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L214"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$2e:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L215"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L216"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 23:["$","$5e","retrieve-all-customers-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"title":"Customer","type":"object","description":"","properties":{"id":{"type":"string","description":"Permanent customer ID used to retrieve, update, and delete a customer.","descriptionNode":"$L217"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L218"},"business_name":{"type":"string","description":"The name of the customer's business.","descriptionNode":"$L219"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L21a"},"created_at":{"type":"string","description":"The date and time the customer was created.","format":"date-time","descriptionNode":"$L21b"},"updated_at":{"type":"string","description":"The data and time the customer was last updated.","format":"date-time","descriptionNode":"$L21c"},"email":{"type":"string","description":"The email address of the customer.","format":"email","descriptionNode":"$L21d"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L21e"}},"required":["id","created_at","updated_at","email"]}},"examples":{"list_of_customers":{"summary":"List of customers","value":[{"id":"9dfb8491-bfb0-4420-ad63-0fa7bdd3dffb","full_name":"First Customer","email":"first.customer@example.com","date_of_birth":"1990-01-01","created_at":"2020-06-24T12:12:56.596703Z","updated_at":"2020-06-24T12:12:56.737082Z"},{"id":"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae","full_name":"Second Customer","business_name":"Second Business","email":"second.customer@example.com","phone":"+441234567890","created_at":"2020-06-24T12:03:39.979397Z","updated_at":"2020-06-25T10:03:39.134417Z"},{"id":"014f0ad6-c45b-4d7d-83c6-80eea94fceac","full_name":"Third Customer","email":"third.customer@example.com","phone":"+441234567890","created_at":"2020-06-23T14:13:08.262336Z","updated_at":"2020-06-24T10:47:11.173027Z"}]}}}},"descriptionNode":"$L21f"},"401":{"description":"Unauthorized","descriptionNode":"$L220"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-all-customers-deprecated","children":[["$L221",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"retrieve-all-customers-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-all-customers-deprecated.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L222",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L223"},{"schema":{"type":"integer","default":100,"minimum":1,"maximum":100},"in":"query","name":"limit","description":"The maximum number of customers returned per page. Used for **pagination**.","descriptionNode":"$L224"},{"schema":{"type":"integer","default":0,"minimum":0},"in":"query","name":"page","description":"A zero-based page index for the paginated results, used in conjunction with `limit`.","descriptionNode":"$L225"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$23:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":"$L226"}]]}]]}]}],false]}] b2:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] b4:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] b5:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] b7:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] b8:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 189:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L227","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 18e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain registered successfully"}]]}] 18f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 190:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Human readable text describing what went wrong."}]]}] 191:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 192:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Domain name of your website without the scheme (i.e. without ",["$","code","code-0",{"children":"http://"}]," or ",["$","code","code-1",{"children":"https://"}],")."]}]]}] 194:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Register your website's domain to accept payments via Apple Pay."}],"\n",["$","p","p-1",{"children":"Before you call this endpoint, make sure that you have completed the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Download the latest ",["$","a","a-0",{"href":"https://assets.revolut.com/api-docs/merchant-api/files/apple-developer-merchantid-domain-association","target":"_blank","rel":"noreferrer","children":"domain validation file"}],"."]}],"\n",["$","li","li-1",{"children":["Upload the domain validation file to your website in the following folder ",["$","code","code-0",{"children":"/.well-known/"}],". For example, if your website is ",["$","code","code-1",{"children":"example.com"}],", the file should be available on ",["$","code","code-2",{"children":"example.com/.well-known/apple-developer-merchantid-domain-association"}],", where ",["$","code","code-3",{"children":"apple-developer-merchantid-domain-association"}]," indicates the name of the file."]}],"\n"]}]]}] 195:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 1cd:"Unregister domain for Apple Pay" 228:T8cf,
fetch("https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
229:Tdb7,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
22a:T6e3,
import requests

url = "https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
22b:T155b,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
22c:T147b,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
22d:T8d7,
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
22e:Tdbf,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
22f:T6eb,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
230:T1563,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
231:T1483,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
226:[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$228","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$229","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$22a","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$22b","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$22c","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$22d","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$22e","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$22f","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$230","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers?limit=__RP_TOK_0__&page=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$231","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:page":"0"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers","parameters":["$23:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$23:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1","$23:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:2"]}],"$L232"],"$L233","$L234"] 1a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the synchronous webhook object."}]]}] 1a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A randomly generated signing key, which can be used by merchants to authenticate requests from Revolut by verifying the signature. For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Payload Signature"}],"."]}]]}] 1a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The valid URL of the endpoint, that uses HTTPS URL schema. Revolut sends the shipping address of the customer to this URL for validation."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be ",["$","code","code-0",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 1a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of event this synchronous webhook is configured for."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"At the moment, synchronous webhooks only support address validation events."}]}]]}]]}] 1a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 1aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Synchronous webhook list returned"}]]}] 1ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 1ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 1ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 1ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 237:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|3a:["$","$5e","rotate-webhook-signing-secret-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Webhook with signing secret","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L235"},"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L236"},"events":{"type":"array","description":"$237","items":{"type":"string","description":"The available event types your can listen to.","enum":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:events:items:enum","descriptionNode":"$L238"},"minItems":1,"descriptionNode":"$L239"},"signing_secret":{"type":"string","description":"The signing secret for the webhook. Use it to verify the signature for the webhook request's payload.","descriptionNode":"$L23a"}},"required":"$37:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"updated_webhook":{"summary":"Updated webhook","value":{"id":"c6b981f4-53b3-47d5-9b24-4f87af1160eb","url":"http://business.revolut.com","events":["ORDER_COMPLETED"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT6aG"}}}}},"descriptionNode":"$L23b"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L23c"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L23d"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L23e"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L23f"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L240"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L241"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L242"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L243"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L244"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"expiration_period":{"type":"string","format":"duration","description":"The expiration period of the signing secret in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Durations). \n\nIf defined, when the signing secret is rotated, it continues to be valid until the expiration period passes.\n\nOtherwise, it is invalidated immediately.\n\nMaximum expiration period is 7 days.","examples":["PT5H30M"],"descriptionNode":"$L245"}}},"examples":{"webhook_signing_secret_rotate_request":{"summary":"Webhook signing secret rotation request","value":{"expiration_period":"PT5H30M"}}}}}},"variantLabels":[],"children":["$L246","$L247"]}]}],false]}] ea:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] eb:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] ed:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 1b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L248","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 1b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve a list of synchronous webhook objects."}],"\n",["$","p","p-1",{"children":"You can use this endpoint to see your different address validation endpoints registered to different locations."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about locations, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Merchant API: Locations"}],"."]}]}]]}]]}] 1b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 1f8:"Retrieve a payout list" 232:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L249"}}}] 233:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 234:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_customers","label":"List of customers","rawValue":"$23:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_customers:value","block":"$L24a"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 246:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"rotate-webhook-signing-secret-deprecated","children":[["$L24b",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"rotate-webhook-signing-secret-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/rotate-webhook-signing-secret-deprecated.md"}]]}]}],"$undefined"]}] 250:T570,
curl -X POST "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "expiration_period": "PT5H30M"
}'
251:Td81,
const payload = {
  "expiration_period": "PT5H30M"
};
fetch("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
252:T1468,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"
  jsonData := []byte(`
{
  "expiration_period": "PT5H30M"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
253:Tab7,
import requests

url = "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "expiration_period": "PT5H30M"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
254:T19cf,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "expiration_period": "PT5H30M"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
255:T1c2d,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""expiration_period"": ""PT5H30M""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
256:T578,
curl -X POST "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "expiration_period": "PT5H30M"
}'
257:Td89,
const payload = {
  "expiration_period": "PT5H30M"
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
258:T1470,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"
  jsonData := []byte(`
{
  "expiration_period": "PT5H30M"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
259:Tabf,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "expiration_period": "PT5H30M"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
25a:T19d7,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "expiration_period": "PT5H30M"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
25b:T1c35,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""expiration_period"": ""PT5H30M""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
247:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L24c",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L24d"},{"name":"webhook_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L24e"},"required":true,"description":"The ID of the webhook.","descriptionNode":"$L24f"}],"requestBody":"$3a:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$3a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"expiration_period\": \"PT5H30M\"\n}'","templateHtml":"$250","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"expiration_period\": \"PT5H30M\"\n};\nfetch(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$251","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\n jsonData := []byte(`\n{\n \"expiration_period\": \"PT5H30M\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$252","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"expiration_period\": \"PT5H30M\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$253","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"expiration_period\": \"PT5H30M\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$254","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"expiration_period\"\": \"\"PT5H30M\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$255","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"expiration_period\": \"PT5H30M\"\n}'","templateHtml":"$256","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"expiration_period\": \"PT5H30M\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$257","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\n jsonData := []byte(`\n{\n \"expiration_period\": \"PT5H30M\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$258","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"expiration_period\": \"PT5H30M\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$259","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"expiration_period\": \"PT5H30M\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$25a","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"expiration_period\"\": \"\"PT5H30M\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$25b","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/webhooks/{webhook_id}/rotate-signing-secret","parameters":["$247:props:children:0:props:children:1:props:parameters:0","$247:props:children:0:props:children:1:props:parameters:1"]}],"$L25c"],"$L25d","$L25e"]}]]}] 49:["$","$5e","retrieve-terminal-list",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Terminals response","type":"object","description":"Response containing a list of terminals.","properties":{"terminals":{"type":"array","description":"List of terminal devices.","items":{"title":"Terminal","type":"object","description":"Represents a Revolut Terminal device.","properties":{"id":{"title":"Terminal ID","type":"string","format":"uuid","description":"The unique identifier of the terminal.","descriptionNode":"$L25f"},"name":{"title":"Terminal name","type":"string","description":"The name of the terminal device.","descriptionNode":"$L260"},"type":{"title":"Terminal type","type":"string","description":"The hardware type/model of the terminal device.","enum":["youtransactor_ucube_touch","newland_n950","newland_n750","newland_r25p"],"descriptionNode":"$L261"},"serial_number":{"title":"Terminal serial number","type":"string","description":"The serial number of the terminal device.","examples":["RT-00123456"],"descriptionNode":"$L262"},"battery_level":{"title":"Terminal battery level","type":"integer","description":"The current battery level of the terminal as a percentage (0-100).","minimum":0,"maximum":100,"descriptionNode":"$L263"},"online":{"title":"Terminal online status","type":"boolean","description":"Indicates whether the terminal is currently online and connected.\n\n| Value | Description |\n|-------|-------------|\n| `true` | Terminal is online and available |\n| `false` | Terminal is offline |","descriptionNode":"$L264"},"last_online_at":{"title":"Terminal last online timestamp","type":"string","format":"date-time","description":"The date and time when the terminal was last seen online.","descriptionNode":"$L265"}},"required":["id","name","type","serial_number","battery_level","online","last_online_at"],"descriptionNode":"$L266"},"descriptionNode":"$L267"}},"required":["terminals"],"descriptionNode":"$L268"},"examples":{"terminals_list":{"summary":"List of terminals at a location","value":{"terminals":[{"id":"0e53f673-7705-473a-a263-89a3e7647c3d","name":"Terminal 1","type":"newland_n950","serial_number":"RT-00123456","battery_level":85,"online":true,"last_online_at":"2025-01-15T14:30:00Z"},{"id":"a7b2c8d1-4e5f-6a7b-8c9d-0e1f2a3b4c5d","name":"Terminal 2","type":"newland_n950","serial_number":"RT-00123457","battery_level":92,"online":true,"last_online_at":"2025-01-15T14:32:00Z"}]}}}}},"descriptionNode":"$L269"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L26a"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L26b"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L26c"}}}}},"descriptionNode":"$L26d"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L26e"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L26f"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L270"}}}}},"descriptionNode":"$L271"}},"requestBody":"$undefined","variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-terminal-list","children":[["$L272","$undefined"],["$","$L15",null,{"id":"retrieve-terminal-list"}]]}],"$L273"]}]}],"$undefined"]}],"$L274"]}]}],false]}] 4c:["$","$5e","retrieve-payment-intent",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Payment Intent","type":"object","description":"Represents a payment intent that has been pushed to a Revolut Terminal device.\n\nWhen the payment intent reaches `completed` state, it includes a `payment_id` that can be used to [retrieve the final payment status](https://developer.revolut.com/docs/api/merchant#retrieve-payment-details).","properties":{"id":{"title":"Payment Intent ID","type":"string","format":"uuid","description":"The unique identifier of the payment intent.","descriptionNode":"$L275"},"state":{"type":"string","description":"The current state of the payment intent.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Payment intent created and sent to terminal, customer has not yet started interacting |\n| `processing` | Customer is actively interacting with the terminal (e.g., inserting card, entering PIN) |\n| `completed` | Payment authorization is complete, includes a `payment_id` in the response |\n| `cancelled` | Payment intent was cancelled (by system or customer) |\n| `failed` | Payment intent failed due to technical issues (timeout, terminal unavailable, network error) |","enum":["pending","processing","completed","cancelled","failed"],"descriptionNode":"$L276"},"terminal_id":{"title":"Terminal ID","type":"string","format":"uuid","description":"The unique identifier of the terminal.","descriptionNode":"$L277"},"order_id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L278"},"payment_id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L279"},"amount":{"title":"Payment Intent amount","type":"integer","description":"The payment amount expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L27a"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L27b"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment intent was created.","descriptionNode":"$L27c"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment intent was last updated.","descriptionNode":"$L27d"}},"required":["id","order_id","state","amount","currency","terminal_id","created_at","updated_at"],"descriptionNode":"$L27e"},"examples":{"payment_intent_pending":{"summary":"Payment intent pending","value":{"id":"b4d58add-b3fe-40e4-a70a-8c78df977888","state":"pending","order_id":"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4","amount":2500,"currency":"GBP"}},"payment_intent_processing":{"summary":"Payment intent processing","value":{"id":"b4d58add-b3fe-40e4-a70a-8c78df977888","order_id":"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4","state":"processing","amount":2500,"currency":"GBP","terminal_id":"0e53f673-7705-473a-a263-89a3e7647c3d","created_at":"2025-01-15T11:01:00Z","updated_at":"2025-01-15T11:02:15Z"}},"payment_intent_completed":{"summary":"Payment intent completed","value":{"id":"b4d58add-b3fe-40e4-a70a-8c78df977888","state":"completed","terminal_id":"0e53f673-7705-473a-a263-89a3e7647c3d","order_id":"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4","payment_id":"7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d","amount":2500,"currency":"GBP","created_at":"2025-01-15T11:01:00Z","updated_at":"2025-01-15T11:02:30Z"}},"payment_intent_cancelled":{"summary":"Payment intent cancelled","value":{"id":"b4d58add-b3fe-40e4-a70a-8c78df977888","state":"cancelled","terminal_id":"0e53f673-7705-473a-a263-89a3e7647c3d","order_id":"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4","amount":2500,"currency":"GBP","created_at":"2025-01-15T11:01:00Z","updated_at":"2025-01-15T11:01:45Z"}},"payment_intent_failed":{"summary":"Payment intent failed","value":{"id":"b4d58add-b3fe-40e4-a70a-8c78df977888","state":"failed","terminal_id":"0e53f673-7705-473a-a263-89a3e7647c3d","order_id":"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4","amount":2500,"currency":"GBP","created_at":"2025-01-15T11:01:00Z","updated_at":"2025-01-15T11:03:00Z"}}}}},"descriptionNode":"$L27f"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L280"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L281"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L282"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L283"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L284"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L285"}},"requestBody":"$undefined","variantLabels":["Payment intent pending","Payment intent processing","Payment intent completed","Payment intent cancelled","Payment intent failed"],"children":["$L286","$L287"]}]}],false]}] 4d:["$","$5e","cancel-payment-intent",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Payment intent cancelled","content":{"application/json":{"schema":{"title":"Payment Intent","type":"object","description":"Represents a payment intent that has been pushed to a Revolut Terminal device.\n\nWhen the payment intent reaches `completed` state, it includes a `payment_id` that can be used to [retrieve the final payment status](https://developer.revolut.com/docs/api/merchant#retrieve-payment-details).","properties":{"id":{"title":"Payment Intent ID","type":"string","format":"uuid","description":"The unique identifier of the payment intent.","descriptionNode":"$L288"},"state":{"type":"string","description":"The current state of the payment intent.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Payment intent created and sent to terminal, customer has not yet started interacting |\n| `processing` | Customer is actively interacting with the terminal (e.g., inserting card, entering PIN) |\n| `completed` | Payment authorization is complete, includes a `payment_id` in the response |\n| `cancelled` | Payment intent was cancelled (by system or customer) |\n| `failed` | Payment intent failed due to technical issues (timeout, terminal unavailable, network error) |","enum":"$4c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$L289"},"terminal_id":{"title":"Terminal ID","type":"string","format":"uuid","description":"The unique identifier of the terminal.","descriptionNode":"$L28a"},"order_id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L28b"},"payment_id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L28c"},"amount":{"title":"Payment Intent amount","type":"integer","description":"The payment amount expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L28d"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L28e"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment intent was created.","descriptionNode":"$L28f"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment intent was last updated.","descriptionNode":"$L290"}},"required":"$4c:props:children:0:props:children:props:responses:200:content:application/json:schema:required","descriptionNode":"$L291"},"examples":{"payment_intent_cancelled":{"summary":"Payment intent cancelled","value":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_cancelled:value"}}}},"descriptionNode":"$L292"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L293"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L294"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L295"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L296"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L297"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L298"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L299"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L29a"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L29b"}},"requestBody":"$undefined","variantLabels":[],"children":["$L29c","$L29d"]}]}],false]}] 1c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L29e","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 1c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain ungistered successfully"}]]}] 1c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 1c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Human readable text describing what went wrong."}]]}] 1ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 1cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Domain name of your website without the scheme (i.e. without ",["$","code","code-0",{"children":"http://"}]," or ",["$","code","code-1",{"children":"https://"}],")."]}]]}] 1cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A short explanation why you remove the domain."}]]}] 1ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unregister your website from Apple Pay's registered domains."}]]}] 1cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 1d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 221:"Retrieve a customer list (Deprecated)" 25c:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L29f"}}}] 25d:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"webhook_signing_secret_rotate_request","label":"Webhook signing secret rotation request","rawValue":"$3a:props:children:0:props:children:props:requestBody:content:application/json:examples:webhook_signing_secret_rotate_request:value","block":"$L2a0"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 25e:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"updated_webhook","label":"Updated webhook","rawValue":"$3a:props:children:0:props:children:props:responses:200:content:application/json:examples:updated_webhook:value","block":"$L2a1"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L2a2"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L2a3"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L2a4"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 273:["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-terminal-list.md"}] 2ac:Ta00,
fetch("https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__",
    "Revolut-Api-Version": "__RP_TOK_3__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2ad:Tf9d,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_3__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
2ae:T812,
import requests

url = "https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__",
  "Revolut-Api-Version": "__RP_TOK_3__"
}

response = requests.get(url, headers=headers)
print(response.json())
2af:T173e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .header("Revolut-Api-Version", "__RP_TOK_3__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2b0:T15e8,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
    { "Revolut-Api-Version", "__RP_TOK_3__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2b1:Ta08,
fetch("https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__",
    "Revolut-Api-Version": "__RP_TOK_3__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2b2:Tfa5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_3__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
2b3:T81a,
import requests

url = "https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__",
  "Revolut-Api-Version": "__RP_TOK_3__"
}

response = requests.get(url, headers=headers)
print(response.json())
2b4:T1746,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .header("Revolut-Api-Version", "__RP_TOK_3__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2b5:T15f0,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
    { "Revolut-Api-Version", "__RP_TOK_3__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
274:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L2a5",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L2a6"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:examples"},"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"descriptionNode":"$L2a7"},{"name":"operation_mode","in":"query","required":false,"explode":true,"description":"Filter terminals by operation mode.\n\n| Value | Description |\n|-------|-------------|\n| `pos` | Returns only terminals in Pay at Counter mode |\n| `payment_acceptance` | Returns only terminals in standard checkout mode |","schema":{"title":"Terminal operation mode","type":"string","description":"The operation mode of the terminal.\n\n | Value | Description |\n|-------|-------------|\n| `pos` | Returns only terminals in Pay at Counter mode |\n| `payment_acceptance` | Returns only terminals in standard checkout mode |","enum":["pos","payment_acceptance"],"descriptionNode":"$L2a8"},"descriptionNode":"$L2a9"},{"name":"location_id","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L2aa"},"in":"query","required":false,"description":"Filter results by location ID.","descriptionNode":"$L2ab"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$49:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_3__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_3__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\",\n \"Revolut-Api-Version\": \"__RP_TOK_3__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2ac","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_3__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2ad","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\",\n \"Revolut-Api-Version\": \"__RP_TOK_3__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$2ae","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_3__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$2af","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_3__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$2b0","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_3__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_3__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\",\n \"Revolut-Api-Version\": \"__RP_TOK_3__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2b1","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_3__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2b2","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\",\n \"Revolut-Api-Version\": \"__RP_TOK_3__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$2b3","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_3__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$2b4","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/terminals?operation_mode=__RP_TOK_0__&location_id=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_3__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$2b5","tokens":[{"marker":"__RP_TOK_0__","paramName":"operation_mode","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"location_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","query:operation_mode":"pos","query:location_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/terminals","parameters":["$274:props:children:0:props:children:1:props:parameters:0","$274:props:children:0:props:children:1:props:parameters:1","$274:props:children:0:props:children:1:props:parameters:2","$274:props:children:0:props:children:1:props:parameters:3"]}],"$L2b6"],"$L2b7","$L2b8"]}]]}] 286:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-payment-intent","children":[["$L2b9","$undefined"],["$","$L15",null,{"id":"retrieve-payment-intent"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-payment-intent.md"}]]}]}],"$undefined"]}] 2bf:T9d9,
fetch("https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2c0:Tf76,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
2c1:T7eb,
import requests

url = "https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
2c2:T1717,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2c3:T15c1,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2c4:T9e1,
fetch("https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2c5:Tf7e,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
2c6:T7f3,
import requests

url = "https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
2c7:T171f,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2c8:T15c9,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
287:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L2ba",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L2bb"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:examples"},"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"descriptionNode":"$L2bc"},{"name":"payment_intent_id","in":"path","required":true,"description":"The unique identifier of the payment intent.","schema":{"title":"Payment Intent ID","type":"string","format":"uuid","description":"The unique identifier of the payment intent.","descriptionNode":"$L2bd"},"descriptionNode":"$L2be"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$4c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2bf","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2c0","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$2c1","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$2c2","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$2c3","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2c4","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2c5","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$2c6","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$2c7","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$2c8","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/payment-intents/{payment_intent_id}","parameters":["$287:props:children:0:props:children:1:props:parameters:0","$287:props:children:0:props:children:1:props:parameters:1","$287:props:children:0:props:children:1:props:parameters:2"]}],"$L2c9"],"$L2ca","$L2cb"]}]]}] 29c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"cancel-payment-intent","children":[["$L2cc","$undefined"],["$","$L15",null,{"id":"cancel-payment-intent"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/cancel-payment-intent.md"}]]}]}],"$undefined"]}] 2d2:T9e1,
fetch("https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel", {
  method: "POST",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2d3:Tf7e,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
2d4:T7f3,
import requests

url = "https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.post(url, headers=headers)
print(response.json())
2d5:T171f,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2d6:T15c9,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2d7:T9e9,
fetch("https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel", {
  method: "POST",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2d8:Tf86,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
2d9:T7fb,
import requests

url = "https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.post(url, headers=headers)
print(response.json())
2da:T1727,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2db:T15d1,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
29d:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L2cd",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L2ce"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:examples"},"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"descriptionNode":"$L2cf"},{"name":"payment_intent_id","in":"path","required":true,"description":"The unique identifier of the payment intent.","schema":{"title":"Payment Intent ID","type":"string","format":"uuid","description":"The unique identifier of the payment intent.","descriptionNode":"$L2d0"},"descriptionNode":"$L2d1"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$4d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X POST \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2d2","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2d3","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$2d4","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$2d5","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$2d6","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X POST \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2d7","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2d8","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$2d9","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$2da","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/payment-intents/__RP_TOK_0__/cancel\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$2db","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_intent_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:payment_intent_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/payment-intents/{payment_intent_id}/cancel","parameters":["$29d:props:children:0:props:children:1:props:parameters:0","$29d:props:children:0:props:children:1:props:parameters:1","$29d:props:children:0:props:children:1:props:parameters:2"]}],"$L2dc"],"$L2dd","$L2de"]}]]}] 1e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent payout ID used for payouts operations."}]]}] 1e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the payout."}]]}] 1e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payout was created."}]]}] 1e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The destination of the payout funds when a merchant initiates a withdrawal from their merchant account."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Destination type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"current_pocket"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The funds were moved from the merchant account to the business account within the platform. This indicates an ",["$","strong","strong-0",{"children":"internal transfer"}],", allowing the merchant to access the funds within their own business account."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"external_beneficiary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The funds were transferred to an external bank account or beneficiary outside the platform. This indicates a ",["$","strong","strong-0",{"children":"transfer to an external account"}],", enabling the merchant to withdraw funds to external financial institutions."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The total amount of the payout in minor currency units. For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}]]}] 1e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 1e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payouts retrieved"}]]}] 1e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 1e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 1e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 1ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 1eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 1ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 1ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 1ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 2e1:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|2f0:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|38:["$","$5e","update-webhook-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Webhook","type":"object","description":"A `webhook` (also called a web callback) allows your system to receive an event from a different app immediately after it happens. \n\nFor example, you can subscribe to a webhook when an order changes from Pending to Completed. When the payment is cleared and the order is completed, Revolut servers will send a notification to the URL of your choice. This is a much more efficient way to know when an order is paid as opposed to trying to get the status of the order every few seconds.\n\nMany events that happen to a Revolut Merchant account are synchronous, which means that they arrive instantly and have immediate results. For example, a successful request to create a customer immediately returns a Customer object. Such requests don't require webhooks.\n\nThe Revolut Merchant API supports webhooks for events such as `ORDER_COMPLETED` and `ORDER_AUTHORISED`.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L2df"},"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L2e0"},"events":{"type":"array","description":"$2e1","items":{"type":"string","description":"The available event types your can listen to.","enum":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:events:items:enum","descriptionNode":"$L2e2"},"minItems":1,"descriptionNode":"$L2e3"}},"required":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","descriptionNode":"$L2e4"},"examples":{"updated_webhook":{"summary":"Updated webhook","value":{"id":"c6b981f4-53b3-47d5-9b24-4f87af1160eb","url":"http://business.revolut.com","events":["ORDER_COMPLETED"]}}}}},"descriptionNode":"$L2e5"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L2e6"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L2e7"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L2e8"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L2e9"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L2ea"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L2eb"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L2ec"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L2ed"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L2ee"}},"requestBody":{"content":{"application/json":{"schema":{"title":"Webhook schema for creation and update operations","type":"object","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L2ef"},"events":{"type":"array","description":"$2f0","items":{"type":"string","description":"The available event types your can listen to.","enum":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:events:items:enum","descriptionNode":"$L2f1"},"minItems":1,"descriptionNode":"$L2f2"}},"required":["url","events"]},"examples":{"webhook_update_request":{"summary":"Webhook update request","value":{"url":"http://business.revolut.com","events":["ORDER_COMPLETED"]}}}}}},"variantLabels":[],"children":["$L2f3","$L2f4"]}]}],false]}] 114:["$","div","200-application/json-report_run_processing",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n  \"status\": \"processing\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n \"status\": \"processing\"\n}"}]}]]}] 2f5:T4ca,
{
  "report_run_id": "d6f6ef64-f668-4e64-8967-1cdf8afb2561",
  "status": "completed",
  "file_url": "https://merchant.revolut.com/api/report-runs/d6f6ef64-f668-4e64-8967-1cdf8afb2561/file"
}
115:["$","div","200-application/json-report_run_completed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$2f5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n \"status\": \"completed\",\n \"file_url\": \"https://merchant.revolut.com/api/report-runs/d6f6ef64-f668-4e64-8967-1cdf8afb2561/file\"\n}"}]}]]}] 116:["$","div","200-application/json-report_run_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n  \"status\": \"expired\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n \"status\": \"expired\"\n}"}]}]]}] 2f6:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
117:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$2f6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 2f7:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
118:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$2f7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 2f8:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
119:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$2f8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 1f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L2f9","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 1ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 1f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 1f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 1f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 1f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve all the payouts you made from your Merchant account. You can also use the query parameters for:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Filtering","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Pagination","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["Filter the orders that you want to retrieve, for example, only retrieve the orders that have a specific email. ",["$","br","br-0",{}],["$","br","br-1",{}],"Parameters used for filtering:",["$","br","br-2",{}],["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"from_created_date"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"to_created_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"currency"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"state"}]}]]}]],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["View the orders without loading all of them at once, for example, return a specified number of orders per page. ",["$","br","br-0",{}],["$","br","br-1",{}],"Parameters used for pagination: ",["$","br","br-2",{}],["$","ul","ul-0",{"children":["$","li","li-0",{"children":["$","code","code-0",{"children":"limit"}]}]}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 1fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","p","p-1",{"children":"If not specified, you will receive an error."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 1fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 1fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The maximum number of payouts returned per page. Used for ",["$","strong","strong-0",{"children":"pagination"}],"."]}]]}] 1fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all payouts with a ",["$","code","code-0",{"children":"created_date"}]," ≥ ",["$","code","code-1",{"children":"from_created_date"}],". Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":["Use the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO date format"}],": ",["$","code","code-0",{"children":"yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z"}],". For example, ",["$","code","code-1",{"children":"2021-02-10T16:59:50.886826Z"}],"."]}]]}] 1ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all payouts with a ",["$","code","code-0",{"children":"created_date"}]," ≤ ",["$","code","code-1",{"children":"to_created_date"}],". Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":["Use the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO date format"}],": ",["$","code","code-0",{"children":"yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z"}],". For example, ",["$","code","code-1",{"children":"2021-02-10T16:59:50.886826Z"}],"."]}]]}] 200:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all payouts with specific states. You can pass several states. Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":["If multiple states are selected, for example ",["$","code","code-0",{"children":"completed"}]," and ",["$","code","code-1",{"children":"processing"}],", payouts with either of the selected values are returned. See this example of such a request URL:"]}],"\n","$L2fa","\n",["$","p","p-2",{"children":"The parameter is case sensitive."}]]}] 2b6:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L2fb"}}}] 2b7:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 2b8:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"terminals_list","label":"List of terminals at a location","rawValue":"$49:props:children:0:props:children:props:responses:200:content:application/json:examples:terminals_list:value","block":"$L2fc"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L2fd"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L2fe"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2c9:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L2ff"}}}] 2ca:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 2cb:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"payment_intent_pending","label":"Payment intent pending","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_pending:value","block":"$L300"},{"key":"payment_intent_processing","label":"Payment intent processing","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_processing:value","block":"$L301"},{"key":"payment_intent_completed","label":"Payment intent completed","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_completed:value","block":"$L302"},{"key":"payment_intent_cancelled","label":"Payment intent cancelled","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_cancelled:value","block":"$L303"},{"key":"payment_intent_failed","label":"Payment intent failed","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_failed:value","block":"$L304"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L305"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L306"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2dc:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L307"}}}] 2dd:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 2de:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"payment_intent_cancelled","label":"Payment intent cancelled","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_cancelled:value","block":"$L308"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L309"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L30a"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L30b"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2f3:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-webhook-deprecated","children":[["$L30c",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"update-webhook-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/update-webhook-deprecated.md"}]]}]}],"$undefined"]}] 311:T67e,
curl -X PUT "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}'
312:Teff,
const payload = {
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
};
fetch("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "PUT",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
313:T1576,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  jsonData := []byte(`
{
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}
  `)
  req, _ := http.NewRequest("PUT", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
314:Tc35,
import requests

url = "https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}

response = requests.put(url, headers=headers, json=payload)
print(response.json())
315:T1add,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .PUT(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
316:T1e8f,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Put,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""url"": ""http://business.revolut.com"",
  ""events"": [
    ""ORDER_COMPLETED""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
317:T686,
curl -X PUT "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}'
318:Tf07,
const payload = {
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "PUT",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
319:T157e,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  jsonData := []byte(`
{
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}
  `)
  req, _ := http.NewRequest("PUT", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
31a:Tc3d,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}

response = requests.put(url, headers=headers, json=payload)
print(response.json())
31b:T1ae5,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .PUT(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
31c:T1e97,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Put,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""url"": ""http://business.revolut.com"",
  ""events"": [
    ""ORDER_COMPLETED""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2f4:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L30d",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L30e"},{"name":"webhook_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L30f"},"required":true,"description":"The ID of the webhook.","descriptionNode":"$L310"}],"requestBody":"$38:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$38:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PUT \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}'","templateHtml":"$311","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n};\nfetch(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"PUT\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$312","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}\n `)\n req, _ := http.NewRequest(\"PUT\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$313","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}\n\nresponse = requests.put(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$314","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .PUT(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$315","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Put,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"http://business.revolut.com\"\",\n \"\"events\"\": [\n \"\"ORDER_COMPLETED\"\"\n ]\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$316","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PUT \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}'","templateHtml":"$317","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"PUT\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$318","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}\n `)\n req, _ := http.NewRequest(\"PUT\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$319","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}\n\nresponse = requests.put(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$31a","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .PUT(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$31b","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Put,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"http://business.revolut.com\"\",\n \"\"events\"\": [\n \"\"ORDER_COMPLETED\"\"\n ]\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$31c","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"put","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/webhooks/{webhook_id}","parameters":["$2f4:props:children:0:props:children:1:props:parameters:0","$2f4:props:children:0:props:children:1:props:parameters:1"]}],"$L31d"],"$L31e","$L31f"]}]]}] 11a:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 11b:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 11c:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 212:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L320","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 217:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent customer ID used to retrieve, update, and delete a customer."}]]}] 218:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 219:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the customer's business."}]]}] 21a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 21b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the customer was created."}]]}] 21c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The data and time the customer was last updated."}]]}] 21d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 21e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 21f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 220:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 222:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Get a list of all your ",["$","code","code-0",{"children":"customers"}],"."]}]]}] 223:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 224:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The maximum number of customers returned per page. Used for ",["$","strong","strong-0",{"children":"pagination"}],"."]}]]}] 225:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A zero-based page index for the paginated results, used in conjunction with ",["$","code","code-0",{"children":"limit"}],"."]}]]}] 24b:"Rotate a webhook signing secret (Deprecated)" 31d:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L321"}}}] 31e:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"webhook_update_request","label":"Webhook update request","rawValue":"$38:props:children:0:props:children:props:requestBody:content:application/json:examples:webhook_update_request:value","block":"$L322"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 31f:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"updated_webhook","label":"Updated webhook","rawValue":"$38:props:children:0:props:children:props:responses:200:content:application/json:examples:updated_webhook:value","block":"$L323"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L324"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L325"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L326"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 272:"Retrieve terminal list" 2b9:"Retrieve a payment intent" 2cc:"Cancel a payment intent" 235:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 236:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 238:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 239:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 23a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The signing secret for the webhook. Use it to verify the signature for the webhook request's payload."}]]}] 23b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 23c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 23d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 23e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 23f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 240:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 241:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 136:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 137:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 52:["$","$5e","register-address-validation-endpoint",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"SynchronousWebhook","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the synchronous webhook object.","descriptionNode":"$L327"},"signing_key":{"type":"string","pattern":"^swsk_[a-zA-Z0-9]{32}$","description":"A randomly generated signing key, which can be used by merchants to authenticate requests from Revolut by verifying the signature. For more information, see: [Payload Signature](https://developer.revolut.com/docs/api/merchant#authentication).","descriptionNode":"$L328"},"url":{"type":"string","format":"uri","pattern":"^https:\\/{2}.+/gi","maxLength":2000,"description":"The valid URL of the endpoint, that uses HTTPS URL schema. Revolut sends the shipping address of the customer to this URL for validation.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L329"},"event_type":{"type":"string","enum":"$53:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:event_type:enum","description":"Type of event this synchronous webhook is configured for.\n\n:::note\nAt the moment, synchronous webhooks only support address validation events. \n:::","descriptionNode":"$L32a"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L32b"}},"required":"$53:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required"},"examples":{"example_without_location":{"summary":"Synchronous webhook response","value":{"id":"f6abc4df-eb48-417c-8e75-f7c6d7ad394f","signing_key":"swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1","url":"https://backend.example.com/webhooks/validate-address","event_type":"fast_checkout.validate_address"}},"example_with_location":{"summary":"Synchronous webhook response with location ID","value":{"id":"f6abc4df-eb48-417c-8e75-f7c6d7ad394f","signing_key":"swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1","url":"https://backend.example.com/webhooks/validate-address","event_type":"fast_checkout.validate_address","location_id":"b0ebede4-5cbc-4951-977f-70329faa8769"}}}}},"descriptionNode":"$L32c"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L32d"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L32e"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L32f"},"401":{"description":"Unauthorized","descriptionNode":"$L330"}},"requestBody":{"content":{"application/json":{"schema":{"title":"SynchronousWebhookCreation","type":"object","description":"The `SynchronousWebhook` object allows merchants to register endpoints on their backend for receiving predefined event types. Currently, only address validation events are available.\n\nIn addition, merchants can specify locations representing their online stores, enabling them to set up different webhooks for different stores.","properties":{"event_type":{"type":"string","enum":["fast_checkout.validate_address"],"description":"Type of event this synchronous webhook is configured for.\n\n:::note\nAt the moment, synchronous webhooks only support address validation events. \n:::","descriptionNode":"$L331"},"url":{"type":"string","format":"uri","pattern":"^https:\\/{2}.+/gi","maxLength":2000,"description":"The valid URL of the endpoint, that uses HTTPS URL schema. Revolut sends the shipping address of the customer to this URL for validation.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L332"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L333"}},"required":["event_type","url"],"descriptionNode":"$L334"},"examples":{"create_webhook":{"summary":"Create synchronous webhook","value":{"event_type":"fast_checkout.validate_address","url":"https://backend.example.com/webhooks/validate-address"}},"create_webhook_with_location_id":{"summary":"Create synchronous webhook with location ID","value":{"event_type":"fast_checkout.validate_address","url":"https://backend.example.com/webhooks/validate-address","location_id":"8d9a7125-805f-40f3-a405-bc89765db996"}}}}}},"variantLabels":["Synchronous webhook response","Synchronous webhook response with location ID"],"children":["$L335","$L336"]}]}],false]}] 249:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L337","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 242:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 243:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 244:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 245:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The expiration period of the signing secret in the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601#Durations","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}],"\n",["$","p","p-1",{"children":"If defined, when the signing secret is rotated, it continues to be valid until the expiration period passes."}],"\n",["$","p","p-2",{"children":"Otherwise, it is invalidated immediately."}],"\n",["$","p","p-3",{"children":"Maximum expiration period is 7 days."}]]}] 24c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Rotate the ",["$","code","code-0",{"children":"signing secret"}]," for a specific webhook."]}],"\n",["$","p","p-1",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature","target":"_blank","rel":"noreferrer","children":"Tutorials: Verify the payload signature"}],"."]}]]}] 24d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 24e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 24f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 30c:"Update a webhook (Deprecated)" 335:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"register-address-validation-endpoint","children":[["$L338","$undefined"],["$","$L15",null,{"id":"register-address-validation-endpoint"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/register-address-validation-endpoint.md"}]]}]}],"$undefined"]}] 33b:T5f9,
curl -X POST "https://merchant.revolut.com/api/synchronous-webhooks" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}'
33c:Teb2,
const payload = {
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
};
fetch("https://merchant.revolut.com/api/synchronous-webhooks", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
33d:T14f1,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/synchronous-webhooks"
  jsonData := []byte(`
{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
33e:Tbe8,
import requests

url = "https://merchant.revolut.com/api/synchronous-webhooks"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
33f:T1a58,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/synchronous-webhooks"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
340:T1e42,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/synchronous-webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""event_type"": ""fast_checkout.validate_address"",
  ""url"": ""https://backend.example.com/webhooks/validate-address""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
341:T601,
curl -X POST "https://sandbox-merchant.revolut.com/api/synchronous-webhooks" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}'
342:Teba,
const payload = {
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
};
fetch("https://sandbox-merchant.revolut.com/api/synchronous-webhooks", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
343:T14f9,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/synchronous-webhooks"
  jsonData := []byte(`
{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
344:Tbf0,
import requests

url = "https://sandbox-merchant.revolut.com/api/synchronous-webhooks"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
345:T1a60,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/synchronous-webhooks"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
346:T1e4a,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/synchronous-webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""event_type"": ""fast_checkout.validate_address"",
  ""url"": ""https://backend.example.com/webhooks/validate-address""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
336:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L339",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L33a"}],"requestBody":"$52:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$52:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/synchronous-webhooks\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}'","templateHtml":"$33b","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n};\nfetch(\"https://merchant.revolut.com/api/synchronous-webhooks\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$33c","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/synchronous-webhooks\"\n jsonData := []byte(`\n{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$33d","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/synchronous-webhooks\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$33e","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/synchronous-webhooks\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$33f","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/synchronous-webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"event_type\"\": \"\"fast_checkout.validate_address\"\",\n \"\"url\"\": \"\"https://backend.example.com/webhooks/validate-address\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$340","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}'","templateHtml":"$341","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$342","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"\n jsonData := []byte(`\n{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$343","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$344","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$345","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/synchronous-webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"event_type\"\": \"\"fast_checkout.validate_address\"\",\n \"\"url\"\": \"\"https://backend.example.com/webhooks/validate-address\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$346","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/synchronous-webhooks","parameters":["$336:props:children:0:props:children:1:props:parameters:0"]}],"$L347"],"$L348","$L349"]}]]}] 25f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the terminal."}]]}] 260:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the terminal device."}]]}] 261:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware type/model of the terminal device."}]]}] 262:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The serial number of the terminal device."}]]}] 263:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current battery level of the terminal as a percentage (0-100)."}]]}] 264:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the terminal is currently online and connected."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"true"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Terminal is online and available","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"false"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Terminal is offline","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 265:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time when the terminal was last seen online."}]]}] 266:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a Revolut Terminal device."}]]}] 267:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of terminal devices."}]]}] 268:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Response containing a list of terminals."}]]}] 269:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 26a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 26b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 26c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 26d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 26e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 26f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 270:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 271:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 275:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 276:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the payment intent."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent created and sent to terminal, customer has not yet started interacting","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Customer is actively interacting with the terminal (e.g., inserting card, entering PIN)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payment authorization is complete, includes a ",["$","code","code-0",{"children":"payment_id"}]," in the response"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent was cancelled (by system or customer)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent failed due to technical issues (timeout, terminal unavailable, network error)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 277:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the terminal."}]]}] 278:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 279:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 27a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The payment amount expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 27b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 27c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment intent was created."}]]}] 27d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment intent was last updated."}]]}] 27e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment intent that has been pushed to a Revolut Terminal device."}],"\n",["$","p","p-1",{"children":["When the payment intent reaches ",["$","code","code-0",{"children":"completed"}]," state, it includes a ",["$","code","code-1",{"children":"payment_id"}]," that can be used to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-details","target":"_blank","rel":"noreferrer","children":"retrieve the final payment status"}],"."]}]]}] 288:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 289:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the payment intent."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent created and sent to terminal, customer has not yet started interacting","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Customer is actively interacting with the terminal (e.g., inserting card, entering PIN)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payment authorization is complete, includes a ",["$","code","code-0",{"children":"payment_id"}]," in the response"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent was cancelled (by system or customer)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent failed due to technical issues (timeout, terminal unavailable, network error)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 28a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the terminal."}]]}] 28b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 28c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 28d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The payment amount expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 28e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 28f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment intent was created."}]]}] 290:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment intent was last updated."}]]}] 291:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment intent that has been pushed to a Revolut Terminal device."}],"\n",["$","p","p-1",{"children":["When the payment intent reaches ",["$","code","code-0",{"children":"completed"}]," state, it includes a ",["$","code","code-1",{"children":"payment_id"}]," that can be used to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-details","target":"_blank","rel":"noreferrer","children":"retrieve the final payment status"}],"."]}]]}] 292:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment intent cancelled"}]]}] 293:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 294:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 295:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 34a:T141c,
[
  {
    "id": "6fc8db62-6489-4470-a9e0-84b462fe3908",
    "url": "https://revolut.com/webhooks",
    "events": [
      "ORDER_COMPLETED"
    ]
  },
  {
    "id": "b466ab77-4932-4850-beb0-113bfc1166f8",
    "url": "https://business.revolut.com/webhooks",
    "events": [
      "ORDER_COMPLETED",
      "ORDER_AUTHORISED"
    ]
  },
  {
    "id": "4a31c8a3-8037-4260-a09e-090475d37025",
    "url": "https://developer.revolut.com/webhooks",
    "events": [
      "ORDER_AUTHORISED"
    ]
  },
  {
    "id": "5d815041-5753-46bc-aebc-315fe99f30aa",
    "url": "https://example.com/webhooks",
    "events": [
      "ORDER_COMPLETED",
      "ORDER_AUTHORISED"
    ]
  }
]
170:["$","div","200-application/json-list_of_webhooks",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$34a"}}]}]],"$L34b"]}] 34c:T69c,
{
  "id": "c6b981f4-53b3-47d5-9b24-4f87af1160eb",
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_AUTHORISED",
    "ORDER_COMPLETED"
  ],
  "signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"
}
172:["$","div","200-application/json-retrieved_webhook",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$34c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"c6b981f4-53b3-47d5-9b24-4f87af1160eb\",\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_AUTHORISED\",\n \"ORDER_COMPLETED\"\n ],\n \"signing_secret\": \"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK\"\n}"}]}]]}] 173:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 174:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 29f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L34d","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 2a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve a list of Revolut Terminal devices available to the merchant."}],"\n",["$","p","p-1",{"children":"This endpoint is primarily used for push payments to Revolut Terminal integration, allowing POS systems to discover available terminals at a specific location and in the correct operation mode."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For push payments integration, use the ",["$","code","code-0",{"children":"operation_mode=pos"}]," query parameter to filter only terminals in ",["$","strong","strong-0",{"children":"Pay at Counter"}]," mode that are ready to receive payment intents."]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about integration, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","target":"_blank","rel":"noreferrer","children":"Push payments to Revolut Terminal"}],"."]}]}]]}]]}] 2a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 2a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 2a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The operation mode of the terminal."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pos"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Returns only terminals in Pay at Counter mode","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_acceptance"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Returns only terminals in standard checkout mode","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 2a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filter terminals by operation mode."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pos"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Returns only terminals in Pay at Counter mode","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_acceptance"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Returns only terminals in standard checkout mode","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 2aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 2ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filter results by location ID."}]]}] 27f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 280:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 281:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 282:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 283:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 284:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 285:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 347:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L34e"}}}] 348:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"create_webhook","label":"Create synchronous webhook","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:create_webhook:value","block":"$L34f"},{"key":"create_webhook_with_location_id","label":"Create synchronous webhook with location ID","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:create_webhook_with_location_id:value","block":"$L350"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 349:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"example_without_location","label":"Synchronous webhook response","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:example_without_location:value","block":"$L351"},{"key":"example_with_location","label":"Synchronous webhook response with location ID","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:example_with_location:value","block":"$L352"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L353"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 34b:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"[\n {\n \"id\": \"6fc8db62-6489-4470-a9e0-84b462fe3908\",\n \"url\": \"https://revolut.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n },\n {\n \"id\": \"b466ab77-4932-4850-beb0-113bfc1166f8\",\n \"url\": \"https://business.revolut.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n },\n {\n \"id\": \"4a31c8a3-8037-4260-a09e-090475d37025\",\n \"url\": \"https://developer.revolut.com/webhooks\",\n \"events\": [\n \"ORDER_AUTHORISED\"\n ]\n },\n {\n \"id\": \"5d815041-5753-46bc-aebc-315fe99f30aa\",\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n }\n]"}]}] 2ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the current state and details of a payment intent."}],"\n",["$","p","p-1",{"children":"This endpoint is used to poll the payment intent status after pushing a payment request to a Revolut Terminal. You should poll this endpoint repeatedly until the payment intent reaches a final state."}],"\n",["$","p","p-2",{"children":["$","strong","strong-0",{"children":"Payment intent states:"}]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent created and sent to terminal, customer has not yet started interacting","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Customer is actively interacting with the terminal (e.g., inserting card, entering PIN)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payment authorisation is complete, response includes a ",["$","code","code-0",{"children":"payment_id"}]," that you should use to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-details","target":"_blank","rel":"noreferrer","children":"retrieve the final payment status"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent was cancelled (by your system or by the customer on the terminal)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent failed due to technical issues (e.g., timeout, terminal became unavailable)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Polling strategy"}],["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Poll every second while the state is ",["$","code","code-0",{"children":"pending"}]," or ",["$","code","code-1",{"children":"processing"}]]}],"\n",["$","li","li-1",{"children":"Set a reasonable timeout (e.g., 60 seconds) to handle cases where the customer abandons the payment"}],"\n"]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For the complete push payments flow, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","target":"_blank","rel":"noreferrer","children":"Push payments to Revolut Terminal"}],"."]}]}]]}]]}] 2bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 2bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 2bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 2be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 296:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 297:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 298:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 299:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 29a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 29b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 2cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Cancel a payment intent while it's still in ",["$","code","code-0",{"children":"pending"}]," state, before the customer has completed the payment."]}],"\n",["$","p","p-1",{"children":"This is useful if the customer changes their mind or if there's an issue with the order before payment is completed."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Requirements:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Payment intent must be in ",["$","code","code-0",{"children":"pending"}]," state"]}],"\n",["$","li","li-1",{"children":["Cannot cancel payment intents that are already ",["$","code","code-0",{"children":"completed"}],", ",["$","code","code-1",{"children":"cancelled"}],", or ",["$","code","code-2",{"children":"failed"}]]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For the complete push payments flow, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","target":"_blank","rel":"noreferrer","children":"Push payments to Revolut Terminal"}],"."]}]}]]}]]}] 2ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 2cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 2d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 2d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 2df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 2e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 2e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 2e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 2e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A ",["$","code","code-0",{"children":"webhook"}]," (also called a web callback) allows your system to receive an event from a different app immediately after it happens."]}],"\n",["$","p","p-1",{"children":"For example, you can subscribe to a webhook when an order changes from Pending to Completed. When the payment is cleared and the order is completed, Revolut servers will send a notification to the URL of your choice. This is a much more efficient way to know when an order is paid as opposed to trying to get the status of the order every few seconds."}],"\n",["$","p","p-2",{"children":"Many events that happen to a Revolut Merchant account are synchronous, which means that they arrive instantly and have immediate results. For example, a successful request to create a customer immediately returns a Customer object. Such requests don't require webhooks."}],"\n",["$","p","p-3",{"children":["The Revolut Merchant API supports webhooks for events such as ",["$","code","code-0",{"children":"ORDER_COMPLETED"}]," and ",["$","code","code-1",{"children":"ORDER_AUTHORISED"}],"."]}]]}] 2e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 188:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 354:T7c3,
{
  "id": "a830020e-090c-4717-836d-37941a27ad12",
  "state": "completed",
  "created_at": "2024-02-27T00:16:39.079285Z",
  "destination_type": "current_pocket",
  "amount": 50000,
  "currency": "GBP"
}
18a:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$354"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"a830020e-090c-4717-836d-37941a27ad12\",\n \"state\": \"completed\",\n \"created_at\": \"2024-02-27T00:16:39.079285Z\",\n \"destination_type\": \"current_pocket\",\n \"amount\": 50000,\n \"currency\": \"GBP\"\n}"}]}]]}] 355:T478,
{
  "code": "bad_request",
  "message": "Missing Revolut-Api-Version header",
  "timestamp": 1721049596461
}
18b:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$355"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Missing Revolut-Api-Version header\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 356:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
18c:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$356"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 357:T477,
{
  "code": "not_found",
  "message": "The requested resource is not found",
  "timestamp": 1721050063886
}
18d:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$357"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"not_found\",\n \"message\": \"The requested resource is not found\",\n \"timestamp\": 1721050063886\n}"}]}]]}] 2fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L358","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 2ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L359","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 307:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L35a","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 2e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 2e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 2e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 2e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 2ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 2eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 2ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 2ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 2ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 2ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 2f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 2f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 30d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update the details of a specific webhook."}]]}] 30e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 30f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 310:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 1b3:["$","div","request-application/json-example_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"domain\": \"revolut.com\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"domain\": \"revolut.com\"\n}"}]}]]}] 1b4:["$","div","400-application/json-error_message",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": \"validation\",\n  \"message\": \"Exactly one value must be supplied for client_id\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"validation\",\n \"message\": \"Exactly one value must be supplied for client_id\"\n}"}]}]]}] 321:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L35b","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 338:"Register address validation endpoint for Fast checkout" 35c:T1382,
[
  {
    "id": "f6abc4df-eb48-417c-8e75-f7c6d7ad394f",
    "signing_key": "swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1",
    "url": "https://example.com/webhooks/validate-address",
    "event_type": "fast_checkout.validate_address"
  },
  {
    "id": "5c08dcc1-cd60-4b7d-a255-e42d24d7365c",
    "signing_key": "swsk_VsuFcq6FIpa9gOWUu0n2WxiCbsDHIJlN",
    "url": "https://groceries.example.com/webhooks/validate-address",
    "event_type": "fast_checkout.validate_address",
    "location_id": "b0ebede4-5cbc-4951-977f-70329faa8769"
  },
  {
    "id": "dbebe6f8-4c47-4176-a94f-576d76e1d0b6",
    "signing_key": "swsk_0TKYlzoakBgGGVvojCiRRqInMD1ufLZn",
    "url": "https://clothes.example.com/webhooks/validate-address",
    "event_type": "fast_checkout.validate_address",
    "location_id": "6ebd3d2b-7a51-42e4-84f4-3c513621edd3"
  }
]
1c5:["$","div","200-application/json-example_without_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$35c"}}]}]],"$L35d"]}] 1c6:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 327:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the synchronous webhook object."}]]}] 328:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A randomly generated signing key, which can be used by merchants to authenticate requests from Revolut by verifying the signature. For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Payload Signature"}],"."]}]]}] 329:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The valid URL of the endpoint, that uses HTTPS URL schema. Revolut sends the shipping address of the customer to this URL for validation."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be ",["$","code","code-0",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 32a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of event this synchronous webhook is configured for."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"At the moment, synchronous webhooks only support address validation events."}]}]]}]]}] 32b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 32c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 32d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 32e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 32f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 330:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 35d:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"[\n {\n \"id\": \"f6abc4df-eb48-417c-8e75-f7c6d7ad394f\",\n \"signing_key\": \"swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1\",\n \"url\": \"https://example.com/webhooks/validate-address\",\n \"event_type\": \"fast_checkout.validate_address\"\n },\n {\n \"id\": \"5c08dcc1-cd60-4b7d-a255-e42d24d7365c\",\n \"signing_key\": \"swsk_VsuFcq6FIpa9gOWUu0n2WxiCbsDHIJlN\",\n \"url\": \"https://groceries.example.com/webhooks/validate-address\",\n \"event_type\": \"fast_checkout.validate_address\",\n \"location_id\": \"b0ebede4-5cbc-4951-977f-70329faa8769\"\n },\n {\n \"id\": \"dbebe6f8-4c47-4176-a94f-576d76e1d0b6\",\n \"signing_key\": \"swsk_0TKYlzoakBgGGVvojCiRRqInMD1ufLZn\",\n \"url\": \"https://clothes.example.com/webhooks/validate-address\",\n \"event_type\": \"fast_checkout.validate_address\",\n \"location_id\": \"6ebd3d2b-7a51-42e4-84f4-3c513621edd3\"\n }\n]"}]}] 1f6:["$","div","request-application/json-example_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"domain\": \"revolut.com\",\n  \"reason\": \"Unregister due to domain change.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"domain\": \"revolut.com\",\n \"reason\": \"Unregister due to domain change.\"\n}"}]}]]}] 1f7:["$","div","400-application/json-error_message",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": \"validation\",\n  \"message\": \"Exactly one value must be supplied for client_id\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"validation\",\n \"message\": \"Exactly one value must be supplied for client_id\"\n}"}]}]]}] 331:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of event this synchronous webhook is configured for."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"At the moment, synchronous webhooks only support address validation events."}]}]]}]]}] 332:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The valid URL of the endpoint, that uses HTTPS URL schema. Revolut sends the shipping address of the customer to this URL for validation."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be ",["$","code","code-0",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 333:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 334:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"SynchronousWebhook"}]," object allows merchants to register endpoints on their backend for receiving predefined event types. Currently, only address validation events are available."]}],"\n",["$","p","p-1",{"children":"In addition, merchants can specify locations representing their online stores, enabling them to set up different webhooks for different stores."}]]}] 339:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Use this endpoint to register a URL where Revolut can send shipping address(es) from a Revolut Pay customer for validation during the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/fast-checkout","target":"_blank","rel":"noreferrer","children":"Fast checkout\nprocess"}],"."]}],"\n",["$","p","p-1",{"children":"Revolut Pay can support Fast checkout for delivering goods. Once your customer selects a shipping address, Revolut needs to validate if the merchant (or their shipping partner) delivers to the address provided. This is done by contacting the merchant's backend and asking for such validation and information."}],"\n",["$","p","p-2",{"children":"In order for your backend to support Fast checkout, you need to:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":"Register an URL to handle address validation"}],"\n",["$","li","li-1",{"children":"Validate the shipping address sent to your backend"}],"\n",["$","li","li-2",{"children":"Respond with a JSON object containing the result of the validation"}],"\n"]}],"\n",["$","p","p-3",{"children":"Additionally, Revolut Pay can support multiple webhooks if you have multiple stores. For more information, see:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/fast-checkout#manage-multiple-stores-with-fast-checkout","target":"_blank","rel":"noreferrer","children":"Manage multiple stores with Fast checkout"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Merchant API: Locations"}]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To set up a webhook for tracking order completion, failure, error, etc. events, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-webhooks","target":"_blank","rel":"noreferrer","children":"Webhooks endpoints"}],"."]}]}]]}]]}] 33a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 210:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 211:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 4b:["$","$5e","create-payment-intent",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"Payment intent created","content":{"application/json":{"schema":{"title":"Payment Intent","type":"object","description":"Represents a payment intent that has been pushed to a Revolut Terminal device.\n\nWhen the payment intent reaches `completed` state, it includes a `payment_id` that can be used to [retrieve the final payment status](https://developer.revolut.com/docs/api/merchant#retrieve-payment-details).","properties":{"id":{"title":"Payment Intent ID","type":"string","format":"uuid","description":"The unique identifier of the payment intent.","descriptionNode":"$L35e"},"state":{"type":"string","description":"The current state of the payment intent.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Payment intent created and sent to terminal, customer has not yet started interacting |\n| `processing` | Customer is actively interacting with the terminal (e.g., inserting card, entering PIN) |\n| `completed` | Payment authorization is complete, includes a `payment_id` in the response |\n| `cancelled` | Payment intent was cancelled (by system or customer) |\n| `failed` | Payment intent failed due to technical issues (timeout, terminal unavailable, network error) |","enum":"$4c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$L35f"},"terminal_id":{"title":"Terminal ID","type":"string","format":"uuid","description":"The unique identifier of the terminal.","descriptionNode":"$L360"},"order_id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L361"},"payment_id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L362"},"amount":{"title":"Payment Intent amount","type":"integer","description":"The payment amount expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L363"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L364"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment intent was created.","descriptionNode":"$L365"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment intent was last updated.","descriptionNode":"$L366"}},"required":"$4c:props:children:0:props:children:props:responses:200:content:application/json:schema:required","descriptionNode":"$L367"},"examples":{"payment_intent_pending":{"summary":"Payment intent pending","value":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_pending:value"}}}},"descriptionNode":"$L368"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L369"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L36a"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L36b"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L36c"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L36d"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L36e"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L36f"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L370"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L371"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"title":"Payment Intent creation","type":"object","description":"Request body for creating a payment intent to push to a terminal.","properties":{"amount":{"title":"Payment Intent amount","type":"integer","description":"The payment amount expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L372"},"terminal_id":{"title":"Terminal ID","type":"string","format":"uuid","description":"The unique identifier of the terminal.","descriptionNode":"$L373"}},"required":["amount","terminal_id"],"descriptionNode":"$L374"},"examples":{"create_payment_intent":{"summary":"Create payment intent request example","value":{"amount":2500,"terminal_id":"0e53f673-7705-473a-a263-89a3e7647c3d"}}}}}},"variantLabels":[],"children":["$L375","$L376"]}]}],false]}] 375:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-payment-intent","children":[["$L377","$undefined"],["$","$L15",null,{"id":"create-payment-intent"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/create-payment-intent.md"}]]}]}],"$undefined"]}] 37d:T6cc,
curl -X POST "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Revolut-Api-Version: __RP_TOK_2__" \
  -d '{
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}'
37e:Tfbd,
const payload = {
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
};
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
37f:T16b1,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"
  jsonData := []byte(`
{
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
380:Tcf1,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}
payload = {
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
381:T1c15,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
382:T1ea7,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 2500,
  ""terminal_id"": ""0e53f673-7705-473a-a263-89a3e7647c3d""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
383:T6d4,
curl -X POST "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Revolut-Api-Version: __RP_TOK_2__" \
  -d '{
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}'
384:Tfc5,
const payload = {
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
};
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
385:T16b9,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"
  jsonData := []byte(`
{
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
386:Tcf9,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}
payload = {
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
387:T1c1d,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 2500,
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
388:T1eaf,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 2500,
  ""terminal_id"": ""0e53f673-7705-473a-a263-89a3e7647c3d""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
376:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L378",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L379"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:examples"},"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"descriptionNode":"$L37a"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L37b"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$L37c"}],"requestBody":"$4b:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$4b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}'","templateHtml":"$37d","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n};\nfetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$37e","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"\n jsonData := []byte(`\n{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$37f","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$380","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$381","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 2500,\n \"\"terminal_id\"\": \"\"0e53f673-7705-473a-a263-89a3e7647c3d\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$382","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}'","templateHtml":"$383","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$384","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"\n jsonData := []byte(`\n{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$385","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$386","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$387","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payment-intents\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 2500,\n \"\"terminal_id\"\": \"\"0e53f673-7705-473a-a263-89a3e7647c3d\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$388","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}/payment-intents","parameters":["$376:props:children:0:props:children:1:props:parameters:0","$376:props:children:0:props:children:1:props:parameters:1","$376:props:children:0:props:children:1:props:parameters:2"]}],"$L389"],"$L38a","$L38b"]}]]}] 38c:Tfa5,
[
  {
    "id": "a830020e-090c-4717-836d-37941a27ad12",
    "state": "completed",
    "created_at": "2024-02-27T00:16:39.079285Z",
    "destination_type": "current_pocket",
    "amount": 50000,
    "currency": "GBP"
  },
  {
    "id": "66ffee42-7c4a-a15c-9a47-5dc67150386f",
    "state": "processing",
    "created_at": "2024-02-26T17:16:39.079285Z",
    "destination_type": "external_beneficiary",
    "amount": 10000,
    "currency": "GBP"
  }
]
213:["$","div","201-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$38c"}}]}]],"$L38d"]}] 38e:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1721049596461
}
214:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$38e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 38f:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
215:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$38f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 390:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
216:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$390"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 34e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L391","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 227:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 389:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L392"}}}] 38a:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"create_payment_intent","label":"Create payment intent request example","rawValue":"$4b:props:children:0:props:children:props:requestBody:content:application/json:examples:create_payment_intent:value","block":"$L393"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 38b:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"payment_intent_pending","label":"Payment intent pending","rawValue":"$4c:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_intent_pending:value","block":"$L394"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L395"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L396"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L397"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 38d:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"[\n {\n \"id\": \"a830020e-090c-4717-836d-37941a27ad12\",\n \"state\": \"completed\",\n \"created_at\": \"2024-02-27T00:16:39.079285Z\",\n \"destination_type\": \"current_pocket\",\n \"amount\": 50000,\n \"currency\": \"GBP\"\n },\n {\n \"id\": \"66ffee42-7c4a-a15c-9a47-5dc67150386f\",\n \"state\": \"processing\",\n \"created_at\": \"2024-02-26T17:16:39.079285Z\",\n \"destination_type\": \"external_beneficiary\",\n \"amount\": 10000,\n \"currency\": \"GBP\"\n }\n]"}]}] 248:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 22:["$","$5e","create-customer-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"title":"Customer","type":"object","description":"","properties":{"id":{"type":"string","description":"Permanent customer ID used to retrieve, update, and delete a customer.","descriptionNode":"$L398"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L399"},"business_name":{"type":"string","description":"The name of the customer's business.","descriptionNode":"$L39a"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L39b"},"created_at":{"type":"string","description":"The date and time the customer was created.","format":"date-time","descriptionNode":"$L39c"},"updated_at":{"type":"string","description":"The data and time the customer was last updated.","format":"date-time","descriptionNode":"$L39d"},"email":{"type":"string","description":"The email address of the customer.","format":"email","descriptionNode":"$L39e"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L39f"}},"required":"$23:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required"},"examples":{"created_customer":{"summary":"Created customer","value":{"id":"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae","full_name":"Example Customer","business_name":"Example Business","email":"example.customer@example.com","phone":"+441234567890","date_of_birth":"1990-01-01","created_at":"2020-06-24T12:03:39.979397Z","updated_at":"2020-06-24T12:03:39.979397Z"}}}}},"descriptionNode":"$L3a0"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"description":"","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting.","descriptionNode":"$L3a1"},"timestamp":{"type":"number","description":"The date and time the error happened.","descriptionNode":"$L3a2"},"code":{"type":"number","description":"`1018` - The customer already exists.","descriptionNode":"$L3a3"}},"required":["errorId","timestamp"]},"examples":{"Error":{"value":{"errorId":"5226f800-e9be-4b74-ae61-6c7b71c913b5","timestamp":1593439990599,"code":1018}}}}},"descriptionNode":"$L3a4"},"401":{"description":"Unauthorized","descriptionNode":"$L3a5"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L3a6"},"business_name":{"type":"string","description":"The name of the customer's business.","descriptionNode":"$L3a7"},"email":{"type":"string","description":"The email address of the customer.","format":"email","descriptionNode":"$L3a8"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L3a9"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L3aa"}},"required":["email"]},"examples":{"default":{"value":{"full_name":"Example Customer","business_name":"Example Business","email":"example.customer@example.com","phone":"+441234567890","date_of_birth":"1990-01-01"}}}}}},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-customer-deprecated","children":[["$L3ab",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"create-customer-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/create-customer-deprecated.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L3ac",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L3ad"}],"requestBody":"$22:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],"$L3ae"]}],"$L3af"]}]]}]}],false]}] 25:["$","$5e","update-customer-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Customer","type":"object","description":"","properties":{"id":{"type":"string","description":"Permanent customer ID used to retrieve, update, and delete a customer.","descriptionNode":"$L3b0"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L3b1"},"business_name":{"type":"string","description":"The name of the customer's business.","descriptionNode":"$L3b2"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L3b3"},"created_at":{"type":"string","description":"The date and time the customer was created.","format":"date-time","descriptionNode":"$L3b4"},"updated_at":{"type":"string","description":"The data and time the customer was last updated.","format":"date-time","descriptionNode":"$L3b5"},"email":{"type":"string","description":"The email address of the customer.","format":"email","descriptionNode":"$L3b6"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L3b7"}},"required":"$23:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required"},"examples":{"updated_customer":{"summary":"Updated customer","value":{"id":"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae","full_name":"Example Customer","business_name":"Example Business","email":"example.business@example.com","phone":"+441234567890","date_of_birth":"1990-01-01","created_at":"2020-06-24T12:03:39.979397Z","updated_at":"2020-06-25T10:03:39.134417Z"}}}}},"descriptionNode":"$L3b8"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting.","descriptionNode":"$L3b9"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L3ba"}}},"examples":{"example-1":{"value":{"errorId":"94b27660-fdda-49ec-8b85-cd46a068ade0","timestamp":1601296792533}}}}},"descriptionNode":"$L3bb"},"401":{"description":"Unauthorized","descriptionNode":"$L3bc"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L3bd"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L3be"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L3bf"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L3c0"},"business_name":{"type":"string","description":"The name of the customer's business.","descriptionNode":"$L3c1"},"email":{"type":"string","description":"The email address of the customer. \n\n:::note\nThis value must be unique for each customer for one merchant. If the email address matches an existing customer, an error is returned.\n:::","format":"email","descriptionNode":"$L3c2"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L3c3"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L3c4"}}},"examples":{"default":{"value":{"email":"example.business@example.com"}}}}}},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-customer-deprecated","children":[["$L3c5",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"update-customer-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/update-customer-deprecated.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L3c6",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L3c7"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L3c8"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L3c9"}],"requestBody":"$25:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],"$L3ca"]}],"$L3cb"]}]]}]}],false]}] 3ae:["$","$L6b",null,{"responses":"$22:props:children:0:props:children:props:responses","headingAs":"h3"}] 3cc:T726,
curl -X POST "https://merchant.revolut.com/api/1.0/customers" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}'
3cd:T11d7,
const payload = {
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
};
fetch("https://merchant.revolut.com/api/1.0/customers", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
3ce:T161e,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers"
  jsonData := []byte(`
{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
3cf:Tf0d,
import requests

url = "https://merchant.revolut.com/api/1.0/customers"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
3d0:T1b85,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3d1:T2413,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""full_name"": ""Example Customer"",
  ""business_name"": ""Example Business"",
  ""email"": ""example.customer@example.com"",
  ""phone"": ""+441234567890"",
  ""date_of_birth"": ""1990-01-01""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3d2:T72e,
curl -X POST "https://sandbox-merchant.revolut.com/api/1.0/customers" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}'
3d3:T11df,
const payload = {
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
3d4:T1626,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers"
  jsonData := []byte(`
{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
3d5:Tf15,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
3d6:T1b8d,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3d7:T241b,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""full_name"": ""Example Customer"",
  ""business_name"": ""Example Business"",
  ""email"": ""example.customer@example.com"",
  ""phone"": ""+441234567890"",
  ""date_of_birth"": ""1990-01-01""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3af:["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/1.0/customers\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}'","templateHtml":"$3cc","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n};\nfetch(\"https://merchant.revolut.com/api/1.0/customers\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3cd","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers\"\n jsonData := []byte(`\n{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3ce","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$3cf","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$3d0","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"full_name\"\": \"\"Example Customer\"\",\n \"\"business_name\"\": \"\"Example Business\"\",\n \"\"email\"\": \"\"example.customer@example.com\"\",\n \"\"phone\"\": \"\"+441234567890\"\",\n \"\"date_of_birth\"\": \"\"1990-01-01\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$3d1","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/1.0/customers\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}'","templateHtml":"$3d2","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3d3","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers\"\n jsonData := []byte(`\n{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3d4","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$3d5","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$3d6","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"full_name\"\": \"\"Example Customer\"\",\n \"\"business_name\"\": \"\"Example Business\"\",\n \"\"email\"\": \"\"example.customer@example.com\"\",\n \"\"phone\"\": \"\"+441234567890\"\",\n \"\"date_of_birth\"\": \"\"1990-01-01\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$3d7","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers","parameters":["$22:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L3d8"],"$L3d9","$L3da"]}] 3ca:["$","$L6b",null,{"responses":"$25:props:children:0:props:children:props:responses","headingAs":"h3"}] 3db:T565,
curl -X PATCH "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "email": "example.business@example.com"
}'
3dc:Td76,
const payload = {
  "email": "example.business@example.com"
};
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
3dd:T145d,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
  jsonData := []byte(`
{
  "email": "example.business@example.com"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
3de:Taac,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "email": "example.business@example.com"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
3df:T19c4,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "email": "example.business@example.com"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3e0:T1c22,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""email"": ""example.business@example.com""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3e1:T56d,
curl -X PATCH "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "email": "example.business@example.com"
}'
3e2:Td7e,
const payload = {
  "email": "example.business@example.com"
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
3e3:T1465,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
  jsonData := []byte(`
{
  "email": "example.business@example.com"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
3e4:Tab4,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "email": "example.business@example.com"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
3e5:T19cc,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "email": "example.business@example.com"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3e6:T1c2a,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""email"": ""example.business@example.com""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3cb:["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"email\": \"example.business@example.com\"\n}'","templateHtml":"$3db","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"email\": \"example.business@example.com\"\n};\nfetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3dc","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"email\": \"example.business@example.com\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3dd","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"email\": \"example.business@example.com\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$3de","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"email\": \"example.business@example.com\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .PATCH(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$3df","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"email\"\": \"\"example.business@example.com\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$3e0","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"email\": \"example.business@example.com\"\n}'","templateHtml":"$3e1","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"email\": \"example.business@example.com\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3e2","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"email\": \"example.business@example.com\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3e3","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"email\": \"example.business@example.com\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$3e4","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"email\": \"example.business@example.com\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .PATCH(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$3e5","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"email\"\": \"\"example.business@example.com\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$3e6","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers/{customer_id}","parameters":["$25:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$25:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L3e7"],"$L3e8","$L3e9"]}] 3ea:T1871,
[
  {
    "id": "9dfb8491-bfb0-4420-ad63-0fa7bdd3dffb",
    "full_name": "First Customer",
    "email": "first.customer@example.com",
    "date_of_birth": "1990-01-01",
    "created_at": "2020-06-24T12:12:56.596703Z",
    "updated_at": "2020-06-24T12:12:56.737082Z"
  },
  {
    "id": "6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae",
    "full_name": "Second Customer",
    "business_name": "Second Business",
    "email": "second.customer@example.com",
    "phone": "+441234567890",
    "created_at": "2020-06-24T12:03:39.979397Z",
    "updated_at": "2020-06-25T10:03:39.134417Z"
  },
  {
    "id": "014f0ad6-c45b-4d7d-83c6-80eea94fceac",
    "full_name": "Third Customer",
    "email": "third.customer@example.com",
    "phone": "+441234567890",
    "created_at": "2020-06-23T14:13:08.262336Z",
    "updated_at": "2020-06-24T10:47:11.173027Z"
  }
]
24a:["$","div","200-application/json-list_of_customers",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3ea"}}]}]],"$L3eb"]}] 29e:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 377:"Create a payment intent" 3d8:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L3ec"}}}] 3d9:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$22:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L3ed"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 3da:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"created_customer","label":"Created customer","rawValue":"$22:props:children:0:props:children:props:responses:201:content:application/json:examples:created_customer:value","block":"$L3ee"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"Error","label":"Error","rawValue":"$22:props:children:0:props:children:props:responses:400:content:application/json:examples:Error:value","block":"$L3ef"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 3e7:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L3f0"}}}] 3e8:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$25:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L3f1"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 3e9:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"updated_customer","label":"Updated customer","rawValue":"$25:props:children:0:props:children:props:responses:200:content:application/json:examples:updated_customer:value","block":"$L3f2"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:example-1:value","block":"$L3f3"}],"syncedPropertyName":"$undefined"}},"401":{},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L3f4"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 3eb:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"[\n {\n \"id\": \"9dfb8491-bfb0-4420-ad63-0fa7bdd3dffb\",\n \"full_name\": \"First Customer\",\n \"email\": \"first.customer@example.com\",\n \"date_of_birth\": \"1990-01-01\",\n \"created_at\": \"2020-06-24T12:12:56.596703Z\",\n \"updated_at\": \"2020-06-24T12:12:56.737082Z\"\n },\n {\n \"id\": \"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae\",\n \"full_name\": \"Second Customer\",\n \"business_name\": \"Second Business\",\n \"email\": \"second.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"created_at\": \"2020-06-24T12:03:39.979397Z\",\n \"updated_at\": \"2020-06-25T10:03:39.134417Z\"\n },\n {\n \"id\": \"014f0ad6-c45b-4d7d-83c6-80eea94fceac\",\n \"full_name\": \"Third Customer\",\n \"email\": \"third.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"created_at\": \"2020-06-23T14:13:08.262336Z\",\n \"updated_at\": \"2020-06-24T10:47:11.173027Z\"\n }\n]"}]}] 2a0:["$","div","request-application/json-webhook_signing_secret_rotate_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"expiration_period\": \"PT5H30M\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"expiration_period\": \"PT5H30M\"\n}"}]}]]}] 3f5:T5f9,
{
  "id": "c6b981f4-53b3-47d5-9b24-4f87af1160eb",
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ],
  "signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT6aG"
}
2a1:["$","div","200-application/json-updated_webhook",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3f5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"c6b981f4-53b3-47d5-9b24-4f87af1160eb\",\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ],\n \"signing_secret\": \"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT6aG\"\n}"}]}]]}] 2a2:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 2a3:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 2a4:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 2f9:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 35e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the payment intent."}]]}] 35f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the payment intent."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent created and sent to terminal, customer has not yet started interacting","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Customer is actively interacting with the terminal (e.g., inserting card, entering PIN)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payment authorization is complete, includes a ",["$","code","code-0",{"children":"payment_id"}]," in the response"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent was cancelled (by system or customer)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment intent failed due to technical issues (timeout, terminal unavailable, network error)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 360:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the terminal."}]]}] 361:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 362:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 363:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The payment amount expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 364:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 365:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment intent was created."}]]}] 366:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment intent was last updated."}]]}] 367:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment intent that has been pushed to a Revolut Terminal device."}],"\n",["$","p","p-1",{"children":["When the payment intent reaches ",["$","code","code-0",{"children":"completed"}]," state, it includes a ",["$","code","code-1",{"children":"payment_id"}]," that can be used to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-details","target":"_blank","rel":"noreferrer","children":"retrieve the final payment status"}],"."]}]]}] 368:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment intent created"}]]}] 369:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 36a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 36b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 3ab:"Create a customer (Deprecated)" 3c5:"Update a customer (Deprecated)" 3f6:T12cf,
{
  "terminals": [
    {
      "id": "0e53f673-7705-473a-a263-89a3e7647c3d",
      "name": "Terminal 1",
      "type": "newland_n950",
      "serial_number": "RT-00123456",
      "battery_level": 85,
      "online": true,
      "last_online_at": "2025-01-15T14:30:00Z"
    },
    {
      "id": "a7b2c8d1-4e5f-6a7b-8c9d-0e1f2a3b4c5d",
      "name": "Terminal 2",
      "type": "newland_n950",
      "serial_number": "RT-00123457",
      "battery_level": 92,
      "online": true,
      "last_online_at": "2025-01-15T14:32:00Z"
    }
  ]
}
2fc:["$","div","200-application/json-terminals_list",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3f6"}}]}]],"$L3f7"]}] 3f8:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
2fd:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3f8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 3f9:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
2fe:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3f9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 3fa:T6a5,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "state": "pending",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "amount": 2500,
  "currency": "GBP"
}
300:["$","div","200-application/json-payment_intent_pending",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3fa"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"state\": \"pending\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"amount\": 2500,\n \"currency\": \"GBP\"\n}"}]}]]}] 3fb:Ta1f,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "state": "processing",
  "amount": 2500,
  "currency": "GBP",
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d",
  "created_at": "2025-01-15T11:01:00Z",
  "updated_at": "2025-01-15T11:02:15Z"
}
301:["$","div","200-application/json-payment_intent_processing",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3fb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"state\": \"processing\",\n \"amount\": 2500,\n \"currency\": \"GBP\",\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\",\n \"created_at\": \"2025-01-15T11:01:00Z\",\n \"updated_at\": \"2025-01-15T11:02:15Z\"\n}"}]}]]}] 3fc:Tb50,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "state": "completed",
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "payment_id": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
  "amount": 2500,
  "currency": "GBP",
  "created_at": "2025-01-15T11:01:00Z",
  "updated_at": "2025-01-15T11:02:30Z"
}
302:["$","div","200-application/json-payment_intent_completed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3fc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"state\": \"completed\",\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"payment_id\": \"7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d\",\n \"amount\": 2500,\n \"currency\": \"GBP\",\n \"created_at\": \"2025-01-15T11:01:00Z\",\n \"updated_at\": \"2025-01-15T11:02:30Z\"\n}"}]}]]}] 3fd:Ta1e,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "state": "cancelled",
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "amount": 2500,
  "currency": "GBP",
  "created_at": "2025-01-15T11:01:00Z",
  "updated_at": "2025-01-15T11:01:45Z"
}
303:["$","div","200-application/json-payment_intent_cancelled",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3fd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"state\": \"cancelled\",\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"amount\": 2500,\n \"currency\": \"GBP\",\n \"created_at\": \"2025-01-15T11:01:00Z\",\n \"updated_at\": \"2025-01-15T11:01:45Z\"\n}"}]}]]}] 3fe:Ta1b,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "state": "failed",
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "amount": 2500,
  "currency": "GBP",
  "created_at": "2025-01-15T11:01:00Z",
  "updated_at": "2025-01-15T11:03:00Z"
}
304:["$","div","200-application/json-payment_intent_failed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3fe"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"state\": \"failed\",\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"amount\": 2500,\n \"currency\": \"GBP\",\n \"created_at\": \"2025-01-15T11:01:00Z\",\n \"updated_at\": \"2025-01-15T11:03:00Z\"\n}"}]}]]}] 305:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 306:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 3ff:Ta1e,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "state": "cancelled",
  "terminal_id": "0e53f673-7705-473a-a263-89a3e7647c3d",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "amount": 2500,
  "currency": "GBP",
  "created_at": "2025-01-15T11:01:00Z",
  "updated_at": "2025-01-15T11:01:45Z"
}
308:["$","div","200-application/json-payment_intent_cancelled",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$3ff"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"state\": \"cancelled\",\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"amount\": 2500,\n \"currency\": \"GBP\",\n \"created_at\": \"2025-01-15T11:01:00Z\",\n \"updated_at\": \"2025-01-15T11:01:45Z\"\n}"}]}]]}] 309:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 30a:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 30b:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 320:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 2fa:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
https://merchant.revolut.com/api/payouts?state=completed&state=processing
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"https://merchant.revolut.com/api/payouts?state=completed&state=processing\n"}]}]]}] 36c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 36d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 36e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 36f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 370:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 371:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 372:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The payment amount expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 373:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the terminal."}]]}] 374:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Request body for creating a payment intent to push to a terminal."}]]}] 378:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Create a payment intent to push a payment request to a specific Revolut Terminal device."}],"\n",["$","p","p-1",{"children":"This endpoint is used in push payments to Revolut Terminal integration, where a POS system sends payment requests to physical terminal devices. The terminal must be in Pay at Counter mode and assigned to the same location as the order."}],"\n",["$","p","p-2",{"children":["$","strong","strong-0",{"children":"Requirements:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Order must be created with ",["$","code","code-0",{"children":"channel: \"pos\""}]," and include a ",["$","code","code-1",{"children":"location_id"}]]}],"\n",["$","li","li-1",{"children":["Terminal must be online, in ",["$","code","code-0",{"children":"pos"}]," operation mode, and assigned to the same location"]}],"\n",["$","li","li-2",{"children":"Amount must match the order amount"}],"\n"]}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"What happens next:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"The payment request appears on the Revolut Terminal screen"}],"\n",["$","li","li-1",{"children":"Customer presents their card or device to complete payment"}],"\n",["$","li","li-2",{"children":["You should poll the payment intent status until it reaches a final state (",["$","code","code-0",{"children":"completed"}],", ",["$","code","code-1",{"children":"cancelled"}],", or ",["$","code","code-2",{"children":"failed"}],")"]}],"\n",["$","li","li-3",{"children":["When the payment intent reaches ",["$","code","code-0",{"children":"completed"}]," state, use the returned ",["$","code","code-1",{"children":"payment_id"}]," to retrieve the final payment status"]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For the complete push payments flow, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/in-person-payments/terminal/push-payments","target":"_blank","rel":"noreferrer","children":"Push payments to Revolut Terminal"}],"."]}]}]]}]]}] 379:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 37a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 37b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 37c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] 3f7:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"terminals\": [\n {\n \"id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\",\n \"name\": \"Terminal 1\",\n \"type\": \"newland_n950\",\n \"serial_number\": \"RT-00123456\",\n \"battery_level\": 85,\n \"online\": true,\n \"last_online_at\": \"2025-01-15T14:30:00Z\"\n },\n {\n \"id\": \"a7b2c8d1-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n \"name\": \"Terminal 2\",\n \"type\": \"newland_n950\",\n \"serial_number\": \"RT-00123457\",\n \"battery_level\": 92,\n \"online\": true,\n \"last_online_at\": \"2025-01-15T14:32:00Z\"\n }\n ]\n}"}]}] 322:["$","div","request-application/json-webhook_update_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"url\": \"http://business.revolut.com\",\n  \"events\": [\n    \"ORDER_COMPLETED\"\n  ]\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}"}]}]]}] 400:T4fb,
{
  "id": "c6b981f4-53b3-47d5-9b24-4f87af1160eb",
  "url": "http://business.revolut.com",
  "events": [
    "ORDER_COMPLETED"
  ]
}
323:["$","div","200-application/json-updated_webhook",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$400"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"c6b981f4-53b3-47d5-9b24-4f87af1160eb\",\n \"url\": \"http://business.revolut.com\",\n \"events\": [\n \"ORDER_COMPLETED\"\n ]\n}"}]}]]}] 324:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 325:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 326:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 392:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L401","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 398:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent customer ID used to retrieve, update, and delete a customer."}]]}] 399:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 39a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the customer's business."}]]}] 39b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 39c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the customer was created."}]]}] 39d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The data and time the customer was last updated."}]]}] 39e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 39f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 3a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Created"}]]}] 3a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting."}]]}] 3a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 3a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","code","code-0",{"children":"1018"}]," - The customer already exists."]}]]}] 3a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 3a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 3a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 3a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the customer's business."}]]}] 3a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 3a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 3aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 3ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Create a ",["$","code","code-0",{"children":"customer"}]," that has the information in the body of the request."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you wish to save a customer's payment details using any of the available payment methods on the Revolut Checkout Widget (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/revolut-pay/introduction","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/card-payments/introduction","target":"_blank","rel":"noreferrer","children":"Card payments"}],"), you need to meet one of the following requirements:"]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Have a customer object with ",["$","code","code-0",{"children":"email"}]," and assign it to the order by providing ",["$","code","code-1",{"children":"customer.id"}]]}],"\n",["$","li","li-1",{"children":["Create a new customer with, at least, ",["$","code","code-0",{"children":"customer.email"}]," during ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/Legacy#create-order","target":"_blank","rel":"noreferrer","children":"order creation"}]]}],"\n"]}],["$","p","p-1",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/charge-saved-payment-method","target":"_blank","rel":"noreferrer","children":"Charge a customer's saved payment method"}],"."]}]]}]]}]]}] 3b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent customer ID used to retrieve, update, and delete a customer."}]]}] 3b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 3b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the customer's business."}]]}] 3b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 3b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the customer was created."}]]}] 3b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The data and time the customer was last updated."}]]}] 3b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 3b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 3b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 3b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting."}]]}] 3ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 3bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 3bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 3bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 3be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 3bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 3c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 3c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the customer's business."}]]}] 3c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This value must be unique for each customer for one merchant. If the email address matches an existing customer, an error is returned."}]}]]}]]}] 3c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 3c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 3c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update the attributes of a specific ",["$","code","code-0",{"children":"customer"}],"."]}]]}] 337:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 3ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 3c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 3c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 3c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 34d:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 3ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L402","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 3f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L403","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 34f:["$","div","request-application/json-create_webhook",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"event_type\": \"fast_checkout.validate_address\",\n  \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\"\n}"}]}]]}] 404:T4bb,
{
  "event_type": "fast_checkout.validate_address",
  "url": "https://backend.example.com/webhooks/validate-address",
  "location_id": "8d9a7125-805f-40f3-a405-bc89765db996"
}
350:["$","div","request-application/json-create_webhook_with_location_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$404"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event_type\": \"fast_checkout.validate_address\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\",\n \"location_id\": \"8d9a7125-805f-40f3-a405-bc89765db996\"\n}"}]}]]}] 405:T5e6,
{
  "id": "f6abc4df-eb48-417c-8e75-f7c6d7ad394f",
  "signing_key": "swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1",
  "url": "https://backend.example.com/webhooks/validate-address",
  "event_type": "fast_checkout.validate_address"
}
351:["$","div","200-application/json-example_without_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$405"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"f6abc4df-eb48-417c-8e75-f7c6d7ad394f\",\n \"signing_key\": \"swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\",\n \"event_type\": \"fast_checkout.validate_address\"\n}"}]}]]}] 406:T719,
{
  "id": "f6abc4df-eb48-417c-8e75-f7c6d7ad394f",
  "signing_key": "swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1",
  "url": "https://backend.example.com/webhooks/validate-address",
  "event_type": "fast_checkout.validate_address",
  "location_id": "b0ebede4-5cbc-4951-977f-70329faa8769"
}
352:["$","div","200-application/json-example_with_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$406"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"f6abc4df-eb48-417c-8e75-f7c6d7ad394f\",\n \"signing_key\": \"swsk_y5z3LEHYZ9ndote3qegzWD6uL4t1lfp1\",\n \"url\": \"https://backend.example.com/webhooks/validate-address\",\n \"event_type\": \"fast_checkout.validate_address\",\n \"location_id\": \"b0ebede4-5cbc-4951-977f-70329faa8769\"\n}"}]}]]}] 353:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 358:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 359:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 35a:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 35b:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 28:["$","$5e","retrieve-payment-method-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Payment method object","type":"object","description":"","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment method.","descriptionNode":"$L407"},"type":{"type":"string","enum":["CARD","REVOLUT_PAY"],"description":"The type of the payment method.\n\n:::note\nOnly merchant initiated transactions are supported for saved `REVOLUT_PAY` payment methods.\n:::","descriptionNode":"$L408"},"saved_for":{"type":"string","enum":["CUSTOMER","MERCHANT"],"description":"Indicates in which case this saved payment method can be used for payments.\n\n\n- `CUSTOMER`: This payment method can be used only when the customer is on the checkout page.\n- `MERCHANT`: This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions.","descriptionNode":"$L409"},"method_details":{"type":"object","description":"The details of the payment method.","properties":{"bin":{"type":"string","maxLength":6,"minLength":6,"description":"The BIN of the payment card.","descriptionNode":"$L40a"},"last4":{"type":"string","maxLength":4,"minLength":4,"description":"The last four digits of the payment card.","descriptionNode":"$L40b"},"expiry_month":{"type":"number","description":"The expiry month of the payment card.","descriptionNode":"$L40c"},"expiry_year":{"type":"number","description":"The expiry year of the payment card.","descriptionNode":"$L40d"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L40e"},"billing_address":{"type":"object","description":"The billing address of the payment method.","properties":{"street_line_1":{"type":"string","minLength":1,"description":"Street line 1 information.","descriptionNode":"$L40f"},"street_line_2":{"type":"string","minLength":1,"description":"Street line 2 information.","descriptionNode":"$L410"},"postcode":{"type":"string","minLength":1,"description":"The postcode associated with the address.","descriptionNode":"$L411"},"city":{"type":"string","minLength":1,"description":"The city associated with the address.","descriptionNode":"$L412"},"region":{"type":"string","minLength":1,"description":"The region associated with the address.","descriptionNode":"$L413"},"country_code":{"type":"string","minLength":1,"description":"The country associated with the address.","descriptionNode":"$L414"}},"descriptionNode":"$L415"},"brand":{"type":"string","description":"The brand of the payment card.","enum":["VISA","MASTERCARD","MAESTRO"],"descriptionNode":"$L416"},"funding":{"type":"string","enum":["DEBIT","CREDIT","PREPAID","DEFERRED_DEBIT","CHARGE"],"description":"The funding type of the payment card.","descriptionNode":"$L417"},"issuer":{"type":"string","description":"The issuer of the payment card.","descriptionNode":"$L418"},"issuer_country":{"type":"string","description":"Two-letter country code of the country where the payment card was issued.","descriptionNode":"$L419"},"created_at":{"type":"string","description":"The date and time the payment card was added.","format":"date-time","descriptionNode":"$L41a"}},"descriptionNode":"$L41b"}},"required":["id"]},"examples":{"retrieved_payment_method":{"summary":"Retrieved payment method","value":{"id":"edef3ba4-60a0-4df3-8f12-e5fc858c2420","type":"CARD","saved_for":"CUSTOMER","method_details":{"bin":"459678","last4":"6896","expiry_month":3,"expiry_year":2025,"cardholder_name":"Example Customer","brand":"VISA","funding":"DEBIT","issuer":"EXAMPLE ISSUER","issuer_country":"GB","billing_address":{"street_line_1":"7","street_line_2":"Westferry Circus","postcode":"E144HD","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}}}}}},"descriptionNode":"$L41c"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L41d"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L41e"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L41f"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L420"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L421"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L422"}},"requestBody":"$undefined","variantLabels":[],"children":["$L423","$L424"]}]}],false]}] 423:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-payment-method-deprecated","children":[["$L425",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"retrieve-payment-method-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-payment-method-deprecated.md"}]]}]}],"$undefined"]}] 42c:T8cf,
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
42d:Tdb7,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
42e:T6e3,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
42f:T155b,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
430:T147b,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
431:T8d7,
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
432:Tdbf,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
433:T6eb,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
434:T1563,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
435:T1483,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
424:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L426",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L427"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L428"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L429"},{"name":"payment_method_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L42a"},"required":true,"description":"The ID of the payment method.","descriptionNode":"$L42b"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$28:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$42c","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$42d","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$42e","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$42f","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$430","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$431","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$432","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$433","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$434","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$435","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers/{customer_id}/payment-methods/{payment_method_id}","parameters":["$424:props:children:0:props:children:1:props:parameters:0","$424:props:children:0:props:children:1:props:parameters:1","$424:props:children:0:props:children:1:props:parameters:2"]}],"$L436"],"$L437","$L438"]}]]}] 391:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 27:["$","$5e","retrieve-all-payment-methods-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"title":"Payment method object","type":"object","description":"","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment method.","descriptionNode":"$L439"},"type":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","description":"The type of the payment method.\n\n:::note\nOnly merchant initiated transactions are supported for saved `REVOLUT_PAY` payment methods.\n:::","descriptionNode":"$L43a"},"saved_for":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:saved_for:enum","description":"Indicates in which case this saved payment method can be used for payments.\n\n\n- `CUSTOMER`: This payment method can be used only when the customer is on the checkout page.\n- `MERCHANT`: This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions.","descriptionNode":"$L43b"},"method_details":{"type":"object","description":"The details of the payment method.","properties":{"bin":{"type":"string","maxLength":6,"minLength":6,"description":"The BIN of the payment card.","descriptionNode":"$L43c"},"last4":{"type":"string","maxLength":4,"minLength":4,"description":"The last four digits of the payment card.","descriptionNode":"$L43d"},"expiry_month":{"type":"number","description":"The expiry month of the payment card.","descriptionNode":"$L43e"},"expiry_year":{"type":"number","description":"The expiry year of the payment card.","descriptionNode":"$L43f"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L440"},"billing_address":{"type":"object","description":"The billing address of the payment method.","properties":{"street_line_1":{"type":"string","minLength":1,"description":"Street line 1 information.","descriptionNode":"$L441"},"street_line_2":{"type":"string","minLength":1,"description":"Street line 2 information.","descriptionNode":"$L442"},"postcode":{"type":"string","minLength":1,"description":"The postcode associated with the address.","descriptionNode":"$L443"},"city":{"type":"string","minLength":1,"description":"The city associated with the address.","descriptionNode":"$L444"},"region":{"type":"string","minLength":1,"description":"The region associated with the address.","descriptionNode":"$L445"},"country_code":{"type":"string","minLength":1,"description":"The country associated with the address.","descriptionNode":"$L446"}},"descriptionNode":"$L447"},"brand":{"type":"string","description":"The brand of the payment card.","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:method_details:properties:brand:enum","descriptionNode":"$L448"},"funding":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:method_details:properties:funding:enum","description":"The funding type of the payment card.","descriptionNode":"$L449"},"issuer":{"type":"string","description":"The issuer of the payment card.","descriptionNode":"$L44a"},"issuer_country":{"type":"string","description":"Two-letter country code of the country where the payment card was issued.","descriptionNode":"$L44b"},"created_at":{"type":"string","description":"The date and time the payment card was added.","format":"date-time","descriptionNode":"$L44c"}},"descriptionNode":"$L44d"}},"required":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:required"}},"examples":{"list_of_payment_methods":{"summary":"List of payment methods","value":[{"id":"648334a8-9546-a983-a81a-efc6d5bdd0be","type":"REVOLUT_PAY","saved_for":"MERCHANT","method_details":{"created_at":"2023-06-09T14:18:16.577888Z"}},{"id":"edef3ba4-60a0-4df3-8f12-e5fc858c2420","type":"CARD","saved_for":"CUSTOMER","method_details":{"bin":"459678","last4":"6896","expiry_month":3,"expiry_year":2025,"cardholder_name":"Example Customer","brand":"VISA","funding":"DEBIT","issuer":"EXAMPLE ISSUER","issuer_country":"GB","billing_address":{"street_line_1":"7","street_line_2":"Westferry Circus","postcode":"E144HD","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}},{"id":"a04406c4-05be-498b-8207-cc1e02a9b3ca","type":"CARD","saved_for":"MERCHANT","method_details":{"bin":"459885","last4":"7653","expiry_month":12,"expiry_year":2021,"cardholder_name":"Example Holder","brand":"MASTERCARD","funding":"CREDIT","issuer":"EXAMPLE ISSUER","issuer_country":"GB","billing_address":{"street_line_1":"Revolut","street_line_2":"1 Canada Square","postcode":"EC2V 6DN","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}}]},"list_of_only_merchant_payment_methods":{"summary":"List of payment methods (only_merchant=true)","value":[{"id":"624baa72-0a30-4ee3-9870-d7172912704c","type":"CARD","saved_for":"MERCHANT","method_details":{"bin":"492942","last4":"5709","expiry_month":12,"expiry_year":2025,"cardholder_name":"Example Customer","billing_address":{"street_line_1":"7","street_line_2":"Westferry Circus","postcode":"E144HD","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}},{"id":"b92b7413-8764-4f8e-855d-d9b6986af2d9","type":"CARD","saved_for":"MERCHANT","method_details":{"bin":"528143","last4":"7653","expiry_month":12,"expiry_year":2025,"cardholder_name":"Example Holder","billing_address":{"street_line_1":"Revolut","street_line_2":"1 Canada Square","postcode":"EC2V 6DN","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}}]}}}},"descriptionNode":"$L44e"},"401":{"description":"Unauthorized","descriptionNode":"$L44f"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L450"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L451"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L452"}},"requestBody":"$undefined","variantLabels":["List of payment methods","List of payment methods (only_merchant=true)"],"children":["$L453","$L454"]}]}],false]}] 436:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L455"}}}] 437:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 438:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"retrieved_payment_method","label":"Retrieved payment method","rawValue":"$28:props:children:0:props:children:props:responses:200:content:application/json:examples:retrieved_payment_method:value","block":"$L456"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L457"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L458"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 453:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-all-payment-methods-deprecated","children":[["$L459",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"retrieve-all-payment-methods-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-all-payment-methods-deprecated.md"}]]}]}],"$undefined"]}] 45f:T8dd,
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
460:Tdc5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
461:T6f1,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
462:T1569,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
463:T1489,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
464:T8e5,
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
465:Tdcd,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
466:T6f9,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"
headers = {
  "Authorization": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
467:T1571,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"))
      .header("Authorization", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
468:T1491,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
454:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L45a",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L45b"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L45c"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L45d"},{"name":"only_merchant","in":"query","schema":{"type":"boolean","default":false},"description":"If `only_merchant` is set to `true`, you retrieve the payment methods\nthat were saved for the merchant (`saved_for: \"MERCHANT\"`).\n\nTo use this parameter insert it at the end of the request URL. See this example for a request URL in Production environment: \n\n ```curl\n https://merchant.revolut.com/api/1.0/customers/{customer_id}/payment-methods?only_merchant=true\n ``` ","required":false,"descriptionNode":"$L45e"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$27:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$45f","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$460","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$461","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$462","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$463","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\" \\\n -H \"Authorization: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\" \\\n  -H \"Authorization: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$464","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$465","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$466","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"))\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$467","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods?only_merchant=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$468","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"only_merchant","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:only_merchant":"false"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers/{customer_id}/payment-methods","parameters":["$454:props:children:0:props:children:1:props:parameters:0","$454:props:children:0:props:children:1:props:parameters:1","$454:props:children:0:props:children:1:props:parameters:2"]}],"$L469"],"$L46a","$L46b"]}]]}] 393:["$","div","request-application/json-create_payment_intent",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"amount\": 2500,\n  \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 2500,\n \"terminal_id\": \"0e53f673-7705-473a-a263-89a3e7647c3d\"\n}"}]}]]}] 46c:T6a5,
{
  "id": "b4d58add-b3fe-40e4-a70a-8c78df977888",
  "state": "pending",
  "order_id": "5c9fc54e-11b4-4f7f-8686-4a64d4d20db4",
  "amount": 2500,
  "currency": "GBP"
}
394:["$","div","201-application/json-payment_intent_pending",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$46c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"b4d58add-b3fe-40e4-a70a-8c78df977888\",\n \"state\": \"pending\",\n \"order_id\": \"5c9fc54e-11b4-4f7f-8686-4a64d4d20db4\",\n \"amount\": 2500,\n \"currency\": \"GBP\"\n}"}]}]]}] 395:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 396:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 397:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 469:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L46d"}}}] 46a:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 46b:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_payment_methods","label":"List of payment methods","rawValue":"$27:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_payment_methods:value","block":"$L46e"},{"key":"list_of_only_merchant_payment_methods","label":"List of payment methods (only_merchant=true)","rawValue":"$27:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_only_merchant_payment_methods:value","block":"$L46f"}],"syncedPropertyName":"$undefined"}},"401":{},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L470"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 425:"Retrieve a customer's payment method (Deprecated)" 471:T6b4,
{
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01"
}
3ed:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$471"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\"\n}"}]}]]}] 472:Ta30,
{
  "id": "6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae",
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01",
  "created_at": "2020-06-24T12:03:39.979397Z",
  "updated_at": "2020-06-24T12:03:39.979397Z"
}
3ee:["$","div","201-application/json-created_customer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$472"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae\",\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.customer@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\",\n \"created_at\": \"2020-06-24T12:03:39.979397Z\",\n \"updated_at\": \"2020-06-24T12:03:39.979397Z\"\n}"}]}]]}] 473:T471,
{
  "errorId": "5226f800-e9be-4b74-ae61-6c7b71c913b5",
  "timestamp": 1593439990599,
  "code": 1018
}
3ef:["$","div","400-application/json-Error",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$473"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"5226f800-e9be-4b74-ae61-6c7b71c913b5\",\n \"timestamp\": 1593439990599,\n \"code\": 1018\n}"}]}]]}] 3f1:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"email\": \"example.business@example.com\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"email\": \"example.business@example.com\"\n}"}]}]]}] 474:Ta30,
{
  "id": "6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae",
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.business@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01",
  "created_at": "2020-06-24T12:03:39.979397Z",
  "updated_at": "2020-06-25T10:03:39.134417Z"
}
3f2:["$","div","200-application/json-updated_customer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$474"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae\",\n \"full_name\": \"Example Customer\",\n \"business_name\": \"Example Business\",\n \"email\": \"example.business@example.com\",\n \"phone\": \"+441234567890\",\n \"date_of_birth\": \"1990-01-01\",\n \"created_at\": \"2020-06-24T12:03:39.979397Z\",\n \"updated_at\": \"2020-06-25T10:03:39.134417Z\"\n}"}]}]]}] 3f3:["$","div","400-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n  \"timestamp\": 1601296792533\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n \"timestamp\": 1601296792533\n}"}]}]]}] 3f4:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 407:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 408:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Only merchant initiated transactions are supported for saved ",["$","code","code-0",{"children":"REVOLUT_PAY"}]," payment methods."]}]}]]}]]}] 409:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates in which case this saved payment method can be used for payments."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"CUSTOMER"}],": This payment method can be used only when the customer is on the checkout page."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"MERCHANT"}],": This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions."]}],"\n"]}]]}] 40a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the payment card."}]]}] 40b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the payment card."}]]}] 40c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry month of the payment card."}]]}] 40d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry year of the payment card."}]]}] 40e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 40f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 410:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 411:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 412:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 413:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 414:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country associated with the address."}]]}] 415:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The billing address of the payment method."}]]}] 416:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The brand of the payment card."}]]}] 417:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The funding type of the payment card."}]]}] 418:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The issuer of the payment card."}]]}] 419:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Two-letter country code of the country where the payment card was issued."}]]}] 41a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment card was added."}]]}] 41b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method."}]]}] 41c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 459:"Retrieve all payment methods of a customer (Deprecated)" 41d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 41e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 41f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 420:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 421:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 422:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 426:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the information of a specific payment method that is saved."}]]}] 427:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 428:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 429:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 42a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 42b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 439:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 43a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Only merchant initiated transactions are supported for saved ",["$","code","code-0",{"children":"REVOLUT_PAY"}]," payment methods."]}]}]]}]]}] 43b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates in which case this saved payment method can be used for payments."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"CUSTOMER"}],": This payment method can be used only when the customer is on the checkout page."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"MERCHANT"}],": This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions."]}],"\n"]}]]}] 43c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the payment card."}]]}] 43d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the payment card."}]]}] 43e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry month of the payment card."}]]}] 43f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry year of the payment card."}]]}] 440:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 441:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 442:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 443:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 444:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 445:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 446:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country associated with the address."}]]}] 447:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The billing address of the payment method."}]]}] 448:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The brand of the payment card."}]]}] 449:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The funding type of the payment card."}]]}] 44a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The issuer of the payment card."}]]}] 44b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Two-letter country code of the country where the payment card was issued."}]]}] 44c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment card was added."}]]}] 44d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method."}]]}] 401:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 455:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L475","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 44e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 44f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 450:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 451:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 452:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 45a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve all the payment methods for a specific customer."}],"\n",["$","p","p-1",{"children":"This can be useful in the following example cases:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"To show what information is stored for the customer."}],"\n",["$","li","li-1",{"children":"To try a different payment method if the first payment method fails when a recurring transaction occurs."}],"\n"]}]]}] 45b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 45c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 45d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 45e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["If ",["$","code","code-0",{"children":"only_merchant"}]," is set to ",["$","code","code-1",{"children":"true"}],", you retrieve the payment methods\nthat were saved for the merchant (",["$","code","code-2",{"children":"saved_for: \"MERCHANT\""}],")."]}],"\n",["$","p","p-1",{"children":"To use this parameter insert it at the end of the request URL. See this example for a request URL in Production environment:"}],"\n","$L476"]}] 46d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L477","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 29:["$","$5e","update-payment-method-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Payment method object","type":"object","description":"","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment method.","descriptionNode":"$L478"},"type":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","description":"The type of the payment method.\n\n:::note\nOnly merchant initiated transactions are supported for saved `REVOLUT_PAY` payment methods.\n:::","descriptionNode":"$L479"},"saved_for":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:saved_for:enum","description":"Indicates in which case this saved payment method can be used for payments.\n\n\n- `CUSTOMER`: This payment method can be used only when the customer is on the checkout page.\n- `MERCHANT`: This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions.","descriptionNode":"$L47a"},"method_details":{"type":"object","description":"The details of the payment method.","properties":{"bin":{"type":"string","maxLength":6,"minLength":6,"description":"The BIN of the payment card.","descriptionNode":"$L47b"},"last4":{"type":"string","maxLength":4,"minLength":4,"description":"The last four digits of the payment card.","descriptionNode":"$L47c"},"expiry_month":{"type":"number","description":"The expiry month of the payment card.","descriptionNode":"$L47d"},"expiry_year":{"type":"number","description":"The expiry year of the payment card.","descriptionNode":"$L47e"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L47f"},"billing_address":{"type":"object","description":"The billing address of the payment method.","properties":{"street_line_1":{"type":"string","minLength":1,"description":"Street line 1 information.","descriptionNode":"$L480"},"street_line_2":{"type":"string","minLength":1,"description":"Street line 2 information.","descriptionNode":"$L481"},"postcode":{"type":"string","minLength":1,"description":"The postcode associated with the address.","descriptionNode":"$L482"},"city":{"type":"string","minLength":1,"description":"The city associated with the address.","descriptionNode":"$L483"},"region":{"type":"string","minLength":1,"description":"The region associated with the address.","descriptionNode":"$L484"},"country_code":{"type":"string","minLength":1,"description":"The country associated with the address.","descriptionNode":"$L485"}},"descriptionNode":"$L486"},"brand":{"type":"string","description":"The brand of the payment card.","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:method_details:properties:brand:enum","descriptionNode":"$L487"},"funding":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:method_details:properties:funding:enum","description":"The funding type of the payment card.","descriptionNode":"$L488"},"issuer":{"type":"string","description":"The issuer of the payment card.","descriptionNode":"$L489"},"issuer_country":{"type":"string","description":"Two-letter country code of the country where the payment card was issued.","descriptionNode":"$L48a"},"created_at":{"type":"string","description":"The date and time the payment card was added.","format":"date-time","descriptionNode":"$L48b"}},"descriptionNode":"$L48c"}},"required":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"updated_payment_method":{"summary":"Updated payment method","value":{"id":"edef3ba4-60a0-4df3-8f12-e5fc858c2420","type":"CARD","saved_for":"CUSTOMER","method_details":{"bin":"459678","last4":"6896","expiry_month":3,"expiry_year":2025,"cardholder_name":"John Doe","brand":"VISA","funding":"DEBIT","issuer":"EXAMPLE ISSUER","issuer_country":"GB","billing_address":{"street_line_1":"7","street_line_2":"Westferry Circus","postcode":"E144HD","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}}}}}},"descriptionNode":"$L48d"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L48e"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L48f"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L490"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L491"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L492"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L493"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L494"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L495"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L496"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"saved_for":{"type":"string","description":"Update the value of `saved_for` from `MERCHANT` to `CUSTOMER`.\n\nThis indicates that the updated payment method can't be used for merchant initiated transactions (MIT) any more.","enum":["CUSTOMER"],"descriptionNode":"$L497"}},"required":["saved_for"]},"examples":{"example_request":{"summary":"Example request","value":{"saved_for":"CUSTOMER"}}}},"application/xml":{"schema":{"type":"object","properties":{}}}}},"variantLabels":[],"children":["$L498","$L499"]}]}],false]}] 402:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 403:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 498:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-payment-method-deprecated","children":[["$L49a",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"update-payment-method-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/update-payment-method-deprecated.md"}]]}]}],"$undefined"]}] 4a1:T572,
curl -X PATCH "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_2__" \
  -d '{
  "saved_for": "CUSTOMER"
}'
4a2:Td83,
const payload = {
  "saved_for": "CUSTOMER"
};
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
4a3:T146a,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  jsonData := []byte(`
{
  "saved_for": "CUSTOMER"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
4a4:Tab9,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_2__"
}
payload = {
  "saved_for": "CUSTOMER"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
4a5:T19d1,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "saved_for": "CUSTOMER"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_2__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
4a6:T1c2f,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""saved_for"": ""CUSTOMER""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4a7:T57a,
curl -X PATCH "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_2__" \
  -d '{
  "saved_for": "CUSTOMER"
}'
4a8:Td8b,
const payload = {
  "saved_for": "CUSTOMER"
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
4a9:T1472,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  jsonData := []byte(`
{
  "saved_for": "CUSTOMER"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
4aa:Tac1,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_2__"
}
payload = {
  "saved_for": "CUSTOMER"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
4ab:T19d9,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "saved_for": "CUSTOMER"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_2__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
4ac:T1c37,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""saved_for"": ""CUSTOMER""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
499:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L49b",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L49c"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L49d"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L49e"},{"name":"payment_method_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L49f"},"required":true,"description":"The ID of the payment method.","descriptionNode":"$L4a0"}],"requestBody":"$29:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$29:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_2__\" \\\n -d '{\n \"saved_for\": \"CUSTOMER\"\n}'","templateHtml":"$4a1","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"saved_for\": \"CUSTOMER\"\n};\nfetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$4a2","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"saved_for\": \"CUSTOMER\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$4a3","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_2__\"\n}\npayload = {\n \"saved_for\": \"CUSTOMER\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$4a4","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"saved_for\": \"CUSTOMER\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .PATCH(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$4a5","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"saved_for\"\": \"\"CUSTOMER\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$4a6","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_2__\" \\\n -d '{\n \"saved_for\": \"CUSTOMER\"\n}'","templateHtml":"$4a7","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"saved_for\": \"CUSTOMER\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$4a8","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"saved_for\": \"CUSTOMER\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$4a9","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_2__\"\n}\npayload = {\n \"saved_for\": \"CUSTOMER\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$4aa","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"saved_for\": \"CUSTOMER\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_2__\")\n .PATCH(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$4ab","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"saved_for\"\": \"\"CUSTOMER\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$4ac","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers/{customer_id}/payment-methods/{payment_method_id}","parameters":["$499:props:children:0:props:children:1:props:parameters:0","$499:props:children:0:props:children:1:props:parameters:1","$499:props:children:0:props:children:1:props:parameters:2"]}],"$L4ad"],"$L4ae","$L4af"]}]]}] 4ad:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L4b0"}}}] 4ae:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_request","label":"Example request","rawValue":"$29:props:children:0:props:children:props:requestBody:content:application/json:examples:example_request:value","block":"$L4b1"}],"syncedPropertyName":"$undefined"},"application/xml":{"variants":[],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 4af:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"updated_payment_method","label":"Updated payment method","rawValue":"$29:props:children:0:props:children:props:responses:200:content:application/json:examples:updated_payment_method:value","block":"$L4b2"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L4b3"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L4b4"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L4b5"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 49a:"Update a customer's payment method (Deprecated)" 478:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 479:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Only merchant initiated transactions are supported for saved ",["$","code","code-0",{"children":"REVOLUT_PAY"}]," payment methods."]}]}]]}]]}] 47a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates in which case this saved payment method can be used for payments."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"CUSTOMER"}],": This payment method can be used only when the customer is on the checkout page."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"MERCHANT"}],": This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions."]}],"\n"]}]]}] 47b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the payment card."}]]}] 47c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the payment card."}]]}] 47d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry month of the payment card."}]]}] 47e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry year of the payment card."}]]}] 47f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 480:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 481:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 482:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 483:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 484:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 485:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country associated with the address."}]]}] 486:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The billing address of the payment method."}]]}] 487:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The brand of the payment card."}]]}] 488:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The funding type of the payment card."}]]}] 489:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The issuer of the payment card."}]]}] 48a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Two-letter country code of the country where the payment card was issued."}]]}] 48b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment card was added."}]]}] 48c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method."}]]}] 48d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 48e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 1b:["$","$5e","retrieve-order-list",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"title":"Simplified-Order","type":"object","properties":{"id":{"type":"string","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorisation.","descriptionNode":"$L4b6"},"type":{"type":"string","description":"The type of the order.","enum":["PAYMENT","REFUND","CHARGEBACK"],"descriptionNode":"$L4b7"},"state":{"type":"string","description":"The state of the order.\n\n:::info\nFor more information about the order lifecycle, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle).\n:::","enum":["PENDING","PROCESSING","AUTHORISED","COMPLETED","CANCELLED","FAILED"],"descriptionNode":"$L4b8"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$L4b9"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$L4ba"},"completed_at":{"type":"string","description":"The date and time the order was completed.","format":"date-time","descriptionNode":"$L4bb"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$L4bc"},"capture_mode":{"type":"string","description":"The capture mode of the order. `AUTOMATIC` is used by default.\n\n- `AUTOMATIC`: The order is captured automatically after payment authorisation.\n- `MANUAL`: The order is not captured automatically. You must manually capture the order later.\n\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).","descriptionNode":"$L4bd"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. All payments made towards this order are settled in this currency.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L4be"},"merchant_order_ext_ref":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$L4bf"},"customer_id":{"type":"string","description":"The ID of the [customer](https://developer.revolut.com/docs/api/merchant#tag-customers) associated with this order.","descriptionNode":"$L4c0"},"email":{"type":"string","description":"The email of the customer.","format":"email","descriptionNode":"$L4c1"},"phone":{"type":"string","description":"The phone number of the customer.","descriptionNode":"$L4c2"},"order_amount":{"type":"object","description":"The amount and currency of the order.","required":["value","currency"],"properties":{"value":{"type":"integer","description":"The amount of the order (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$L4c3"},"currency":{"type":"string","description":"The currency of the order. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L4c4"}},"descriptionNode":"$L4c5"},"order_outstanding_amount":{"type":"object","description":"The amount and currency outstanding to be paid for this order.","properties":{"value":{"type":"integer","description":"The amount of the order (minor currency unit) that is outstanding. For example, enter `7034` for €70.34 in the field.","descriptionNode":"$L4c6"},"currency":{"type":"string","description":"The currency of the amount that is outstanding. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L4c7"}},"descriptionNode":"$L4c8"},"shipping_address":{"title":"Address","type":"object","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","descriptionNode":"$L4c9"},"street_line_2":{"type":"string","description":"Street line 2 information.","descriptionNode":"$L4ca"},"region":{"type":"string","description":"The region associated with the address.","descriptionNode":"$L4cb"},"city":{"type":"string","description":"The city associated with the address.","descriptionNode":"$L4cc"},"country_code":{"type":"string","description":"The country associated with the address.","descriptionNode":"$L4cd"},"postcode":{"type":"string","description":"The postcode associated with the address.","descriptionNode":"$L4ce"}},"required":["country_code","postcode"]}},"required":["id","type","state","created_at","updated_at","order_amount"],"description":"The `Order` object returned when you retrieve a list of orders.","descriptionNode":"$L4cf"}},"examples":{"list_of_orders":{"summary":"List of orders","value":[{"id":"f0d685f4-07ab-4eff-ba80-5811303c607d","type":"PAYMENT","state":"PENDING","created_at":"2021-02-10T18:17:37.959383Z","updated_at":"2021-02-10T18:17:37.959383Z","order_amount":{"value":35000,"currency":"GBP"},"order_outstanding_amount":{"value":35000,"currency":"GBP"}},{"id":"feca684a-b9ea-4033-9bc4-b9e6ac12ada6","type":"PAYMENT","state":"COMPLETED","created_at":"2021-02-10T16:59:23.642673Z","updated_at":"2021-02-10T16:59:50.886826Z","completed_at":"2021-02-10T16:59:50.886826Z","settlement_currency":"USD","email":"sally.gibson@lloydsbank.co.uk","order_amount":{"value":1000,"currency":"GBP"},"order_outstanding_amount":{"value":0,"currency":"GBP"}},{"id":"f3c5e3f1-f73a-4853-a9e3-b0261301c66a","type":"PAYMENT","state":"COMPLETED","created_at":"2021-02-10T16:58:47.507560Z","updated_at":"2021-02-10T16:59:52.847017Z","completed_at":"2021-02-10T16:59:52.847017Z","description":"URBAN 'Panther' Watch by José Almeida","capture_mode":"AUTOMATIC","merchant_order_ext_ref":"testorder123","customer_id":"31345442-3d03-4c4b-8354-3bdaf0ca9600","email":"someothermail@gmail.com","order_amount":{"value":777,"currency":"GBP"},"order_outstanding_amount":{"value":0,"currency":"GBP"}}]}}}},"descriptionNode":"$L4d0"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L4d1"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L4d2"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L4d3"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L4d4"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L4d5"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L4d6"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L4d7"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L4d8"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L4d9"}},"requestBody":"$undefined","variantLabels":[],"children":["$L4da","$L4db"]}]}],false]}] 48f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 490:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 491:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 492:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 493:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 494:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 495:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 496:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 497:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update the value of ",["$","code","code-0",{"children":"saved_for"}]," from ",["$","code","code-1",{"children":"MERCHANT"}]," to ",["$","code","code-2",{"children":"CUSTOMER"}],"."]}],"\n",["$","p","p-1",{"children":"This indicates that the updated payment method can't be used for merchant initiated transactions (MIT) any more."}]]}] 49b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"When you use this request to update a customer's payment method, the payment method can't be used for merchant initiated transactions (MIT) any more. This payment method can be used only when the customer is on the checkout page."}],"\n",["$","p","p-1",{"children":"For more information about the limitations introduced by this parameter, see:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/Legacy#pay-order","target":"_blank","rel":"noreferrer","children":"Pay for an order"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/charge-saved-payment-method","target":"_blank","rel":"noreferrer","children":"Charge a customer's saved payment method"}]}],"\n"]}]]}] 49c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 49d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 49e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 49f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 4a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 4da:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-order-list","children":[["$L4dc","$undefined"],["$","$L15",null,{"id":"retrieve-order-list"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-order-list.md"}]]}]}],"$undefined"]}] 4e7:T993,
fetch("https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_8__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
4e8:Te7b,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_8__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
4e9:T7a7,
import requests

url = "https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"
headers = {
  "Authorization": "__RP_TOK_8__"
}

response = requests.get(url, headers=headers)
print(response.json())
4ea:T161f,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"))
      .header("Authorization", "__RP_TOK_8__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
4eb:T153f,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_8__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4ec:T99b,
fetch("https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_8__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
4ed:Te83,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_8__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
4ee:T7af,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"
headers = {
  "Authorization": "__RP_TOK_8__"
}

response = requests.get(url, headers=headers)
print(response.json())
4ef:T1627,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"))
      .header("Authorization", "__RP_TOK_8__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
4f0:T1547,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_8__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4db:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L4dd",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L4de"},{"schema":{"type":"integer","default":100,"minimum":1,"maximum":1000},"in":"query","name":"limit","description":"The maximum number of orders returned per page. Used for **pagination**.","descriptionNode":"$L4df"},{"schema":{"type":"string","format":"date-time"},"in":"query","name":"created_before","description":"Retrieve orders with a `created_date` < `created_before`. Used for **pagination**. Use the `created_date` of the last order returned in the previous response to get to the next page.\n\nThe default value is the current date and time you are calling the endpoint.","descriptionNode":"$L4e0"},{"schema":{"type":"string","format":"date-time"},"in":"query","name":"from_created_date","description":"Retrieve all orders with a `created_date` ≥ `from_created_date`. Used for **filtering**.\n\nUse the [ISO date format](https://en.wikipedia.org/wiki/ISO_8601): `yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z`. For example, `2021-02-10T16:59:50.886826Z`.","descriptionNode":"$L4e1"},{"schema":{"type":"string","format":"date-time"},"in":"query","name":"to_created_date","description":"Retrieve all orders with a `created_date` ≤ `to_created_date`. Used for **filtering**.\n\nUse the [ISO date format](https://en.wikipedia.org/wiki/ISO_8601): `yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z`. For example, `2021-02-10T16:59:50.886826Z`.","descriptionNode":"$L4e2"},{"schema":{"type":"string","format":"uuid"},"in":"query","name":"customer_id","description":"Retrieve all orders that have this `customer_id` associated to them. Used for **filtering**.","descriptionNode":"$L4e3"},{"schema":{"type":"string","format":"email"},"in":"query","name":"email","description":"Retrieve all orders that have this `email` associated to them. Used for **filtering**. \n\nThis parameter is case sensitive.","descriptionNode":"$L4e4"},{"schema":{"type":"string"},"in":"query","name":"merchant_order_ext_ref","description":"Merchant order ID for external reference. Use this field to filter and retrieve all the orders that have this ID. Used for **filtering**. \n\nThis parameter is case sensitive.","descriptionNode":"$L4e5"},{"schema":{"type":"array","items":{"type":"string","enum":["PENDING","PROCESSING","AUTHORISED","COMPLETED","CANCELLED","FAILED"]}},"style":"form","explode":true,"in":"query","name":"state","description":"Retrieve all orders with specific states. You can pass several states. Used for **filtering**.\n\nIf multiple states are selected, for example `AUTHORISED` and `COMPLETED`, orders with either of the selected values are returned. See this example of such a request URL: \n\n```curl\nhttps://merchant.revolut.com/api/1.0/orders?state=AUTHORISED&state=COMPLETED\n```\n\nThe parameter is case sensitive.","descriptionNode":"$L4e6"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$1b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\" \\\n -H \"Authorization: __RP_TOK_8__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\" \\\n  -H \"Authorization: __RP_TOK_8__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_8__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$4e7","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_8__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$4e8","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_8__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$4e9","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"))\n .header(\"Authorization\", \"__RP_TOK_8__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$4ea","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_8__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$4eb","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\" \\\n -H \"Authorization: __RP_TOK_8__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\" \\\n  -H \"Authorization: __RP_TOK_8__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_8__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$4ec","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_8__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$4ed","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_8__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$4ee","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"))\n .header(\"Authorization\", \"__RP_TOK_8__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$4ef","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/orders?limit=__RP_TOK_0__&created_before=__RP_TOK_1__&from_created_date=__RP_TOK_2__&to_created_date=__RP_TOK_3__&customer_id=__RP_TOK_4__&email=__RP_TOK_5__&merchant_order_ext_ref=__RP_TOK_6__&state=__RP_TOK_7__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_8__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$4f0","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"from_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"to_created_date","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"customer_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"email","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"merchant_order_ext_ref","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_7__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_8__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:limit":"100","query:created_before":"2024-01-01T00:00:00Z","query:from_created_date":"2024-01-01T00:00:00Z","query:to_created_date":"2024-01-01T00:00:00Z","query:customer_id":"123e4567-e89b-12d3-a456-426614174000","query:email":"user@example.com","query:merchant_order_ext_ref":"string","query:state":"[]"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/orders","parameters":["$4db:props:children:0:props:children:1:props:parameters:0","$4db:props:children:0:props:children:1:props:parameters:1","$4db:props:children:0:props:children:1:props:parameters:2","$4db:props:children:0:props:children:1:props:parameters:3","$4db:props:children:0:props:children:1:props:parameters:4","$4db:props:children:0:props:children:1:props:parameters:5","$4db:props:children:0:props:children:1:props:parameters:6","$4db:props:children:0:props:children:1:props:parameters:7","$4db:props:children:0:props:children:1:props:parameters:8"]}],"$L4f1"],"$L4f2","$L4f3"]}]]}] 4f4:T1795,
{
  "id": "edef3ba4-60a0-4df3-8f12-e5fc858c2420",
  "type": "CARD",
  "saved_for": "CUSTOMER",
  "method_details": {
    "bin": "459678",
    "last4": "6896",
    "expiry_month": 3,
    "expiry_year": 2025,
    "cardholder_name": "Example Customer",
    "brand": "VISA",
    "funding": "DEBIT",
    "issuer": "EXAMPLE ISSUER",
    "issuer_country": "GB",
    "billing_address": {
      "street_line_1": "7",
      "street_line_2": "Westferry Circus",
      "postcode": "E144HD",
      "city": "London",
      "region": "Greater London",
      "country_code": "GB"
    },
    "created_at": "2023-03-24T14:15:22Z"
  }
}
456:["$","div","200-application/json-retrieved_payment_method",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$4f4"}}]}]],"$L4f5"]}] 457:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 458:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 4b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L4f6","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 4f1:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L4f7"}}}] 4f2:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 4f3:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_orders","label":"List of orders","rawValue":"$1b:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_orders:value","block":"$L4f8"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L4f9"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L4fa"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L4fb"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4f5:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"edef3ba4-60a0-4df3-8f12-e5fc858c2420\",\n \"type\": \"CARD\",\n \"saved_for\": \"CUSTOMER\",\n \"method_details\": {\n \"bin\": \"459678\",\n \"last4\": \"6896\",\n \"expiry_month\": 3,\n \"expiry_year\": 2025,\n \"cardholder_name\": \"Example Customer\",\n \"brand\": \"VISA\",\n \"funding\": \"DEBIT\",\n \"issuer\": \"EXAMPLE ISSUER\",\n \"issuer_country\": \"GB\",\n \"billing_address\": {\n \"street_line_1\": \"7\",\n \"street_line_2\": \"Westferry Circus\",\n \"postcode\": \"E144HD\",\n \"city\": \"London\",\n \"region\": \"Greater London\",\n \"country_code\": \"GB\"\n },\n \"created_at\": \"2023-03-24T14:15:22Z\"\n }\n}"}]}] 4fc:T3586,
[
  {
    "id": "648334a8-9546-a983-a81a-efc6d5bdd0be",
    "type": "REVOLUT_PAY",
    "saved_for": "MERCHANT",
    "method_details": {
      "created_at": "2023-06-09T14:18:16.577888Z"
    }
  },
  {
    "id": "edef3ba4-60a0-4df3-8f12-e5fc858c2420",
    "type": "CARD",
    "saved_for": "CUSTOMER",
    "method_details": {
      "bin": "459678",
      "last4": "6896",
      "expiry_month": 3,
      "expiry_year": 2025,
      "cardholder_name": "Example Customer",
      "brand": "VISA",
      "funding": "DEBIT",
      "issuer": "EXAMPLE ISSUER",
      "issuer_country": "GB",
      "billing_address": {
        "street_line_1": "7",
        "street_line_2": "Westferry Circus",
        "postcode": "E144HD",
        "city": "London",
        "region": "Greater London",
        "country_code": "GB"
      },
      "created_at": "2023-03-24T14:15:22Z"
    }
  },
  {
    "id": "a04406c4-05be-498b-8207-cc1e02a9b3ca",
    "type": "CARD",
    "saved_for": "MERCHANT",
    "method_details": {
      "bin": "459885",
      "last4": "7653",
      "expiry_month": 12,
      "expiry_year": 2021,
      "cardholder_name": "Example Holder",
      "brand": "MASTERCARD",
      "funding": "CREDIT",
      "issuer": "EXAMPLE ISSUER",
      "issuer_country": "GB",
      "billing_address": {
        "street_line_1": "Revolut",
        "street_line_2": "1 Canada Square",
        "postcode": "EC2V 6DN",
        "city": "London",
        "region": "Greater London",
        "country_code": "GB"
      },
      "created_at": "2023-03-24T14:15:22Z"
    }
  }
]
46e:["$","div","200-application/json-list_of_payment_methods",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$4fc"}}]}]],"$L4fd"]}] 4fe:T26db,
[
  {
    "id": "624baa72-0a30-4ee3-9870-d7172912704c",
    "type": "CARD",
    "saved_for": "MERCHANT",
    "method_details": {
      "bin": "492942",
      "last4": "5709",
      "expiry_month": 12,
      "expiry_year": 2025,
      "cardholder_name": "Example Customer",
      "billing_address": {
        "street_line_1": "7",
        "street_line_2": "Westferry Circus",
        "postcode": "E144HD",
        "city": "London",
        "region": "Greater London",
        "country_code": "GB"
      },
      "created_at": "2023-03-24T14:15:22Z"
    }
  },
  {
    "id": "b92b7413-8764-4f8e-855d-d9b6986af2d9",
    "type": "CARD",
    "saved_for": "MERCHANT",
    "method_details": {
      "bin": "528143",
      "last4": "7653",
      "expiry_month": 12,
      "expiry_year": 2025,
      "cardholder_name": "Example Holder",
      "billing_address": {
        "street_line_1": "Revolut",
        "street_line_2": "1 Canada Square",
        "postcode": "EC2V 6DN",
        "city": "London",
        "region": "Greater London",
        "country_code": "GB"
      },
      "created_at": "2023-03-24T14:15:22Z"
    }
  }
]
46f:["$","div","200-application/json-list_of_only_merchant_payment_methods",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$4fe"}}]}]],"$L4ff"]}] 470:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 500:T60c,[ { "id": "648334a8-9546-a983-a81a-efc6d5bdd0be", "type": "REVOLUT_PAY", "saved_for": "MERCHANT", "method_details": { "created_at": "2023-06-09T14:18:16.577888Z" } }, { "id": "edef3ba4-60a0-4df3-8f12-e5fc858c2420", "type": "CARD", "saved_for": "CUSTOMER", "method_details": { "bin": "459678", "last4": "6896", "expiry_month": 3, "expiry_year": 2025, "cardholder_name": "Example Customer", "brand": "VISA", "funding": "DEBIT", "issuer": "EXAMPLE ISSUER", "issuer_country": "GB", "billing_address": { "street_line_1": "7", "street_line_2": "Westferry Circus", "postcode": "E144HD", "city": "London", "region": "Greater London", "country_code": "GB" }, "created_at": "2023-03-24T14:15:22Z" } }, { "id": "a04406c4-05be-498b-8207-cc1e02a9b3ca", "type": "CARD", "saved_for": "MERCHANT", "method_details": { "bin": "459885", "last4": "7653", "expiry_month": 12, "expiry_year": 2021, "cardholder_name": "Example Holder", "brand": "MASTERCARD", "funding": "CREDIT", "issuer": "EXAMPLE ISSUER", "issuer_country": "GB", "billing_address": { "street_line_1": "Revolut", "street_line_2": "1 Canada Square", "postcode": "EC2V 6DN", "city": "London", "region": "Greater London", "country_code": "GB" }, "created_at": "2023-03-24T14:15:22Z" } } ]4fd:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$500"}]}] 501:T461,[ { "id": "624baa72-0a30-4ee3-9870-d7172912704c", "type": "CARD", "saved_for": "MERCHANT", "method_details": { "bin": "492942", "last4": "5709", "expiry_month": 12, "expiry_year": 2025, "cardholder_name": "Example Customer", "billing_address": { "street_line_1": "7", "street_line_2": "Westferry Circus", "postcode": "E144HD", "city": "London", "region": "Greater London", "country_code": "GB" }, "created_at": "2023-03-24T14:15:22Z" } }, { "id": "b92b7413-8764-4f8e-855d-d9b6986af2d9", "type": "CARD", "saved_for": "MERCHANT", "method_details": { "bin": "528143", "last4": "7653", "expiry_month": 12, "expiry_year": 2025, "cardholder_name": "Example Holder", "billing_address": { "street_line_1": "Revolut", "street_line_2": "1 Canada Square", "postcode": "EC2V 6DN", "city": "London", "region": "Greater London", "country_code": "GB" }, "created_at": "2023-03-24T14:15:22Z" } } ]4ff:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$501"}]}] 4dc:"Retrieve an order list" 4b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorisation."}]]}] 4b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] 4b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the order lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}]}]]}]]}] 4b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] 4ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] 4bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was completed."}]]}] 4bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] 4bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"AUTOMATIC"}]," is used by default."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"AUTOMATIC"}],": The order is captured automatically after payment authorisation."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"MANUAL"}],": The order is not captured automatically. You must manually capture the order later."]}],"\n"]}],"\n",["$","p","p-1",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]]}] 4be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case. All payments made towards this order are settled in this currency."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 4bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] 4c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"customer"}]," associated with this order."]}]]}] 4c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the customer."}]]}] 4c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the customer."}]]}] 4c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the order (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 4c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the order. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 4c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the order."}]]}] 4c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the order (minor currency unit) that is outstanding. For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 4c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the amount that is outstanding. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 4c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency outstanding to be paid for this order."}]]}] 4c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 4ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 4cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 4cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 4cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country associated with the address."}]]}] 4ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 4cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"Order"}]," object returned when you retrieve a list of orders."]}]]}] 4d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 4d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 4d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 4d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 4d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 4d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 4d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 4d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 4d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 4d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 4dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve all the orders that you've created. You can also use the query parameters for:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Filtering","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Pagination","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["Filter the orders that you want to retrieve, for example, only retrieve the orders that have a specific email. ",["$","br","br-0",{}],["$","br","br-1",{}],"Parameters used for filtering:",["$","br","br-2",{}],["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"from_created_date"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"to_created_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"customer_id"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"email"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"merchant_order_ext_ref"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"state"}]}]]}]],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["View the orders without loading all of them at once, for example, return a specified number of orders per page. ",["$","br","br-0",{}],["$","br","br-1",{}],"Parameters used for pagination: ",["$","br","br-2",{}],["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"limit"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"created_before"}]}]]}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","p","p-1",{"children":["The response contains an array of simplified ",["$","code","code-0",{"children":"Order"}]," objects. To get the full details of an ",["$","code","code-1",{"children":"Order"}]," object, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-order","target":"_blank","rel":"noreferrer","children":"Retrieve an order"}]," endpoint."]}]]}] 4de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 4df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The maximum number of orders returned per page. Used for ",["$","strong","strong-0",{"children":"pagination"}],"."]}]]}] 4e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve orders with a ",["$","code","code-0",{"children":"created_date"}]," < ",["$","code","code-1",{"children":"created_before"}],". Used for ",["$","strong","strong-0",{"children":"pagination"}],". Use the ",["$","code","code-2",{"children":"created_date"}]," of the last order returned in the previous response to get to the next page."]}],"\n",["$","p","p-1",{"children":"The default value is the current date and time you are calling the endpoint."}]]}] 4e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all orders with a ",["$","code","code-0",{"children":"created_date"}]," ≥ ",["$","code","code-1",{"children":"from_created_date"}],". Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":["Use the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO date format"}],": ",["$","code","code-0",{"children":"yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z"}],". For example, ",["$","code","code-1",{"children":"2021-02-10T16:59:50.886826Z"}],"."]}]]}] 4e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all orders with a ",["$","code","code-0",{"children":"created_date"}]," ≤ ",["$","code","code-1",{"children":"to_created_date"}],". Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":["Use the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO date format"}],": ",["$","code","code-0",{"children":"yyyy-MM-ddTHH:mm:ss[.SSSSSS]Z"}],". For example, ",["$","code","code-1",{"children":"2021-02-10T16:59:50.886826Z"}],"."]}]]}] 4e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all orders that have this ",["$","code","code-0",{"children":"customer_id"}]," associated to them. Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}]]}] 4e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all orders that have this ",["$","code","code-0",{"children":"email"}]," associated to them. Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":"This parameter is case sensitive."}]]}] 4e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant order ID for external reference. Use this field to filter and retrieve all the orders that have this ID. Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":"This parameter is case sensitive."}]]}] 4e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieve all orders with specific states. You can pass several states. Used for ",["$","strong","strong-0",{"children":"filtering"}],"."]}],"\n",["$","p","p-1",{"children":["If multiple states are selected, for example ",["$","code","code-0",{"children":"AUTHORISED"}]," and ",["$","code","code-1",{"children":"COMPLETED"}],", orders with either of the selected values are returned. See this example of such a request URL:"]}],"\n","$L502","\n",["$","p","p-2",{"children":"The parameter is case sensitive."}]]}] 24:["$","$5e","retrieve-customer-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Customer object with Payment Method object","type":"object","properties":{"id":{"type":"string","description":"Permanent customer ID used to retrieve, update, and delete a customer.","descriptionNode":"$L503"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L504"},"business_name":{"type":"string","description":"The name of the customer's business.","descriptionNode":"$L505"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L506"},"created_at":{"type":"string","description":"The date and time the customer was created.","format":"date-time","descriptionNode":"$L507"},"updated_at":{"type":"string","description":"The data and time the customer was last updated.","format":"date-time","descriptionNode":"$L508"},"email":{"type":"string","description":"The email address of the customer.","format":"email","descriptionNode":"$L509"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L50a"},"payment_methods":{"type":"array","uniqueItems":false,"description":"All the payment methods for this customer.","items":{"title":"Payment method object","type":"object","description":"","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment method.","descriptionNode":"$L50b"},"type":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","description":"The type of the payment method.\n\n:::note\nOnly merchant initiated transactions are supported for saved `REVOLUT_PAY` payment methods.\n:::","descriptionNode":"$L50c"},"saved_for":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:saved_for:enum","description":"Indicates in which case this saved payment method can be used for payments.\n\n\n- `CUSTOMER`: This payment method can be used only when the customer is on the checkout page.\n- `MERCHANT`: This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions.","descriptionNode":"$L50d"},"method_details":{"type":"object","description":"The details of the payment method.","properties":{"bin":{"type":"string","maxLength":6,"minLength":6,"description":"The BIN of the payment card.","descriptionNode":"$L50e"},"last4":{"type":"string","maxLength":4,"minLength":4,"description":"The last four digits of the payment card.","descriptionNode":"$L50f"},"expiry_month":{"type":"number","description":"The expiry month of the payment card.","descriptionNode":"$L510"},"expiry_year":{"type":"number","description":"The expiry year of the payment card.","descriptionNode":"$L511"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L512"},"billing_address":{"type":"object","description":"The billing address of the payment method.","properties":{"street_line_1":{"type":"string","minLength":1,"description":"Street line 1 information.","descriptionNode":"$L513"},"street_line_2":{"type":"string","minLength":1,"description":"Street line 2 information.","descriptionNode":"$L514"},"postcode":{"type":"string","minLength":1,"description":"The postcode associated with the address.","descriptionNode":"$L515"},"city":{"type":"string","minLength":1,"description":"The city associated with the address.","descriptionNode":"$L516"},"region":{"type":"string","minLength":1,"description":"The region associated with the address.","descriptionNode":"$L517"},"country_code":{"type":"string","minLength":1,"description":"The country associated with the address.","descriptionNode":"$L518"}},"descriptionNode":"$L519"},"brand":{"type":"string","description":"The brand of the payment card.","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:method_details:properties:brand:enum","descriptionNode":"$L51a"},"funding":{"type":"string","enum":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:method_details:properties:funding:enum","description":"The funding type of the payment card.","descriptionNode":"$L51b"},"issuer":{"type":"string","description":"The issuer of the payment card.","descriptionNode":"$L51c"},"issuer_country":{"type":"string","description":"Two-letter country code of the country where the payment card was issued.","descriptionNode":"$L51d"},"created_at":{"type":"string","description":"The date and time the payment card was added.","format":"date-time","descriptionNode":"$L51e"}},"descriptionNode":"$L51f"}},"required":"$28:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"descriptionNode":"$L520"}},"required":["id","created_at","updated_at","email"]},"examples":{"retrieved_customer":{"summary":"Retrieved customer","value":{"id":"6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae","full_name":"Example Customer","business_name":"Example Business","email":"example.customer@example.com","phone":"+441234567890","date_of_birth":"1990-01-01","created_at":"2020-06-24T12:03:39.979397Z","updated_at":"2020-06-25T10:03:39.134417Z","payment_methods":[{"id":"648334a8-9546-a983-a81a-efc6d5bdd0be","type":"REVOLUT_PAY","saved_for":"MERCHANT","method_details":{"created_at":"2023-06-09T14:18:16.577888Z"}},{"id":"edef3ba4-60a0-4df3-8f12-e5fc858c2420","type":"CARD","saved_for":"CUSTOMER","method_details":{"bin":"459765","last4":"6578","expiry_month":2,"expiry_year":2025,"cardholder_name":"Example Customer","brand":"VISA","funding":"DEBIT","issuer":"EXAMPLE ISSUER","issuer_country":"GB","billing_address":{"street_line_1":"7, Westferry Circus","street_line_2":"Columbus Building","postcode":"E144HD","city":"London","region":"Greater London","country_code":"GB"},"created_at":"2023-03-24T14:15:22Z"}}]}}}}},"descriptionNode":"$L521"},"401":{"description":"Unauthorized","descriptionNode":"$L522"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L523"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L524"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L525"}},"requestBody":"$undefined","variantLabels":[],"children":["$L526","$L527"]}]}],false]}] 475:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 526:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-customer-deprecated","children":[["$L528",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"retrieve-customer-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-customer-deprecated.md"}]]}]}],"$undefined"]}] 52d:T8b2,
fetch("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
52e:Td9a,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
52f:T6c6,
import requests

url = "https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
530:T153e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
531:T145e,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
532:T8ba,
fetch("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
533:Tda2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
534:T6ce,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
535:T1546,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
536:T1466,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
527:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L529",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L52a"},{"name":"customer_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L52b"},"required":true,"description":"The ID of the `Customer` object.","descriptionNode":"$L52c"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$24:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$52d","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$52e","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$52f","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$530","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$531","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$532","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$533","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$534","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$535","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/customers/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$536","tokens":[{"marker":"__RP_TOK_0__","paramName":"customer_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:customer_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/customers/{customer_id}","parameters":["$527:props:children:0:props:children:1:props:parameters:0","$527:props:children:0:props:children:1:props:parameters:1"]}],"$L537"],"$L538","$L539"]}]]}] 4f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L53a","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 476:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
https://merchant.revolut.com/api/1.0/customers/{customer_id}/payment-methods?only_merchant=true
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"https://merchant.revolut.com/api/1.0/customers/{customer_id}/payment-methods?only_merchant=true\n"}]}]]}] 477:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 537:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L53b"}}}] 538:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 539:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"retrieved_customer","label":"Retrieved customer","rawValue":"$24:props:children:0:props:children:props:responses:200:content:application/json:examples:retrieved_customer:value","block":"$L53c"}],"syncedPropertyName":"$undefined"}},"401":{},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L53d"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4b1:["$","div","request-application/json-example_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"saved_for\": \"CUSTOMER\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"saved_for\": \"CUSTOMER\"\n}"}]}]]}] 53e:T178d,
{
  "id": "edef3ba4-60a0-4df3-8f12-e5fc858c2420",
  "type": "CARD",
  "saved_for": "CUSTOMER",
  "method_details": {
    "bin": "459678",
    "last4": "6896",
    "expiry_month": 3,
    "expiry_year": 2025,
    "cardholder_name": "John Doe",
    "brand": "VISA",
    "funding": "DEBIT",
    "issuer": "EXAMPLE ISSUER",
    "issuer_country": "GB",
    "billing_address": {
      "street_line_1": "7",
      "street_line_2": "Westferry Circus",
      "postcode": "E144HD",
      "city": "London",
      "region": "Greater London",
      "country_code": "GB"
    },
    "created_at": "2023-03-24T14:15:22Z"
  }
}
4b2:["$","div","200-application/json-updated_payment_method",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$53e"}}]}]],"$L53f"]}] 4b3:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 4b4:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 4b5:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 528:"Retrieve a customer (Deprecated)" 53f:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"edef3ba4-60a0-4df3-8f12-e5fc858c2420\",\n \"type\": \"CARD\",\n \"saved_for\": \"CUSTOMER\",\n \"method_details\": {\n \"bin\": \"459678\",\n \"last4\": \"6896\",\n \"expiry_month\": 3,\n \"expiry_year\": 2025,\n \"cardholder_name\": \"John Doe\",\n \"brand\": \"VISA\",\n \"funding\": \"DEBIT\",\n \"issuer\": \"EXAMPLE ISSUER\",\n \"issuer_country\": \"GB\",\n \"billing_address\": {\n \"street_line_1\": \"7\",\n \"street_line_2\": \"Westferry Circus\",\n \"postcode\": \"E144HD\",\n \"city\": \"London\",\n \"region\": \"Greater London\",\n \"country_code\": \"GB\"\n },\n \"created_at\": \"2023-03-24T14:15:22Z\"\n }\n}"}]}] 542:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|54c:T47c,List of event types that the webhook is configured to listen to. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|35:["$","$5e","create-webhook-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Webhook with signing secret","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L540"},"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L541"},"events":{"type":"array","description":"$542","items":{"type":"string","description":"The available event types your can listen to.","enum":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:events:items:enum","descriptionNode":"$L543"},"minItems":1,"descriptionNode":"$L544"},"signing_secret":{"type":"string","description":"The signing secret for the webhook. Use it to verify the signature for the webhook request's payload.","descriptionNode":"$L545"}},"required":"$37:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"created_webhook":{"summary":"Created webhook","value":{"id":"c6b981f4-53b3-47d5-9b24-4f87af1160eb","url":"https://example.com/webhooks","events":["ORDER_AUTHORISED","ORDER_COMPLETED"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"}}}}},"descriptionNode":"$L546"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L547"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L548"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L549"},"401":{"description":"Unauthorized","descriptionNode":"$L54a"}},"requestBody":{"content":{"application/json":{"schema":{"title":"Webhook schema for creation and update operations","type":"object","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"Your webhook's URL to which event notifications will be sent. \n\nMust be a valid HTTP or HTTPS URL, capable of receiving `POST` requests.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L54b"},"events":{"type":"array","description":"$54c","items":{"type":"string","description":"The available event types your can listen to.","enum":"$36:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:events:items:enum","descriptionNode":"$L54d"},"minItems":1,"descriptionNode":"$L54e"}},"required":"$38:props:children:0:props:children:props:requestBody:content:application/json:schema:required"},"examples":{"example_webhook_request":{"summary":"Example webhook request","value":{"url":"https://example.com/webhooks","events":["ORDER_COMPLETED","ORDER_AUTHORISED"]}}}}}},"variantLabels":[],"children":["$L54f","$L550"]}]}],"$L551"]}] 503:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent customer ID used to retrieve, update, and delete a customer."}]]}] 504:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 505:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the customer's business."}]]}] 506:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 507:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the customer was created."}]]}] 508:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The data and time the customer was last updated."}]]}] 509:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 50a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 50b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method."}]]}] 50c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Only merchant initiated transactions are supported for saved ",["$","code","code-0",{"children":"REVOLUT_PAY"}]," payment methods."]}]}]]}]]}] 50d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates in which case this saved payment method can be used for payments."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"CUSTOMER"}],": This payment method can be used only when the customer is on the checkout page."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"MERCHANT"}],": This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions."]}],"\n"]}]]}] 50e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the payment card."}]]}] 50f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the payment card."}]]}] 510:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry month of the payment card."}]]}] 511:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry year of the payment card."}]]}] 512:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 513:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 514:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 515:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 516:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 517:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 518:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country associated with the address."}]]}] 519:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The billing address of the payment method."}]]}] 51a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The brand of the payment card."}]]}] 51b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The funding type of the payment card."}]]}] 54f:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-webhook-deprecated","children":[["$L552",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L15",null,{"id":"create-webhook-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/create-webhook-deprecated.md"}]]}]}],"$undefined"]}] 555:T6dd,
curl -X POST "https://merchant.revolut.com/api/1.0/webhooks" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}'
556:Tf96,
const payload = {
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
};
fetch("https://merchant.revolut.com/api/1.0/webhooks", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
557:T15d5,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/webhooks"
  jsonData := []byte(`
{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
558:Tccc,
import requests

url = "https://merchant.revolut.com/api/1.0/webhooks"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
559:T1b3c,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/webhooks"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
55a:T1f98,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://example.com/webhooks"",
  ""events"": [
    ""ORDER_COMPLETED"",
    ""ORDER_AUTHORISED""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
55b:T6e5,
curl -X POST "https://sandbox-merchant.revolut.com/api/1.0/webhooks" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}'
55c:Tf9e,
const payload = {
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/webhooks", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
55d:T15dd,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/webhooks"
  jsonData := []byte(`
{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
55e:Tcd4,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/webhooks"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
55f:T1b44,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/webhooks"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
560:T1fa0,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://example.com/webhooks"",
  ""events"": [
    ""ORDER_COMPLETED"",
    ""ORDER_AUTHORISED""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
550:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L553",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L554"}],"requestBody":"$35:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$35:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/1.0/webhooks\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}'","templateHtml":"$555","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n};\nfetch(\"https://merchant.revolut.com/api/1.0/webhooks\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$556","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/webhooks\"\n jsonData := []byte(`\n{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$557","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$558","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/webhooks\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$559","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://example.com/webhooks\"\",\n \"\"events\"\": [\n \"\"ORDER_COMPLETED\"\",\n \"\"ORDER_AUTHORISED\"\"\n ]\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$55a","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}'","templateHtml":"$55b","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$55c","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"\n jsonData := []byte(`\n{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$55d","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$55e","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$55f","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://example.com/webhooks\"\",\n \"\"events\"\": [\n \"\"ORDER_COMPLETED\"\",\n \"\"ORDER_AUTHORISED\"\"\n ]\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$560","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/webhooks","parameters":["$550:props:children:0:props:children:1:props:parameters:0"]}],"$L561"],"$L562","$L563"]}]]}] 566:T492,The event type of the webhook notification that's sent by Revolut to your webhook URL. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|56b:T492,The event type of the webhook notification that's sent by Revolut to your webhook URL. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|56f:T492,The event type of the webhook notification that's sent by Revolut to your webhook URL. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|572:T492,The event type of the webhook notification that's sent by Revolut to your webhook URL. Each event is related to status changes of a specific object in the Merchant API: | Object | Event types | | --------- | ----------- | | `Order` |
  • `ORDER_COMPLETED`
  • `ORDER_AUTHORISED`
  • `ORDER_CANCELLED`
  • `ORDER_FAILED`
  • `ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED`
  • `ORDER_INCREMENTAL_AUTHORISATION_DECLINED`
  • `ORDER_INCREMENTAL_AUTHORISATION_FAILED`
| | `Payment` |
  • `ORDER_PAYMENT_AUTHENTICATION_CHALLENGED`
  • `ORDER_PAYMENT_AUTHENTICATED`
  • `ORDER_PAYMENT_AUTHORISATION_STARTED`
  • `ORDER_PAYMENT_DECLINED`
  • `ORDER_PAYMENT_FAILED`
| | `Subscription` |
  • `SUBSCRIPTION_INITIATED`
  • `SUBSCRIPTION_FINISHED`
  • `SUBSCRIPTION_CANCELLED`
  • `SUBSCRIPTION_OVERDUE`
| | `Payout` |
  • `PAYOUT_INITIATED`
  • `PAYOUT_COMPLETED`
  • `PAYOUT_FAILED`
| | `Dispute` |
  • `DISPUTE_ACTION_REQUIRED`
  • `DISPUTE_UNDER_REVIEW`
  • `DISPUTE_WON`
  • `DISPUTE_LOST`
|551:["$","section",null,{"className":"zzkpfh0","children":[["$","h3",null,{"children":"Callbacks"}],["$","div",null,{"className":"zzkpfh1","children":[["$","section","create-webhook-deprecated-callback-send-webhook-event-request-body-url-post",{"className":"y9a0do6 y9a0do0","data-variant":"callback","children":["$","$L5f",null,{"responses":{"204":{"description":"If the webhook event was delivered successfully, we recommend to respond with a `204` code.\n\n:::info\nYou can respond to and acknowledge the delivery of a webhook event by any HTTP response code between `200-399`.\n:::","descriptionNode":"$L564"},"4XX":{"description":"If the webhook event delivery times out or the delivery of the events fails, you can respond with any HTTP `4XX` code. In this case, Revolut will retry sending the webhook event 3 more times, each with a 10-minute delay.","descriptionNode":"$L565"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"discriminator":{"propertyName":"event","mapping":{"Order or payment event":"#/components/schemas/Webhook-Order-Event","Subscription":"#/components/schemas/Webhook-Subscription-Event","Payout event":"#/components/schemas/Webhook-Payout-Event","Dispute event":"#/components/schemas/Webhook-Dispute-Event"}},"oneOf":[{"type":"object","properties":{"event":{"type":"string","enum":["ORDER_COMPLETED","ORDER_AUTHORISED","ORDER_CANCELLED","ORDER_FAILED","ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED","ORDER_INCREMENTAL_AUTHORISATION_DECLINED","ORDER_INCREMENTAL_AUTHORISATION_FAILED","ORDER_PAYMENT_AUTHENTICATION_CHALLENGED","ORDER_PAYMENT_AUTHENTICATED","ORDER_PAYMENT_AUTHORISATION_STARTED","ORDER_PAYMENT_DECLINED","ORDER_PAYMENT_FAILED","SUBSCRIPTION_INITIATED","SUBSCRIPTION_FINISHED","SUBSCRIPTION_CANCELLED","SUBSCRIPTION_OVERDUE","PAYOUT_INITIATED","PAYOUT_COMPLETED","PAYOUT_FAILED","DISPUTE_ACTION_REQUIRED","DISPUTE_UNDER_REVIEW","DISPUTE_WON","DISPUTE_LOST"],"description":"$566","descriptionNode":"$L567"},"order_id":{"type":"string","format":"uuid","description":"The ID of the order the event is related to.","descriptionNode":"$L568"},"merchant_order_ext_ref":{"type":"string","description":"The information sent during order creation in the\n`merchant_order_data.reference` field.","descriptionNode":"$L569"},"incremental_authorisation_ext_reference":{"type":"string","description":"The reference sent in the `reference` field of the [Increment authorisation](https://developer.revolut.com/docs/api/merchant#increment-authorisation) request. Only present for incremental authorisation events.","descriptionNode":"$L56a"}},"required":["event","order_id"]},{"type":"object","properties":{"event":{"type":"string","enum":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:event:enum","description":"$56b","descriptionNode":"$L56c"},"subscription_id":{"type":"string","format":"uuid","description":"The ID of the subscription the event is related to.","descriptionNode":"$L56d"},"external_reference":{"type":"string","description":"The information sent in the `external_reference` field of the [Create a subscription](https://developer.revolut.com/docs/api/merchant#create-subscription) request.","descriptionNode":"$L56e"}},"required":["event","subscription_id"]},{"type":"object","properties":{"event":{"type":"string","enum":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:event:enum","description":"$56f","descriptionNode":"$L570"},"payout_id":{"type":"string","format":"uuid","description":"The ID of the payout the event is related to.","descriptionNode":"$L571"}},"required":["event","payout_id"]},{"type":"object","properties":{"event":{"type":"string","enum":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:event:enum","description":"$572","descriptionNode":"$L573"},"dispute_id":{"type":"string","format":"uuid","description":"The ID of the dispute the event is related to.","descriptionNode":"$L574"}},"required":["event","dispute_id"]}]},"examples":{"order_event":{"summary":"Webhook event related to an order or payment","value":{"event":"ORDER_COMPLETED","order_id":"6634c172-3398-ac93-aee9-50de0282e3ac","merchant_order_ext_ref":"Example reference #123"}},"subscription_event":{"summary":"Webhook event related to a subscription","value":{"event":"SUBSCRIPTION_INITIATED","subscription_id":"550e8400-e29b-41d4-a716-446655440000","external_reference":"ext-ref-12345"}},"incremental_auth_authorised":{"summary":"Webhook event for successful incremental authorisation","value":{"event":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED","order_id":"6634c172-3398-ac93-aee9-50de0282e3ac","incremental_authorisation_ext_reference":"CHG-67890"}},"incremental_auth_declined":{"summary":"Webhook event for declined incremental authorisation","value":{"event":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED","order_id":"6634c172-3398-ac93-aee9-50de0282e3ac","incremental_authorisation_ext_reference":"CHG-67891"}},"incremental_auth_failed":{"summary":"Webhook event for failed incremental authorisation","value":{"event":"ORDER_INCREMENTAL_AUTHORISATION_FAILED","order_id":"6634c172-3398-ac93-aee9-50de0282e3ac","incremental_authorisation_ext_reference":"CHG-67892"}},"authorisation_started":{"summary":"Webhook event for payment authorisation started (SEPA Direct Debit)","value":{"event":"ORDER_PAYMENT_AUTHORISATION_STARTED","order_id":"6634c172-3398-ac93-aee9-50de0282e3ac","merchant_order_ext_ref":"Example reference #123"}},"payout_event":{"summary":"Webhook event related to a payout","value":{"event":"PAYOUT_COMPLETED","payout_id":"6634c172-3398-ac93-aee9-50de0282e3ac"}},"dispute_event":{"summary":"Webhook event related to a dispute","value":{"event":"DISPUTE_ACTION_REQUIRED","dispute_id":"ab934829-e4ba-4e7f-8a21-365cad85c763"}}}}}},"variantLabels":["Webhook event related to an order or payment","Webhook event related to a subscription","Webhook event for successful incremental authorisation","Webhook event for declined incremental authorisation","Webhook event for failed incremental authorisation","Webhook event for payment authorisation started (SEPA Direct Debit)","Webhook event related to a payout","Webhook event related to a dispute"],"children":["$L575","$L576"]}]}]]}]]}] 51c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The issuer of the payment card."}]]}] 51d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Two-letter country code of the country where the payment card was issued."}]]}] 51e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment card was added."}]]}] 51f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method."}]]}] 520:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"All the payment methods for this customer."}]]}] 521:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 522:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 523:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 524:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 525:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 529:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Get the information about a specific ",["$","code","code-0",{"children":"customer"}],", based on its ID."]}]]}] 52a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 52b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 52c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Customer"}]," object."]}]]}] 561:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L577"}}}] 562:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_webhook_request","label":"Example webhook request","rawValue":"$35:props:children:0:props:children:props:requestBody:content:application/json:examples:example_webhook_request:value","block":"$L578"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 563:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"created_webhook","label":"Created webhook","rawValue":"$35:props:children:0:props:children:props:responses:200:content:application/json:examples:created_webhook:value","block":"$L579"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L57a"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 575:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h4",null,{"id":"create-webhook-deprecated-callback-send-webhook-event-request-body-url-post","children":[["$L57b","$undefined"],["$","$L15",null,{"id":"create-webhook-deprecated-callback-send-webhook-event-request-body-url-post"}]]}],"$undefined"]}]}],"$undefined"]}] 576:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L57c",["$","$L67",null,{"parameters":[{"name":"Revolut-Request-Timestamp","in":"header","required":true,"schema":{"type":"string"},"description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time when the webhook event was sent from Revolut. Used to verify the webhook event payload was actually sent by Revolut.\n\n:::info\nFor more information, see: [Verify payload signature](https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature)\n:::","descriptionNode":"$L57d"},{"name":"Revolut-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"The payload signature computed by Revolut using a Hash-based Message Authentication Code (HMAC). Used to verify the webhook event payload was actually sent by Revolut.\n\n:::info\nFor more information, see: [Verify payload signature](https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature)\n:::","descriptionNode":"$L57e"}],"requestBody":"$551:props:children:1:props:children:0:props:children:props:requestBody","heading":"Callback request","requestBodySchemaTitle":"Payload","headingAs":"h5"}],["$","$L6b",null,{"responses":"$551:props:children:1:props:children:0:props:children:props:responses","headingAs":"h5"}]]}],["$","div",null,{"className":"ezz1n32","children":[["$","div",null,{"className":"y9a0do5","children":[["$","span",null,{"className":"b0biwq0","data-method":"post","children":[["$","span",null,{"className":"b0biwq2","children":["$","$L58",null,{"name":"ArrowThinTopRight","size":12}]}],["$","span",null,{"className":"b0biwq3","children":"post"}]]}],["$","span",null,{"className":"y9a0do4","children":"{$request.body#/url}"}]]}],["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"order_event","label":"Webhook event related to an order or payment","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:order_event:value","block":"$L57f"},{"key":"subscription_event","label":"Webhook event related to a subscription","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:subscription_event:value","block":"$L580"},{"key":"incremental_auth_authorised","label":"Webhook event for successful incremental authorisation","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:incremental_auth_authorised:value","block":"$L581"},{"key":"incremental_auth_declined","label":"Webhook event for declined incremental authorisation","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:incremental_auth_declined:value","block":"$L582"},{"key":"incremental_auth_failed","label":"Webhook event for failed incremental authorisation","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:incremental_auth_failed:value","block":"$L583"},{"key":"authorisation_started","label":"Webhook event for payment authorisation started (SEPA Direct Debit)","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:authorisation_started:value","block":"$L584"},{"key":"payout_event","label":"Webhook event related to a payout","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:payout_event:value","block":"$L585"},{"key":"dispute_event","label":"Webhook event related to a dispute","rawValue":"$551:props:children:1:props:children:0:props:children:props:requestBody:content:application/json:examples:dispute_event:value","block":"$L586"}],"syncedPropertyName":"event"}},"title":"Payload samples","headingAs":"h5"}],["$","$Lb1",null,{"exampleBlocks":{"204":{},"4XX":{}},"headingAs":"h5"}]]}]]}] 53b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L587","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 4f6:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 552:"Create a webhook (Deprecated)" 588:T3029,
[
  {
    "id": "f0d685f4-07ab-4eff-ba80-5811303c607d",
    "type": "PAYMENT",
    "state": "PENDING",
    "created_at": "2021-02-10T18:17:37.959383Z",
    "updated_at": "2021-02-10T18:17:37.959383Z",
    "order_amount": {
      "value": 35000,
      "currency": "GBP"
    },
    "order_outstanding_amount": {
      "value": 35000,
      "currency": "GBP"
    }
  },
  {
    "id": "feca684a-b9ea-4033-9bc4-b9e6ac12ada6",
    "type": "PAYMENT",
    "state": "COMPLETED",
    "created_at": "2021-02-10T16:59:23.642673Z",
    "updated_at": "2021-02-10T16:59:50.886826Z",
    "completed_at": "2021-02-10T16:59:50.886826Z",
    "settlement_currency": "USD",
    "email": "sally.gibson@lloydsbank.co.uk",
    "order_amount": {
      "value": 1000,
      "currency": "GBP"
    },
    "order_outstanding_amount": {
      "value": 0,
      "currency": "GBP"
    }
  },
  {
    "id": "f3c5e3f1-f73a-4853-a9e3-b0261301c66a",
    "type": "PAYMENT",
    "state": "COMPLETED",
    "created_at": "2021-02-10T16:58:47.507560Z",
    "updated_at": "2021-02-10T16:59:52.847017Z",
    "completed_at": "2021-02-10T16:59:52.847017Z",
    "description": "URBAN 'Panther' Watch by José Almeida",
    "capture_mode": "AUTOMATIC",
    "merchant_order_ext_ref": "testorder123",
    "customer_id": "31345442-3d03-4c4b-8354-3bdaf0ca9600",
    "email": "someothermail@gmail.com",
    "order_amount": {
      "value": 777,
      "currency": "GBP"
    },
    "order_outstanding_amount": {
      "value": 0,
      "currency": "GBP"
    }
  }
]
4f8:["$","div","200-application/json-list_of_orders",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$588"}}]}]],"$L589"]}] 4f9:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 4fa:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 4fb:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 58a:T5e7,[ { "id": "f0d685f4-07ab-4eff-ba80-5811303c607d", "type": "PAYMENT", "state": "PENDING", "created_at": "2021-02-10T18:17:37.959383Z", "updated_at": "2021-02-10T18:17:37.959383Z", "order_amount": { "value": 35000, "currency": "GBP" }, "order_outstanding_amount": { "value": 35000, "currency": "GBP" } }, { "id": "feca684a-b9ea-4033-9bc4-b9e6ac12ada6", "type": "PAYMENT", "state": "COMPLETED", "created_at": "2021-02-10T16:59:23.642673Z", "updated_at": "2021-02-10T16:59:50.886826Z", "completed_at": "2021-02-10T16:59:50.886826Z", "settlement_currency": "USD", "email": "sally.gibson@lloydsbank.co.uk", "order_amount": { "value": 1000, "currency": "GBP" }, "order_outstanding_amount": { "value": 0, "currency": "GBP" } }, { "id": "f3c5e3f1-f73a-4853-a9e3-b0261301c66a", "type": "PAYMENT", "state": "COMPLETED", "created_at": "2021-02-10T16:58:47.507560Z", "updated_at": "2021-02-10T16:59:52.847017Z", "completed_at": "2021-02-10T16:59:52.847017Z", "description": "URBAN 'Panther' Watch by José Almeida", "capture_mode": "AUTOMATIC", "merchant_order_ext_ref": "testorder123", "customer_id": "31345442-3d03-4c4b-8354-3bdaf0ca9600", "email": "someothermail@gmail.com", "order_amount": { "value": 777, "currency": "GBP" }, "order_outstanding_amount": { "value": 0, "currency": "GBP" } } ]589:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$58a"}]}] 540:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 541:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 543:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 544:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 545:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The signing secret for the webhook. Use it to verify the signature for the webhook request's payload."}]]}] 546:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 547:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 548:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 549:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 54a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 57b:"Send webhook event to webhook URL" 3e:["$","$5e","retrieve-location",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Location","type":"object","description":"Location object represents merchant locations depending on type.","oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L58b"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L58c"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":["online","physical"],"descriptionNode":"$L58d"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":{"type":"string","description":"Domain address of the location. Required for online locations.\n\n:::warning\nThe `domain` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L58e"}},"required":["domain"],"descriptionNode":"$L58f"}},"required":["id","name","type","details"]},{"title":"Location","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L590"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L591"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L592"},"details":{"type":"object","description":"Additional details of the location.","properties":{"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L593"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L594"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L595"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L596"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L597"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L598"}},"required":["street_line_1","city","country_code","postcode"],"descriptionNode":"$L599"},"geo_location":{"type":"object","description":"Coordinates of the location.","properties":{"lat":{"type":"number","format":"double","description":"The latitude of the location, in decimal degrees.","minimum":-90,"maximum":90,"descriptionNode":"$L59a"},"lon":{"type":"number","format":"double","description":"To longitude of the location, in decimal degrees.","minimum":-180,"maximum":180,"descriptionNode":"$L59b"}},"required":["lat","lon"],"descriptionNode":"$L59c"},"opening_hours":{"type":"object","description":"An object containing the opening hours for each day of the week.\n\nA day can have multiple intervals (e.g., closing for a lunch break).","properties":{"monday":{"description":"Opening hours for Monday.","type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"time","description":"The local time when the interval begins.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":["09:00:00"],"descriptionNode":"$L59d"},"to":{"type":"string","format":"time","description":"The local time when the interval ends.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":["18:00:00"],"descriptionNode":"$L59e"}},"required":["from","to"]},"descriptionNode":"$L59f"},"tuesday":{"description":"Opening hours for Tuesday.","type":"array","items":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5a0"},"wednesday":{"description":"Opening hours for Wednesday.","type":"array","items":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5a1"},"thursday":{"description":"Opening hours for Thursday.","type":"array","items":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5a2"},"friday":{"description":"Opening hours for Friday.","type":"array","items":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5a3"},"saturday":{"description":"Opening hours for Saturday.","type":"array","items":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5a4"},"sunday":{"description":"Opening hours for Sunday.","type":"array","items":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5a5"}},"descriptionNode":"$L5a6"}},"required":["address","geo_location","opening_hours"],"descriptionNode":"$L5a7"}},"required":["id","name","type","details"]}],"discriminator":{"propertyName":"type","mapping":{"online":"#/components/schemas/Location-Online","physical":"#/components/schemas/Location-Physical"}},"descriptionNode":"$L5a8"},"examples":{"example_online_location":{"summary":"Online location request example","value":{"id":"8d9a7125-805f-40f3-a405-bc89765db996","name":"Grocery website","type":"online","details":{"domain":"groceries.example.com"}}},"example_physical_location":{"summary":"Physical location request example","value":{"id":"8d9a7125-805f-40f3-a405-bc89765db996","name":"Example Street Store","type":"physical","details":{"address":{"street_line_1":"123 Example Street","city":"Example city","postcode":"12345","country_code":"GB"},"geo_location":{"lat":12.3456,"lon":-12.3456},"opening_hours":{"monday":[{"from":"09:00","to":"15:00"},{"from":"16:00","to":"18:00"}],"tuesday":[{"from":"10:00","to":"13:00"},{"from":"16:00","to":"18:00"}]}}}}}}},"descriptionNode":"$L5a9"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L5aa"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L5ab"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L5ac"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L5ad"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L5ae"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L5af"}},"requestBody":"$undefined","variantLabels":["Online location request example","Physical location request example"],"children":["$L5b0","$L5b1"]}]}],false]}] 5b0:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-location","children":[["$L5b2","$undefined"],["$","$L15",null,{"id":"retrieve-location"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-location.md"}]]}]}],"$undefined"]}] 5b7:T8ae,
fetch("https://merchant.revolut.com/api/locations/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
5b8:Td96,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/locations/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
5b9:T6c2,
import requests

url = "https://merchant.revolut.com/api/locations/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
5ba:T153a,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/locations/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
5bb:T145a,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/locations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5bc:T8b6,
fetch("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
5bd:Td9e,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
5be:T6ca,
import requests

url = "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
5bf:T1542,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
5c0:T1462,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5b1:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L5b3",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L5b4"},{"name":"location_id","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L5b5"},"in":"path","required":true,"description":"The ID of the location.","descriptionNode":"$L5b6"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$3e:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$5b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$5b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$5b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$5ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$5bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$5bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$5bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$5be","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$5bf","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$5c0","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/locations/{location_id}","parameters":["$5b1:props:children:0:props:children:1:props:parameters:0","$5b1:props:children:0:props:children:1:props:parameters:1"]}],"$L5c1"],"$L5c2","$L5c3"]}]]}] 54b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Your webhook's URL to which event notifications will be sent."}],"\n",["$","p","p-1",{"children":["Must be a valid HTTP or HTTPS URL, capable of receiving ",["$","code","code-0",{"children":"POST"}]," requests."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 54d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The available event types your can listen to."}]]}] 54e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of event types that the webhook is configured to listen to."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 553:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Set up a webhook URL so that the Merchant API can push event notifications to the specified URL."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["Merchants can register a ",["$","strong","strong-0",{"children":"maximum of 10 webhook URLs"}],". If you attempt to register more than 10, the API will return a ",["$","code","code-0",{"children":"422 - Unprocessable Content"}]," error."]}],["$","p","p-1",{"children":"Ensure your webhook registrations are necessary and within the allowed limit."}]]}]]}]]}] 554:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 564:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["If the webhook event was delivered successfully, we recommend to respond with a ",["$","code","code-0",{"children":"204"}]," code."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["You can respond to and acknowledge the delivery of a webhook event by any HTTP response code between ",["$","code","code-0",{"children":"200-399"}],"."]}]}]]}]]}] 565:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["If the webhook event delivery times out or the delivery of the events fails, you can respond with any HTTP ",["$","code","code-0",{"children":"4XX"}]," code. In this case, Revolut will retry sending the webhook event 3 more times, each with a 10-minute delay."]}]]}] 567:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The event type of the webhook notification that's sent by Revolut to your webhook URL."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 568:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the order the event is related to."}]]}] 569:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The information sent during order creation in the\n",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field."]}]]}] 5c1:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L5c4"}}}] 5c2:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 5c3:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"example_online_location","label":"Online location request example","rawValue":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:example_online_location:value","block":"$L5c5"},{"key":"example_physical_location","label":"Physical location request example","rawValue":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:example_physical_location:value","block":"$L5c6"}],"syncedPropertyName":"type"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L5c7"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L5c8"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 577:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L5c9","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 56a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reference sent in the ",["$","code","code-0",{"children":"reference"}]," field of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#increment-authorisation","target":"_blank","rel":"noreferrer","children":"Increment authorisation"}]," request. Only present for incremental authorisation events."]}]]}] 56c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The event type of the webhook notification that's sent by Revolut to your webhook URL."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 56d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subscription the event is related to."}]]}] 56e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The information sent in the ",["$","code","code-0",{"children":"external_reference"}]," field of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#create-subscription","target":"_blank","rel":"noreferrer","children":"Create a subscription"}]," request."]}]]}] 570:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The event type of the webhook notification that's sent by Revolut to your webhook URL."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 571:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payout the event is related to."}]]}] 573:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The event type of the webhook notification that's sent by Revolut to your webhook URL."}],"\n",["$","p","p-1",{"children":"Each event is related to status changes of a specific object in the Merchant API:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Event types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Order"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_COMPLETED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_AUTHORISED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_FAILED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED"}]}]," ",["$","li","li-5",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_DECLINED"}]}]," ",["$","li","li-6",{"children":["$","code","code-0",{"children":"ORDER_INCREMENTAL_AUTHORISATION_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATION_CHALLENGED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHENTICATED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_AUTHORISATION_STARTED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_DECLINED"}]}]," ",["$","li","li-4",{"children":["$","code","code-0",{"children":"ORDER_PAYMENT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Subscription"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_FINISHED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_CANCELLED"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"SUBSCRIPTION_OVERDUE"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"PAYOUT_INITIATED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"PAYOUT_COMPLETED"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"PAYOUT_FAILED"}]}]," "]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[" ",["$","li","li-0",{"children":["$","code","code-0",{"children":"DISPUTE_ACTION_REQUIRED"}]}]," ",["$","li","li-1",{"children":["$","code","code-0",{"children":"DISPUTE_UNDER_REVIEW"}]}]," ",["$","li","li-2",{"children":["$","code","code-0",{"children":"DISPUTE_WON"}]}]," ",["$","li","li-3",{"children":["$","code","code-0",{"children":"DISPUTE_LOST"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 574:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the dispute the event is related to."}]]}] 57c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The following webhook event payload is sent as a HTTP POST request to the URL registered as the merchant's webhook server via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#create-webhook","target":"_blank","rel":"noreferrer","children":"Create a webhook"}]," operation."]}],"\n",["$","p","p-1",{"children":"The delivery of the webhook events happen asynchronously, based on the events you subscribed to."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/using-webhooks","target":"_blank","rel":"noreferrer","children":"Use webhooks to track order and payment lifecycle"}],"."]}]}]]}],"\n",["$","h4","h4-0",{"children":"IP allowlisting"}],"\n",["$","p","p-2",{"children":"To ensure secure delivery of webhook events, please allowlist the following IP addresses from which the events originate:"}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Production webhook IPs:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"35.246.21.235"}]}],"\n",["$","li","li-1",{"children":["$","code","code-0",{"children":"34.89.70.170"}]}],"\n"]}],"\n",["$","p","p-4",{"children":["$","strong","strong-0",{"children":"Sandbox webhook IPs:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"35.242.130.242"}]}],"\n",["$","li","li-1",{"children":["$","code","code-0",{"children":"35.242.162.241"}]}],"\n"]}]]}] 57d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time when the webhook event was sent from Revolut. Used to verify the webhook event payload was actually sent by Revolut."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature","target":"_blank","rel":"noreferrer","children":"Verify payload signature"}]]}]}]]}]]}] 57e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payload signature computed by Revolut using a Hash-based Message Authentication Code (HMAC). Used to verify the webhook event payload was actually sent by Revolut."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature","target":"_blank","rel":"noreferrer","children":"Verify payload signature"}]]}]}]]}]]}] 3d:["$","$5e","retrieve-location-list",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"title":"Location","type":"object","description":"Location object represents merchant locations depending on type.","oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L5ca"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L5cb"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L5cc"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":{"type":"string","description":"Domain address of the location. Required for online locations.\n\n:::warning\nThe `domain` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L5cd"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:details:required","descriptionNode":"$L5ce"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:required"},{"title":"Location","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L5cf"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L5d0"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L5d1"},"details":{"type":"object","description":"Additional details of the location.","properties":{"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L5d2"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L5d3"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L5d4"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L5d5"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L5d6"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L5d7"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:address:required","descriptionNode":"$L5d8"},"geo_location":{"type":"object","description":"Coordinates of the location.","properties":{"lat":{"type":"number","format":"double","description":"The latitude of the location, in decimal degrees.","minimum":-90,"maximum":90,"descriptionNode":"$L5d9"},"lon":{"type":"number","format":"double","description":"To longitude of the location, in decimal degrees.","minimum":-180,"maximum":180,"descriptionNode":"$L5da"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:geo_location:required","descriptionNode":"$L5db"},"opening_hours":{"type":"object","description":"An object containing the opening hours for each day of the week.\n\nA day can have multiple intervals (e.g., closing for a lunch break).","properties":{"monday":{"description":"Opening hours for Monday.","type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"time","description":"The local time when the interval begins.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:from:examples","descriptionNode":"$L5dc"},"to":{"type":"string","format":"time","description":"The local time when the interval ends.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:to:examples","descriptionNode":"$L5dd"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:required"},"descriptionNode":"$L5de"},"tuesday":{"description":"Opening hours for Tuesday.","type":"array","items":"$3d:props:children:0:props:children:props:responses:200:content:application/json:schema:items:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5df"},"wednesday":{"description":"Opening hours for Wednesday.","type":"array","items":"$3d:props:children:0:props:children:props:responses:200:content:application/json:schema:items:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5e0"},"thursday":{"description":"Opening hours for Thursday.","type":"array","items":"$3d:props:children:0:props:children:props:responses:200:content:application/json:schema:items:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5e1"},"friday":{"description":"Opening hours for Friday.","type":"array","items":"$3d:props:children:0:props:children:props:responses:200:content:application/json:schema:items:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5e2"},"saturday":{"description":"Opening hours for Saturday.","type":"array","items":"$3d:props:children:0:props:children:props:responses:200:content:application/json:schema:items:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5e3"},"sunday":{"description":"Opening hours for Sunday.","type":"array","items":"$3d:props:children:0:props:children:props:responses:200:content:application/json:schema:items:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L5e4"}},"descriptionNode":"$L5e5"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:required","descriptionNode":"$L5e6"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:required"}],"discriminator":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:discriminator","descriptionNode":"$L5e7"}},"examples":{"list_of_locations":{"summary":"Location list","value":[{"id":"8d9a7125-805f-40f3-a405-bc89765db996","name":"Grocery website","type":"online","details":{"domain":"groceries.example.com"}},{"id":"066223df-d5a8-42f0-b3ce-688c7a76f9a8","name":"Cars website","type":"online","details":{"domain":"cars.example.com"}},{"id":"299050a4-cc7a-44b0-8b2b-7cd1e335ef38","name":"Example Street Store","type":"physical","details":{"address":{"street_line_1":"123 Example Street","city":"Example city","postcode":"12345","country_code":"GB"},"geo_location":{"lat":12.3456,"lon":-12.3456},"opening_hours":{"monday":[{"from":"09:00","to":"15:00"},{"from":"16:00","to":"18:00"}],"tuesday":[{"from":"10:00","to":"13:00"},{"from":"16:00","to":"18:00"}]}}}]}}}},"descriptionNode":"$L5e8"},"401":{"description":"Unauthorized","descriptionNode":"$L5e9"}},"requestBody":"$undefined","variantLabels":[],"children":["$L5ea","$L5eb"]}]}],false]}] 5ea:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-location-list","children":[["$L5ec","$undefined"],["$","$L15",null,{"id":"retrieve-location-list"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-location-list.md"}]]}]}],"$undefined"]}] 5f0:T8b3,
fetch("https://merchant.revolut.com/api/locations?type=__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
5f1:Td9b,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/locations?type=__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
5f2:T6c7,
import requests

url = "https://merchant.revolut.com/api/locations?type=__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
5f3:T153f,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/locations?type=__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
5f4:T145f,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/locations?type=__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5f5:T8bb,
fetch("https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
5f6:Tda3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
5f7:T6cf,
import requests

url = "https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
5f8:T1547,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
5f9:T1467,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5eb:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L5ed",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L5ee"},{"name":"type","in":"query","schema":{"type":"string","enum":["online","physical"]},"description":"Filter the list by location type.","descriptionNode":"$L5ef"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$3d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$5f0","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$5f1","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$5f2","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$5f3","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/locations?type=__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$5f4","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$5f5","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$5f6","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$5f7","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$5f8","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/locations?type=__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$5f9","tokens":[{"marker":"__RP_TOK_0__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","query:type":"online"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/locations","parameters":["$5eb:props:children:0:props:children:1:props:parameters:0","$5eb:props:children:0:props:children:1:props:parameters:1"]}],"$L5fa"],"$L5fb","$L5fc"]}]]}] 5b2:"Retrieve a location" 5fa:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L5fd"}}}] 5fb:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 5fc:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_locations","label":"Location list","rawValue":"$3d:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_locations:value","block":"$L5fe"}],"syncedPropertyName":"$undefined"}},"401":{}},"headingAs":"h4"}] 502:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
https://merchant.revolut.com/api/1.0/orders?state=AUTHORISED&state=COMPLETED
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"https://merchant.revolut.com/api/1.0/orders?state=AUTHORISED&state=COMPLETED\n"}]}]]}] 53a:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 58b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 58c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 58d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 58e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain address of the location. Required for online locations."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"domain"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 58f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 590:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 591:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 592:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 593:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 594:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 595:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 596:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 597:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 598:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 599:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 59a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The latitude of the location, in decimal degrees."}]]}] 59b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"To longitude of the location, in decimal degrees."}]]}] 59c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Coordinates of the location."}]]}] 2c:["$","$5e","retrieve-payment-details",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Payment details","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L5ff"},"order_id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L600"},"payment_method":{"type":"object","description":"The payment method used to pay for the order.","discriminator":{"propertyName":"type","mapping":{"revolut_pay":"#/components/schemas/Revolut-Pay","card":"#/components/schemas/Card-For-Payment-Details","sepa_direct_debit":"#/components/schemas/Sepa-Direct-Debit"}},"oneOf":[{"discriminator":{"propertyName":"subtype","mapping":{"revolut_pay_account":"#/components/schemas/RPay-Account","revolut_pay_card":"#/components/schemas/RPay-Card"}},"oneOf":[{"properties":{"type":{"type":"string","enum":["card","revolut_pay"],"description":"The type of payment method used to pay for the order.","descriptionNode":"$L601"},"subtype":{"type":"string","enum":["revolut_account","card"],"description":"Indicates whether the customer used their card or Revolut account via Revolut Pay.","descriptionNode":"$L602"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L603"}},"required":["type","subtype"]},{"properties":{"type":{"type":"string","enum":["card","revolut_pay"],"description":"The type of payment method used to pay for the order.","descriptionNode":"$L604"},"subtype":{"type":"string","enum":["revolut_account","card"],"description":"Indicates whether the customer used their card or Revolut account via Revolut Pay.","descriptionNode":"$L605"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L606"},"brand":{"type":"string","description":"The type of the card.","descriptionNode":"$L607"},"last_four":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L608"}},"required":["type","subtype"]}]},{"properties":{"type":{"type":"string","enum":["card","revolut_pay"],"description":"The type of payment method used to pay for the order.","descriptionNode":"$L609"},"brand":{"type":"string","description":"The type of the card.","descriptionNode":"$L60a"},"last_four":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L60b"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L60c"}},"required":["type"]},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$L60d"},"type":{"type":"string","enum":["apple_pay","card","google_pay","revolut_pay_card","revolut_pay_account","sepa_direct_debit"],"description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L60e"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$L60f"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$L610"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$L611"}},"required":["type"],"descriptionNode":"$L612"}],"descriptionNode":"$L613"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$L614"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":[600],"descriptionNode":"$L615"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L616"},"state":{"type":"string","description":"The status of the payment.","enum":["pending","authentication_challenge","authentication_verified","authorisation_started","authorisation_passed","authorised","capture_started","captured","refund_validated","refund_started","cancellation_started","declining","completing","cancelling","failing","completed","declined","soft_declined","cancelled","failed"],"descriptionNode":"$L617"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":["3ds_challenge_abandoned","3ds_challenge_failed_manually","cardholder_name_missing","customer_challenge_abandoned","customer_challenge_failed","customer_name_mismatch","do_not_honour","expired_card","high_risk","insufficient_funds","invalid_address","invalid_amount","invalid_card","invalid_country","invalid_cvv","invalid_email","invalid_expiry","invalid_merchant","invalid_phone","invalid_pin","issuer_not_available","pick_up_card","rejected_by_customer","restricted_card","suspected_fraud","technical_error","transaction_not_allowed_for_cardholder","unknown_card","withdrawal_limit_exceeded"],"descriptionNode":"$L618"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":{"propertyName":"type","mapping":{"three_ds":"#/components/schemas/Three-Ds","three_ds_fingerprint":"#/components/schemas/Three-Ds-Fingerprint"}},"oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":["three_ds","three_ds_fingerprint"],"description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L619"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$L61a"}},"required":["type","acs_url"],"descriptionNode":"$L61b"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L61c"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$L61d"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$L61e"}},"required":["type","fingerprint_url","fingerprint_data"],"descriptionNode":"$L61f"}],"descriptionNode":"$L620"}},"required":["id","order_id","payment_method"]},"examples":{"revolut_pay_saved":{"summary":"Payment completed via Revolut Pay (saved details)","value":{"id":"64905d4b-a205-aac3-a5ef-dab978b1b7ee","order_id":"64905d0f-3f95-a2ac-91ea-57c77f9dbe69","state":"completed","payment_method":{"type":"revolut_pay","subtype":"revolut_account","id":"648334a8-9546-a983-a81a-efc6d5bdd0be"}}},"revolut_pay_not_saved":{"summary":"Payment completed via Revolut Pay (not saved details)","value":{"id":"64905d4b-a205-aac3-a5ef-dab978b1b7ee","order_id":"64905d0f-3f95-a2ac-91ea-57c77f9dbe69","state":"completed","payment_method":{"type":"revolut_pay","subtype":"revolut_account"}}},"card_payment_saved":{"summary":"Payment completed via card (saved details)","value":{"id":"63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b","order_id":"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a","state":"completed","payment_method":{"type":"card","brand":"visa","last_four":"1234","id":"64a28499-05c5-af30-bbf9-9c1b028e00b8"}}},"card_payment_not_saved":{"summary":"Payment completed via card (not saved details)","value":{"id":"63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b","order_id":"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a","state":"completed","payment_method":{"type":"card","brand":"visa","last_four":"1234"}}}}}},"descriptionNode":"$L621"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting.","descriptionNode":"$L622"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L623"}}},"examples":{"example-1":{"value":{"errorId":"94b27660-fdda-49ec-8b85-cd46a068ade0","timestamp":1601296792533}}}}},"descriptionNode":"$L624"},"401":{"description":"Unauthorized","descriptionNode":"$L625"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting.","descriptionNode":"$L626"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L627"},"code":{"type":"integer"}}},"examples":{"example-1":{"value":{"errorId":"94b27660-fdda-49ec-8b85-cd46a068ade0","timestamp":1601296792533,"code":1024}}}}},"descriptionNode":"$L628"}},"requestBody":"$undefined","variantLabels":["Payment completed via Revolut Pay (saved details)","Payment completed via Revolut Pay (not saved details)","Payment completed via card (saved details)","Payment completed via card (not saved details)"],"children":["$L629","$L62a"]}]}],false]}] 62b:T28be,
{
  "id": "6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae",
  "full_name": "Example Customer",
  "business_name": "Example Business",
  "email": "example.customer@example.com",
  "phone": "+441234567890",
  "date_of_birth": "1990-01-01",
  "created_at": "2020-06-24T12:03:39.979397Z",
  "updated_at": "2020-06-25T10:03:39.134417Z",
  "payment_methods": [
    {
      "id": "648334a8-9546-a983-a81a-efc6d5bdd0be",
      "type": "REVOLUT_PAY",
      "saved_for": "MERCHANT",
      "method_details": {
        "created_at": "2023-06-09T14:18:16.577888Z"
      }
    },
    {
      "id": "edef3ba4-60a0-4df3-8f12-e5fc858c2420",
      "type": "CARD",
      "saved_for": "CUSTOMER",
      "method_details": {
        "bin": "459765",
        "last4": "6578",
        "expiry_month": 2,
        "expiry_year": 2025,
        "cardholder_name": "Example Customer",
        "brand": "VISA",
        "funding": "DEBIT",
        "issuer": "EXAMPLE ISSUER",
        "issuer_country": "GB",
        "billing_address": {
          "street_line_1": "7, Westferry Circus",
          "street_line_2": "Columbus Building",
          "postcode": "E144HD",
          "city": "London",
          "region": "Greater London",
          "country_code": "GB"
        },
        "created_at": "2023-03-24T14:15:22Z"
      }
    }
  ]
}
53c:["$","div","200-application/json-retrieved_customer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$62b"}}]}]],"$L62c"]}] 53d:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 59d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval begins."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 59e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval ends."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 59f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Monday."}]]}] 5a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Tuesday."}]]}] 5a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Wednesday."}]]}] 5a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Thursday."}]]}] 5a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Friday."}]]}] 5a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Saturday."}]]}] 5a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Sunday."}]]}] 5a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An object containing the opening hours for each day of the week."}],"\n",["$","p","p-1",{"children":"A day can have multiple intervals (e.g., closing for a lunch break)."}]]}] 5a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 5a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location object represents merchant locations depending on type."}]]}] 5a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 5aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 5ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 5ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 5ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 5ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 5af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 5b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve details of a specific location, based on its ID."}]]}] 5b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 5b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 5b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the location."}]]}] 5ec:"Retrieve location list" 629:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-payment-details","children":[["$L62d","$undefined"],["$","$L15",null,{"id":"retrieve-payment-details"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-payment-details.md"}]]}]}],"$undefined"]}] 632:T8ad,
fetch("https://merchant.revolut.com/api/payments/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
633:Td95,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/payments/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
634:T6c1,
import requests

url = "https://merchant.revolut.com/api/payments/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
635:T1539,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/payments/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
636:T1459,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/payments/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
637:T8b5,
fetch("https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
638:Td9d,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
639:T6c9,
import requests

url = "https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
63a:T1541,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
63b:T1461,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
62a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L62e",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L62f"},{"name":"payment_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L630"},"required":true,"description":"The ID of the `Payment` object.","descriptionNode":"$L631"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$2c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/payments/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/payments/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/payments/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$632","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/payments/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$633","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/payments/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$634","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/payments/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$635","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/payments/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$636","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$637","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$638","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$639","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$63a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/payments/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$63b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/payments/{payment_id}","parameters":["$62a:props:children:0:props:children:1:props:parameters:0","$62a:props:children:0:props:children:1:props:parameters:1"]}],"$L63c"],"$L63d","$L63e"]}]]}] 63f:T512,{ "id": "6c7c97a8-cfc1-4cf3-8b38-26a74fdf1fae", "full_name": "Example Customer", "business_name": "Example Business", "email": "example.customer@example.com", "phone": "+441234567890", "date_of_birth": "1990-01-01", "created_at": "2020-06-24T12:03:39.979397Z", "updated_at": "2020-06-25T10:03:39.134417Z", "payment_methods": [ { "id": "648334a8-9546-a983-a81a-efc6d5bdd0be", "type": "REVOLUT_PAY", "saved_for": "MERCHANT", "method_details": { "created_at": "2023-06-09T14:18:16.577888Z" } }, { "id": "edef3ba4-60a0-4df3-8f12-e5fc858c2420", "type": "CARD", "saved_for": "CUSTOMER", "method_details": { "bin": "459765", "last4": "6578", "expiry_month": 2, "expiry_year": 2025, "cardholder_name": "Example Customer", "brand": "VISA", "funding": "DEBIT", "issuer": "EXAMPLE ISSUER", "issuer_country": "GB", "billing_address": { "street_line_1": "7, Westferry Circus", "street_line_2": "Columbus Building", "postcode": "E144HD", "city": "London", "region": "Greater London", "country_code": "GB" }, "created_at": "2023-03-24T14:15:22Z" } } ] }62c:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$63f"}]}] 5c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L640","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 5ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 5cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 5cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 5cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain address of the location. Required for online locations."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"domain"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 5ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 5cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 5d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 5d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 5d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 5d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 5d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 5d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 5d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 5d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 5d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 5d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The latitude of the location, in decimal degrees."}]]}] 5da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"To longitude of the location, in decimal degrees."}]]}] 5db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Coordinates of the location."}]]}] 20:["$","$5e","retrieve-payment-list",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"List of payments","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L641"},"order_id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L642"},"payment_method":{"type":"object","description":"The payment method used to pay for the order.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:discriminator","oneOf":[{"discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:discriminator","oneOf":[{"properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:0:properties:type:enum","description":"The type of payment method used to pay for the order.","descriptionNode":"$L643"},"subtype":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:0:properties:subtype:enum","description":"Indicates whether the customer used their card or Revolut account via Revolut Pay.","descriptionNode":"$L644"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L645"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:0:required"},{"properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:1:properties:type:enum","description":"The type of payment method used to pay for the order.","descriptionNode":"$L646"},"subtype":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:1:properties:subtype:enum","description":"Indicates whether the customer used their card or Revolut account via Revolut Pay.","descriptionNode":"$L647"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L648"},"brand":{"type":"string","description":"The type of the card.","descriptionNode":"$L649"},"last_four":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L64a"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:1:required"}]},{"properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:1:properties:type:enum","description":"The type of payment method used to pay for the order.","descriptionNode":"$L64b"},"brand":{"type":"string","description":"The type of the card.","descriptionNode":"$L64c"},"last_four":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L64d"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L64e"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:1:required"},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$L64f"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L650"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$L651"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$L652"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$L653"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$L654"}],"descriptionNode":"$L655"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$L656"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$L657"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L658"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$L659"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$L65a"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L65b"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$L65c"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$L65d"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L65e"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$L65f"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$L660"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$L661"}],"descriptionNode":"$L662"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:required"}},"examples":{"payment_list":{"summary":"List of payments (failed card attempt, SEPA Direct Debit retry)","value":[{"id":"63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b","token":"294358bf-3818-49b2-aacc-7ca971f52695","order_id":"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a","state":"declined","amount":100,"currency":"EUR","payment_method":{"type":"card","card_brand":"visa","funding":"credit","card_last_four":"1234"}},{"id":"649adc44-3e86-a832-879c-2f6d0255dd4c","token":"8061e645-35e0-42bb-8318-603abaeab7b7","order_id":"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a","state":"declined","amount":100,"currency":"EUR","decline_reason":"insufficient_funds","payment_method":{"type":"revolut_pay","subtype":"revolut_account"}},{"id":"663387f1-1c2e-a295-b143-9f1fb1eec175","token":"663387f1-c91e-a464-908a-1cc4548ebc6a","order_id":"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a","state":"pending","amount":100,"currency":"EUR","payment_method":{"type":"sepa_direct_debit","debtor_iban_last_four":"1234","debtor_name":"John Doe","mandate_reference":"A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4"}}]}}}},"descriptionNode":"$L663"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L664"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L665"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L666"}}},"examples":{"default":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1720528890647}}}}},"descriptionNode":"$L667"},"401":{"description":"Unauthenticated","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L668"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L669"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L66a"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1720528890647}}}}},"descriptionNode":"$L66b"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"examples":[{"code":"not_found","message":"Order with id b8883ab5-964a-4329-aa44-4d3c76cf3f54 was not found","timestamp":1720528890647}],"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L66c"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L66d"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L66e"}}}}},"descriptionNode":"$L66f"}},"requestBody":"$undefined","variantLabels":[],"children":["$L670","$L671"]}]}],false]}] 63c:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L672"}}}] 63d:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 63e:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"revolut_pay_saved","label":"Payment completed via Revolut Pay (saved details)","rawValue":"$2c:props:children:0:props:children:props:responses:200:content:application/json:examples:revolut_pay_saved:value","block":"$L673"},{"key":"revolut_pay_not_saved","label":"Payment completed via Revolut Pay (not saved details)","rawValue":"$2c:props:children:0:props:children:props:responses:200:content:application/json:examples:revolut_pay_not_saved:value","block":"$L674"},{"key":"card_payment_saved","label":"Payment completed via card (saved details)","rawValue":"$2c:props:children:0:props:children:props:responses:200:content:application/json:examples:card_payment_saved:value","block":"$L675"},{"key":"card_payment_not_saved","label":"Payment completed via card (not saved details)","rawValue":"$2c:props:children:0:props:children:props:responses:200:content:application/json:examples:card_payment_not_saved:value","block":"$L676"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$2c:props:children:0:props:children:props:responses:400:content:application/json:examples:example-1:value","block":"$L677"}],"syncedPropertyName":"$undefined"}},"401":{},"404":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$2c:props:children:0:props:children:props:responses:404:content:application/json:examples:example-1:value","block":"$L678"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 670:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-payment-list","children":[["$L679","$undefined"],["$","$L15",null,{"id":"retrieve-payment-list"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-payment-list.md"}]]}]}],"$undefined"]}] 67e:T8b4,
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
67f:Td9c,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
680:T6c8,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
681:T1540,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
682:T1460,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
683:T8bc,
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
684:Tda4,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
685:T6d0,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
686:T1548,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
687:T1468,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
671:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L67a",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L67b"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L67c"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$L67d"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$20:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$67e","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$67f","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$680","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$681","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$682","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$683","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$684","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$685","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$686","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$687","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}/payments","parameters":["$671:props:children:0:props:children:1:props:parameters:0","$671:props:children:0:props:children:1:props:parameters:1"]}],"$L688"],"$L689","$L68a"]}]]}] 5dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval begins."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 5dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval ends."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 5de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Monday."}]]}] 5df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Tuesday."}]]}] 5e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Wednesday."}]]}] 5e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Thursday."}]]}] 5e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Friday."}]]}] 5e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Saturday."}]]}] 5e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Sunday."}]]}] 5e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An object containing the opening hours for each day of the week."}],"\n",["$","p","p-1",{"children":"A day can have multiple intervals (e.g., closing for a lunch break)."}]]}] 5e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 5e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location object represents merchant locations depending on type."}]]}] 5e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 5e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 5ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve a list of locations registered for the merchant."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Default behavior"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Without the ",["$","code","code-0",{"children":"type"}]," query parameter, this endpoint returns only ",["$","strong","strong-0",{"children":"online"}]," locations by default. To retrieve physical locations, you must explicitly specify ",["$","code","code-1",{"children":"type=physical"}]," in the query parameters."]}]}]]}]]}] 5ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 5ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filter the list by location type."}]]}] 688:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L68b"}}}] 689:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 68a:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"payment_list","label":"List of payments (failed card attempt, SEPA Direct Debit retry)","rawValue":"$20:props:children:0:props:children:props:responses:200:content:application/json:examples:payment_list:value","block":"$L68c"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$20:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L68d"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$20:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L68e"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L68f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 5fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L690","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 62d:"Retrieve payment details" 691:T474,
{
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_COMPLETED",
    "ORDER_AUTHORISED"
  ]
}
578:["$","div","request-application/json-example_webhook_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$691"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_COMPLETED\",\n \"ORDER_AUTHORISED\"\n ]\n}"}]}]]}] 692:T69c,
{
  "id": "c6b981f4-53b3-47d5-9b24-4f87af1160eb",
  "url": "https://example.com/webhooks",
  "events": [
    "ORDER_AUTHORISED",
    "ORDER_COMPLETED"
  ],
  "signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"
}
579:["$","div","200-application/json-created_webhook",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$692"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"c6b981f4-53b3-47d5-9b24-4f87af1160eb\",\n \"url\": \"https://example.com/webhooks\",\n \"events\": [\n \"ORDER_AUTHORISED\",\n \"ORDER_COMPLETED\"\n ],\n \"signing_secret\": \"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK\"\n}"}]}]]}] 57a:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 693:T498,
{
  "event": "ORDER_COMPLETED",
  "order_id": "6634c172-3398-ac93-aee9-50de0282e3ac",
  "merchant_order_ext_ref": "Example reference #123"
}
57f:["$","div","request-application/json-order_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$693"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"ORDER_COMPLETED\",\n \"order_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\",\n \"merchant_order_ext_ref\": \"Example reference #123\"\n}"}]}]]}] 694:T499,
{
  "event": "SUBSCRIPTION_INITIATED",
  "subscription_id": "550e8400-e29b-41d4-a716-446655440000",
  "external_reference": "ext-ref-12345"
}
580:["$","div","request-application/json-subscription_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$694"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"SUBSCRIPTION_INITIATED\",\n \"subscription_id\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"external_reference\": \"ext-ref-12345\"\n}"}]}]]}] 695:T4b7,
{
  "event": "ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED",
  "order_id": "6634c172-3398-ac93-aee9-50de0282e3ac",
  "incremental_authorisation_ext_reference": "CHG-67890"
}
581:["$","div","request-application/json-incremental_auth_authorised",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$695"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"ORDER_INCREMENTAL_AUTHORISATION_AUTHORISED\",\n \"order_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\",\n \"incremental_authorisation_ext_reference\": \"CHG-67890\"\n}"}]}]]}] 696:T4b5,
{
  "event": "ORDER_INCREMENTAL_AUTHORISATION_DECLINED",
  "order_id": "6634c172-3398-ac93-aee9-50de0282e3ac",
  "incremental_authorisation_ext_reference": "CHG-67891"
}
582:["$","div","request-application/json-incremental_auth_declined",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$696"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"ORDER_INCREMENTAL_AUTHORISATION_DECLINED\",\n \"order_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\",\n \"incremental_authorisation_ext_reference\": \"CHG-67891\"\n}"}]}]]}] 697:T4b3,
{
  "event": "ORDER_INCREMENTAL_AUTHORISATION_FAILED",
  "order_id": "6634c172-3398-ac93-aee9-50de0282e3ac",
  "incremental_authorisation_ext_reference": "CHG-67892"
}
583:["$","div","request-application/json-incremental_auth_failed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$697"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"ORDER_INCREMENTAL_AUTHORISATION_FAILED\",\n \"order_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\",\n \"incremental_authorisation_ext_reference\": \"CHG-67892\"\n}"}]}]]}] 698:T4ac,
{
  "event": "ORDER_PAYMENT_AUTHORISATION_STARTED",
  "order_id": "6634c172-3398-ac93-aee9-50de0282e3ac",
  "merchant_order_ext_ref": "Example reference #123"
}
584:["$","div","request-application/json-authorisation_started",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$698"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"ORDER_PAYMENT_AUTHORISATION_STARTED\",\n \"order_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\",\n \"merchant_order_ext_ref\": \"Example reference #123\"\n}"}]}]]}] 585:["$","div","request-application/json-payout_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"event\": \"PAYOUT_COMPLETED\",\n  \"payout_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"PAYOUT_COMPLETED\",\n \"payout_id\": \"6634c172-3398-ac93-aee9-50de0282e3ac\"\n}"}]}]]}] 586:["$","div","request-application/json-dispute_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"event\": \"DISPUTE_ACTION_REQUIRED\",\n  \"dispute_id\": \"ab934829-e4ba-4e7f-8a21-365cad85c763\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"event\": \"DISPUTE_ACTION_REQUIRED\",\n \"dispute_id\": \"ab934829-e4ba-4e7f-8a21-365cad85c763\"\n}"}]}]]}] 587:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 5ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 600:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 601:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 602:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the customer used their card or Revolut account via Revolut Pay."}]]}] 603:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 604:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 605:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the customer used their card or Revolut account via Revolut Pay."}]]}] 606:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 607:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 608:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 609:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 60a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 60b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 60c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 60d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] 679:"Retrieve payment list of an order" 60e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 60f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] 610:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] 611:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] 612:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] 613:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment method used to pay for the order."}]]}] 614:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] 615:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] 616:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 617:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] 618:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] 619:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 61a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] 61b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] 61c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 61d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] 61e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] 61f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] 620:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] 621:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment details"}]]}] 622:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting."}]]}] 623:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 624:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 625:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 626:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting."}]]}] 627:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 628:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 62e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve information about a specific payment, based on the payment's ID."}],"\n",["$","p","p-1",{"children":"Use this endpoint to track a payment's lifecycle, for example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When you develop a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/checkout-with-saved-card","target":"_blank","rel":"noreferrer","children":"1-click checkout process"}]]}],"\n",["$","li","li-1",{"children":["When you build a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/subscription-management","target":"_blank","rel":"noreferrer","children":"subscription management system"}]]}],"\n"]}]]}] 62f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 630:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 631:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Payment"}]," object."]}]]}] 641:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 642:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 643:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 644:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the customer used their card or Revolut account via Revolut Pay."}]]}] 645:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 646:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 647:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the customer used their card or Revolut account via Revolut Pay."}]]}] 648:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 649:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 64a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 64b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 64c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 64d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 64e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 64f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] 650:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 651:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] 672:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L699","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 652:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] 653:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] 654:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] 655:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment method used to pay for the order."}]]}] 656:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] 657:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] 658:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 659:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] 65a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] 65b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 65c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] 65d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] 65e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 65f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] 660:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] 661:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] 662:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] 663:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of payments"}]]}] 664:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 665:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 666:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 667:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 668:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 669:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 66a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 66b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthenticated"}]]}] 66c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 66d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 66e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 66f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 67a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve a list of payments for a specific order, based on the order's ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This endpoint is part of a new API, pay attention to the different endpoint URL."}]}]]}],"\n",["$","p","p-1",{"children":"Use this endpoint to retrieve payment details for saved payment methods to make merchant and customer initiated transactions. For more information, see:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/checkout-with-saved-card","target":"_blank","rel":"noreferrer","children":"Speed up customer checkout by using saved card details"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/subscription-management","target":"_blank","rel":"noreferrer","children":"Manage subscriptions"}]}],"\n"]}]]}] 67b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 67c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 67d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] 68b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L69a","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 69b:T67f,
{
  "id": "8d9a7125-805f-40f3-a405-bc89765db996",
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
5c5:["$","div","200-application/json-example_online_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$69b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"8d9a7125-805f-40f3-a405-bc89765db996\",\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}"}]}]]}] 69c:T1b29,
{
  "id": "8d9a7125-805f-40f3-a405-bc89765db996",
  "name": "Example Street Store",
  "type": "physical",
  "details": {
    "address": {
      "street_line_1": "123 Example Street",
      "city": "Example city",
      "postcode": "12345",
      "country_code": "GB"
    },
    "geo_location": {
      "lat": 12.3456,
      "lon": -12.3456
    },
    "opening_hours": {
      "monday": [
        {
          "from": "09:00",
          "to": "15:00"
        },
        {
          "from": "16:00",
          "to": "18:00"
        }
      ],
      "tuesday": [
        {
          "from": "10:00",
          "to": "13:00"
        },
        {
          "from": "16:00",
          "to": "18:00"
        }
      ]
    }
  }
}
5c6:["$","div","200-application/json-example_physical_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$69c"}}]}]],"$L69d"]}] 5c7:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 5c8:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 5c9:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 69d:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"8d9a7125-805f-40f3-a405-bc89765db996\",\n \"name\": \"Example Street Store\",\n \"type\": \"physical\",\n \"details\": {\n \"address\": {\n \"street_line_1\": \"123 Example Street\",\n \"city\": \"Example city\",\n \"postcode\": \"12345\",\n \"country_code\": \"GB\"\n },\n \"geo_location\": {\n \"lat\": 12.3456,\n \"lon\": -12.3456\n },\n \"opening_hours\": {\n \"monday\": [\n {\n \"from\": \"09:00\",\n \"to\": \"15:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ],\n \"tuesday\": [\n {\n \"from\": \"10:00\",\n \"to\": \"13:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ]\n }\n }\n}"}]}] 69e:T27d5,
[
  {
    "id": "8d9a7125-805f-40f3-a405-bc89765db996",
    "name": "Grocery website",
    "type": "online",
    "details": {
      "domain": "groceries.example.com"
    }
  },
  {
    "id": "066223df-d5a8-42f0-b3ce-688c7a76f9a8",
    "name": "Cars website",
    "type": "online",
    "details": {
      "domain": "cars.example.com"
    }
  },
  {
    "id": "299050a4-cc7a-44b0-8b2b-7cd1e335ef38",
    "name": "Example Street Store",
    "type": "physical",
    "details": {
      "address": {
        "street_line_1": "123 Example Street",
        "city": "Example city",
        "postcode": "12345",
        "country_code": "GB"
      },
      "geo_location": {
        "lat": 12.3456,
        "lon": -12.3456
      },
      "opening_hours": {
        "monday": [
          {
            "from": "09:00",
            "to": "15:00"
          },
          {
            "from": "16:00",
            "to": "18:00"
          }
        ],
        "tuesday": [
          {
            "from": "10:00",
            "to": "13:00"
          },
          {
            "from": "16:00",
            "to": "18:00"
          }
        ]
      }
    }
  }
]
5fe:["$","div","200-application/json-list_of_locations",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$69e"}}]}]],"$L69f"]}] 6a0:T479,[ { "id": "8d9a7125-805f-40f3-a405-bc89765db996", "name": "Grocery website", "type": "online", "details": { "domain": "groceries.example.com" } }, { "id": "066223df-d5a8-42f0-b3ce-688c7a76f9a8", "name": "Cars website", "type": "online", "details": { "domain": "cars.example.com" } }, { "id": "299050a4-cc7a-44b0-8b2b-7cd1e335ef38", "name": "Example Street Store", "type": "physical", "details": { "address": { "street_line_1": "123 Example Street", "city": "Example city", "postcode": "12345", "country_code": "GB" }, "geo_location": { "lat": 12.3456, "lon": -12.3456 }, "opening_hours": { "monday": [ { "from": "09:00", "to": "15:00" }, { "from": "16:00", "to": "18:00" } ], "tuesday": [ { "from": "10:00", "to": "13:00" }, { "from": "16:00", "to": "18:00" } ] } } } ]69f:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$6a0"}]}] 640:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 6a1:T8df,
{
  "id": "64905d4b-a205-aac3-a5ef-dab978b1b7ee",
  "order_id": "64905d0f-3f95-a2ac-91ea-57c77f9dbe69",
  "state": "completed",
  "payment_method": {
    "type": "revolut_pay",
    "subtype": "revolut_account",
    "id": "648334a8-9546-a983-a81a-efc6d5bdd0be"
  }
}
673:["$","div","200-application/json-revolut_pay_saved",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"64905d4b-a205-aac3-a5ef-dab978b1b7ee\",\n \"order_id\": \"64905d0f-3f95-a2ac-91ea-57c77f9dbe69\",\n \"state\": \"completed\",\n \"payment_method\": {\n \"type\": \"revolut_pay\",\n \"subtype\": \"revolut_account\",\n \"id\": \"648334a8-9546-a983-a81a-efc6d5bdd0be\"\n }\n}"}]}]]}] 6a2:T7b3,
{
  "id": "64905d4b-a205-aac3-a5ef-dab978b1b7ee",
  "order_id": "64905d0f-3f95-a2ac-91ea-57c77f9dbe69",
  "state": "completed",
  "payment_method": {
    "type": "revolut_pay",
    "subtype": "revolut_account"
  }
}
674:["$","div","200-application/json-revolut_pay_not_saved",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"64905d4b-a205-aac3-a5ef-dab978b1b7ee\",\n \"order_id\": \"64905d0f-3f95-a2ac-91ea-57c77f9dbe69\",\n \"state\": \"completed\",\n \"payment_method\": {\n \"type\": \"revolut_pay\",\n \"subtype\": \"revolut_account\"\n }\n}"}]}]]}] 6a3:T9de,
{
  "id": "63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b",
  "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a",
  "state": "completed",
  "payment_method": {
    "type": "card",
    "brand": "visa",
    "last_four": "1234",
    "id": "64a28499-05c5-af30-bbf9-9c1b028e00b8"
  }
}
675:["$","div","200-application/json-card_payment_saved",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b\",\n \"order_id\": \"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a\",\n \"state\": \"completed\",\n \"payment_method\": {\n \"type\": \"card\",\n \"brand\": \"visa\",\n \"last_four\": \"1234\",\n \"id\": \"64a28499-05c5-af30-bbf9-9c1b028e00b8\"\n }\n}"}]}]]}] 6a4:T8b2,
{
  "id": "63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b",
  "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a",
  "state": "completed",
  "payment_method": {
    "type": "card",
    "brand": "visa",
    "last_four": "1234"
  }
}
676:["$","div","200-application/json-card_payment_not_saved",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b\",\n \"order_id\": \"63dd0e3f-7b84-ab5c-927c-1a06f7c9583a\",\n \"state\": \"completed\",\n \"payment_method\": {\n \"type\": \"card\",\n \"brand\": \"visa\",\n \"last_four\": \"1234\"\n }\n}"}]}]]}] 677:["$","div","400-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n  \"timestamp\": 1601296792533\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n \"timestamp\": 1601296792533\n}"}]}]]}] 6a5:T471,
{
  "errorId": "94b27660-fdda-49ec-8b85-cd46a068ade0",
  "timestamp": 1601296792533,
  "code": 1024
}
678:["$","div","404-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n \"timestamp\": 1601296792533,\n \"code\": 1024\n}"}]}]]}] 6a6:T261d,
[
  {
    "id": "63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b",
    "token": "294358bf-3818-49b2-aacc-7ca971f52695",
    "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a",
    "state": "declined",
    "amount": 100,
    "currency": "EUR",
    "payment_method": {
      "type": "card",
      "card_brand": "visa",
      "funding": "credit",
      "card_last_four": "1234"
    }
  },
  {
    "id": "649adc44-3e86-a832-879c-2f6d0255dd4c",
    "token": "8061e645-35e0-42bb-8318-603abaeab7b7",
    "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a",
    "state": "declined",
    "amount": 100,
    "currency": "EUR",
    "decline_reason": "insufficient_funds",
    "payment_method": {
      "type": "revolut_pay",
      "subtype": "revolut_account"
    }
  },
  {
    "id": "663387f1-1c2e-a295-b143-9f1fb1eec175",
    "token": "663387f1-c91e-a464-908a-1cc4548ebc6a",
    "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a",
    "state": "pending",
    "amount": 100,
    "currency": "EUR",
    "payment_method": {
      "type": "sepa_direct_debit",
      "debtor_iban_last_four": "1234",
      "debtor_name": "John Doe",
      "mandate_reference": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4"
    }
  }
]
68c:["$","div","200-application/json-payment_list",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a6"}}]}]],"$L6a7"]}] 6a8:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1720528890647
}
68d:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1720528890647\n}"}]}]]}] 6a9:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1720528890647
}
68e:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6a9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1720528890647\n}"}]}]]}] 6aa:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
68f:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$6aa"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 690:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 6ab:T49d,[ { "id": "63dd0e4a-42c4-a1a6-ab2c-6ac9d255ca4b", "token": "294358bf-3818-49b2-aacc-7ca971f52695", "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a", "state": "declined", "amount": 100, "currency": "EUR", "payment_method": { "type": "card", "card_brand": "visa", "funding": "credit", "card_last_four": "1234" } }, { "id": "649adc44-3e86-a832-879c-2f6d0255dd4c", "token": "8061e645-35e0-42bb-8318-603abaeab7b7", "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a", "state": "declined", "amount": 100, "currency": "EUR", "decline_reason": "insufficient_funds", "payment_method": { "type": "revolut_pay", "subtype": "revolut_account" } }, { "id": "663387f1-1c2e-a295-b143-9f1fb1eec175", "token": "663387f1-c91e-a464-908a-1cc4548ebc6a", "order_id": "63dd0e3f-7b84-ab5c-927c-1a06f7c9583a", "state": "pending", "amount": 100, "currency": "EUR", "payment_method": { "type": "sepa_direct_debit", "debtor_iban_last_four": "1234", "debtor_name": "John Doe", "mandate_reference": "A1B2C3D4E5F6A1B2C3D4E5F6A1B2C3D4" } } ]6a7:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$6ab"}]}] 699:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 69a:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 1f:["$","$5e","pay-order",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Payment initiated","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L6ac"},"order_id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L6ad"},"payment_method":{"type":"object","description":"The payment method used to pay for the order.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:discriminator","oneOf":[{"discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:discriminator","oneOf":[{"properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:0:properties:type:enum","description":"The type of payment method used to pay for the order.","descriptionNode":"$L6ae"},"subtype":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:0:properties:subtype:enum","description":"Indicates whether the customer used their card or Revolut account via Revolut Pay.","descriptionNode":"$L6af"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L6b0"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:0:required"},{"properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:1:properties:type:enum","description":"The type of payment method used to pay for the order.","descriptionNode":"$L6b1"},"subtype":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:1:properties:subtype:enum","description":"Indicates whether the customer used their card or Revolut account via Revolut Pay.","descriptionNode":"$L6b2"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L6b3"},"brand":{"type":"string","description":"The type of the card.","descriptionNode":"$L6b4"},"last_four":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L6b5"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:0:oneOf:1:required"}]},{"properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:1:properties:type:enum","description":"The type of payment method used to pay for the order.","descriptionNode":"$L6b6"},"brand":{"type":"string","description":"The type of the card.","descriptionNode":"$L6b7"},"last_four":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L6b8"},"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned if the payment method is saved.\n:::","descriptionNode":"$L6b9"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:1:required"},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$L6ba"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L6bb"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$L6bc"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$L6bd"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$L6be"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$L6bf"}],"descriptionNode":"$L6c0"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$L6c1"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$L6c2"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L6c3"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$L6c4"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$L6c5"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L6c6"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$L6c7"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$L6c8"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L6c9"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$L6ca"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$L6cb"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$L6cc"}],"descriptionNode":"$L6cd"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"successful_payment_card":{"summary":"Payment authorised (card)","value":{"id":"63c55e04-4208-a43d-9c96-eaee848ffbaf","order_id":"63c55df6-1461-a886-b90f-f49d3c370253","payment_method":{"type":"card","id":"2b83c23a-650e-40c3-8989-00ee24478738","brand":"mastercard_credit","last_four":"1234"},"state":"authorisation_passed"}},"successful_payment_revolut_pay_account":{"summary":"Payment authorised (Revolut Pay - Revolut account)","value":{"id":"63c55e04-4208-a43d-9c96-eaee848ffbaf","order_id":"63c55df6-1461-a886-b90f-f49d3c370253","payment_method":{"type":"revolut_pay","subtype":"revolut_account","id":"2b83c23a-650e-40c3-8989-00ee24478738"},"state":"authorisation_passed"}},"successful_payment_revolut_pay_card":{"summary":"Payment authorised (Revolut Pay - card)","value":{"id":"63c55e04-4208-a43d-9c96-eaee848ffbaf","order_id":"63c55df6-1461-a886-b90f-f49d3c370253","payment_method":{"type":"revolut_pay","subtype":"card","id":"2b83c23a-650e-40c3-8989-00ee24478738","brand":"visa","last_four":"1234"},"state":"authorisation_passed"}},"three_ds":{"summary":"Saved card payment (3DS challenge)","value":{"id":"5e96b328-4054-41ed-b089-595ccc4d0870","order_id":"a16718e0-077a-4942-89bc-23ac17a2e14c","payment_method":{"type":"card","id":"2b83c23a-650e-40c3-8989-00ee24478738","brand":"mastercard_credit","last_four":"1234"},"state":"authentication_challenge","authentication_challenge":{"type":"three_ds","acs_url":"https://example.com"}}},"three_ds_fingerprint":{"summary":"Saved card payment (3DS fingerprint challenge)","value":{"id":"5e96b328-4054-41ed-b089-595ccc4d0870","order_id":"a16718e0-077a-4942-89bc-23ac17a2e14c","payment_method":{"type":"card","id":"2b83c23a-650e-40c3-8989-00ee24478738","brand":"mastercard_credit","last_four":"1234"},"state":"authentication_challenge","authentication_challenge":{"type":"three_ds_fingerprint","fingerprint_url":"https://example.com","fingerprint_data":"string"}}}}}},"descriptionNode":"$L6ce"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting.","descriptionNode":"$L6cf"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L6d0"}}},"examples":{"example-1":{"value":{"errorId":"94b27660-fdda-49ec-8b85-cd46a068ade0","timestamp":1601296792533}}}}},"descriptionNode":"$L6d1"},"401":{"description":"Unauthorized","descriptionNode":"$L6d2"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting.","descriptionNode":"$L6d3"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L6d4"},"code":{"type":"integer"}}},"examples":{"example-1":{"value":{"errorId":"94b27660-fdda-49ec-8b85-cd46a068ade0","timestamp":1601296792533,"code":1024}}}}},"descriptionNode":"$L6d5"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"saved_payment_method":{"type":"object","description":"Object containing information about the saved payment method used to pay for the order.","properties":{"type":{"type":"string","enum":["card","revolut_pay"],"description":"Type of saved payment method.","examples":["card"],"descriptionNode":"$L6d6"},"id":{"type":"string","description":"Saved payment method ID.","descriptionNode":"$L6d7"},"initiator":{"type":"string","description":"Indicates who is allowed to initiate the payment. \n\n:::note\nUsing this endpoint, only merchant initiated payments are supported with Revolut Pay.\n:::","enum":["customer","merchant"],"examples":["customer"],"descriptionNode":"$L6d8"},"environment":{"description":"Environment object, indicating in which environment the payment was made.\n\n:::warning\nOnly required if `initiator: customer`.\n:::\n\n:::note\nOnly `browser` is available at the moment.\n:::","type":"object","discriminator":{"propertyName":"type","mapping":{"browser":"#/components/schemas/Browser-Environment"}},"oneOf":[{"type":"object","description":"Browser environment","properties":{"type":{"type":"string","enum":["browser"],"description":"Type of environment where the payment was made.","examples":["browser"],"descriptionNode":"$L6d9"},"time_zone_utc_offset":{"type":"integer","description":"Defines the offset to UTC in minutes.","examples":[180],"descriptionNode":"$L6da"},"color_depth":{"type":"integer","description":"The browser's available colour depth.","examples":[32],"descriptionNode":"$L6db"},"screen_width":{"type":"integer","description":"The browser's screen width in pixels.","examples":[1920],"descriptionNode":"$L6dc"},"screen_height":{"type":"integer","description":"The browser's screen height in pixels.","examples":[1080],"descriptionNode":"$L6dd"},"java_enabled":{"type":"boolean","description":"Indicates if the browser has Java enabled.","examples":[false],"descriptionNode":"$L6de"},"challenge_window_width":{"type":"integer","description":"Defines the width of the pop-up window where the authentication challenge appears.","examples":[640],"descriptionNode":"$L6df"},"browser_url":{"type":"string","format":"url","description":"The URL of the page where the payment was initiated.","examples":["https://business.revolut.com"],"descriptionNode":"$L6e0"}},"required":["type","time_zone_utc_offset","color_depth","screen_width","screen_height","java_enabled"],"descriptionNode":"$L6e1"}],"descriptionNode":"$L6e2"}},"required":["type","id","initiator","environment"],"descriptionNode":"$L6e3"}},"required":["saved_payment_method"]},"examples":{"saved_card_customer":{"summary":"Saved card (customer initiator)","value":{"saved_payment_method":{"type":"card","id":"2b83c23a-650e-40c3-8989-00ee24478738","initiator":"customer","environment":{"type":"browser","time_zone_utc_offset":180,"color_depth":48,"screen_width":1920,"screen_height":1080,"java_enabled":true,"challenge_window_width":640,"browser_url":"https://business.revolut.com"}}}},"saved_card_merchant":{"summary":"Saved card (merchant initiator)","value":{"saved_payment_method":{"type":"card","id":"2b83c23a-650e-40c3-8989-00ee24478738","initiator":"merchant"}}},"revolut_pay":{"summary":"Saved Revolut Pay (merchant initiator)","value":{"saved_payment_method":{"type":"revolut_pay","id":"2b83c23a-650e-40c3-8989-00ee24478738","initiator":"merchant"}}}}}}},"variantLabels":["Payment authorised (card)","Payment authorised (Revolut Pay - Revolut account)","Payment authorised (Revolut Pay - card)","Saved card payment (3DS challenge)","Saved card payment (3DS fingerprint challenge)"],"children":["$L6e4","$L6e5"]}]}],false]}] 6e4:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"pay-order","children":[["$L6e6","$undefined"],["$","$L15",null,{"id":"pay-order"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/pay-order.md"}]]}]}],"$undefined"]}] 6eb:Tb59,
curl -X POST "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}'
6ec:T1a6a,
const payload = {
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
};
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
6ed:T1a51,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
  jsonData := []byte(`
{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
6ee:T1730,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
6ef:T48c,import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.URI; public class Main { public static void main(String[] args) { HttpClient client = HttpClient.newHttpClient(); String body = """ { "saved_payment_method": { "type": "card", "id": "2b83c23a-650e-40c3-8989-00ee24478738", "initiator": "customer", "environment": { "type": "browser", "time_zone_utc_offset": 180, "color_depth": 48, "screen_width": 1920, "screen_height": 1080, "java_enabled": true, "challenge_window_width": 640, "browser_url": "https://business.revolut.com" } } } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments")) .header("Content-Type", "application/json") .header("Authorization", "__RP_TOK_1__") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }6f0:T1fb8,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
6f1:T436,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"), Headers = { { "Authorization", "__RP_TOK_1__" }, }, Content = new StringContent(@"{ ""saved_payment_method"": { ""type"": ""card"", ""id"": ""2b83c23a-650e-40c3-8989-00ee24478738"", ""initiator"": ""customer"", ""environment"": { ""type"": ""browser"", ""time_zone_utc_offset"": 180, ""color_depth"": 48, ""screen_width"": 1920, ""screen_height"": 1080, ""java_enabled"": true, ""challenge_window_width"": 640, ""browser_url"": ""https://business.revolut.com"" } } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }6f2:T2d96,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""saved_payment_method"": {
    ""type"": ""card"",
    ""id"": ""2b83c23a-650e-40c3-8989-00ee24478738"",
    ""initiator"": ""customer"",
    ""environment"": {
      ""type"": ""browser"",
      ""time_zone_utc_offset"": 180,
      ""color_depth"": 48,
      ""screen_width"": 1920,
      ""screen_height"": 1080,
      ""java_enabled"": true,
      ""challenge_window_width"": 640,
      ""browser_url"": ""https://business.revolut.com""
    }
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
6f3:Tb61,
curl -X POST "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}'
6f4:T1a72,
const payload = {
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
};
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
6f5:T1a59,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
  jsonData := []byte(`
{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
6f6:T1738,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
6f7:T494,import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.URI; public class Main { public static void main(String[] args) { HttpClient client = HttpClient.newHttpClient(); String body = """ { "saved_payment_method": { "type": "card", "id": "2b83c23a-650e-40c3-8989-00ee24478738", "initiator": "customer", "environment": { "type": "browser", "time_zone_utc_offset": 180, "color_depth": 48, "screen_width": 1920, "screen_height": 1080, "java_enabled": true, "challenge_window_width": 640, "browser_url": "https://business.revolut.com" } } } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments")) .header("Content-Type", "application/json") .header("Authorization", "__RP_TOK_1__") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }6f8:T1fc0,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
6f9:T43e,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"), Headers = { { "Authorization", "__RP_TOK_1__" }, }, Content = new StringContent(@"{ ""saved_payment_method"": { ""type"": ""card"", ""id"": ""2b83c23a-650e-40c3-8989-00ee24478738"", ""initiator"": ""customer"", ""environment"": { ""type"": ""browser"", ""time_zone_utc_offset"": 180, ""color_depth"": 48, ""screen_width"": 1920, ""screen_height"": 1080, ""java_enabled"": true, ""challenge_window_width"": 640, ""browser_url"": ""https://business.revolut.com"" } } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }6fa:T2d9e,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""saved_payment_method"": {
    ""type"": ""card"",
    ""id"": ""2b83c23a-650e-40c3-8989-00ee24478738"",
    ""initiator"": ""customer"",
    ""environment"": {
      ""type"": ""browser"",
      ""time_zone_utc_offset"": 180,
      ""color_depth"": 48,
      ""screen_width"": 1920,
      ""screen_height"": 1080,
      ""java_enabled"": true,
      ""challenge_window_width"": 640,
      ""browser_url"": ""https://business.revolut.com""
    }
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
6e5:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L6e7",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L6e8"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L6e9"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$L6ea"}],"requestBody":"$1f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$1f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}'","templateHtml":"$6eb","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n};\nfetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6ec","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\n jsonData := []byte(`\n{\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6ed","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$6ee","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$6ef","templateHtml":"$6f0","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"$6f1","templateHtml":"$6f2","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}'","templateHtml":"$6f3","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6f4","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\n jsonData := []byte(`\n{\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6f5","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/payments\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$6f6","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$6f7","templateHtml":"$6f8","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"$6f9","templateHtml":"$6fa","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}/payments","parameters":["$6e5:props:children:0:props:children:1:props:parameters:0","$6e5:props:children:0:props:children:1:props:parameters:1"]}],"$L6fb"],"$L6fc","$L6fd"]}]]}] 6fb:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L6fe"}}}] 6fc:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"saved_card_customer","label":"Saved card (customer initiator)","rawValue":"$1f:props:children:0:props:children:props:requestBody:content:application/json:examples:saved_card_customer:value","block":"$L6ff"},{"key":"saved_card_merchant","label":"Saved card (merchant initiator)","rawValue":"$1f:props:children:0:props:children:props:requestBody:content:application/json:examples:saved_card_merchant:value","block":"$L700"},{"key":"revolut_pay","label":"Saved Revolut Pay (merchant initiator)","rawValue":"$1f:props:children:0:props:children:props:requestBody:content:application/json:examples:revolut_pay:value","block":"$L701"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 6fd:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"successful_payment_card","label":"Payment authorised (card)","rawValue":"$1f:props:children:0:props:children:props:responses:200:content:application/json:examples:successful_payment_card:value","block":"$L702"},{"key":"successful_payment_revolut_pay_account","label":"Payment authorised (Revolut Pay - Revolut account)","rawValue":"$1f:props:children:0:props:children:props:responses:200:content:application/json:examples:successful_payment_revolut_pay_account:value","block":"$L703"},{"key":"successful_payment_revolut_pay_card","label":"Payment authorised (Revolut Pay - card)","rawValue":"$1f:props:children:0:props:children:props:responses:200:content:application/json:examples:successful_payment_revolut_pay_card:value","block":"$L704"},{"key":"three_ds","label":"Saved card payment (3DS challenge)","rawValue":"$1f:props:children:0:props:children:props:responses:200:content:application/json:examples:three_ds:value","block":"$L705"},{"key":"three_ds_fingerprint","label":"Saved card payment (3DS fingerprint challenge)","rawValue":"$1f:props:children:0:props:children:props:responses:200:content:application/json:examples:three_ds_fingerprint:value","block":"$L706"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$1f:props:children:0:props:children:props:responses:400:content:application/json:examples:example-1:value","block":"$L707"}],"syncedPropertyName":"$undefined"}},"401":{},"404":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$1f:props:children:0:props:children:props:responses:404:content:application/json:examples:example-1:value","block":"$L708"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 6e6:"Pay for an order" 6ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 6ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 6ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 6af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the customer used their card or Revolut account via Revolut Pay."}]]}] 6b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 6b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 6b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the customer used their card or Revolut account via Revolut Pay."}]]}] 6b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 6b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 6b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 6b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}]]}] 6b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 6b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 6b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned if the payment method is saved."]}]}]]}]]}] 6ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] 6bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 6bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] 6bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] 6be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] 6bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] 6c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment method used to pay for the order."}]]}] 6c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] 6c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] 6c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 6c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] 6c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] 6c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 6c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] 6c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] 6c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 6ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] 6cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] 6cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] 6cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] 6ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment initiated"}]]}] 6cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting."}]]}] 6d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 6d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 6d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 6d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut\nsupport for troubleshooting."}]]}] 6d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 6d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 6d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of saved payment method."}]]}] 6d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Saved payment method ID."}]]}] 6d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates who is allowed to initiate the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Using this endpoint, only merchant initiated payments are supported with Revolut Pay."}]}]]}]]}] 6d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of environment where the payment was made."}]]}] 6da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Defines the offset to UTC in minutes."}]]}] 6db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The browser's available colour depth."}]]}] 6dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The browser's screen width in pixels."}]]}] 6dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The browser's screen height in pixels."}]]}] 6de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates if the browser has Java enabled."}]]}] 6df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Defines the width of the pop-up window where the authentication challenge appears."}]]}] 6e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the page where the payment was initiated."}]]}] 6e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Browser environment"}]]}] 6e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Environment object, indicating in which environment the payment was made."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Only required if ",["$","code","code-0",{"children":"initiator: customer"}],"."]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Only ",["$","code","code-0",{"children":"browser"}]," is available at the moment."]}]}]]}]]}] 6e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about the saved payment method used to pay for the order."}]]}] 6e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Initiate a payment to pay full amount for an order using a customer's saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"/orders/{order_id}/confirm"}]," endpoint has been deprecated. It will be only supported for already existing implementations."]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This endpoint is part of a new API, pay attention to the different endpoint URL."}]}]]}],"\n",["$","p","p-1",{"children":["For more information about how to save and charge payment methods, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/optimise-checkout/save-payment-methods/charge-saved-payment-method","target":"_blank","rel":"noreferrer","children":"Charge a customer's saved payment method"}],"."]}],"\n",["$","p","p-2",{"children":["The following table shows who can initiate payments on saved payment methods (",["$","code","code-0",{"children":"initiator"}]," parameter), depending on if the payment method was saved for the customer or the merchant (",["$","code","code-1",{"children":"savedPaymentMethodFor"}]," parameter):"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":["$","code","code-0",{"children":"savePaymentMethodFor: customer"}],"className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":["$","code","code-0",{"children":"savePaymentMethodFor: merchant"}],"className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":["$","code","code-0",{"children":"initiator: customer"}]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allowed","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Allowed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":["$","code","code-0",{"children":"initiator: merchant"}]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Not allowed","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Allowed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-2",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Using this endpoint, only merchant initiated payments are supported with Revolut Pay."}]}]]}],"\n",["$","p","p-3",{"children":["For more information about customers' payment methods, see the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]," operation."]}]]}] 6e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 6e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 6ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] 6fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L709","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 70a:Tf38,
{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "customer",
    "environment": {
      "type": "browser",
      "time_zone_utc_offset": 180,
      "color_depth": 48,
      "screen_width": 1920,
      "screen_height": 1080,
      "java_enabled": true,
      "challenge_window_width": 640,
      "browser_url": "https://business.revolut.com"
    }
  }
}
6ff:["$","div","request-application/json-saved_card_customer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$70a"}}]}]],"$L70b"]}] 70c:T56d,
{
  "saved_payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "merchant"
  }
}
700:["$","div","request-application/json-saved_card_merchant",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$70c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"merchant\"\n }\n}"}]}]]}] 70d:T574,
{
  "saved_payment_method": {
    "type": "revolut_pay",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "initiator": "merchant"
  }
}
701:["$","div","request-application/json-revolut_pay",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$70d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"saved_payment_method\": {\n \"type\": \"revolut_pay\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"merchant\"\n }\n}"}]}]]}] 70e:T9be,
{
  "id": "63c55e04-4208-a43d-9c96-eaee848ffbaf",
  "order_id": "63c55df6-1461-a886-b90f-f49d3c370253",
  "payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "brand": "mastercard_credit",
    "last_four": "1234"
  },
  "state": "authorisation_passed"
}
702:["$","div","200-application/json-successful_payment_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$70e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"63c55e04-4208-a43d-9c96-eaee848ffbaf\",\n \"order_id\": \"63c55df6-1461-a886-b90f-f49d3c370253\",\n \"payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"brand\": \"mastercard_credit\",\n \"last_four\": \"1234\"\n },\n \"state\": \"authorisation_passed\"\n}"}]}]]}] 70f:T8b2,
{
  "id": "63c55e04-4208-a43d-9c96-eaee848ffbaf",
  "order_id": "63c55df6-1461-a886-b90f-f49d3c370253",
  "payment_method": {
    "type": "revolut_pay",
    "subtype": "revolut_account",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738"
  },
  "state": "authorisation_passed"
}
703:["$","div","200-application/json-successful_payment_revolut_pay_account",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$70f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"63c55e04-4208-a43d-9c96-eaee848ffbaf\",\n \"order_id\": \"63c55df6-1461-a886-b90f-f49d3c370253\",\n \"payment_method\": {\n \"type\": \"revolut_pay\",\n \"subtype\": \"revolut_account\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\"\n },\n \"state\": \"authorisation_passed\"\n}"}]}]]}] 710:Tac9,
{
  "id": "63c55e04-4208-a43d-9c96-eaee848ffbaf",
  "order_id": "63c55df6-1461-a886-b90f-f49d3c370253",
  "payment_method": {
    "type": "revolut_pay",
    "subtype": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "brand": "visa",
    "last_four": "1234"
  },
  "state": "authorisation_passed"
}
704:["$","div","200-application/json-successful_payment_revolut_pay_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$710"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"63c55e04-4208-a43d-9c96-eaee848ffbaf\",\n \"order_id\": \"63c55df6-1461-a886-b90f-f49d3c370253\",\n \"payment_method\": {\n \"type\": \"revolut_pay\",\n \"subtype\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"brand\": \"visa\",\n \"last_four\": \"1234\"\n },\n \"state\": \"authorisation_passed\"\n}"}]}]]}] 711:Tcf4,
{
  "id": "5e96b328-4054-41ed-b089-595ccc4d0870",
  "order_id": "a16718e0-077a-4942-89bc-23ac17a2e14c",
  "payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "brand": "mastercard_credit",
    "last_four": "1234"
  },
  "state": "authentication_challenge",
  "authentication_challenge": {
    "type": "three_ds",
    "acs_url": "https://example.com"
  }
}
705:["$","div","200-application/json-three_ds",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$711"}}]}]],"$L712"]}] 713:Te24,
{
  "id": "5e96b328-4054-41ed-b089-595ccc4d0870",
  "order_id": "a16718e0-077a-4942-89bc-23ac17a2e14c",
  "payment_method": {
    "type": "card",
    "id": "2b83c23a-650e-40c3-8989-00ee24478738",
    "brand": "mastercard_credit",
    "last_four": "1234"
  },
  "state": "authentication_challenge",
  "authentication_challenge": {
    "type": "three_ds_fingerprint",
    "fingerprint_url": "https://example.com",
    "fingerprint_data": "string"
  }
}
706:["$","div","200-application/json-three_ds_fingerprint",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$713"}}]}]],"$L714"]}] 707:["$","div","400-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n  \"timestamp\": 1601296792533\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n \"timestamp\": 1601296792533\n}"}]}]]}] 715:T471,
{
  "errorId": "94b27660-fdda-49ec-8b85-cd46a068ade0",
  "timestamp": 1601296792533,
  "code": 1024
}
708:["$","div","404-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$715"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n \"timestamp\": 1601296792533,\n \"code\": 1024\n}"}]}]]}] 70b:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"saved_payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"initiator\": \"customer\",\n \"environment\": {\n \"type\": \"browser\",\n \"time_zone_utc_offset\": 180,\n \"color_depth\": 48,\n \"screen_width\": 1920,\n \"screen_height\": 1080,\n \"java_enabled\": true,\n \"challenge_window_width\": 640,\n \"browser_url\": \"https://business.revolut.com\"\n }\n }\n}"}]}] 712:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"5e96b328-4054-41ed-b089-595ccc4d0870\",\n \"order_id\": \"a16718e0-077a-4942-89bc-23ac17a2e14c\",\n \"payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"brand\": \"mastercard_credit\",\n \"last_four\": \"1234\"\n },\n \"state\": \"authentication_challenge\",\n \"authentication_challenge\": {\n \"type\": \"three_ds\",\n \"acs_url\": \"https://example.com\"\n }\n}"}]}] 714:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"5e96b328-4054-41ed-b089-595ccc4d0870\",\n \"order_id\": \"a16718e0-077a-4942-89bc-23ac17a2e14c\",\n \"payment_method\": {\n \"type\": \"card\",\n \"id\": \"2b83c23a-650e-40c3-8989-00ee24478738\",\n \"brand\": \"mastercard_credit\",\n \"last_four\": \"1234\"\n },\n \"state\": \"authentication_challenge\",\n \"authentication_challenge\": {\n \"type\": \"three_ds_fingerprint\",\n \"fingerprint_url\": \"https://example.com\",\n \"fingerprint_data\": \"string\"\n }\n}"}]}] 72f:T593,Type of the report. | Report type | Description | | -------------- | ----------- | | `settlement_report` | All settled transactions associated with a Merchant account, with a configurable set of columns. | | `custom_report` | Settled and processing transactions associated with a Merchant account, with a configurable set of columns. | | `payments_report` | Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by `from` and `to` creation timestamps, and optionally by `entity_states`. | | `payout_statement_report` | Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter `filter.payout_id`, which should be obtained from the payout ID retrieved via the [payout list endpoint](https://developer.revolut.com/docs/api/merchant#retrieve-payout-list) or from [webhook events](https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks). | | `icpp_fee_breakdown_report` | IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter `filter.icpp_charge_id`, which should be obtained from the `related_icpp_charge_id` column in the Payout statement report. A separate report should be generated for each IC++ transaction. |732:Td2c,Names of the columns to be included in the report. If the `columns` parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error. Available columns: | Column name | Description | | ----------- | ----------- | | `transaction_id` | Unique identifier of the ledger transaction related to an order. | | `order_id` | Unique identifier of the order. | | `original_order_id` | Unique identifier of the original order. For refunds and chargebacks, references the order being reversed. | | `started_date` | Start timestamp shown on the row. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. Separate from the report filter timeframe. | | `updated_date` | Last update timestamp shown on the row. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. Separate from the report filter timeframe. | | `completed_date` | Completion timestamp shown on the row. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. Separate from the report filter timeframe. | | `payment_created_date` | Payment authorisation or creation timestamp for rows linked to a payment. Empty for refunds and non-payment-related rows where no payment timestamp applies. This is returned data, not the report filter key. | | `payment_captured_date` | Payment capture timestamp for rows linked to a captured payment. Empty for refunds, non-payment-related rows, or payments not captured. This is returned data, not the report filter key. | | `type` | Settlement report row type. A partial-settlement is represented by separate `SETTLEMENT` and `REFUND` rows, not a dedicated type. | | `state` | State of the transaction. | | `description` | Description of the order. | | `merchant_order_ext_ref` | Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created. | | `customer_id` | Unique identifier of the customer. | | `amount` | Total amount of the order. | | `currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the order. | | `settlement_amount` | Total amount settled on the merchant's account. | | `settlement_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount. | | `payment_method` | Type of the payment method the customer used to pay for the order. | | `fee_amount` | Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees). | | `fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the total fee. | | `processing_fee_amount` | Acquiring markup fee only — a subset of `fee_amount`. Represents Revolut's service fee, excluding interchange and scheme fees. | | `processing_fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the acquiring markup fee. | | `browser_url` | The URL where the customer initiated the payment. | | `location_id` | Unique identifier of the location related to the transaction. |738:T593,Type of the report. | Report type | Description | | -------------- | ----------- | | `settlement_report` | All settled transactions associated with a Merchant account, with a configurable set of columns. | | `custom_report` | Settled and processing transactions associated with a Merchant account, with a configurable set of columns. | | `payments_report` | Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by `from` and `to` creation timestamps, and optionally by `entity_states`. | | `payout_statement_report` | Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter `filter.payout_id`, which should be obtained from the payout ID retrieved via the [payout list endpoint](https://developer.revolut.com/docs/api/merchant#retrieve-payout-list) or from [webhook events](https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks). | | `icpp_fee_breakdown_report` | IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter `filter.icpp_charge_id`, which should be obtained from the `related_icpp_charge_id` column in the Payout statement report. A separate report should be generated for each IC++ transaction. |73b:T1cf6,Names of the columns to include in the report. If not specified, all available columns are included. An empty array returns an error. To include custom order metadata, use `metadata.*` with the attribute name, for example `metadata.my_attribute`. Available columns: | Column name | Description | | ----------- | ----------- | | `transaction_id` | Unique identifier of the ledger transaction. Matches `transaction_id` in the settlement and payout reports. Use `order_id` to cross-reference with the payments report. | | `related_transaction_id` | For refund and chargeback transactions, the ledger transaction ID of the original payment. Corresponds to `original_transaction_id` in the payout report. | | `transaction_description` | Description of the transaction. | | `payout_id` | Unique identifier of the payout that this transaction contributed to. | | `dispute_id` | Unique identifier of the dispute associated with this transaction, if applicable. | | `account_id` | Unique identifier of the merchant account. | | `account_balance` | Account balance at the time of the transaction. | | `order_id` | Unique identifier of the order. Use to cross-reference with the payments or payout reports. | | `original_order_id` | For refunds and chargebacks, the order ID of the original payment. For settlement transactions, matches `order_id`. | | `original_order_ext_ref` | Merchant's order identifier of the original order for external reference. | | `order_description` | Description of the order. | | `order_channel` | Channel through which the order was created. | | `order_customer_note` | Note added by the customer at the time of the order. | | `order_tip_amount` | Tip amount set at the order level. | | `order_created_by` | Identifier of the user who created the order. | | `payment_initiated_by` | Identifier of who initiated the payment. | | `order_line_items` | Line items included in the order, if any. | | `payout_reference` | Reference of the payout transfer associated with the transaction. | | `invoice_reference` | Invoice reference associated with the order, if any. | | `started_date` | Start timestamp shown on the row. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. Separate from the report filter timeframe. | | `created_date` | Date and time the order was created. | | `updated_date` | Last update timestamp shown on the row. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. Separate from the report filter timeframe. | | `completed_date` | Completion timestamp shown on the row. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. Separate from the report filter timeframe. | | `payment_created_date` | Payment authorisation or creation timestamp for rows linked to a payment. Empty for refunds and non-payment-related rows where no payment timestamp applies. This is returned data, not the report filter key. | | `payment_captured_date` | Payment capture timestamp for rows linked to a captured payment. Empty for refunds, non-payment-related rows, or payments not captured. This is returned data, not the report filter key. | | `type` | Category of the reported transaction row, indicating what kind of balance-affecting event the row represents. For the full list of returned values, see [Download report file](https://developer.revolut.com/docs/api/merchant#download-report-file). | | `legacy_type` | Legacy type value for backwards compatibility. | | `state` | State of the transaction. | | `description` | Description of the transaction. | | `merchant_order_ext_ref` | Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created. | | `customer_id` | Unique identifier of the customer. | | `amount` | Total amount of the order. | | `currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the order. | | `settlement_amount` | Total amount settled on the merchant's account. | | `settlement_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount. | | `exchange_rate` | Exchange rate applied if currency conversion occurred. | | `refunded_amount` | Amount refunded for the order. | | `statement_descriptor` | Statement descriptor shown on the customer's bank statement. | | `tip_amount` | Tip amount included in the transaction. | | `terminal_hardware_id` | Identifier of the card reader hardware used, for in-person payments. | | `customer_name` | Name of the customer. | | `customer_email` | Email address of the customer. | | `customer_card_number` | Masked card number used for the payment. | | `customer_card_brand` | Card brand used for the payment. Derived from BIN data. Example values: `VISA`, `MASTERCARD`, `MASTERCARD_DEBIT`, `MAESTRO`, `AMEX`, `DINERS`, `DISCOVER`, `JCB`. | | `customer_card_type` | Card funding type of the card used for the payment, for example debit, credit, prepaid, deferred debit, or charge. For the full list of returned values, see [Download report file](https://developer.revolut.com/docs/api/merchant#download-report-file). | | `customer_card_category` | Card commercial category. Values: `consumer` (personal card) and `commercial` (business or corporate card). | | `payment_method` | Payment method the customer used to pay for the order. | | `fee_amount` | Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees). | | `fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the total fee. | | `processing_fee_amount` | Acquiring markup fee only — a subset of `fee_amount`. Represents Revolut's service fee, excluding interchange and scheme fees. | | `processing_fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the acquiring markup fee. | | `fx_fee_amount` | Foreign exchange fee amount, if applicable. | | `fx_fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the FX fee. | | `browser_url` | The URL where the customer initiated the payment. | | `beneficiary_name` | Name of the beneficiary, for bank transfer payments. | | `beneficiary_account_number` | Account number of the beneficiary, for bank transfer payments. | | `location_id` | Unique identifier of the location related to the transaction. | | `location_name` | Name of the location related to the transaction. | | `surcharge_amount` | Surcharge amount applied to the transaction. Omitted when no surcharge applies. | | `order_surcharge_amount` | Surcharge amount set at the order level. | | `order_custom_field_name` | Name of a custom field set on the order. | | `order_custom_field_value` | Value of a custom field set on the order. | | `offline_payment_state` | State of an offline payment, if applicable. | | `order_authorisation_type` | Authorisation type of the order, for example `FULL` or `PRE_AUTH`. | | `metadata.*` | Custom order metadata. Replace `*` with the attribute name, for example `metadata.my_attribute`. |744:T593,Type of the report. | Report type | Description | | -------------- | ----------- | | `settlement_report` | All settled transactions associated with a Merchant account, with a configurable set of columns. | | `custom_report` | Settled and processing transactions associated with a Merchant account, with a configurable set of columns. | | `payments_report` | Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by `from` and `to` creation timestamps, and optionally by `entity_states`. | | `payout_statement_report` | Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter `filter.payout_id`, which should be obtained from the payout ID retrieved via the [payout list endpoint](https://developer.revolut.com/docs/api/merchant#retrieve-payout-list) or from [webhook events](https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks). | | `icpp_fee_breakdown_report` | IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter `filter.icpp_charge_id`, which should be obtained from the `related_icpp_charge_id` column in the Payout statement report. A separate report should be generated for each IC++ transaction. |747:Tb55,Names of the columns to be included in the report. If the `columns` parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error. Available columns: | Column name | Description | | ----------- | ----------- | | `payment_id` | Unique identifier of the payment. | | `type` | Category of the payment row, indicating whether the row represents a payment attempt or a refund. For the full list of returned values, see [Download report file](https://developer.revolut.com/docs/api/merchant#download-report-file). | | `description` | Description of the payment. | | `original_payment_id` | For refunds, the unique identifier of the original payment. | | `order_id` | Unique identifier of the order associated with the payment. | | `state` | Lifecycle state of the payment. For the full list of returned values, see [Download report file](https://developer.revolut.com/docs/api/merchant#download-report-file). | | `reason` | Reason for a failed or declined payment, for example: `Insufficient Funds`. | | `amount` | Total amount of the payment. | | `currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the payment. | | `surcharge_amount` | Surcharge amount applied to the payment, if any. | | `tip_amount` | Tip amount included in the payment, if any. | | `refunded_amount` | Amount refunded for the payment. | | `created_date` | Date and time the payment was created. | | `captured_date` | Date and time the payment was captured. Empty when the payment has not been captured. | | `merchant_order_ext_ref` | Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created. | | `payment_method` | Payment method used, for example: `CARD` or `PAY_WITH_REVOLUT`. | | `location_id` | Unique identifier of the location where the payment was made. | | `customer_id` | Unique identifier of the customer. | | `customer_card_number` | Masked card number used for the payment. | | `customer_card_country` | Country of the card used for the payment, as an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code. | | `customer_card_brand` | Card brand used for the payment, for example: `VISA` or `MASTERCARD_DEBIT`. | | `customer_card_type` | Card funding type of the card used for the payment. For the full list of returned values, see [Download report file](https://developer.revolut.com/docs/api/merchant#download-report-file). | | `customer_card_category` | Card commercial category. Values: `consumer` (personal card) and `commercial` (business or corporate card). | | `customer_email` | Email address of the customer. | | `fee_amount` | Total fee amount charged for the payment. | | `fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the fee. |74e:T593,Type of the report. | Report type | Description | | -------------- | ----------- | | `settlement_report` | All settled transactions associated with a Merchant account, with a configurable set of columns. | | `custom_report` | Settled and processing transactions associated with a Merchant account, with a configurable set of columns. | | `payments_report` | Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by `from` and `to` creation timestamps, and optionally by `entity_states`. | | `payout_statement_report` | Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter `filter.payout_id`, which should be obtained from the payout ID retrieved via the [payout list endpoint](https://developer.revolut.com/docs/api/merchant#retrieve-payout-list) or from [webhook events](https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks). | | `icpp_fee_breakdown_report` | IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter `filter.icpp_charge_id`, which should be obtained from the `related_icpp_charge_id` column in the Payout statement report. A separate report should be generated for each IC++ transaction. |751:Tef6,Names of the columns to be included in the report. If the `columns` parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error. Available columns: | Column name | Description | | ----------- | ----------- | | `created_date` | Date and time the transaction was created. | | `completed_date` | Date and time the transaction was completed. | | `payout_affected_date` | Date and time the payout was affected by this transaction. | | `affected_payout_amount` | Boolean flag indicating whether this transaction contributed to the payout amount (`true`) or not (`false`). Despite the name, this is not a monetary value. | | `transaction_id` | Unique identifier of the transaction. | | `order_id` | Unique identifier of the order associated with the transaction. | | `dispute_id` | Unique identifier of the dispute associated with a chargeback or chargeback reversal transaction. Empty for rows not related to a dispute. | | `merchant_order_reference` | Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created. | | `type` | Type of the payout-related ledger event the row represents. For the full list of returned values, see [Download report file](https://developer.revolut.com/docs/api/merchant#download-report-file). | | `related_icpp_charge_id` | Unique identifier of the IC++ charge related to the transaction, if applicable. | | `transaction_amount` | Amount of the transaction in the transaction currency. | | `transaction_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the transaction. | | `billing_amount` | Amount of the transaction in the billing currency. | | `billing_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the billing amount. | | `state` | State of the transaction, for example: `COMPLETED`. | | `original_transaction_id` | Unique identifier of the original transaction. For refunds, references the transaction being refunded. | | `original_transaction_amount` | Amount of the original transaction. | | `original_transaction_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the original transaction. | | `original_order_id` | Unique identifier of the original order. For refunds, references the order being refunded. | | `original_order_channel` | Channel through which the original order was created. | | `original_merchant_order_reference` | Merchant's order reference for the original order. The value of the `merchant_order_data.reference` field set when the original order was created. | | `fee_amount` | Total fee amount charged for the transaction. | | `fee_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the fee. | | `settlement_amount` | Total amount settled on the merchant's account. | | `settlement_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount. | | `location_id` | Unique identifier of the location associated with the transaction. | | `location_name` | Name of the location associated with the transaction. | | `submerchant_id` | Unique identifier of the submerchant associated with the transaction. | | `payout_transfer_reference` | Reference of the bank transfer for this payout. This value is the same across all rows in the report, as each report covers a single payout. | | `payout_total_amount` | Total amount of this payout. This value is the same across all rows in the report, as each report covers a single payout. | | `payout_date` | Date and time the payout covered by this report was created. This value is the same across all rows in the report, as each report covers a single payout. |758:T593,Type of the report. | Report type | Description | | -------------- | ----------- | | `settlement_report` | All settled transactions associated with a Merchant account, with a configurable set of columns. | | `custom_report` | Settled and processing transactions associated with a Merchant account, with a configurable set of columns. | | `payments_report` | Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by `from` and `to` creation timestamps, and optionally by `entity_states`. | | `payout_statement_report` | Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter `filter.payout_id`, which should be obtained from the payout ID retrieved via the [payout list endpoint](https://developer.revolut.com/docs/api/merchant#retrieve-payout-list) or from [webhook events](https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks). | | `icpp_fee_breakdown_report` | IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter `filter.icpp_charge_id`, which should be obtained from the `related_icpp_charge_id` column in the Payout statement report. A separate report should be generated for each IC++ transaction. |75b:T7eb,Names of the columns to be included in the report. If the `columns` parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error. Available columns: | Column name | Description | | ----------- | ----------- | | `id` | Unique identifier of the payment. | | `created_at` | Date and time the payment was created. | | `operation` | IC++ transaction type. Values: `SALE` (payment sale), `REFUND` (refund), and `DISPUTE` (dispute-related transaction). | | `amount` | Transaction amount. | | `currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the transaction. | | `settlement_amount` | Amount settled on the merchant's account. | | `settlement_currency` | The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount. | | `payment_method` | Payment method used for the transaction. Returns `REVOLUT_PAY` for Revolut Pay payments, or the card scheme name for card payments. | | `card_scheme` | Card BIN scheme. | | `card_funding` | Card funding type, for example: `DEBIT` or `PREPAID`. | | `order_description` | Description of the order. | | `order_merchant_external_ref` | Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created. | | `original_operation_id` | Unique identifier of the related original transaction. | | `acquiring_fee_amount` | IC++ acquiring markup fee component. | | `card_interchange_fee_amount` | Interchange fee component. Omitted for Revolut Pay transactions. | | `card_scheme_fee_amount` | Card scheme fee component. Omitted for Revolut Pay transactions. | | `card_type` | Card commercial category. Values: `COMMERCIAL` (business or corporate card) and `CONSUMER` (personal card). | | `order_channel` | Channel through which the order was created. | | `card_country` | Country of the card, as an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code. |31:["$","$5e","create-report-run",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"Report run created, report started generating","content":{"application/json":{"schema":{"title":"ReportRunDetails","type":"object","description":"The `ReportRunDetails` object contains all information associated with a specific report run, identified by the `report_run_id`.","properties":{"report_run_id":{"type":"string","format":"uuid","description":"Unique ID used for accessing report details. Use this to check report generation status.","descriptionNode":"$L716"},"status":{"type":"string","description":"Current status of the report run.\n\n| Value | Description |\n| ----- | ----------- |\n| `processing` | Report generation is still in progress. |\n| `completed` | Report generation finished successfully and the file is available to download for 24 hours via `file_url`. |\n| `failed` | Report generation failed and no report file is available. |\n| `expired` | Report generation previously completed, but the 24-hour file availability window has elapsed and the file can no longer be downloaded. |","enum":"$32:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:status:enum","descriptionNode":"$L717"},"file_url":{"type":"string","description":"Use this link to download the report file. Available only when `status` is `completed`, and only for 24 hours after report generation finishes.","descriptionNode":"$L718"}},"required":"$32:props:children:0:props:children:props:responses:200:content:application/json:schema:required","descriptionNode":"$L719"},"examples":{"report_run_processing":{"summary":"Report run processing","value":{"report_run_id":"d6f6ef64-f668-4e64-8967-1cdf8afb2561","status":"processing"}},"report_run_completed":{"summary":"Report run completed, report file ready","value":{"report_run_id":"d6f6ef64-f668-4e64-8967-1cdf8afb2561","status":"completed","file_url":"https://merchant.revolut.com/api/report-runs/d6f6ef64-f668-4e64-8967-1cdf8afb2561/file"}}}}},"descriptionNode":"$L71a"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L71b"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L71c"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L71d"}}}}},"descriptionNode":"$L71e"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L71f"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L720"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L721"}}}}},"descriptionNode":"$L722"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L723"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L724"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L725"}}}}},"descriptionNode":"$L726"}},"requestBody":{"content":{"application/json":{"schema":{"discriminator":{"propertyName":"type","mapping":{"settlement_report":"#/components/schemas/Report-Run-Settlement-Report","custom_report":"#/components/schemas/Report-Run-Custom-Report","payments_report":"#/components/schemas/Report-Run-Payments-Report","payout_statement_report":"#/components/schemas/Report-Run-Payout-Report","icpp_fee_breakdown_report":"#/components/schemas/Report-Run-Icpp-Report"}},"oneOf":[{"title":"Settlement report","type":"object","description":"A settlement report contains all the query information for generating reports of settled transactions associated with a Merchant account.","properties":{"filter":{"type":"object","description":"Filtering parameters to be applied to the report.\n\n:::note\nFor `settlement_report` and `custom_report`, `from` and `to` are evaluated against the transaction `created_date`, not the original payment-start timeframe or the `payment_created_date` and `payment_captured_date` columns.\n:::","properties":{"from":{"type":"string","format":"date-time","description":"This parameter specifies the start boundary for filtering report data. It accepts ETC/UTC date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) and includes all matching records on or after this timestamp.\n\nCombined with the `to` parameter, this determines the report's timeframe, including all matching records between the two values.\n\nFor example, by setting the `from` parameter to `2021-01-01T00:00:00Z`, the report will include matching records from the first second of January 1, 2021, UTC, and onwards.","descriptionNode":"$L727"},"to":{"type":"string","format":"date-time","description":"This parameter specifies the end boundary for filtering report data. It accepts ETC/UTC date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) and includes all matching records before this timestamp (exclusive).\n\nCombined with the `from` parameter, this determines the timeframe for the report, including all matching records between the two values.\n\nFor example, setting the `to` parameter to `2021-12-31T23:59:59Z` will include all matching records in the report up to, but not including, the last second of December 31, 2021, UTC.","descriptionNode":"$L728"},"entity_types":{"type":"array","items":{"type":"string","enum":["payment","refund","dispute"]},"description":"Select source entity families to be included in the report.\n\n| Value | Description |\n| ----- | ----------- |\n| `payment` | Include rows originating from payment settlement activity. |\n| `refund` | Include rows originating from refund activity. |\n| `dispute` | Include rows originating from dispute and chargeback activity. |\n\n:::note\nThese values are filter input categories. They do not map 1:1 to the CSV `type` output column. For example, a settlement report filtered with `payment`, `refund`, and `dispute` can still return CSV `type` values such as `SETTLEMENT`, `REFUND`, `CHARGEBACK`, and `CHARGEBACK_REVERSAL`.\n:::","descriptionNode":"$L729"},"entity_states":{"type":"array","items":{"type":"string","enum":["completed","processing","cancelled","reverted"]},"description":"Select transactions by state to be included in the report.\n\n| Value | Description |\n| ----- | ----------- |\n| `completed` | Include transactions that reached their final successful state. |\n| `processing` | Include transactions that are still being processed. |\n| `cancelled` | Include transactions that were cancelled before final completion. |\n| `reverted` | Include transactions that were reversed after initial creation. |\n\nIf not provided, only `completed` transactions will be included in the report.","descriptionNode":"$L72a"},"currency":{"type":"string","description":"Select transactions with specific currencies to include in the report. Provide [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","minLength":3,"maxLength":3,"examples":["GBP"],"descriptionNode":"$L72b"},"location_id":{"type":"string","format":"uuid","description":"Select transactions by location ID to be included in the report.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L72c"}},"required":["from","to"],"descriptionNode":"$L72d"},"format":{"type":"string","enum":["csv"],"description":"Format of the generated report file.","examples":["csv"],"descriptionNode":"$L72e"},"type":{"type":"string","description":"$72f","enum":["settlement_report","custom_report","payments_report","payout_statement_report","icpp_fee_breakdown_report"],"examples":["settlement_report"],"descriptionNode":"$L730"},"options":{"type":"object","description":"Further options to customise the report.","properties":{"timezone":{"type":"string","description":"Defaults to `ETC/UTC`. Defines the output timezone for all timestamps displayed in the report.\n\nHas no effect on `from` or `to` parameters.","examples":["Europe/London"],"descriptionNode":"$L731"},"columns":{"type":"array","items":{"type":"string","enum":["transaction_id","order_id","original_order_id","started_date","updated_date","completed_date","payment_created_date","payment_captured_date","type","state","description","merchant_order_ext_ref","customer_id","amount","currency","settlement_amount","settlement_currency","payment_method","fee_amount","fee_currency","processing_fee_amount","processing_fee_currency","browser_url","location_id"]},"description":"$732","examples":[["transaction_id","type","amount","currency","settlement_amount","settlement_currency"]],"descriptionNode":"$L733"}},"descriptionNode":"$L734"}},"required":["filter","format","type"],"descriptionNode":"$L735"},{"title":"Custom report","type":"object","description":"A custom report contains all the query information for generating reports of selected transactions associated with a Merchant account.","properties":{"filter":{"type":"object","description":"Filtering parameters to be applied to the report.\n\n:::note\nFor `settlement_report` and `custom_report`, `from` and `to` are evaluated against the transaction `created_date`, not the original payment-start timeframe or the `payment_created_date` and `payment_captured_date` columns.\n:::","properties":{"from":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:properties:from","to":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:properties:to","entity_types":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:properties:entity_types","entity_states":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:properties:entity_states","currency":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:properties:currency","location_id":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:properties:location_id"},"required":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:filter:required","descriptionNode":"$L736"},"format":{"type":"string","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:enum","description":"Format of the generated report file.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:examples","descriptionNode":"$L737"},"type":{"type":"string","description":"$738","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:enum","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:examples","descriptionNode":"$L739"},"options":{"type":"object","description":"Further options to customise the report.","properties":{"timezone":{"type":"string","description":"Defaults to `ETC/UTC`. Defines the output timezone for all timestamps displayed in the report.\n\nHas no effect on `from` or `to` parameters.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:options:properties:timezone:examples","descriptionNode":"$L73a"},"columns":{"type":"array","description":"$73b","items":{"type":"string","enum":["transaction_id","related_transaction_id","transaction_description","payout_id","dispute_id","account_id","account_balance","order_id","original_order_id","original_order_ext_ref","order_description","order_channel","order_customer_note","order_tip_amount","order_created_by","payment_initiated_by","order_line_items","payout_reference","invoice_reference","started_date","created_date","updated_date","completed_date","payment_created_date","payment_captured_date","type","legacy_type","state","description","merchant_order_ext_ref","customer_id","amount","currency","settlement_amount","settlement_currency","exchange_rate","refunded_amount","statement_descriptor","tip_amount","terminal_hardware_id","customer_name","customer_email","customer_card_number","customer_card_brand","customer_card_type","customer_card_category","payment_method","fee_amount","fee_currency","processing_fee_amount","processing_fee_currency","fx_fee_amount","fx_fee_currency","browser_url","beneficiary_name","beneficiary_account_number","location_id","location_name","surcharge_amount","order_surcharge_amount","order_custom_field_name","order_custom_field_value","offline_payment_state","order_authorisation_type","metadata.*"]},"examples":[["transaction_id","amount","currency","metadata.my_attribute"]],"descriptionNode":"$L73c"}},"descriptionNode":"$L73d"}},"required":["filter","format","type"],"descriptionNode":"$L73e"},{"title":"Payments report","type":"object","description":"A payments report contains all the query information for generating reports of payments associated with a Merchant account, including failed and declined payments.","properties":{"filter":{"type":"object","description":"Filtering parameters to be applied to the report.\n\n:::note\nFor `payments_report`, `from` and `to` are evaluated against the payment `created_date`. The `captured_date` column is returned data and does not change the filter key.\n:::","properties":{"from":{"type":"string","format":"date-time","description":"This parameter specifies the start boundary for filtering report data. It accepts ETC/UTC date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) and includes all matching records on or after this timestamp.\n\nCombined with the `to` parameter, this determines the report's timeframe, including all matching records between the two values.\n\nFor example, by setting the `from` parameter to `2021-01-01T00:00:00Z`, the report will include matching records from the first second of January 1, 2021, UTC, and onwards.","descriptionNode":"$L73f"},"to":{"type":"string","format":"date-time","description":"This parameter specifies the end boundary for filtering report data. It accepts ETC/UTC date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) and includes all matching records before this timestamp (exclusive).\n\nCombined with the `from` parameter, this determines the timeframe for the report, including all matching records between the two values.\n\nFor example, setting the `to` parameter to `2021-12-31T23:59:59Z` will include all matching records in the report up to, but not including, the last second of December 31, 2021, UTC.","descriptionNode":"$L740"},"entity_states":{"type":"array","items":{"type":"string","enum":["completed","failed","declined","cancelled"]},"description":"Select payments by state to be included in the report.\n\n| Value | Description |\n| ----- | ----------- |\n| `completed` | Include payments that completed successfully. |\n| `failed` | Include payments that failed during processing. |\n| `declined` | Include payments rejected by the issuer or payment flow. |\n| `cancelled` | Include payments cancelled before completion. |\n\nIf not provided, payments in all states will be included in the report.","descriptionNode":"$L741"}},"required":["from","to"],"descriptionNode":"$L742"},"format":{"type":"string","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:enum","description":"Format of the generated report file.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:examples","descriptionNode":"$L743"},"type":{"type":"string","description":"$744","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:enum","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:examples","descriptionNode":"$L745"},"options":{"type":"object","description":"Further options to customise the report.","properties":{"timezone":{"type":"string","description":"Defaults to `ETC/UTC`. Defines the output timezone for all timestamps displayed in the report.\n\nHas no effect on `from` or `to` parameters.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:options:properties:timezone:examples","descriptionNode":"$L746"},"columns":{"type":"array","items":{"type":"string","enum":["payment_id","type","description","original_payment_id","order_id","state","reason","amount","currency","surcharge_amount","tip_amount","refunded_amount","created_date","captured_date","merchant_order_ext_ref","payment_method","location_id","customer_id","customer_card_number","customer_card_country","customer_card_brand","customer_card_type","customer_card_category","customer_email","fee_amount","fee_currency"]},"description":"$747","examples":[["payment_id","type","state","amount","currency"]],"descriptionNode":"$L748"}},"descriptionNode":"$L749"}},"required":["filter","format","type"],"descriptionNode":"$L74a"},{"title":"Payout statement report","type":"object","description":"A payout statement report contains all the query information for generating reports of a selected payout associated with a Merchant account.","properties":{"filter":{"type":"object","description":"Filtering parameters to be applied to the report.","properties":{"payout_id":{"type":"string","format":"uuid","description":"Permanent payout ID used for payouts operations.","descriptionNode":"$L74b"}},"required":["payout_id"],"descriptionNode":"$L74c"},"format":{"type":"string","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:enum","description":"Format of the generated report file.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:examples","descriptionNode":"$L74d"},"type":{"type":"string","description":"$74e","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:enum","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:examples","descriptionNode":"$L74f"},"options":{"type":"object","description":"Further options to customise the report.","properties":{"timezone":{"type":"string","description":"Defaults to `ETC/UTC`. Defines the output timezone for all timestamps displayed in the report.\n\nHas no effect on `from` or `to` parameters.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:options:properties:timezone:examples","descriptionNode":"$L750"},"columns":{"type":"array","items":{"type":"string","enum":["created_date","completed_date","payout_affected_date","affected_payout_amount","transaction_id","order_id","dispute_id","merchant_order_reference","type","related_icpp_charge_id","transaction_amount","transaction_currency","billing_amount","billing_currency","state","original_transaction_id","original_transaction_amount","original_transaction_currency","original_order_id","original_order_channel","original_merchant_order_reference","fee_amount","fee_currency","settlement_amount","settlement_currency","location_id","location_name","submerchant_id","payout_transfer_reference","payout_total_amount","payout_date"]},"description":"$751","examples":[["transaction_id","type","transaction_amount","transaction_currency"]],"descriptionNode":"$L752"}},"descriptionNode":"$L753"}},"required":["filter","format","type"],"descriptionNode":"$L754"},{"title":"IC++ fee breakdown report","type":"object","description":"A IC++ fee breakdown report contains all the query information for generating reports of fees for each IC++ transaction related to a payout.","properties":{"filter":{"type":"object","description":"Filtering parameters to be applied to the report.","properties":{"icpp_charge_id":{"type":"string","format":"uuid","description":"Permanent ID of of the IC++ fee related to a payout transaction.\n\nThis ID can be obtained from the `related_icpp_charge_id` column of a payout statement report.","descriptionNode":"$L755"}},"required":["icpp_charge_id"],"descriptionNode":"$L756"},"format":{"type":"string","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:enum","description":"Format of the generated report file.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:format:examples","descriptionNode":"$L757"},"type":{"type":"string","description":"$758","enum":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:enum","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:type:examples","descriptionNode":"$L759"},"options":{"type":"object","description":"Further options to customise the report.","properties":{"timezone":{"type":"string","description":"Defaults to `ETC/UTC`. Defines the output timezone for all timestamps displayed in the report.\n\nHas no effect on `from` or `to` parameters.","examples":"$31:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:options:properties:timezone:examples","descriptionNode":"$L75a"},"columns":{"type":"array","items":{"type":"string","enum":["id","created_at","operation","amount","currency","settlement_amount","settlement_currency","payment_method","card_scheme","card_funding","order_description","order_merchant_external_ref","original_operation_id","acquiring_fee_amount","card_interchange_fee_amount","card_scheme_fee_amount","card_type","order_channel","card_country"]},"description":"$75b","examples":[["id","operation","acquiring_fee_amount","card_interchange_fee_amount","card_scheme_fee_amount"]],"descriptionNode":"$L75c"}},"descriptionNode":"$L75d"}},"required":["filter","format","type"],"descriptionNode":"$L75e"}]},"examples":{"custom_report":{"summary":"Custom report","value":{"filter":{"from":"2020-01-01T00:00:00Z","to":"2020-01-02T00:00:00Z","entity_types":["payment"],"entity_states":["completed","processing"]},"format":"csv","type":"custom_report","options":{"timezone":"Europe/London","columns":["transaction_id","amount","currency","metadata.custom_attribute"]}}},"settlement_report":{"summary":"Settlement report","value":{"filter":{"from":"2020-01-01T00:00:00Z","to":"2020-01-02T00:00:00Z","entity_types":["payment"]},"format":"csv","type":"settlement_report"}},"payments_report":{"summary":"Payments report","value":{"filter":{"from":"2020-01-01T00:00:00Z","to":"2020-01-02T00:00:00Z","entity_states":["completed","failed","declined"]},"format":"csv","type":"payments_report"}},"payout_statement_report":{"summary":"Payout statement report","value":{"filter":{"payout_id":"a830020e-090c-4717-836d-37941a27ad12"},"format":"csv","type":"payout_statement_report"}},"icpp_fee_breakdown_report":{"summary":"IC++ fee breakdown report","value":{"filter":{"icpp_charge_id":"41d6c699-744a-4994-91c0-9227539c587f"},"format":"csv","type":"icpp_fee_breakdown_report"}}}}}},"variantLabels":["Report run processing","Report run completed, report file ready"],"children":["$L75f","$L760"]}]}],false]}] 75f:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-report-run","children":[["$L761","$undefined"],["$","$L15",null,{"id":"create-report-run"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/create-report-run.md"}]]}]}],"$undefined"]}] 764:Td83,
curl -X POST "https://merchant.revolut.com/api/report-runs" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}'
765:T1a64,
const payload = {
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
};
fetch("https://merchant.revolut.com/api/report-runs", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
766:T1c7b,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/report-runs"
  jsonData := []byte(`
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
767:T179a,
import requests

url = "https://merchant.revolut.com/api/report-runs"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
768:T478,import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.URI; public class Main { public static void main(String[] args) { HttpClient client = HttpClient.newHttpClient(); String body = """ { "filter": { "from": "2020-01-01T00:00:00Z", "to": "2020-01-02T00:00:00Z", "entity_types": [ "payment" ], "entity_states": [ "completed", "processing" ] }, "format": "csv", "type": "custom_report", "options": { "timezone": "Europe/London", "columns": [ "transaction_id", "amount", "currency", "metadata.custom_attribute" ] } } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://merchant.revolut.com/api/report-runs")) .header("Content-Type", "application/json") .header("Authorization", "__RP_TOK_0__") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }769:T21e2,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/report-runs"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
76a:T42a,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://merchant.revolut.com/api/report-runs"), Headers = { { "Authorization", "__RP_TOK_0__" }, }, Content = new StringContent(@"{ ""filter"": { ""from"": ""2020-01-01T00:00:00Z"", ""to"": ""2020-01-02T00:00:00Z"", ""entity_types"": [ ""payment"" ], ""entity_states"": [ ""completed"", ""processing"" ] }, ""format"": ""csv"", ""type"": ""custom_report"", ""options"": { ""timezone"": ""Europe/London"", ""columns"": [ ""transaction_id"", ""amount"", ""currency"", ""metadata.custom_attribute"" ] } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }76b:T31f8,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/report-runs"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""filter"": {
    ""from"": ""2020-01-01T00:00:00Z"",
    ""to"": ""2020-01-02T00:00:00Z"",
    ""entity_types"": [
      ""payment""
    ],
    ""entity_states"": [
      ""completed"",
      ""processing""
    ]
  },
  ""format"": ""csv"",
  ""type"": ""custom_report"",
  ""options"": {
    ""timezone"": ""Europe/London"",
    ""columns"": [
      ""transaction_id"",
      ""amount"",
      ""currency"",
      ""metadata.custom_attribute""
    ]
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
76c:Td8b,
curl -X POST "https://sandbox-merchant.revolut.com/api/report-runs" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}'
76d:T1a6c,
const payload = {
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
};
fetch("https://sandbox-merchant.revolut.com/api/report-runs", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
76e:T1c83,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/report-runs"
  jsonData := []byte(`
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
76f:T17a2,
import requests

url = "https://sandbox-merchant.revolut.com/api/report-runs"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
770:T480,import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.URI; public class Main { public static void main(String[] args) { HttpClient client = HttpClient.newHttpClient(); String body = """ { "filter": { "from": "2020-01-01T00:00:00Z", "to": "2020-01-02T00:00:00Z", "entity_types": [ "payment" ], "entity_states": [ "completed", "processing" ] }, "format": "csv", "type": "custom_report", "options": { "timezone": "Europe/London", "columns": [ "transaction_id", "amount", "currency", "metadata.custom_attribute" ] } } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-merchant.revolut.com/api/report-runs")) .header("Content-Type", "application/json") .header("Authorization", "__RP_TOK_0__") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }771:T21ea,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/report-runs"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
772:T432,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/report-runs"), Headers = { { "Authorization", "__RP_TOK_0__" }, }, Content = new StringContent(@"{ ""filter"": { ""from"": ""2020-01-01T00:00:00Z"", ""to"": ""2020-01-02T00:00:00Z"", ""entity_types"": [ ""payment"" ], ""entity_states"": [ ""completed"", ""processing"" ] }, ""format"": ""csv"", ""type"": ""custom_report"", ""options"": { ""timezone"": ""Europe/London"", ""columns"": [ ""transaction_id"", ""amount"", ""currency"", ""metadata.custom_attribute"" ] } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }773:T3200,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/report-runs"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""filter"": {
    ""from"": ""2020-01-01T00:00:00Z"",
    ""to"": ""2020-01-02T00:00:00Z"",
    ""entity_types"": [
      ""payment""
    ],
    ""entity_states"": [
      ""completed"",
      ""processing""
    ]
  },
  ""format"": ""csv"",
  ""type"": ""custom_report"",
  ""options"": {
    ""timezone"": ""Europe/London"",
    ""columns"": [
      ""transaction_id"",
      ""amount"",
      ""currency"",
      ""metadata.custom_attribute""
    ]
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
760:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L762",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L763"}],"requestBody":"$31:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$31:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/report-runs\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}'","templateHtml":"$764","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n};\nfetch(\"https://merchant.revolut.com/api/report-runs\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$765","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/report-runs\"\n jsonData := []byte(`\n{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$766","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/report-runs\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$767","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"$768","templateHtml":"$769","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"$76a","templateHtml":"$76b","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/report-runs\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}'","templateHtml":"$76c","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/report-runs\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$76d","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/report-runs\"\n jsonData := []byte(`\n{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$76e","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/report-runs\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$76f","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"$770","templateHtml":"$771","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"$772","templateHtml":"$773","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/report-runs","parameters":["$760:props:children:0:props:children:1:props:parameters:0"]}],"$L774"],"$L775","$L776"]}]]}] 774:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L777"}}}] 775:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"custom_report","label":"Custom report","rawValue":"$31:props:children:0:props:children:props:requestBody:content:application/json:examples:custom_report:value","block":"$L778"},{"key":"settlement_report","label":"Settlement report","rawValue":"$31:props:children:0:props:children:props:requestBody:content:application/json:examples:settlement_report:value","block":"$L779"},{"key":"payments_report","label":"Payments report","rawValue":"$31:props:children:0:props:children:props:requestBody:content:application/json:examples:payments_report:value","block":"$L77a"},{"key":"payout_statement_report","label":"Payout statement report","rawValue":"$31:props:children:0:props:children:props:requestBody:content:application/json:examples:payout_statement_report:value","block":"$L77b"},{"key":"icpp_fee_breakdown_report","label":"IC++ fee breakdown report","rawValue":"$31:props:children:0:props:children:props:requestBody:content:application/json:examples:icpp_fee_breakdown_report:value","block":"$L77c"}],"syncedPropertyName":"type"}},"title":"Request body samples","headingAs":"h4"}] 776:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"report_run_processing","label":"Report run processing","rawValue":"$31:props:children:0:props:children:props:responses:201:content:application/json:examples:report_run_processing:value","block":"$L77d"},{"key":"report_run_completed","label":"Report run completed, report file ready","rawValue":"$31:props:children:0:props:children:props:responses:201:content:application/json:examples:report_run_completed:value","block":"$L77e"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L77f"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L780"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L781"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 709:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 761:"Create a report run" 716:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID used for accessing report details. Use this to check report generation status."}]]}] 717:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Current status of the report run."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Report generation is still in progress.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Report generation finished successfully and the file is available to download for 24 hours via ",["$","code","code-0",{"children":"file_url"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Report generation failed and no report file is available.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"expired"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Report generation previously completed, but the 24-hour file availability window has elapsed and the file can no longer be downloaded.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 718:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Use this link to download the report file. Available only when ",["$","code","code-0",{"children":"status"}]," is ",["$","code","code-1",{"children":"completed"}],", and only for 24 hours after report generation finishes."]}]]}] 719:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"ReportRunDetails"}]," object contains all information associated with a specific report run, identified by the ",["$","code","code-1",{"children":"report_run_id"}],"."]}]]}] 71a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Report run created, report started generating"}]]}] 71b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 71c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 71d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 71e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 71f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 720:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 721:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 722:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 723:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 724:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 725:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 726:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 727:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter specifies the start boundary for filtering report data. It accepts ETC/UTC date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," and includes all matching records on or after this timestamp."]}],"\n",["$","p","p-1",{"children":["Combined with the ",["$","code","code-0",{"children":"to"}]," parameter, this determines the report's timeframe, including all matching records between the two values."]}],"\n",["$","p","p-2",{"children":["For example, by setting the ",["$","code","code-0",{"children":"from"}]," parameter to ",["$","code","code-1",{"children":"2021-01-01T00:00:00Z"}],", the report will include matching records from the first second of January 1, 2021, UTC, and onwards."]}]]}] 728:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter specifies the end boundary for filtering report data. It accepts ETC/UTC date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," and includes all matching records before this timestamp (exclusive)."]}],"\n",["$","p","p-1",{"children":["Combined with the ",["$","code","code-0",{"children":"from"}]," parameter, this determines the timeframe for the report, including all matching records between the two values."]}],"\n",["$","p","p-2",{"children":["For example, setting the ",["$","code","code-0",{"children":"to"}]," parameter to ",["$","code","code-1",{"children":"2021-12-31T23:59:59Z"}]," will include all matching records in the report up to, but not including, the last second of December 31, 2021, UTC."]}]]}] 729:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Select source entity families to be included in the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include rows originating from payment settlement activity.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"refund"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include rows originating from refund activity.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"dispute"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include rows originating from dispute and chargeback activity.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["These values are filter input categories. They do not map 1:1 to the CSV ",["$","code","code-0",{"children":"type"}]," output column. For example, a settlement report filtered with ",["$","code","code-1",{"children":"payment"}],", ",["$","code","code-2",{"children":"refund"}],", and ",["$","code","code-3",{"children":"dispute"}]," can still return CSV ",["$","code","code-4",{"children":"type"}]," values such as ",["$","code","code-5",{"children":"SETTLEMENT"}],", ",["$","code","code-6",{"children":"REFUND"}],", ",["$","code","code-7",{"children":"CHARGEBACK"}],", and ",["$","code","code-8",{"children":"CHARGEBACK_REVERSAL"}],"."]}]}]]}]]}] 72a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Select transactions by state to be included in the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include transactions that reached their final successful state.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include transactions that are still being processed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include transactions that were cancelled before final completion.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"reverted"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include transactions that were reversed after initial creation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","p","p-1",{"children":["If not provided, only ",["$","code","code-0",{"children":"completed"}]," transactions will be included in the report."]}]]}] 72b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Select transactions with specific currencies to include in the report. Provide ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 72c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Select transactions by location ID to be included in the report."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 72d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filtering parameters to be applied to the report."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For ",["$","code","code-0",{"children":"settlement_report"}]," and ",["$","code","code-1",{"children":"custom_report"}],", ",["$","code","code-2",{"children":"from"}]," and ",["$","code","code-3",{"children":"to"}]," are evaluated against the transaction ",["$","code","code-4",{"children":"created_date"}],", not the original payment-start timeframe or the ",["$","code","code-5",{"children":"payment_created_date"}]," and ",["$","code","code-6",{"children":"payment_captured_date"}]," columns."]}]}]]}]]}] 72e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Format of the generated report file."}]]}] 730:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by ",["$","code","code-0",{"children":"from"}]," and ",["$","code","code-1",{"children":"to"}]," creation timestamps, and optionally by ",["$","code","code-2",{"children":"entity_states"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter ",["$","code","code-0",{"children":"filter.payout_id"}],", which should be obtained from the payout ID retrieved via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payout-list","target":"_blank","rel":"noreferrer","children":"payout list endpoint"}]," or from ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks","target":"_blank","rel":"noreferrer","children":"webhook events"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter ",["$","code","code-0",{"children":"filter.icpp_charge_id"}],", which should be obtained from the ",["$","code","code-1",{"children":"related_icpp_charge_id"}]," column in the Payout statement report. A separate report should be generated for each IC++ transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 731:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Defaults to ",["$","code","code-0",{"children":"ETC/UTC"}],". Defines the output timezone for all timestamps displayed in the report."]}],"\n",["$","p","p-1",{"children":["Has no effect on ",["$","code","code-0",{"children":"from"}]," or ",["$","code","code-1",{"children":"to"}]," parameters."]}]]}] 733:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Names of the columns to be included in the report."}],"\n",["$","p","p-1",{"children":["If the ",["$","code","code-0",{"children":"columns"}]," parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error."]}],"\n",["$","p","p-2",{"children":"Available columns:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Column name","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the ledger transaction related to an order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the original order. For refunds and chargebacks, references the order being reversed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"started_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Start timestamp shown on the row. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. Separate from the report filter timeframe.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"updated_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Last update timestamp shown on the row. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. Separate from the report filter timeframe.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Completion timestamp shown on the row. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. Separate from the report filter timeframe.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_created_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorisation or creation timestamp for rows linked to a payment. Empty for refunds and non-payment-related rows where no payment timestamp applies. This is returned data, not the report filter key.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_captured_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment capture timestamp for rows linked to a captured payment. Empty for refunds, non-payment-related rows, or payments not captured. This is returned data, not the report filter key.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"$L782","$L783","$L784","$L785","$L786","$L787","$L788","$L789","$L78a","$L78b","$L78c","$L78d","$L78e","$L78f","$L790","$L791"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 734:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Further options to customise the report."}]]}] 735:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A settlement report contains all the query information for generating reports of settled transactions associated with a Merchant account."}]]}] 736:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filtering parameters to be applied to the report."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For ",["$","code","code-0",{"children":"settlement_report"}]," and ",["$","code","code-1",{"children":"custom_report"}],", ",["$","code","code-2",{"children":"from"}]," and ",["$","code","code-3",{"children":"to"}]," are evaluated against the transaction ",["$","code","code-4",{"children":"created_date"}],", not the original payment-start timeframe or the ",["$","code","code-5",{"children":"payment_created_date"}]," and ",["$","code","code-6",{"children":"payment_captured_date"}]," columns."]}]}]]}]]}] 737:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Format of the generated report file."}]]}] 739:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by ",["$","code","code-0",{"children":"from"}]," and ",["$","code","code-1",{"children":"to"}]," creation timestamps, and optionally by ",["$","code","code-2",{"children":"entity_states"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter ",["$","code","code-0",{"children":"filter.payout_id"}],", which should be obtained from the payout ID retrieved via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payout-list","target":"_blank","rel":"noreferrer","children":"payout list endpoint"}]," or from ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks","target":"_blank","rel":"noreferrer","children":"webhook events"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter ",["$","code","code-0",{"children":"filter.icpp_charge_id"}],", which should be obtained from the ",["$","code","code-1",{"children":"related_icpp_charge_id"}]," column in the Payout statement report. A separate report should be generated for each IC++ transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 73a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Defaults to ",["$","code","code-0",{"children":"ETC/UTC"}],". Defines the output timezone for all timestamps displayed in the report."]}],"\n",["$","p","p-1",{"children":["Has no effect on ",["$","code","code-0",{"children":"from"}]," or ",["$","code","code-1",{"children":"to"}]," parameters."]}]]}] 73c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Names of the columns to include in the report."}],"\n",["$","p","p-1",{"children":"If not specified, all available columns are included. An empty array returns an error."}],"\n",["$","p","p-2",{"children":["To include custom order metadata, use ",["$","code","code-0",{"children":"metadata.*"}]," with the attribute name, for example ",["$","code","code-1",{"children":"metadata.my_attribute"}],"."]}],"\n",["$","p","p-3",{"children":"Available columns:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Column name","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Unique identifier of the ledger transaction. Matches ",["$","code","code-0",{"children":"transaction_id"}]," in the settlement and payout reports. Use ",["$","code","code-1",{"children":"order_id"}]," to cross-reference with the payments report."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"related_transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["For refund and chargeback transactions, the ledger transaction ID of the original payment. Corresponds to ",["$","code","code-0",{"children":"original_transaction_id"}]," in the payout report."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_description"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Description of the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the payout that this transaction contributed to.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"dispute_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the dispute associated with this transaction, if applicable.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"account_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the merchant account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"account_balance"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Account balance at the time of the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the order. Use to cross-reference with the payments or payout reports.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["For refunds and chargebacks, the order ID of the original payment. For settlement transactions, matches ",["$","code","code-0",{"children":"order_id"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"$L792","$L793","$L794","$L795","$L796","$L797","$L798","$L799","$L79a","$L79b","$L79c","$L79d","$L79e","$L79f","$L7a0","$L7a1","$L7a2","$L7a3","$L7a4","$L7a5","$L7a6","$L7a7","$L7a8","$L7a9","$L7aa","$L7ab","$L7ac","$L7ad","$L7ae","$L7af","$L7b0","$L7b1","$L7b2","$L7b3","$L7b4","$L7b5","$L7b6","$L7b7","$L7b8","$L7b9","$L7ba","$L7bb","$L7bc","$L7bd","$L7be","$L7bf","$L7c0","$L7c1","$L7c2","$L7c3","$L7c4","$L7c5","$L7c6","$L7c7","$L7c8","$L7c9"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 73d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Further options to customise the report."}]]}] 73e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A custom report contains all the query information for generating reports of selected transactions associated with a Merchant account."}]]}] 73f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter specifies the start boundary for filtering report data. It accepts ETC/UTC date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," and includes all matching records on or after this timestamp."]}],"\n",["$","p","p-1",{"children":["Combined with the ",["$","code","code-0",{"children":"to"}]," parameter, this determines the report's timeframe, including all matching records between the two values."]}],"\n",["$","p","p-2",{"children":["For example, by setting the ",["$","code","code-0",{"children":"from"}]," parameter to ",["$","code","code-1",{"children":"2021-01-01T00:00:00Z"}],", the report will include matching records from the first second of January 1, 2021, UTC, and onwards."]}]]}] 740:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter specifies the end boundary for filtering report data. It accepts ETC/UTC date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," and includes all matching records before this timestamp (exclusive)."]}],"\n",["$","p","p-1",{"children":["Combined with the ",["$","code","code-0",{"children":"from"}]," parameter, this determines the timeframe for the report, including all matching records between the two values."]}],"\n",["$","p","p-2",{"children":["For example, setting the ",["$","code","code-0",{"children":"to"}]," parameter to ",["$","code","code-1",{"children":"2021-12-31T23:59:59Z"}]," will include all matching records in the report up to, but not including, the last second of December 31, 2021, UTC."]}]]}] 741:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Select payments by state to be included in the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include payments that completed successfully.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include payments that failed during processing.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"declined"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include payments rejected by the issuer or payment flow.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Include payments cancelled before completion.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","p","p-1",{"children":"If not provided, payments in all states will be included in the report."}]]}] 742:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filtering parameters to be applied to the report."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For ",["$","code","code-0",{"children":"payments_report"}],", ",["$","code","code-1",{"children":"from"}]," and ",["$","code","code-2",{"children":"to"}]," are evaluated against the payment ",["$","code","code-3",{"children":"created_date"}],". The ",["$","code","code-4",{"children":"captured_date"}]," column is returned data and does not change the filter key."]}]}]]}]]}] 743:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Format of the generated report file."}]]}] 745:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by ",["$","code","code-0",{"children":"from"}]," and ",["$","code","code-1",{"children":"to"}]," creation timestamps, and optionally by ",["$","code","code-2",{"children":"entity_states"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter ",["$","code","code-0",{"children":"filter.payout_id"}],", which should be obtained from the payout ID retrieved via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payout-list","target":"_blank","rel":"noreferrer","children":"payout list endpoint"}]," or from ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks","target":"_blank","rel":"noreferrer","children":"webhook events"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter ",["$","code","code-0",{"children":"filter.icpp_charge_id"}],", which should be obtained from the ",["$","code","code-1",{"children":"related_icpp_charge_id"}]," column in the Payout statement report. A separate report should be generated for each IC++ transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 746:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Defaults to ",["$","code","code-0",{"children":"ETC/UTC"}],". Defines the output timezone for all timestamps displayed in the report."]}],"\n",["$","p","p-1",{"children":["Has no effect on ",["$","code","code-0",{"children":"from"}]," or ",["$","code","code-1",{"children":"to"}]," parameters."]}]]}] 748:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Names of the columns to be included in the report."}],"\n",["$","p","p-1",{"children":["If the ",["$","code","code-0",{"children":"columns"}]," parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error."]}],"\n",["$","p","p-2",{"children":"Available columns:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Column name","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Category of the payment row, indicating whether the row represents a payment attempt or a refund. For the full list of returned values, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"description"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Description of the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_payment_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For refunds, the unique identifier of the original payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the order associated with the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"state"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Lifecycle state of the payment. For the full list of returned values, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"reason"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Reason for a failed or declined payment, for example: ",["$","code","code-0",{"children":"Insufficient Funds"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount of the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the payment."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"surcharge_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Surcharge amount applied to the payment, if any.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"tip_amount"}],"className":"eowryt7","ref":"$undefined"}],"$L7ca"],"className":"eowryt5","ref":"$undefined"}],"$L7cb","$L7cc","$L7cd","$L7ce","$L7cf","$L7d0","$L7d1","$L7d2","$L7d3","$L7d4","$L7d5","$L7d6","$L7d7","$L7d8","$L7d9"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 749:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Further options to customise the report."}]]}] 74a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A payments report contains all the query information for generating reports of payments associated with a Merchant account, including failed and declined payments."}]]}] 74b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent payout ID used for payouts operations."}]]}] 74c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filtering parameters to be applied to the report."}]]}] 74d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Format of the generated report file."}]]}] 74f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by ",["$","code","code-0",{"children":"from"}]," and ",["$","code","code-1",{"children":"to"}]," creation timestamps, and optionally by ",["$","code","code-2",{"children":"entity_states"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter ",["$","code","code-0",{"children":"filter.payout_id"}],", which should be obtained from the payout ID retrieved via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payout-list","target":"_blank","rel":"noreferrer","children":"payout list endpoint"}]," or from ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks","target":"_blank","rel":"noreferrer","children":"webhook events"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter ",["$","code","code-0",{"children":"filter.icpp_charge_id"}],", which should be obtained from the ",["$","code","code-1",{"children":"related_icpp_charge_id"}]," column in the Payout statement report. A separate report should be generated for each IC++ transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 750:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Defaults to ",["$","code","code-0",{"children":"ETC/UTC"}],". Defines the output timezone for all timestamps displayed in the report."]}],"\n",["$","p","p-1",{"children":["Has no effect on ",["$","code","code-0",{"children":"from"}]," or ",["$","code","code-1",{"children":"to"}]," parameters."]}]]}] 752:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Names of the columns to be included in the report."}],"\n",["$","p","p-1",{"children":["If the ",["$","code","code-0",{"children":"columns"}]," parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error."]}],"\n",["$","p","p-2",{"children":"Available columns:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Column name","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"created_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the transaction was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the transaction was completed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_affected_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the payout was affected by this transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"affected_payout_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Boolean flag indicating whether this transaction contributed to the payout amount (",["$","code","code-0",{"children":"true"}],") or not (",["$","code","code-1",{"children":"false"}],"). Despite the name, this is not a monetary value."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the order associated with the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"dispute_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the dispute associated with a chargeback or chargeback reversal transaction. Empty for rows not related to a dispute.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"merchant_order_reference"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Type of the payout-related ledger event the row represents. For the full list of returned values, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"related_icpp_charge_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the IC++ charge related to the transaction, if applicable.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"$L7da","$L7db","$L7dc","$L7dd","$L7de","$L7df","$L7e0","$L7e1","$L7e2","$L7e3","$L7e4","$L7e5","$L7e6","$L7e7","$L7e8","$L7e9","$L7ea","$L7eb","$L7ec","$L7ed","$L7ee"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 753:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Further options to customise the report."}]]}] 754:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A payout statement report contains all the query information for generating reports of a selected payout associated with a Merchant account."}]]}] 755:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of of the IC++ fee related to a payout transaction."}],"\n",["$","p","p-1",{"children":["This ID can be obtained from the ",["$","code","code-0",{"children":"related_icpp_charge_id"}]," column of a payout statement report."]}]]}] 756:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filtering parameters to be applied to the report."}]]}] 757:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Format of the generated report file."}]]}] 759:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the report."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions associated with a Merchant account, with a configurable set of columns.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payments report provides details of all payments associated with a Merchant account, including failed and declined payments. Supports filtering by ",["$","code","code-0",{"children":"from"}]," and ",["$","code","code-1",{"children":"to"}]," creation timestamps, and optionally by ",["$","code","code-2",{"children":"entity_states"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payout statement Reports provide a detailed breakdown of all transactions contributing to a specific payout amount. It requires the additional parameter ",["$","code","code-0",{"children":"filter.payout_id"}],", which should be obtained from the payout ID retrieved via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payout-list","target":"_blank","rel":"noreferrer","children":"payout list endpoint"}]," or from ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/merchant#create-webhook#callbacks","target":"_blank","rel":"noreferrer","children":"webhook events"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["IC++ fee breakdown reports provide a detailed breakdown of fees for each IC++ transaction related to a payout. It requires the additional parameter ",["$","code","code-0",{"children":"filter.icpp_charge_id"}],", which should be obtained from the ",["$","code","code-1",{"children":"related_icpp_charge_id"}]," column in the Payout statement report. A separate report should be generated for each IC++ transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 75a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Defaults to ",["$","code","code-0",{"children":"ETC/UTC"}],". Defines the output timezone for all timestamps displayed in the report."]}],"\n",["$","p","p-1",{"children":["Has no effect on ",["$","code","code-0",{"children":"from"}]," or ",["$","code","code-1",{"children":"to"}]," parameters."]}]]}] 75c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Names of the columns to be included in the report."}],"\n",["$","p","p-1",{"children":["If the ",["$","code","code-0",{"children":"columns"}]," parameter is not defined in the request, all available columns will be included in the report. An empty array will return an error."]}],"\n",["$","p","p-2",{"children":"Available columns:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Column name","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"created_at"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the payment was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"operation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["IC++ transaction type. Values: ",["$","code","code-0",{"children":"SALE"}]," (payment sale), ",["$","code","code-1",{"children":"REFUND"}]," (refund), and ",["$","code","code-2",{"children":"DISPUTE"}]," (dispute-related transaction)."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Transaction amount.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Amount settled on the merchant's account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_method"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payment method used for the transaction. Returns ",["$","code","code-0",{"children":"REVOLUT_PAY"}]," for Revolut Pay payments, or the card scheme name for card payments."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card_scheme"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Card BIN scheme.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card_funding"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card funding type, for example: ",["$","code","code-0",{"children":"DEBIT"}]," or ",["$","code","code-1",{"children":"PREPAID"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_description"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Description of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-11",{"children":["$L7ef","$L7f0"],"className":"eowryt5","ref":"$undefined"}],"$L7f1","$L7f2","$L7f3","$L7f4","$L7f5","$L7f6","$L7f7"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 75d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Further options to customise the report."}]]}] 75e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A IC++ fee breakdown report contains all the query information for generating reports of fees for each IC++ transaction related to a payout."}]]}] 762:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Start generating a report of all transactions that match the filter and options specified in the request body."}],"\n",["$","p","p-1",{"children":["Use the returned ",["$","code","code-0",{"children":"report_run_id"}]," and the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-report-run","target":"_blank","rel":"noreferrer","children":"Retrieve report run details"}]," operation to check the status of the generation."]}],"\n",["$","p","p-2",{"children":["After generation is done, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}]," operation to retrieve the CSV. The ",["$","code","code-0",{"children":"file_url"}]," in the completed report run object is the request URL for that endpoint and requires the same authorisation as any other Merchant API request."]}],"\n",["$","h3","h3-0",{"children":"Report types"}],"\n",["$","p","p-3",{"children":"The table below helps to choose the right report type for your use case:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Report type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"What it covers","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"custom_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settled and processing transactions with configurable columns","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All settled transactions, with a configurable set of columns","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payments_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All payments including failed and declined ones","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_statement_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"All transactions contributing to a specific payout","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"icpp_fee_breakdown_report"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"IC++ fees per transaction for a specific IC++ charge","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h5","h5-0",{"children":"IDs across report types"}],"\n",["$","p","p-4",{"children":"Each report type uses a different primary ID, depending on which system the data comes from:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-1",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"ID column","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"System","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Report types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":[["$","code","code-0",{"children":"payment_id"}],", ",["$","code","code-1",{"children":"id"}]],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","strong","strong-0",{"children":"Acquiring system"}]," - identifies a payment attempt"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":[["$","code","code-0",{"children":"payments_report"}],", ",["$","code","code-1",{"children":"icpp_fee_breakdown_report"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"$L7f8","$L7f9"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 763:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 782:["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Settlement report row type. A partial-settlement is represented by separate ",["$","code","code-0",{"children":"SETTLEMENT"}]," and ",["$","code","code-1",{"children":"REFUND"}]," rows, not a dedicated type."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 783:["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"state"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"State of the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 784:["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"description"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Description of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 785:["$","tr","tr-11",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"merchant_order_ext_ref"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 786:["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the customer.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 787:["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 788:["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the order."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 789:["$","tr","tr-15",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount settled on the merchant's account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 78a:["$","tr","tr-16",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 78b:["$","tr","tr-17",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_method"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Type of the payment method the customer used to pay for the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 78c:["$","tr","tr-18",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 78d:["$","tr","tr-19",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the total fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 78e:["$","tr","tr-20",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing_fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Acquiring markup fee only — a subset of ",["$","code","code-0",{"children":"fee_amount"}],". Represents Revolut's service fee, excluding interchange and scheme fees."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 78f:["$","tr","tr-21",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing_fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the acquiring markup fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 790:["$","tr","tr-22",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"browser_url"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The URL where the customer initiated the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 791:["$","tr","tr-23",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"location_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the location related to the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 792:["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_order_ext_ref"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Merchant's order identifier of the original order for external reference.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 793:["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_description"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Description of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 794:["$","tr","tr-11",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_channel"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Channel through which the order was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 795:["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_customer_note"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Note added by the customer at the time of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 796:["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_tip_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Tip amount set at the order level.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 797:["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_created_by"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Identifier of the user who created the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 798:["$","tr","tr-15",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_initiated_by"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Identifier of who initiated the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 799:["$","tr","tr-16",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_line_items"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Line items included in the order, if any.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 79a:["$","tr","tr-17",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_reference"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reference of the payout transfer associated with the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 79b:["$","tr","tr-18",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"invoice_reference"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Invoice reference associated with the order, if any.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 79c:["$","tr","tr-19",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"started_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Start timestamp shown on the row. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. Separate from the report filter timeframe.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 79d:["$","tr","tr-20",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"created_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the order was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 79e:["$","tr","tr-21",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"updated_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Last update timestamp shown on the row. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. Separate from the report filter timeframe.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 79f:["$","tr","tr-22",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Completion timestamp shown on the row. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. Separate from the report filter timeframe.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a0:["$","tr","tr-23",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_created_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorisation or creation timestamp for rows linked to a payment. Empty for refunds and non-payment-related rows where no payment timestamp applies. This is returned data, not the report filter key.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a1:["$","tr","tr-24",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_captured_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment capture timestamp for rows linked to a captured payment. Empty for refunds, non-payment-related rows, or payments not captured. This is returned data, not the report filter key.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a2:["$","tr","tr-25",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Category of the reported transaction row, indicating what kind of balance-affecting event the row represents. For the full list of returned values, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a3:["$","tr","tr-26",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"legacy_type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Legacy type value for backwards compatibility.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a4:["$","tr","tr-27",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"state"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"State of the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a5:["$","tr","tr-28",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"description"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Description of the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a6:["$","tr","tr-29",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"merchant_order_ext_ref"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a7:["$","tr","tr-30",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the customer.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a8:["$","tr","tr-31",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount of the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7a9:["$","tr","tr-32",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the order."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7aa:["$","tr","tr-33",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount settled on the merchant's account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ab:["$","tr","tr-34",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ac:["$","tr","tr-35",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"exchange_rate"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Exchange rate applied if currency conversion occurred.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ad:["$","tr","tr-36",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"refunded_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Amount refunded for the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ae:["$","tr","tr-37",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"statement_descriptor"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Statement descriptor shown on the customer's bank statement.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7af:["$","tr","tr-38",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"tip_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Tip amount included in the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b0:["$","tr","tr-39",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"terminal_hardware_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Identifier of the card reader hardware used, for in-person payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b1:["$","tr","tr-40",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_name"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Name of the customer.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b2:["$","tr","tr-41",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_email"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Email address of the customer.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b3:["$","tr","tr-42",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_number"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Masked card number used for the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b4:["$","tr","tr-43",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_brand"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card brand used for the payment. Derived from BIN data. Example values: ",["$","code","code-0",{"children":"VISA"}],", ",["$","code","code-1",{"children":"MASTERCARD"}],", ",["$","code","code-2",{"children":"MASTERCARD_DEBIT"}],", ",["$","code","code-3",{"children":"MAESTRO"}],", ",["$","code","code-4",{"children":"AMEX"}],", ",["$","code","code-5",{"children":"DINERS"}],", ",["$","code","code-6",{"children":"DISCOVER"}],", ",["$","code","code-7",{"children":"JCB"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b5:["$","tr","tr-44",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card funding type of the card used for the payment, for example debit, credit, prepaid, deferred debit, or charge. For the full list of returned values, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b6:["$","tr","tr-45",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_category"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card commercial category. Values: ",["$","code","code-0",{"children":"consumer"}]," (personal card) and ",["$","code","code-1",{"children":"commercial"}]," (business or corporate card)."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b7:["$","tr","tr-46",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_method"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment method the customer used to pay for the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b8:["$","tr","tr-47",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7b9:["$","tr","tr-48",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the total fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ba:["$","tr","tr-49",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing_fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Acquiring markup fee only — a subset of ",["$","code","code-0",{"children":"fee_amount"}],". Represents Revolut's service fee, excluding interchange and scheme fees."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7bb:["$","tr","tr-50",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing_fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the acquiring markup fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7bc:["$","tr","tr-51",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fx_fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Foreign exchange fee amount, if applicable.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7bd:["$","tr","tr-52",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fx_fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the FX fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7be:["$","tr","tr-53",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"browser_url"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The URL where the customer initiated the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7bf:["$","tr","tr-54",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"beneficiary_name"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Name of the beneficiary, for bank transfer payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c0:["$","tr","tr-55",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"beneficiary_account_number"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Account number of the beneficiary, for bank transfer payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c1:["$","tr","tr-56",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"location_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the location related to the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c2:["$","tr","tr-57",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"location_name"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Name of the location related to the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c3:["$","tr","tr-58",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"surcharge_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Surcharge amount applied to the transaction. Omitted when no surcharge applies.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c4:["$","tr","tr-59",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_surcharge_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Surcharge amount set at the order level.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c5:["$","tr","tr-60",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_custom_field_name"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Name of a custom field set on the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c6:["$","tr","tr-61",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_custom_field_value"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Value of a custom field set on the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c7:["$","tr","tr-62",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"offline_payment_state"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"State of an offline payment, if applicable.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c8:["$","tr","tr-63",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_authorisation_type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Authorisation type of the order, for example ",["$","code","code-0",{"children":"FULL"}]," or ",["$","code","code-1",{"children":"PRE_AUTH"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7c9:["$","tr","tr-64",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"metadata.*"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Custom order metadata. Replace ",["$","code","code-0",{"children":"*"}]," with the attribute name, for example ",["$","code","code-1",{"children":"metadata.my_attribute"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ca:["$","td","td-1",{"children":"Tip amount included in the payment, if any.","className":"eowryt7","ref":"$undefined"}] 7cb:["$","tr","tr-11",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"refunded_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Amount refunded for the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7cc:["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"created_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the payment was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7cd:["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"captured_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the payment was captured. Empty when the payment has not been captured.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ce:["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"merchant_order_ext_ref"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7cf:["$","tr","tr-15",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payment_method"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Payment method used, for example: ",["$","code","code-0",{"children":"CARD"}]," or ",["$","code","code-1",{"children":"PAY_WITH_REVOLUT"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d0:["$","tr","tr-16",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"location_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the location where the payment was made.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d1:["$","tr","tr-17",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the customer.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d2:["$","tr","tr-18",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_number"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Masked card number used for the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d3:["$","tr","tr-19",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_country"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Country of the card used for the payment, as an ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-1 alpha-2"}]," code."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d4:["$","tr","tr-20",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_brand"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card brand used for the payment, for example: ",["$","code","code-0",{"children":"VISA"}]," or ",["$","code","code-1",{"children":"MASTERCARD_DEBIT"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d5:["$","tr","tr-21",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card funding type of the card used for the payment. For the full list of returned values, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#download-report-file","target":"_blank","rel":"noreferrer","children":"Download report file"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d6:["$","tr","tr-22",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_card_category"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card commercial category. Values: ",["$","code","code-0",{"children":"consumer"}]," (personal card) and ",["$","code","code-1",{"children":"commercial"}]," (business or corporate card)."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d7:["$","tr","tr-23",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"customer_email"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Email address of the customer.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d8:["$","tr","tr-24",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total fee amount charged for the payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7d9:["$","tr","tr-25",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7da:["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Amount of the transaction in the transaction currency.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7db:["$","tr","tr-11",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7dc:["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"billing_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Amount of the transaction in the billing currency.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7dd:["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"billing_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the billing amount."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7de:["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"state"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["State of the transaction, for example: ",["$","code","code-0",{"children":"COMPLETED"}],"."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7df:["$","tr","tr-15",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the original transaction. For refunds, references the transaction being refunded.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e0:["$","tr","tr-16",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_transaction_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Amount of the original transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e1:["$","tr","tr-17",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_transaction_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the original transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e2:["$","tr","tr-18",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the original order. For refunds, references the order being refunded.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e3:["$","tr","tr-19",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_order_channel"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Channel through which the original order was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e4:["$","tr","tr-20",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_merchant_order_reference"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Merchant's order reference for the original order. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the original order was created."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e5:["$","tr","tr-21",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total fee amount charged for the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e6:["$","tr","tr-22",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fee_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the fee."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e7:["$","tr","tr-23",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount settled on the merchant's account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e8:["$","tr","tr-24",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"settlement_currency"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7e9:["$","tr","tr-25",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"location_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the location associated with the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ea:["$","tr","tr-26",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"location_name"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Name of the location associated with the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7eb:["$","tr","tr-27",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"submerchant_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the submerchant associated with the transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ec:["$","tr","tr-28",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_transfer_reference"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reference of the bank transfer for this payout. This value is the same across all rows in the report, as each report covers a single payout.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ed:["$","tr","tr-29",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_total_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Total amount of this payout. This value is the same across all rows in the report, as each report covers a single payout.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ee:["$","tr","tr-30",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"payout_date"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Date and time the payout covered by this report was created. This value is the same across all rows in the report, as each report covers a single payout.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7ef:["$","td","td-0",{"children":["$","code","code-0",{"children":"order_merchant_external_ref"}],"className":"eowryt7","ref":"$undefined"}] 7f0:["$","td","td-1",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."],"className":"eowryt7","ref":"$undefined"}] 7f1:["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"original_operation_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Unique identifier of the related original transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f2:["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"acquiring_fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"IC++ acquiring markup fee component.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f3:["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card_interchange_fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Interchange fee component. Omitted for Revolut Pay transactions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f4:["$","tr","tr-15",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card_scheme_fee_amount"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Card scheme fee component. Omitted for Revolut Pay transactions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f5:["$","tr","tr-16",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card_type"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Card commercial category. Values: ",["$","code","code-0",{"children":"COMMERCIAL"}]," (business or corporate card) and ",["$","code","code-1",{"children":"CONSUMER"}]," (personal card)."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f6:["$","tr","tr-17",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_channel"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Channel through which the order was created.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f7:["$","tr","tr-18",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card_country"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["Country of the card, as an ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-1 alpha-2"}]," code."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f8:["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","strong","strong-0",{"children":"Core ledger"}]," - identifies the settlement entry created when a payment is captured"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":[["$","code","code-0",{"children":"settlement_report"}],", ",["$","code","code-1",{"children":"payout_statement_report"}],", ",["$","code","code-2",{"children":"custom_report"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 7f9:["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","strong","strong-0",{"children":"Both systems"}]," - bridges the acquiring and ledger perspectives"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":[["$","code","code-0",{"children":"settlement_report"}],", ",["$","code","code-1",{"children":"payments_report"}],", ",["$","code","code-2",{"children":"payout_statement_report"}],", ",["$","code","code-3",{"children":"custom_report"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 777:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L7fa","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 7fb:Tf43,
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ],
    "entity_states": [
      "completed",
      "processing"
    ]
  },
  "format": "csv",
  "type": "custom_report",
  "options": {
    "timezone": "Europe/London",
    "columns": [
      "transaction_id",
      "amount",
      "currency",
      "metadata.custom_attribute"
    ]
  }
}
778:["$","div","request-application/json-custom_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$7fb"}}]}]],"$L7fc"]}] 7fd:T7c9,
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_types": [
      "payment"
    ]
  },
  "format": "csv",
  "type": "settlement_report"
}
779:["$","div","request-application/json-settlement_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$7fd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"settlement_report\"\n}"}]}]]}] 7fe:T900,
{
  "filter": {
    "from": "2020-01-01T00:00:00Z",
    "to": "2020-01-02T00:00:00Z",
    "entity_states": [
      "completed",
      "failed",
      "declined"
    ]
  },
  "format": "csv",
  "type": "payments_report"
}
77a:["$","div","request-application/json-payments_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$7fe"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_states\": [\n \"completed\",\n \"failed\",\n \"declined\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"payments_report\"\n}"}]}]]}] 7ff:T535,
{
  "filter": {
    "payout_id": "a830020e-090c-4717-836d-37941a27ad12"
  },
  "format": "csv",
  "type": "payout_statement_report"
}
77b:["$","div","request-application/json-payout_statement_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$7ff"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"filter\": {\n \"payout_id\": \"a830020e-090c-4717-836d-37941a27ad12\"\n },\n \"format\": \"csv\",\n \"type\": \"payout_statement_report\"\n}"}]}]]}] 800:T53c,
{
  "filter": {
    "icpp_charge_id": "41d6c699-744a-4994-91c0-9227539c587f"
  },
  "format": "csv",
  "type": "icpp_fee_breakdown_report"
}
77c:["$","div","request-application/json-icpp_fee_breakdown_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$800"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"filter\": {\n \"icpp_charge_id\": \"41d6c699-744a-4994-91c0-9227539c587f\"\n },\n \"format\": \"csv\",\n \"type\": \"icpp_fee_breakdown_report\"\n}"}]}]]}] 77d:["$","div","201-application/json-report_run_processing",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n  \"status\": \"processing\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n \"status\": \"processing\"\n}"}]}]]}] 801:T4ca,
{
  "report_run_id": "d6f6ef64-f668-4e64-8967-1cdf8afb2561",
  "status": "completed",
  "file_url": "https://merchant.revolut.com/api/report-runs/d6f6ef64-f668-4e64-8967-1cdf8afb2561/file"
}
77e:["$","div","201-application/json-report_run_completed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$801"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"report_run_id\": \"d6f6ef64-f668-4e64-8967-1cdf8afb2561\",\n \"status\": \"completed\",\n \"file_url\": \"https://merchant.revolut.com/api/report-runs/d6f6ef64-f668-4e64-8967-1cdf8afb2561/file\"\n}"}]}]]}] 802:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
77f:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$802"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 803:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
780:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$803"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 804:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
781:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$804"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 7fc:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"filter\": {\n \"from\": \"2020-01-01T00:00:00Z\",\n \"to\": \"2020-01-02T00:00:00Z\",\n \"entity_types\": [\n \"payment\"\n ],\n \"entity_states\": [\n \"completed\",\n \"processing\"\n ]\n },\n \"format\": \"csv\",\n \"type\": \"custom_report\",\n \"options\": {\n \"timezone\": \"Europe/London\",\n \"columns\": [\n \"transaction_id\",\n \"amount\",\n \"currency\",\n \"metadata.custom_attribute\"\n ]\n }\n}"}]}] 3c:["$","$5e","create-location",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"Location created","content":{"application/json":{"schema":{"title":"Location","type":"object","description":"Location object represents merchant locations depending on type.","oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L805"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L806"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L807"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":{"type":"string","description":"Domain address of the location. Required for online locations.\n\n:::warning\nThe `domain` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L808"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:details:required","descriptionNode":"$L809"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:required"},{"title":"Location","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L80a"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L80b"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L80c"},"details":{"type":"object","description":"Additional details of the location.","properties":{"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L80d"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L80e"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L80f"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L810"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L811"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L812"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:address:required","descriptionNode":"$L813"},"geo_location":{"type":"object","description":"Coordinates of the location.","properties":{"lat":{"type":"number","format":"double","description":"The latitude of the location, in decimal degrees.","minimum":-90,"maximum":90,"descriptionNode":"$L814"},"lon":{"type":"number","format":"double","description":"To longitude of the location, in decimal degrees.","minimum":-180,"maximum":180,"descriptionNode":"$L815"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:geo_location:required","descriptionNode":"$L816"},"opening_hours":{"type":"object","description":"An object containing the opening hours for each day of the week.\n\nA day can have multiple intervals (e.g., closing for a lunch break).","properties":{"monday":{"description":"Opening hours for Monday.","type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"time","description":"The local time when the interval begins.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:from:examples","descriptionNode":"$L817"},"to":{"type":"string","format":"time","description":"The local time when the interval ends.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:to:examples","descriptionNode":"$L818"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:required"},"descriptionNode":"$L819"},"tuesday":{"description":"Opening hours for Tuesday.","type":"array","items":"$3c:props:children:0:props:children:props:responses:201:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L81a"},"wednesday":{"description":"Opening hours for Wednesday.","type":"array","items":"$3c:props:children:0:props:children:props:responses:201:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L81b"},"thursday":{"description":"Opening hours for Thursday.","type":"array","items":"$3c:props:children:0:props:children:props:responses:201:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L81c"},"friday":{"description":"Opening hours for Friday.","type":"array","items":"$3c:props:children:0:props:children:props:responses:201:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L81d"},"saturday":{"description":"Opening hours for Saturday.","type":"array","items":"$3c:props:children:0:props:children:props:responses:201:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L81e"},"sunday":{"description":"Opening hours for Sunday.","type":"array","items":"$3c:props:children:0:props:children:props:responses:201:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L81f"}},"descriptionNode":"$L820"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:required","descriptionNode":"$L821"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:required"}],"discriminator":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:discriminator","descriptionNode":"$L822"},"examples":{"example_online_location":{"summary":"Online location request example","value":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:example_online_location:value"},"example_physical_location":{"summary":"Physical location request example","value":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:example_physical_location:value"}}}},"descriptionNode":"$L823"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L824"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L825"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L826"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L827"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L828"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L829"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L82a"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L82b"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L82c"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request body for creating a location. The structure of the `details` object depends on the `type` of the location.","oneOf":[{"type":"object","properties":{"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L82d"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L82e"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":{"type":"string","description":"Domain address of the location. Required for online locations.\n\n:::warning\nThe `domain` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L82f"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:details:required","descriptionNode":"$L830"}},"required":["name","type","details"]},{"type":"object","properties":{"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L831"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L832"},"details":{"type":"object","description":"Additional details of the location.","properties":{"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L833"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L834"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L835"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L836"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L837"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L838"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:address:required","descriptionNode":"$L839"},"geo_location":{"type":"object","description":"Coordinates of the location.","properties":{"lat":{"type":"number","format":"double","description":"The latitude of the location, in decimal degrees.","minimum":-90,"maximum":90,"descriptionNode":"$L83a"},"lon":{"type":"number","format":"double","description":"To longitude of the location, in decimal degrees.","minimum":-180,"maximum":180,"descriptionNode":"$L83b"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:geo_location:required","descriptionNode":"$L83c"},"opening_hours":{"type":"object","description":"An object containing the opening hours for each day of the week.\n\nA day can have multiple intervals (e.g., closing for a lunch break).","properties":{"monday":{"description":"Opening hours for Monday.","type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"time","description":"The local time when the interval begins.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:from:examples","descriptionNode":"$L83d"},"to":{"type":"string","format":"time","description":"The local time when the interval ends.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:to:examples","descriptionNode":"$L83e"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:required"},"descriptionNode":"$L83f"},"tuesday":{"description":"Opening hours for Tuesday.","type":"array","items":"$3c:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L840"},"wednesday":{"description":"Opening hours for Wednesday.","type":"array","items":"$3c:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L841"},"thursday":{"description":"Opening hours for Thursday.","type":"array","items":"$3c:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L842"},"friday":{"description":"Opening hours for Friday.","type":"array","items":"$3c:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L843"},"saturday":{"description":"Opening hours for Saturday.","type":"array","items":"$3c:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L844"},"sunday":{"description":"Opening hours for Sunday.","type":"array","items":"$3c:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L845"}},"descriptionNode":"$L846"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:required","descriptionNode":"$L847"}},"required":["name","type","details"]}],"discriminator":{"propertyName":"type","mapping":{"online":"#/components/schemas/Location-Creation-Online","physical":"#/components/schemas/Location-Creation-Physical"}},"descriptionNode":"$L848"},"examples":{"example_online_location":{"summary":"Online location request example","value":{"name":"Grocery website","type":"online","details":{"domain":"groceries.example.com"}}},"example_physical_location":{"summary":"Physical location request example","value":{"name":"Example Street Store","type":"physical","details":{"address":{"street_line_1":"123 Example Street","city":"Example city","postcode":"12345","country_code":"GB"},"geo_location":{"lat":12.3456,"lon":-12.3456},"opening_hours":{"monday":[{"from":"09:00","to":"15:00"},{"from":"16:00","to":"18:00"}],"tuesday":[{"from":"10:00","to":"13:00"},{"from":"16:00","to":"18:00"}]}}}}}}}},"variantLabels":["Online location request example","Physical location request example"],"children":["$L849","$L84a"]}]}],false]}] 849:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-location","children":[["$L84b","$undefined"],["$","$L15",null,{"id":"create-location"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/create-location.md"}]]}]}],"$undefined"]}] 84e:T6db,
curl -X POST "https://merchant.revolut.com/api/locations" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}'
84f:T1074,
const payload = {
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
};
fetch("https://merchant.revolut.com/api/locations", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
850:T15d3,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/locations"
  jsonData := []byte(`
{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
851:Tdaa,
import requests

url = "https://merchant.revolut.com/api/locations"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
852:T1b3a,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/locations"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
853:T215a,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/locations"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""name"": ""Grocery website"",
  ""type"": ""online"",
  ""details"": {
    ""domain"": ""groceries.example.com""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
854:T6e3,
curl -X POST "https://sandbox-merchant.revolut.com/api/locations" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -d '{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}'
855:T107c,
const payload = {
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
};
fetch("https://sandbox-merchant.revolut.com/api/locations", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
856:T15db,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/locations"
  jsonData := []byte(`
{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
857:Tdb2,
import requests

url = "https://sandbox-merchant.revolut.com/api/locations"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__"
}
payload = {
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
858:T1b42,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/locations"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
859:T2162,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/locations"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
  },
  Content = new StringContent(@"{
  ""name"": ""Grocery website"",
  ""type"": ""online"",
  ""details"": {
    ""domain"": ""groceries.example.com""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
84a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L84c",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L84d"}],"requestBody":"$3c:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$3c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/locations\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}'","templateHtml":"$84e","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n};\nfetch(\"https://merchant.revolut.com/api/locations\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$84f","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/locations\"\n jsonData := []byte(`\n{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$850","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/locations\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$851","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/locations\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$852","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/locations\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Grocery website\"\",\n \"\"type\"\": \"\"online\"\",\n \"\"details\"\": {\n \"\"domain\"\": \"\"groceries.example.com\"\"\n }\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$853","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/locations\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -d '{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}'","templateHtml":"$854","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/locations\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$855","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/locations\"\n jsonData := []byte(`\n{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$856","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/locations\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\"\n}\npayload = {\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$857","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/locations\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$858","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/locations\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Grocery website\"\",\n \"\"type\"\": \"\"online\"\",\n \"\"details\"\": {\n \"\"domain\"\": \"\"groceries.example.com\"\"\n }\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$859","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer "}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/locations","parameters":["$84a:props:children:0:props:children:1:props:parameters:0"]}],"$L85a"],"$L85b","$L85c"]}]]}] 85a:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L85d"}}}] 85b:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_online_location","label":"Online location request example","rawValue":"$3c:props:children:0:props:children:props:requestBody:content:application/json:examples:example_online_location:value","block":"$L85e"},{"key":"example_physical_location","label":"Physical location request example","rawValue":"$3c:props:children:0:props:children:props:requestBody:content:application/json:examples:example_physical_location:value","block":"$L85f"}],"syncedPropertyName":"type"}},"title":"Request body samples","headingAs":"h4"}] 85c:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"example_online_location","label":"Online location request example","rawValue":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:example_online_location:value","block":"$L860"},{"key":"example_physical_location","label":"Physical location request example","rawValue":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:example_physical_location:value","block":"$L861"}],"syncedPropertyName":"type"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L862"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L863"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L864"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 7fa:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 84b:"Create a location" 805:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 806:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 807:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 808:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain address of the location. Required for online locations."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"domain"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 809:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 80a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 80b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 80c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 80d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 80e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 80f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 810:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 811:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 812:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 813:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 814:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The latitude of the location, in decimal degrees."}]]}] 815:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"To longitude of the location, in decimal degrees."}]]}] 816:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Coordinates of the location."}]]}] 817:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval begins."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 818:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval ends."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 819:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Monday."}]]}] 81a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Tuesday."}]]}] 81b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Wednesday."}]]}] 81c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Thursday."}]]}] 81d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Friday."}]]}] 81e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Saturday."}]]}] 81f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Sunday."}]]}] 820:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An object containing the opening hours for each day of the week."}],"\n",["$","p","p-1",{"children":"A day can have multiple intervals (e.g., closing for a lunch break)."}]]}] 821:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 822:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location object represents merchant locations depending on type."}]]}] 823:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location created"}]]}] 824:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 825:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 826:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 827:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 828:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 829:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 82a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 82b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 82c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 82d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 82e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 82f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain address of the location. Required for online locations."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"domain"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 830:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 831:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 832:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 833:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 834:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 835:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 836:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 837:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 838:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 839:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 83a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The latitude of the location, in decimal degrees."}]]}] 83b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"To longitude of the location, in decimal degrees."}]]}] 83c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Coordinates of the location."}]]}] 83d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval begins."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 83e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval ends."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 83f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Monday."}]]}] 840:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Tuesday."}]]}] 841:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Wednesday."}]]}] 842:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Thursday."}]]}] 843:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Friday."}]]}] 844:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Saturday."}]]}] 845:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Sunday."}]]}] 846:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An object containing the opening hours for each day of the week."}],"\n",["$","p","p-1",{"children":"A day can have multiple intervals (e.g., closing for a lunch break)."}]]}] 847:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 848:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Request body for creating a location. The structure of the ",["$","code","code-0",{"children":"details"}]," object depends on the ",["$","code","code-1",{"children":"type"}]," of the location."]}]]}] 84c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Create a ",["$","code","code-0",{"children":"Location"}]," object. Supports ",["$","code","code-1",{"children":"online"}]," and ",["$","code","code-2",{"children":"physical"}]," location types."]}]]}] 84d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 85d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L865","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 3f:["$","$5e","update-location",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Location updated","content":{"application/json":{"schema":{"title":"Location","type":"object","description":"Location object represents merchant locations depending on type.","oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L866"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L867"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L868"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":{"type":"string","description":"Domain address of the location. Required for online locations.\n\n:::warning\nThe `domain` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L869"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:details:required","descriptionNode":"$L86a"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:required"},{"title":"Location","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L86b"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L86c"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L86d"},"details":{"type":"object","description":"Additional details of the location.","properties":{"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L86e"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L86f"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L870"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L871"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L872"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L873"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:address:required","descriptionNode":"$L874"},"geo_location":{"type":"object","description":"Coordinates of the location.","properties":{"lat":{"type":"number","format":"double","description":"The latitude of the location, in decimal degrees.","minimum":-90,"maximum":90,"descriptionNode":"$L875"},"lon":{"type":"number","format":"double","description":"To longitude of the location, in decimal degrees.","minimum":-180,"maximum":180,"descriptionNode":"$L876"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:geo_location:required","descriptionNode":"$L877"},"opening_hours":{"type":"object","description":"An object containing the opening hours for each day of the week.\n\nA day can have multiple intervals (e.g., closing for a lunch break).","properties":{"monday":{"description":"Opening hours for Monday.","type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"time","description":"The local time when the interval begins.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:from:examples","descriptionNode":"$L878"},"to":{"type":"string","format":"time","description":"The local time when the interval ends.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:to:examples","descriptionNode":"$L879"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:required"},"descriptionNode":"$L87a"},"tuesday":{"description":"Opening hours for Tuesday.","type":"array","items":"$3f:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L87b"},"wednesday":{"description":"Opening hours for Wednesday.","type":"array","items":"$3f:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L87c"},"thursday":{"description":"Opening hours for Thursday.","type":"array","items":"$3f:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L87d"},"friday":{"description":"Opening hours for Friday.","type":"array","items":"$3f:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L87e"},"saturday":{"description":"Opening hours for Saturday.","type":"array","items":"$3f:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L87f"},"sunday":{"description":"Opening hours for Sunday.","type":"array","items":"$3f:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L880"}},"descriptionNode":"$L881"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:required","descriptionNode":"$L882"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:required"}],"discriminator":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:discriminator","descriptionNode":"$L883"},"examples":{"online_location":{"summary":"Online location example","value":{"id":"8d9a7125-805f-40f3-a405-bc89765db996","name":"Cars website - Name update","type":"online","details":{"domain":"cars.example.com"}}},"physical_location":{"summary":"Physical location example","value":{"name":"Example Street Store","type":"physical","details":{"address":null,"street_line_1":"123 Example Street","city":"Example city","postcode":"12345","country_code":"GB"},"geo_location":{"lat":12.3456,"lon":-12.3456},"opening_hours":{"monday":[{"from":"10:00","to":"18:00"}],"tuesday":[{"from":"10:00","to":"13:00"},{"from":"16:00","to":"18:00"}],"wednesday":[{"from":"11:00","to":"18:00"}]}}}}}},"descriptionNode":"$L884"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L885"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L886"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L887"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L888"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L889"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L88a"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L88b"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L88c"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L88d"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request body for updating a location. The structure of the `details` object depends on the `type` of the location.","oneOf":[{"type":"object","properties":{"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L88e"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":{"type":"string","description":"Domain address of the location. Required for online locations.\n\n:::warning\nThe `domain` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L88f"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:details:required","descriptionNode":"$L890"}}},{"title":"Location","type":"object","description":"Location object represents merchant locations depending on type.","oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L891"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L892"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L893"},"details":{"type":"object","description":"Additional details of the location.","properties":{"domain":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:0:properties:details:properties:domain"},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:details:required","descriptionNode":"$L894"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:required"},{"title":"Location","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L895"},"name":{"type":"string","description":"Name of the location. \n\n:::warning\nThe `name` parameter's value must be unique across all locations.\n:::","descriptionNode":"$L896"},"type":{"type":"string","description":"Type of the location.\n\n| Value | Description |\n| ----- | ----------- |\n| `online` | Represents an online store. |\n| `physical` | Represents a physical point of sale. |","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:0:properties:type:enum","descriptionNode":"$L897"},"details":{"type":"object","description":"Additional details of the location.","properties":{"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L898"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L899"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L89a"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L89b"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L89c"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L89d"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:address:required","descriptionNode":"$L89e"},"geo_location":{"type":"object","description":"Coordinates of the location.","properties":{"lat":{"type":"number","format":"double","description":"The latitude of the location, in decimal degrees.","minimum":-90,"maximum":90,"descriptionNode":"$L89f"},"lon":{"type":"number","format":"double","description":"To longitude of the location, in decimal degrees.","minimum":-180,"maximum":180,"descriptionNode":"$L8a0"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:geo_location:required","descriptionNode":"$L8a1"},"opening_hours":{"type":"object","description":"An object containing the opening hours for each day of the week.\n\nA day can have multiple intervals (e.g., closing for a lunch break).","properties":{"monday":{"description":"Opening hours for Monday.","type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"time","description":"The local time when the interval begins.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:from:examples","descriptionNode":"$L8a2"},"to":{"type":"string","format":"time","description":"The local time when the interval ends.\n\n:::note\nThe format is `hh:mm[:ss]`; seconds are optional and must be `00` if provided.\n:::","examples":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:properties:to:examples","descriptionNode":"$L8a3"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:properties:opening_hours:properties:monday:items:required"},"descriptionNode":"$L8a4"},"tuesday":{"description":"Opening hours for Tuesday.","type":"array","items":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L8a5"},"wednesday":{"description":"Opening hours for Wednesday.","type":"array","items":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L8a6"},"thursday":{"description":"Opening hours for Thursday.","type":"array","items":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L8a7"},"friday":{"description":"Opening hours for Friday.","type":"array","items":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L8a8"},"saturday":{"description":"Opening hours for Saturday.","type":"array","items":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L8a9"},"sunday":{"description":"Opening hours for Sunday.","type":"array","items":"$3f:props:children:0:props:children:props:requestBody:content:application/json:schema:oneOf:1:oneOf:1:properties:details:properties:opening_hours:properties:monday:items","descriptionNode":"$L8aa"}},"descriptionNode":"$L8ab"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:properties:details:required","descriptionNode":"$L8ac"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:oneOf:1:required"}],"discriminator":{"propertyName":"type","mapping":{"online":"#/components/schemas/Location-Online","physical":"#/components/schemas/Location-Physical"}},"descriptionNode":"$L8ad"}],"discriminator":{"propertyName":"type","mapping":{"online":"#/components/schemas/Location-Update-Online","physical":"#/components/schemas/Location-Update-Physical"}},"descriptionNode":"$L8ae"},"examples":{"online_location":{"summary":"Online location example","value":{"name":"Cars website - Name update","details":{"domain":"cars.example.com"}}},"physical_location":{"summary":"Physical location example","value":{"name":"Example Street Store","details":{"opening_hours":{"monday":[{"from":"10:00","to":"18:00"}],"wednesday":[{"from":"11:00","to":"18:00"}]}}}}}}}},"variantLabels":["Online location example","Physical location example"],"children":["$L8af","$L8b0"]}]}],false]}] 8af:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-location","children":[["$L8b1","$undefined"],["$","$L15",null,{"id":"update-location"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/update-location.md"}]]}]}],"$undefined"]}] 8b6:T689,
curl -X PATCH "https://merchant.revolut.com/api/locations/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}'
8b7:Tf7a,
const payload = {
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
};
fetch("https://merchant.revolut.com/api/locations/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8b8:T1581,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/locations/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
8b9:Tcb0,
import requests

url = "https://merchant.revolut.com/api/locations/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
8ba:T1ae8,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/locations/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8bb:T1f7c,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://merchant.revolut.com/api/locations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""name"": ""Cars website - Name update"",
  ""details"": {
    ""domain"": ""cars.example.com""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8bc:T691,
curl -X PATCH "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -d '{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}'
8bd:Tf82,
const payload = {
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
};
fetch("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8be:T1589,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
8bf:Tcb8,
import requests

url = "https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__"
}
payload = {
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
8c0:T1af0,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8c1:T1f84,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""name"": ""Cars website - Name update"",
  ""details"": {
    ""domain"": ""cars.example.com""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8b0:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L8b2",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L8b3"},{"name":"location_id","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L8b4"},"in":"path","required":true,"description":"The ID of the location.","descriptionNode":"$L8b5"}],"requestBody":"$3f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$3f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}'","templateHtml":"$8b6","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n};\nfetch(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .PATCH(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$8ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/locations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Cars website - Name update\"\",\n \"\"details\"\": {\n \"\"domain\"\": \"\"cars.example.com\"\"\n }\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$8bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -d '{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}'","templateHtml":"$8bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8be","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\"\n}\npayload = {\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8bf","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .PATCH(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$8c0","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/locations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Cars website - Name update\"\",\n \"\"details\"\": {\n \"\"domain\"\": \"\"cars.example.com\"\"\n }\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$8c1","tokens":[{"marker":"__RP_TOK_0__","paramName":"location_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:location_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/locations/{location_id}","parameters":["$8b0:props:children:0:props:children:1:props:parameters:0","$8b0:props:children:0:props:children:1:props:parameters:1"]}],"$L8c2"],"$L8c3","$L8c4"]}]]}] 8c5:T555,
{
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
85e:["$","div","request-application/json-example_online_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8c5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}"}]}]]}] 8c6:T19ff,
{
  "name": "Example Street Store",
  "type": "physical",
  "details": {
    "address": {
      "street_line_1": "123 Example Street",
      "city": "Example city",
      "postcode": "12345",
      "country_code": "GB"
    },
    "geo_location": {
      "lat": 12.3456,
      "lon": -12.3456
    },
    "opening_hours": {
      "monday": [
        {
          "from": "09:00",
          "to": "15:00"
        },
        {
          "from": "16:00",
          "to": "18:00"
        }
      ],
      "tuesday": [
        {
          "from": "10:00",
          "to": "13:00"
        },
        {
          "from": "16:00",
          "to": "18:00"
        }
      ]
    }
  }
}
85f:["$","div","request-application/json-example_physical_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8c6"}}]}]],"$L8c7"]}] 8c8:T67f,
{
  "id": "8d9a7125-805f-40f3-a405-bc89765db996",
  "name": "Grocery website",
  "type": "online",
  "details": {
    "domain": "groceries.example.com"
  }
}
860:["$","div","201-application/json-example_online_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8c8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"8d9a7125-805f-40f3-a405-bc89765db996\",\n \"name\": \"Grocery website\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"groceries.example.com\"\n }\n}"}]}]]}] 8c9:T1b29,
{
  "id": "8d9a7125-805f-40f3-a405-bc89765db996",
  "name": "Example Street Store",
  "type": "physical",
  "details": {
    "address": {
      "street_line_1": "123 Example Street",
      "city": "Example city",
      "postcode": "12345",
      "country_code": "GB"
    },
    "geo_location": {
      "lat": 12.3456,
      "lon": -12.3456
    },
    "opening_hours": {
      "monday": [
        {
          "from": "09:00",
          "to": "15:00"
        },
        {
          "from": "16:00",
          "to": "18:00"
        }
      ],
      "tuesday": [
        {
          "from": "10:00",
          "to": "13:00"
        },
        {
          "from": "16:00",
          "to": "18:00"
        }
      ]
    }
  }
}
861:["$","div","201-application/json-example_physical_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8c9"}}]}]],"$L8ca"]}] 862:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 863:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 864:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 8c2:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L8cb"}}}] 8c3:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"online_location","label":"Online location example","rawValue":"$3f:props:children:0:props:children:props:requestBody:content:application/json:examples:online_location:value","block":"$L8cc"},{"key":"physical_location","label":"Physical location example","rawValue":"$3f:props:children:0:props:children:props:requestBody:content:application/json:examples:physical_location:value","block":"$L8cd"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 8c4:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"online_location","label":"Online location example","rawValue":"$3f:props:children:0:props:children:props:responses:200:content:application/json:examples:online_location:value","block":"$L8ce"},{"key":"physical_location","label":"Physical location example","rawValue":"$3f:props:children:0:props:children:props:responses:200:content:application/json:examples:physical_location:value","block":"$L8cf"}],"syncedPropertyName":"type"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L8d0"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L8d1"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L8d2"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 8c7:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"name\": \"Example Street Store\",\n \"type\": \"physical\",\n \"details\": {\n \"address\": {\n \"street_line_1\": \"123 Example Street\",\n \"city\": \"Example city\",\n \"postcode\": \"12345\",\n \"country_code\": \"GB\"\n },\n \"geo_location\": {\n \"lat\": 12.3456,\n \"lon\": -12.3456\n },\n \"opening_hours\": {\n \"monday\": [\n {\n \"from\": \"09:00\",\n \"to\": \"15:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ],\n \"tuesday\": [\n {\n \"from\": \"10:00\",\n \"to\": \"13:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ]\n }\n }\n}"}]}] 8ca:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"8d9a7125-805f-40f3-a405-bc89765db996\",\n \"name\": \"Example Street Store\",\n \"type\": \"physical\",\n \"details\": {\n \"address\": {\n \"street_line_1\": \"123 Example Street\",\n \"city\": \"Example city\",\n \"postcode\": \"12345\",\n \"country_code\": \"GB\"\n },\n \"geo_location\": {\n \"lat\": 12.3456,\n \"lon\": -12.3456\n },\n \"opening_hours\": {\n \"monday\": [\n {\n \"from\": \"09:00\",\n \"to\": \"15:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ],\n \"tuesday\": [\n {\n \"from\": \"10:00\",\n \"to\": \"13:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ]\n }\n }\n}"}]}] 8b1:"Update a location" 866:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 867:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 868:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 869:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain address of the location. Required for online locations."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"domain"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 86a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 86b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 86c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 86d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 86e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 86f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 870:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 871:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 872:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 873:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 874:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 875:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The latitude of the location, in decimal degrees."}]]}] 876:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"To longitude of the location, in decimal degrees."}]]}] 877:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Coordinates of the location."}]]}] 878:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval begins."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 879:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval ends."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 87a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Monday."}]]}] 87b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Tuesday."}]]}] 87c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Wednesday."}]]}] 87d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Thursday."}]]}] 87e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Friday."}]]}] 87f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Saturday."}]]}] 880:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Sunday."}]]}] 881:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An object containing the opening hours for each day of the week."}],"\n",["$","p","p-1",{"children":"A day can have multiple intervals (e.g., closing for a lunch break)."}]]}] 882:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 883:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location object represents merchant locations depending on type."}]]}] 884:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location updated"}]]}] 885:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 886:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 887:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 888:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 889:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 88a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 88b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 88c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 88d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 88e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 88f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Domain address of the location. Required for online locations."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"domain"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 890:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 891:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 892:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 893:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 894:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 895:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 896:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"name"}]," parameter's value must be unique across all locations."]}]}]]}]]}] 897:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the location."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"online"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents an online store.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"physical"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Represents a physical point of sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 898:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 899:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 89a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 89b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 89c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 89d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 89e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 89f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The latitude of the location, in decimal degrees."}]]}] 8a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"To longitude of the location, in decimal degrees."}]]}] 8a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Coordinates of the location."}]]}] 8a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval begins."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 8a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The local time when the interval ends."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The format is ",["$","code","code-0",{"children":"hh:mm[:ss]"}],"; seconds are optional and must be ",["$","code","code-1",{"children":"00"}]," if provided."]}]}]]}]]}] 8a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Monday."}]]}] 8a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Tuesday."}]]}] 8a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Wednesday."}]]}] 8a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Thursday."}]]}] 8a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Friday."}]]}] 8a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Saturday."}]]}] 8aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Opening hours for Sunday."}]]}] 8ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An object containing the opening hours for each day of the week."}],"\n",["$","p","p-1",{"children":"A day can have multiple intervals (e.g., closing for a lunch break)."}]]}] 8ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional details of the location."}]]}] 8ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Location object represents merchant locations depending on type."}]]}] 8ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Request body for updating a location. The structure of the ",["$","code","code-0",{"children":"details"}]," object depends on the ",["$","code","code-1",{"children":"type"}]," of the location."]}]]}] 8b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update details of a specific location, based on its ID."}],"\n",["$","p","p-1",{"children":"Only the fields provided in the request will be updated. Any omitted fields will retain their current values."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The value of the location's ",["$","code","code-0",{"children":"type"}]," parameter cannot be updated."]}]}]]}]]}] 8b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 8b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 8b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the location."}]]}] 865:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 8cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L8d3","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 8d4:T44d,
{
  "name": "Cars website - Name update",
  "details": {
    "domain": "cars.example.com"
  }
}
8cc:["$","div","request-application/json-online_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8d4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"name\": \"Cars website - Name update\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}"}]}]]}] 8d5:Tb9b,
{
  "name": "Example Street Store",
  "details": {
    "opening_hours": {
      "monday": [
        {
          "from": "10:00",
          "to": "18:00"
        }
      ],
      "wednesday": [
        {
          "from": "11:00",
          "to": "18:00"
        }
      ]
    }
  }
}
8cd:["$","div","request-application/json-physical_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8d5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"name\": \"Example Street Store\",\n \"details\": {\n \"opening_hours\": {\n \"monday\": [\n {\n \"from\": \"10:00\",\n \"to\": \"18:00\"\n }\n ],\n \"wednesday\": [\n {\n \"from\": \"11:00\",\n \"to\": \"18:00\"\n }\n ]\n }\n }\n}"}]}]]}] 8d6:T685,
{
  "id": "8d9a7125-805f-40f3-a405-bc89765db996",
  "name": "Cars website - Name update",
  "type": "online",
  "details": {
    "domain": "cars.example.com"
  }
}
8ce:["$","div","200-application/json-online_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8d6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"8d9a7125-805f-40f3-a405-bc89765db996\",\n \"name\": \"Cars website - Name update\",\n \"type\": \"online\",\n \"details\": {\n \"domain\": \"cars.example.com\"\n }\n}"}]}]]}] 8d7:T1ad4,
{
  "name": "Example Street Store",
  "type": "physical",
  "details": {
    "address": null,
    "street_line_1": "123 Example Street",
    "city": "Example city",
    "postcode": "12345",
    "country_code": "GB"
  },
  "geo_location": {
    "lat": 12.3456,
    "lon": -12.3456
  },
  "opening_hours": {
    "monday": [
      {
        "from": "10:00",
        "to": "18:00"
      }
    ],
    "tuesday": [
      {
        "from": "10:00",
        "to": "13:00"
      },
      {
        "from": "16:00",
        "to": "18:00"
      }
    ],
    "wednesday": [
      {
        "from": "11:00",
        "to": "18:00"
      }
    ]
  }
}
8cf:["$","div","200-application/json-physical_location",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$8d7"}}]}]],"$L8d8"]}] 8d0:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 8d1:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 8d2:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 8d8:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"name\": \"Example Street Store\",\n \"type\": \"physical\",\n \"details\": {\n \"address\": null,\n \"street_line_1\": \"123 Example Street\",\n \"city\": \"Example city\",\n \"postcode\": \"12345\",\n \"country_code\": \"GB\"\n },\n \"geo_location\": {\n \"lat\": 12.3456,\n \"lon\": -12.3456\n },\n \"opening_hours\": {\n \"monday\": [\n {\n \"from\": \"10:00\",\n \"to\": \"18:00\"\n }\n ],\n \"tuesday\": [\n {\n \"from\": \"10:00\",\n \"to\": \"13:00\"\n },\n {\n \"from\": \"16:00\",\n \"to\": \"18:00\"\n }\n ],\n \"wednesday\": [\n {\n \"from\": \"11:00\",\n \"to\": \"18:00\"\n }\n ]\n }\n}"}]}] 8d3:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 1e:["$","$5e","refund-order-deprecated",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"title":"Order","type":"object","description":"An Order object helps you through the process of accepting payments from your customers.\n\nCreate an order for every customer session or while an order is being created in your own system. Then, the order goes through multiple states using the [Revolut Checkout Widget](https://developer.revolut.com/docs/sdks/merchant-web-sdk/install-widget) to collect payments from your customers.","properties":{"id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L8d9"},"public_id":{"type":"string","description":"Temporary ID for the order. \n\nIt expires when the payment is authorized.","descriptionNode":"$L8da"},"type":{"type":"string","description":"The type of the order.","enum":["PAYMENT","REFUND","CHARGEBACK"],"descriptionNode":"$L8db"},"state":{"type":"string","description":"The state of the order.\n\n:::info\nFor more information about the order lifecycle, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle).\n:::","enum":["PENDING","PROCESSING","AUTHORISED","COMPLETED","CANCELLED","FAILED"],"descriptionNode":"$L8dc"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$L8dd"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$L8de"},"completed_at":{"type":"string","description":"The date and time the order was completed.","format":"date-time","descriptionNode":"$L8df"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$L8e0"},"capture_mode":{"type":"string","description":"The capture mode of the order. `AUTOMATIC` is used by default.\n\n- `AUTOMATIC`: The order is captured automatically after payment authorisation.\n- `MANUAL`: The order is not captured automatically. You must manually capture the order later.\n\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).","enum":["AUTOMATIC","MANUAL"],"descriptionNode":"$L8e1"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L8e2"},"merchant_order_ext_ref":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$L8e3"},"customer_id":{"type":"string","description":"The ID of the [customer](https://developer.revolut.com/docs/api/merchant#tag-customers) associated with this order.","descriptionNode":"$L8e4"},"email":{"type":"string","description":"The email of the customer.","format":"email","descriptionNode":"$L8e5"},"phone":{"type":"string","description":"The phone number of the customer.","descriptionNode":"$L8e6"},"full_name":{"type":"string","description":"The customer's full name.","descriptionNode":"$L8e7"},"order_amount":{"type":"object","description":"The amount and currency of the order.","required":["value","currency"],"properties":{"value":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L8e8"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L8e9"}},"descriptionNode":"$L8ea"},"order_outstanding_amount":{"type":"object","description":"The amount and currency outstanding to be paid for this order.","properties":{"value":{"type":"integer","description":"The amount of the order (minor currency unit) that is outstanding. For example, enter `7034` for €70.34 in the field.","descriptionNode":"$L8eb"},"currency":{"type":"string","description":"The currency of the amount that is outstanding. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L8ec"}},"descriptionNode":"$L8ed"},"refunded_amount":{"type":"object","description":"The amount and currency of the refunded order.","properties":{"value":{"type":"integer","description":"The amount of the refunded order (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$L8ee"},"currency":{"type":"string","description":"The currency of the refunded order. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L8ef"}},"descriptionNode":"$L8f0"},"shipping_address":{"title":"Address","type":"object","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","descriptionNode":"$L8f1"},"street_line_2":{"type":"string","description":"Street line 2 information.","descriptionNode":"$L8f2"},"region":{"type":"string","description":"The region associated with the address.","descriptionNode":"$L8f3"},"city":{"type":"string","description":"The city associated with the address.","descriptionNode":"$L8f4"},"country_code":{"type":"string","description":"The country associated with the address.","descriptionNode":"$L8f5"},"postcode":{"type":"string","description":"The postcode associated with the address.","descriptionNode":"$L8f6"}},"required":"$1b:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:shipping_address:required"},"payments":{"type":"array","description":"The details of all the payment attempts that have been made towards this order (successful or unsuccessful).","items":{"title":"Payment","type":"object","description":"","properties":{"id":{"type":"string","description":"The ID of the payment.","descriptionNode":"$L8f7"},"state":{"type":"string","description":"The state of the payment.","enum":["PROCESSING","AUTHORISED","CAPTURED","COMPLETED","FAILED","DECLINED","CANCELLED"],"descriptionNode":"$L8f8"},"failure_reason":{"type":"string","description":"The reason for a `FAILED` or `DECLINED` payment.\n\n\nA failed or declined payment can result from multiple reasons. To learn\nmore, check our [decline\nreasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":["do_not_honour","3ds_challenge_abandoned","3ds_challenge_failed","3ds_challenge_failed_manually","insufficient_funds","transaction_not_allowed_for_cardholder","high_risk","cardholder_name_missing","unknown_card","invalid_card","invalid_email","restricted_card","expired_card","rejected_by_customer","withdrawal_limit_exceeded","pick_up_card","invalid_amount"],"descriptionNode":"$L8f9"},"created_at":{"type":"string","description":"The date and time the payment was created.","format":"date-time","descriptionNode":"$L8fa"},"updated_at":{"type":"string","description":"The date and time the payment was last updated.","format":"date-time","descriptionNode":"$L8fb"},"token":{"type":"string","description":"Temporary token of the payment used to fetch the reward offer during\ncheckout and link user registrations to the given offers. \n\n\nThe token is only valid for a limited time.","descriptionNode":"$L8fc"},"amount":{"type":"object","description":"The amount and currency of the payment.","required":["value","currency"],"properties":{"value":{"type":"integer","description":"The amount of the payment (minor currency unit). For example, enter\n`7034` for €70.34 in the field.","descriptionNode":"$L8fd"},"currency":{"type":"string","description":"The currency of the payment. [ISO\n4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper\ncase.\n\n\n:::info\n\nFor more information about the supported currencies, see: [Help\nCenter](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n\n:::","descriptionNode":"$L8fe"}},"descriptionNode":"$L8ff"},"settled_amount":{"type":"object","description":"The amount and currency of the settled payment.","properties":{"value":{"type":"integer","description":"The amount of the settled payment (minor currency unit). For example,\nenter `7034` for €70.34 in the field.","descriptionNode":"$L900"},"currency":{"type":"string","description":"The currency of the settled payment. [ISO\n4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper\ncase.\n\n\n:::info\n\nFor more information about the supported currencies, see: [Help\nCenter](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n\n:::","descriptionNode":"$L901"}},"descriptionNode":"$L902"},"payment_method":{"title":"Payment-Method","type":"object","description":"The details of the payment method used to make the payment.","properties":{"id":{"type":"string","description":"The ID of the payment method. This value is present only if the payment method was previously saved.","format":"uuid","descriptionNode":"$L903"},"type":{"type":"string","description":"The type of the payment.","enum":["CARD","REVOLUT"],"descriptionNode":"$L904"},"card":{"type":"object","description":"The details of the card. Only present for payments with `payment_method.type` = `CARD`.","properties":{"card_brand":{"type":"string","description":"The type of the card.","enum":["VISA","MASTERCARD"],"descriptionNode":"$L905"},"funding":{"type":"string","description":"The type of card funding.","enum":["CREDIT","DEBIT","PREPAID"],"descriptionNode":"$L906"},"card_country":{"type":"string","description":"The country where the card was issued.","descriptionNode":"$L907"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$L908"},"card_last_four":{"type":"string","description":"The last four digits of the card.","minLength":4,"maxLength":4,"descriptionNode":"$L909"},"card_expiry":{"type":"string","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$L90a"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L90b"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":{"type":"object","description":"The details of the 3D Secure check. Only for orders with successful payments.","properties":{"state":{"type":"string","description":"The result of 3D Secure check.","enum":["VERIFIED","FAILED","CHALLENGE"],"descriptionNode":"$L90c"},"version":{"type":"integer","description":"The 3D Secure version.","descriptionNode":"$L90d"}},"descriptionNode":"$L90e"},"cvv_verification":{"type":"string","description":"The result of CVV verification.\n\n| Verification result | Description | \n| ------------------- | ----------- |\n| `MATCH` | Provided CVV matches the card's CVV |\n| `NOT_MATCH` | Provided CVV does not match the card's CVV |\n| `INCORRECT` | Provided CVV format is incorrect for this type of card |\n| `NOT_PROCESSED` | CVV verification was not performed |","enum":["MATCH","NOT_MATCH","INCORRECT","NOT_PROCESSED"],"descriptionNode":"$L90f"},"address":{"type":"string","description":"The result of address verification.","enum":["MATCH","NOT_MATCH","N_A","INVALID"],"descriptionNode":"$L910"},"postcode":{"type":"string","description":"The result of postcode verification.","enum":["MATCH","NOT_MATCH","N_A","INVALID"],"descriptionNode":"$L911"},"cardholder":{"type":"string","description":"The result of cardholder verification.","enum":["MATCH","NOT_MATCH","N_A","INVALID"],"descriptionNode":"$L912"}},"descriptionNode":"$L913"}},"descriptionNode":"$L914"}},"descriptionNode":"$L915"},"billing_address":{"title":"Address","type":"object","properties":{"street_line_1":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:street_line_1","street_line_2":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:street_line_2","region":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:region","city":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:city","country_code":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:country_code","postcode":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:postcode"},"required":"$1b:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:shipping_address:required"},"risk_level":{"type":"string","description":"The risk level of the card.\n\nIf the risk level is `HIGH`, the payment might be declined.","enum":["LOW","HIGH"],"descriptionNode":"$L916"},"fees":{"type":"array","description":"The details of the order fee.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the order fee.","enum":["FX","ACQUIRING"],"descriptionNode":"$L917"},"amount":{"type":"object","description":"The amount and currency of the payment fee.","properties":{"value":{"type":"integer","description":"The amount of the payment fee (minor currency unit). For\nexample, enter `7034` for €70.34 in the field.","descriptionNode":"$L918"},"currency":{"type":"string","description":"The currency of the payment fee. [ISO\n4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in\nupper case.\n\n\n:::info\n\nFor more information about the supported currencies, see: [Help\nCenter](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n\n:::","descriptionNode":"$L919"}},"descriptionNode":"$L91a"}}},"descriptionNode":"$L91b"}},"required":["id","state","created_at","updated_at","amount"]},"descriptionNode":"$L91c"},"related":{"type":"array","description":"The details of related orders. You can use the ID of the related order to [Retrieve the order information](https://developer.revolut.com/docs/api/merchant#retrieve-order).","items":{"title":"Order-Related","type":"object","properties":{"id":{"type":"string","description":"The ID of the related order. You can use this ID to get more information about the related order using the [Retrieve an order](https://developer.revolut.com/docs/api/merchant#retrieve-order) operation.","descriptionNode":"$L91d"},"type":{"type":"string","description":"The type of the related order.","enum":["PAYMENT","REFUND","CHARGEBACK"],"descriptionNode":"$L91e"},"state":{"type":"string","description":"The state of the related order.","enum":["PENDING","PROCESSING","AUTHORISED","COMPLETED","CANCELLED","FAILED"],"descriptionNode":"$L91f"},"amount":{"type":"object","description":"The amount and currency of the related order.","properties":{"value":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L920"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L921"}},"descriptionNode":"$L922"}}},"descriptionNode":"$L923"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$L924"},"examples":[{"order_reference":"ORD-12345","customer_segment":"premium","internal_note":"VIP customer - priority handling"}],"descriptionNode":"$L925"},"checkout_url":{"type":"string","description":"Link to a checkout page hosted by Revolut.","format":"uri","descriptionNode":"$L926"},"merchant_order_uri":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URI of the order stored in the merchant's order management system.\n\nThis URI will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URI will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L927"}},"required":["id","type","state","created_at","updated_at","order_amount"],"descriptionNode":"$L928"},"examples":{"refund_example":{"summary":"Refund example","value":{"id":"6a1353a8-3054-40ee-ab39-97a11e4c5f2a","type":"REFUND","state":"COMPLETED","created_at":"2020-05-12T14:23:11.046526Z","updated_at":"2020-05-12T14:23:11.046526Z","completed_at":"2020-05-12T14:23:11.046526Z","order_amount":{"value":40,"currency":"GBP"},"email":"customer@gmail.com","full_name":"Example Customer","related":[{"id":"4695b666-45d0-4f15-ad10-e66a84c914bf","type":"PAYMENT","amount":{"value":100,"currency":"GBP"}}]}}}}},"descriptionNode":"$L929"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L92a"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L92b"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L92c"},"401":{"description":"Unauthorized","descriptionNode":"$L92d"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L92e"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L92f"}},"required":"$26:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L930"},"422":{"description":"Insufficient funds","content":{"application/json":{"schema":{"type":"object","properties":{"errorId":{"type":"string","description":"The ID of the error. You can share this ID with Revolut support for troubleshooting.","descriptionNode":"$L931"},"timestamp":{"type":"integer","description":"The date and time the error happened.","descriptionNode":"$L932"},"code":{"type":"integer"}}},"examples":{"example-1":{"value":{"errorId":"94b27660-fdda-49ec-8b85-cd46a068ade0","timestamp":1601296792533,"code":1026}}}}},"descriptionNode":"$L933"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the refund (minor currency unit). For example, enter `7034` for €70.34 in the field.\n\nThis amount can't exceed the remaining amount of the original order. To get the refundable amount, subtract the `value` of the `refunded_amount` from the `value` of the `order_amount` in the original order. See [Retrieve an order](https://developer.revolut.com/docs/api/merchant#retrieve-order).","descriptionNode":"$L934"},"description":{"type":"string","description":"The description of the refund.","descriptionNode":"$L935"},"merchant_order_ext_ref":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$L936"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$L937"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$L938"}},"required":["amount"]},"examples":{"default":{"value":{"amount":40,"description":"Refund for damaged goods"}}}}}},"variantLabels":[],"children":["$L939","$L93a"]}]}],false]}] 939:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"refund-order-deprecated","children":[["$L93b","$undefined"],["$","$L15",null,{"id":"refund-order-deprecated"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/refund-order-deprecated.md"}]]}]}],"$undefined"]}] 941:T6b5,
curl -X POST "https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Idempotency-Key: __RP_TOK_2__" \
  -d '{
  "amount": 40,
  "description": "Refund for damaged goods"
}'
942:Tfa6,
const payload = {
  "amount": 40,
  "description": "Refund for damaged goods"
};
fetch("https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Idempotency-Key": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
943:T169a,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"
  jsonData := []byte(`
{
  "amount": 40,
  "description": "Refund for damaged goods"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Idempotency-Key", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
944:Tcda,
import requests

url = "https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Idempotency-Key": "__RP_TOK_2__"
}
payload = {
  "amount": 40,
  "description": "Refund for damaged goods"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
945:T1bfe,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 40,
  "description": "Refund for damaged goods"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Idempotency-Key", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
946:T1e90,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Idempotency-Key", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 40,
  ""description"": ""Refund for damaged goods""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
947:T6bd,
curl -X POST "https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Idempotency-Key: __RP_TOK_2__" \
  -d '{
  "amount": 40,
  "description": "Refund for damaged goods"
}'
948:Tfae,
const payload = {
  "amount": 40,
  "description": "Refund for damaged goods"
};
fetch("https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Idempotency-Key": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
949:T16a2,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"
  jsonData := []byte(`
{
  "amount": 40,
  "description": "Refund for damaged goods"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Idempotency-Key", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
94a:Tce2,
import requests

url = "https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Idempotency-Key": "__RP_TOK_2__"
}
payload = {
  "amount": 40,
  "description": "Refund for damaged goods"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
94b:T1c06,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 40,
  "description": "Refund for damaged goods"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Idempotency-Key", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
94c:T1e98,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Idempotency-Key", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 40,
  ""description"": ""Refund for damaged goods""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
93a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L93c",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L93d"},{"name":"Idempotency-Key","in":"header","schema":{"type":"string"},"required":false,"description":"The `Idempotency-Key` ensures that requests are processed only once, preventing multiple executions of the same operation due to retries or duplicate requests.\n\nThis header is optional and can accept any unique string value the merchant uses.\n\nA recommended practice is to use a unique identifier from your system (such as the entity's ID or a request UUID) as the idempotency key. This facilitates tracking and managing requests effectively.","descriptionNode":"$L93e"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$L93f"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$L940"}],"requestBody":"$1e:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$1e:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Idempotency-Key: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}'","templateHtml":"$941","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n};\nfetch(\"https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Idempotency-Key\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$942","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"\n jsonData := []byte(`\n{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Idempotency-Key\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$943","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Idempotency-Key\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$944","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Idempotency-Key\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$945","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Idempotency-Key\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 40,\n \"\"description\"\": \"\"Refund for damaged goods\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$946","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Idempotency-Key: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}'","templateHtml":"$947","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Idempotency-Key\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$948","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"\n jsonData := []byte(`\n{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Idempotency-Key\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$949","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Idempotency-Key\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$94a","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Idempotency-Key\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$94b","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/1.0/orders/__RP_TOK_0__/refund\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Idempotency-Key\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 40,\n \"\"description\"\": \"\"Refund for damaged goods\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$94c","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Idempotency-Key","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Idempotency-Key":"string","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/1.0/orders/{order_id}/refund","parameters":["$93a:props:children:0:props:children:1:props:parameters:0","$93a:props:children:0:props:children:1:props:parameters:1","$93a:props:children:0:props:children:1:props:parameters:2"]}],"$L94d"],"$L94e","$L94f"]}]]}] 94d:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L950"}}}] 94e:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1e:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L951"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 94f:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"refund_example","label":"Refund example","rawValue":"$1e:props:children:0:props:children:props:responses:201:content:application/json:examples:refund_example:value","block":"$L952"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L953"}],"syncedPropertyName":"$undefined"}},"401":{},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"errorId":"string","timestamp":123},"block":"$L954"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$1e:props:children:0:props:children:props:responses:422:content:application/json:examples:example-1:value","block":"$L955"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 93b:"Refund an order (Deprecated)" 8d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 8da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary ID for the order."}],"\n",["$","p","p-1",{"children":"It expires when the payment is authorized."}]]}] 8db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] 8dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the order lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}]}]]}]]}] 8dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] 8de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] 8df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was completed."}]]}] 8e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] 8e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"AUTOMATIC"}]," is used by default."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"AUTOMATIC"}],": The order is captured automatically after payment authorisation."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"MANUAL"}],": The order is not captured automatically. You must manually capture the order later."]}],"\n"]}],"\n",["$","p","p-1",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]]}] 8e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 8e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] 8e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"customer"}]," associated with this order."]}]]}] 8e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the customer."}]]}] 8e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the customer."}]]}] 8e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The customer's full name."}]]}] 8e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 8e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 8ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the order."}]]}] 8eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the order (minor currency unit) that is outstanding. For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 8ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the amount that is outstanding. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 8ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency outstanding to be paid for this order."}]]}] 8ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the refunded order (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 8ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the refunded order. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 8f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the refunded order."}]]}] 8f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 8f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 8f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 8f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 8f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country associated with the address."}]]}] 8f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 8f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 8f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the payment."}]]}] 8f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"FAILED"}]," or ",["$","code","code-1",{"children":"DECLINED"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn\nmore, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"decline\nreasons"}],"."]}]]}] 8fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was created."}]]}] 8fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was last updated."}]]}] 8fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during\ncheckout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] 8fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment (minor currency unit). For example, enter\n",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 8fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO\n4217"}]," currency code in upper\ncase."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help\nCenter"}],"."]}]}]]}]]}] 8ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the payment."}]]}] 900:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the settled payment (minor currency unit). For example,\nenter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 901:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the settled payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO\n4217"}]," currency code in upper\ncase."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help\nCenter"}],"."]}]}]]}]]}] 902:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the settled payment."}]]}] 903:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment method. This value is present only if the payment method was previously saved."}]]}] 904:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the payment."}]]}] 905:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 906:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] 907:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country where the card was issued."}]]}] 908:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] 909:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card."}]]}] 90a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] 90b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 90c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of 3D Secure check."}]]}] 90d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 3D Secure version."}]]}] 90e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the 3D Secure check. Only for orders with successful payments."}]]}] 90f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of CVV verification."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Verification result","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"MATCH"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Provided CVV matches the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"NOT_MATCH"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Provided CVV does not match the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"INCORRECT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Provided CVV format is incorrect for this type of card","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"NOT_PROCESSED"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV verification was not performed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 910:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of address verification."}]]}] 911:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of postcode verification."}]]}] 912:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of cardholder verification."}]]}] 913:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] 914:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The details of the card. Only present for payments with ",["$","code","code-0",{"children":"payment_method.type"}]," = ",["$","code","code-1",{"children":"CARD"}],"."]}]]}] 915:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method used to make the payment."}]]}] 916:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The risk level of the card."}],"\n",["$","p","p-1",{"children":["If the risk level is ",["$","code","code-0",{"children":"HIGH"}],", the payment might be declined."]}]]}] 917:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order fee."}]]}] 918:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment fee (minor currency unit). For\nexample, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 919:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment fee. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO\n4217"}]," currency code in\nupper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help\nCenter"}],"."]}]}]]}]]}] 91a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the payment fee."}]]}] 91b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the order fee."}]]}] 91c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of all the payment attempts that have been made towards this order (successful or unsuccessful)."}]]}] 91d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the related order. You can use this ID to get more information about the related order using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-order","target":"_blank","rel":"noreferrer","children":"Retrieve an order"}]," operation."]}]]}] 91e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the related order."}]]}] 91f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the related order."}]]}] 920:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 921:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 922:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount and currency of the related order."}]]}] 923:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The details of related orders. You can use the ID of the related order to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-order","target":"_blank","rel":"noreferrer","children":"Retrieve the order information"}],"."]}]]}] 924:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] 925:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] 926:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Link to a checkout page hosted by Revolut."}]]}] 927:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URI of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URI will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URI will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 928:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An Order object helps you through the process of accepting payments from your customers."}],"\n",["$","p","p-1",{"children":["Create an order for every customer session or while an order is being created in your own system. Then, the order goes through multiple states using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/install-widget","target":"_blank","rel":"noreferrer","children":"Revolut Checkout Widget"}]," to collect payments from your customers."]}]]}] 929:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] 92a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 92b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 92c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 92d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 92e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 92f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 930:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 931:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the error. You can share this ID with Revolut support for troubleshooting."}]]}] 932:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the error happened."}]]}] 933:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Insufficient funds"}]]}] 934:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the refund (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}],"\n",["$","p","p-1",{"children":["This amount can't exceed the remaining amount of the original order. To get the refundable amount, subtract the ",["$","code","code-0",{"children":"value"}]," of the ",["$","code","code-1",{"children":"refunded_amount"}]," from the ",["$","code","code-2",{"children":"value"}]," of the ",["$","code","code-3",{"children":"order_amount"}]," in the original order. See ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-order","target":"_blank","rel":"noreferrer","children":"Retrieve an order"}],"."]}]]}] 935:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the refund."}]]}] 936:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] 937:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] 938:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] 93c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Issue a refund for a completed order. This operation allows for either a full or partial refund, which will be processed back to the customer's original payment method."}],"\n",["$","h3","h3-0",{"children":"Operation details"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["The refund operation generates a new order with ",["$","code","code-0",{"children":"type: REFUND"}],". This new order represents a full or partial refund of the original amount paid."]}],"\n",["$","li","li-1",{"children":["Refunds can only be initiated for orders that are in the ",["$","code","code-0",{"children":"COMPLETED"}]," state. Orders in any other state are not eligible for refunds to ensure transaction integrity and to prevent errors."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Ensure that the order to be refunded is confirmed as ",["$","code","code-0",{"children":"COMPLETED"}]," before attempting a refund operation."]}],"\n",["$","li","li-1",{"children":["Consider using the ",["$","code","code-0",{"children":"Idempotency-Key"}]," header to make the refund operation idempotent, preventing duplicate refund processing in cases of multiple submissions."]}],"\n"]}]}]]}]]}] 93d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 93e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"Idempotency-Key"}]," ensures that requests are processed only once, preventing multiple executions of the same operation due to retries or duplicate requests."]}],"\n",["$","p","p-1",{"children":"This header is optional and can accept any unique string value the merchant uses."}],"\n",["$","p","p-2",{"children":"A recommended practice is to use a unique identifier from your system (such as the entity's ID or a request UUID) as the idempotency key. This facilitates tracking and managing requests effectively."}]]}] 93f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] 940:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] 950:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L956","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 951:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"amount\": 40,\n  \"description\": \"Refund for damaged goods\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 40,\n \"description\": \"Refund for damaged goods\"\n}"}]}]]}] 957:T13f2,
{
  "id": "6a1353a8-3054-40ee-ab39-97a11e4c5f2a",
  "type": "REFUND",
  "state": "COMPLETED",
  "created_at": "2020-05-12T14:23:11.046526Z",
  "updated_at": "2020-05-12T14:23:11.046526Z",
  "completed_at": "2020-05-12T14:23:11.046526Z",
  "order_amount": {
    "value": 40,
    "currency": "GBP"
  },
  "email": "customer@gmail.com",
  "full_name": "Example Customer",
  "related": [
    {
      "id": "4695b666-45d0-4f15-ad10-e66a84c914bf",
      "type": "PAYMENT",
      "amount": {
        "value": 100,
        "currency": "GBP"
      }
    }
  ]
}
952:["$","div","201-application/json-refund_example",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$957"}}]}]],"$L958"]}] 953:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 954:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"errorId\": \"string\",\n  \"timestamp\": 123\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 959:T471,
{
  "errorId": "94b27660-fdda-49ec-8b85-cd46a068ade0",
  "timestamp": 1601296792533,
  "code": 1026
}
955:["$","div","422-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$959"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"errorId\": \"94b27660-fdda-49ec-8b85-cd46a068ade0\",\n \"timestamp\": 1601296792533,\n \"code\": 1026\n}"}]}]]}] 958:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"6a1353a8-3054-40ee-ab39-97a11e4c5f2a\",\n \"type\": \"REFUND\",\n \"state\": \"COMPLETED\",\n \"created_at\": \"2020-05-12T14:23:11.046526Z\",\n \"updated_at\": \"2020-05-12T14:23:11.046526Z\",\n \"completed_at\": \"2020-05-12T14:23:11.046526Z\",\n \"order_amount\": {\n \"value\": 40,\n \"currency\": \"GBP\"\n },\n \"email\": \"customer@gmail.com\",\n \"full_name\": \"Example Customer\",\n \"related\": [\n {\n \"id\": \"4695b666-45d0-4f15-ad10-e66a84c914bf\",\n \"type\": \"PAYMENT\",\n \"amount\": {\n \"value\": 100,\n \"currency\": \"GBP\"\n }\n }\n ]\n}"}]}] 956:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 9d7:T54c,Type of the transaction. | Value | Description | | ----- | ----------- | | `Settlement` | Settlement of a payment into the merchant balance. | | `Refund` | Refund entry reducing the merchant balance. | | `External transfer money return` | Return of an external transfer entry. | | `Topup` | Balance top-up entry. | | `Topup Return` | Reversal of a top-up entry. | | `Customer dispute - withdrawal` | Chargeback or dispute withdrawal from the merchant balance. | | `Customer dispute - won` | Reversal of a previous dispute withdrawal. | | `Transfer from linked pocket` | Transfer from a linked balance pocket. | | `Automatic negative balance recovery` | Automatic recovery entry for a negative balance. | | `Payout` | Payout-related ledger entry. | | `Payout to an external account` | Transfer of payout funds to an external account. | | `Transfer from linked pocket with FX` | Transfer from a linked pocket involving FX conversion. | | `Payout with FX` | Payout-related entry involving FX conversion. | | `Money reserve block` | Reserve block entry withholding funds. | | `Money reserve unblock` | Release of previously blocked reserve funds. | | `IC++ post-billing fee` | IC++ fee charged after billing. | | `Fee refund` | Reversal of a previously charged fee. | | `Unrecognised transaction` | Transaction that does not map to a more specific category. |a04:T7af,transaction_id,order_id,original_order_id,started_date,updated_date,completed_date,payment_created_date,payment_captured_date,type,state,description,merchant_order_ext_ref,customer_id,amount,currency,settlement_amount,settlement_currency,payment_method,fee_amount,fee_currency,processing_fee_amount,processing_fee_currency,browser_url,location_id 67f66fa6-200c-aaef-8708-cb78366f8a30,67f66f41-3022-a623-827e-e0616c0d04e7,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-09T13:01:26.288638Z,2025-04-10T13:02:09.843018Z,2025-04-10T13:02:09.837719Z,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837719Z,SETTLEMENT,COMPLETED,Summer hat,ORD-2025-0042,,100.00,GBP,99.00,GBP,CARD,1.00,GBP,1.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fb7-300d-bbff-9819-dc89477a9b41,67f67052-4133-b734-938f-f1727d1e15f8,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-10T09:10:00.000000Z,2025-04-10T09:12:00.000000Z,2025-04-10T09:12:00.000000Z,,,REFUND,COMPLETED,Refund for Summer hat,ORD-2025-0042-R1,,25.00,GBP,-25.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fc8-411e-cc10-a92a-ed9a588b0c52,67f67063-5244-c845-a49a-a2838e2f26a9,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-11T08:30:00.000000Z,2025-04-11T08:45:00.000000Z,2025-04-11T08:45:00.000000Z,,,CHARGEBACK,COMPLETED,Chargeback for Summer hat,ORD-2025-0042-CB1,,75.00,GBP,-75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fd9-522f-dd21-ba3b-feab699a1d63,67f67074-6355-d956-b50a-a3949f3a37a0,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-15T10:00:00.000000Z,2025-04-15T10:05:00.000000Z,2025-04-15T10:05:00.000000Z,,,CHARGEBACK_REVERSAL,COMPLETED,Chargeback reversal for Summer hat,ORD-2025-0042-CBR1,,75.00,GBP,75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,a05:T468,payment_id,type,description,original_payment_id,order_id,state,reason,amount,currency,surcharge_amount,tip_amount,refunded_amount,created_date,captured_date,merchant_order_ext_ref,payment_method,location_id,customer_id,customer_card_number,customer_card_country,customer_card_brand,customer_card_type,customer_card_category,customer_email,fee_amount,fee_currency 67f66fa6-7e98-ae73-9570-50583cec116d,PAYMENT,Payment from customer,,67f66f41-3022-a623-827e-e0616c0d04e7,COMPLETED,,1.00,GBP,,0.00,0.00,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837Z,ORD-2025-0042,CARD,,cust-0001-0000-0000-000000000001,528143******4148,GB,VISA,DEBIT,consumer,customer@example.com,0.01,GBP 6807b0a5-a367-afbf-b31f-353730b788b5,PAYMENT,Payment from customer,,6807b09c-c62a-a656-818e-f071ef67ee36,DECLINED,,10.01,GBP,,0.00,0.00,2025-04-22T15:07:17.352Z,,,PAY_WITH_REVOLUT,,,,,,,,customer@example.com,, 67efa316-db8a-aec6-8eb4-46e47b6ebdc4,PAYMENT,Payment from customer,,67efa305-be19-a456-a6a2-154b218ac386,FAILED,INSUFFICIENT_FUNDS,0.57,USD,,0.00,0.00,2025-04-04T09:15:02.13Z,,,CARD,,,222300******9399,GB,VISA,DEBIT,consumer,customer@example.com,,a06:T5f7,created_date,completed_date,payout_affected_date,affected_payout_amount,transaction_id,order_id,dispute_id,merchant_order_reference,type,related_icpp_charge_id,transaction_amount,transaction_currency,billing_amount,billing_currency,state,original_transaction_id,original_transaction_amount,original_transaction_currency,original_order_id,original_order_channel,original_merchant_order_reference,fee_amount,fee_currency,settlement_amount,settlement_currency,location_id,location_name,submerchant_id,payout_transfer_reference,payout_total_amount,payout_date 2025-03-25T14:34:05.708899Z,2025-03-26T14:34:38.06903Z,2025-03-26T14:34:38.06903Z,true,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,67e2be76-89c5-ae4f-9103-a152ae6f0584,,ORD-2025-0042,Settlement,,0.57,USD,0.57,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,0.57,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Z 2025-03-25T15:38:45.162946Z,2025-03-26T15:39:58.03824Z,2025-03-26T15:39:58.03824Z,true,67e2ce05-1a16-abeb-b05b-5059073bcdaa,67e2ce00-6665-a52b-9f10-368f886054d7,a81bba54-e3f9-450f-aa50-7aea8e4e5b9a,ORD-2025-0042-CB1,Customer dispute - withdrawal,,-0.40,USD,-0.40,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,-0.40,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Z33:["$","$5e","download-report-file",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"text/csv":{"schema":{"oneOf":[{"title":"Settlement report CSV","type":"object","description":"CSV output for `settlement_report`. Contains settled transactions associated with a Merchant account.\n\nThe first row is a header row with column names. Subsequent rows contain transaction data, one row per transaction.\n\nA partial-settlement is represented by separate `SETTLEMENT` and `REFUND` rows instead of a dedicated type.\n\n:::note\nThe actual response is a raw `text/csv` string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field.\n:::","properties":{"transaction_id":{"type":"string","format":"uuid","description":"Unique identifier of the ledger transaction in the core settlement system. Matches `transaction_id` in the payout statement report for the same event. Not the same as `payment_id` in the payments report — a payment and its resulting ledger transaction have different UUIDs. Use `order_id` to cross-reference with the payments report.","descriptionNode":"$L95a"},"order_id":{"type":"string","format":"uuid","description":"Unique identifier of the order. An order is the top-level entity that groups one or more payment attempts against it. `order_id` is consistent across all report types and can be used to cross-reference between the payments report and the settlement or payout reports.","descriptionNode":"$L95b"},"original_order_id":{"type":"string","format":"uuid","description":"For refunds and chargebacks, the order ID of the original payment that this transaction reverses. Refunds and chargebacks create their own order in the system, so `order_id` refers to the refund or chargeback order while `original_order_id` points back to the original payment's order. For settlement transactions, matches `order_id`.","descriptionNode":"$L95c"},"started_date":{"type":"string","format":"date-time","description":"Date and time the row's source record was started. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L95d"},"updated_date":{"type":"string","format":"date-time","description":"Date and time the row's source record was last updated. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L95e"},"completed_date":{"type":"string","format":"date-time","description":"Date and time the row's source record was completed. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L95f"},"payment_created_date":{"type":"string","format":"date-time","description":"Payment authorisation or creation timestamp for rows linked to a payment, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) UTC date-time format. Empty for refunds and non-payment-related rows where no payment timestamp applies. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L960"},"payment_captured_date":{"type":"string","format":"date-time","description":"Payment capture timestamp for rows linked to a captured payment, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) UTC date-time format. Empty for refunds, non-payment-related rows, or payments not captured. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L961"},"type":{"type":"string","description":"Type of the settlement report row.\n\nA partial-settlement is represented by separate `SETTLEMENT` and `REFUND` rows instead of a dedicated type.\n\n| Value | Description |\n| ----- | ----------- |\n| `SETTLEMENT` | Settlement of a payment into the merchant balance. |\n| `REFUND` | Refund entry reducing the merchant balance. |\n| `CHARGEBACK` | Dispute withdrawal entry reducing the merchant balance. |\n| `CHARGEBACK_REVERSAL` | Reversal of a previous chargeback, restoring funds to the merchant balance. |","enum":["SETTLEMENT","REFUND","CHARGEBACK","CHARGEBACK_REVERSAL"],"descriptionNode":"$L962"},"state":{"type":"string","description":"State of the transaction.","descriptionNode":"$L963"},"description":{"type":"string","description":"Description of the order.","descriptionNode":"$L964"},"merchant_order_ext_ref":{"type":"string","description":"Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created.","descriptionNode":"$L965"},"customer_id":{"type":"string","format":"uuid","description":"Unique identifier of the customer related to an order.","descriptionNode":"$L966"},"amount":{"type":"number","description":"Total amount of the order.","descriptionNode":"$L967"},"currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code that represents the currency of the order.","examples":["GBP"],"descriptionNode":"$L968"},"settlement_amount":{"type":"number","description":"Total amount settled on the merchant's account.","descriptionNode":"$L969"},"settlement_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code that represents the currency of the settled amount.","examples":["GBP"],"descriptionNode":"$L96a"},"payment_method":{"type":"string","description":"Type of the payment method the customer used to pay for the order.","examples":["CARD"],"descriptionNode":"$L96b"},"fee_amount":{"type":"number","description":"Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees).","descriptionNode":"$L96c"},"fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code that represents the currency of the total fee.","examples":["GBP"],"descriptionNode":"$L96d"},"processing_fee_amount":{"type":"number","description":"Acquiring markup fee only — a subset of `fee_amount`. Represents Revolut's service fee, excluding interchange and scheme fees.","descriptionNode":"$L96e"},"processing_fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code that represents the currency of the acquiring markup fee.","examples":["GBP"],"descriptionNode":"$L96f"},"browser_url":{"type":"string","format":"uri","description":"The URL where the customer initiated the payment.","descriptionNode":"$L970"},"location_id":{"type":"string","format":"uuid","description":"Unique identifier of the location related to the transaction.","descriptionNode":"$L971"}},"descriptionNode":"$L972"},{"title":"Custom report CSV","type":"object","description":"CSV output for `custom_report` report type. Contains settled and processing transactions with a configurable set of columns.\n\nThe first row is a header row with column names. Subsequent rows contain transaction data, one row per transaction.\n\nThe columns included in the response depend on the `options.columns` list specified in the request. If no columns list was provided, all available columns are included.\n\nCustom metadata columns can also be requested using the `metadata.` prefix, for example `metadata.custom_attribute`.\n\n:::note\nThe actual response is a raw `text/csv` string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field.\n:::","properties":{"transaction_id":{"type":"string","format":"uuid","description":"Unique identifier of the ledger transaction in the core settlement system. Matches `transaction_id` in the settlement and payout reports for the same event. Not the same as `payment_id` in the payments report — a payment and its resulting ledger transaction have different UUIDs. Use `order_id` to cross-reference with the payments report.","descriptionNode":"$L973"},"related_transaction_id":{"type":"string","format":"uuid","description":"For refund and chargeback transactions, the ledger transaction ID of the original payment that this transaction reverses. Corresponds to `original_transaction_id` in the payout statement report.","descriptionNode":"$L974"},"transaction_description":{"type":"string","description":"Description of the transaction.","descriptionNode":"$L975"},"order_id":{"type":"string","format":"uuid","description":"Unique identifier of the order. An order is the top-level entity that groups one or more payment attempts against it. `order_id` is consistent across all report types and can be used to cross-reference between the payments report and the settlement or payout reports.","descriptionNode":"$L976"},"original_order_id":{"type":"string","format":"uuid","description":"For refunds and chargebacks, the order ID of the original payment that this transaction reverses. Refunds and chargebacks create their own order in the system, so `order_id` refers to the refund or chargeback order while `original_order_id` points back to the original payment's order. For settlement transactions, matches `order_id`.","descriptionNode":"$L977"},"original_order_ext_ref":{"type":"string","description":"Merchant's order identifier of the original order for external reference.","descriptionNode":"$L978"},"order_description":{"type":"string","description":"Description of the order.","descriptionNode":"$L979"},"order_channel":{"type":"string","description":"Channel through which the order was created.\n\nThe value depends on the order source and integration. It may reflect platform-specific or externally provided values, so the set of returned values should not be treated as a fixed enum.","descriptionNode":"$L97a"},"order_customer_note":{"type":"string","description":"Note added by the customer at the time of the order.","descriptionNode":"$L97b"},"order_tip_amount":{"type":"number","description":"Tip amount set at the order level.","descriptionNode":"$L97c"},"order_created_by":{"type":"string","description":"Identifier of the user who created the order.","descriptionNode":"$L97d"},"payment_initiated_by":{"type":"string","description":"Identifier of who initiated the payment.","descriptionNode":"$L97e"},"order_line_items":{"type":"string","description":"Line items included in the order, if any.","descriptionNode":"$L97f"},"payout_id":{"type":"string","format":"uuid","description":"Unique identifier of the payout that this transaction contributed to. Use to cross-reference with the payout statement report.","descriptionNode":"$L980"},"payout_reference":{"type":"string","description":"Reference of the payout transfer associated with the transaction.","descriptionNode":"$L981"},"invoice_reference":{"type":"string","description":"Invoice reference associated with the order, if any.","descriptionNode":"$L982"},"dispute_id":{"type":"string","format":"uuid","description":"Unique identifier of the dispute, if applicable.","descriptionNode":"$L983"},"account_id":{"type":"string","format":"uuid","description":"Unique identifier of the merchant account.","descriptionNode":"$L984"},"account_balance":{"type":"number","description":"Account balance at the time of the transaction.","descriptionNode":"$L985"},"started_date":{"type":"string","format":"date-time","description":"Date and time the row's source record was started. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L986"},"created_date":{"type":"string","format":"date-time","description":"Date and time the order was created.","descriptionNode":"$L987"},"updated_date":{"type":"string","format":"date-time","description":"Date and time the row's source record was last updated. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L988"},"completed_date":{"type":"string","format":"date-time","description":"Date and time the row's source record was completed. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L989"},"payment_created_date":{"type":"string","format":"date-time","description":"Payment authorisation or creation timestamp for rows linked to a payment, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) UTC date-time format. Empty for refunds and non-payment-related rows where no payment timestamp applies. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L98a"},"payment_captured_date":{"type":"string","format":"date-time","description":"Payment capture timestamp for rows linked to a captured payment, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) UTC date-time format. Empty for refunds, non-payment-related rows, or payments not captured. This displayed value is separate from the report filter timeframe.","descriptionNode":"$L98b"},"type":{"type":"string","description":"Type of the transaction.\n\n| Value | Description |\n| ----- | ----------- |\n| `SETTLEMENT` | Settlement of a payment into the merchant balance. |\n| `RESERVE` | Reserve entry holding funds on the merchant balance. |\n| `REFUND` | Refund entry reducing the merchant balance. |\n| `TOPUP` | Balance top-up entry. |\n| `TOPUP_RETURN` | Reversal of a top-up entry. |\n| `CHARGEBACK` | Dispute withdrawal from the merchant balance. |\n| `CHARGEBACK_REVERSAL` | Reversal of a previous chargeback. |\n| `CREDIT_REIMBURSEMENT` | Credit reimbursement entry. |\n| `FEE` | Fee charged against the merchant balance. |\n| `PAYOUT` | Payout-related ledger entry. |\n| `TRANSFER` | Balance transfer entry. |\n| `REVOLUT_REFUND` | Refund-related entry specific to Revolut internal flows. |\n| `REVOLUT_FEE` | Fee-related entry specific to Revolut internal flows. |\n| `WRITE_OFF` | Write-off entry. |\n| `CHARGE` | Charge entry posted to the merchant balance. |","enum":["SETTLEMENT","RESERVE","REFUND","TOPUP","TOPUP_RETURN","CHARGEBACK","CHARGEBACK_REVERSAL","CREDIT_REIMBURSEMENT","FEE","PAYOUT","TRANSFER","REVOLUT_REFUND","REVOLUT_FEE","WRITE_OFF","CHARGE"],"descriptionNode":"$L98c"},"legacy_type":{"type":"string","description":"Legacy type value for backwards compatibility.","descriptionNode":"$L98d"},"state":{"type":"string","description":"State of the transaction.","descriptionNode":"$L98e"},"description":{"type":"string","description":"Description of the transaction.","descriptionNode":"$L98f"},"merchant_order_ext_ref":{"type":"string","description":"Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created.","descriptionNode":"$L990"},"customer_id":{"type":"string","format":"uuid","description":"Unique identifier of the customer related to the order.","descriptionNode":"$L991"},"amount":{"type":"number","description":"Total amount of the order.","descriptionNode":"$L992"},"currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the order.","examples":["GBP"],"descriptionNode":"$L993"},"settlement_amount":{"type":"number","description":"Total amount settled on the merchant's account.","descriptionNode":"$L994"},"settlement_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount.","examples":["GBP"],"descriptionNode":"$L995"},"exchange_rate":{"type":"number","description":"Exchange rate applied if currency conversion occurred.","descriptionNode":"$L996"},"refunded_amount":{"type":"number","description":"Amount refunded for the order.","descriptionNode":"$L997"},"statement_descriptor":{"type":"string","description":"Statement descriptor shown on the customer's bank statement.","descriptionNode":"$L998"},"tip_amount":{"type":"number","description":"Tip amount included in the transaction.","descriptionNode":"$L999"},"surcharge_amount":{"type":"number","description":"Surcharge amount applied to the transaction. Omitted when no surcharge applies.","descriptionNode":"$L99a"},"order_surcharge_amount":{"type":"number","description":"Surcharge amount set at the order level.","descriptionNode":"$L99b"},"terminal_hardware_id":{"type":"string","description":"Identifier of the card reader hardware used, for in-person payments.","descriptionNode":"$L99c"},"customer_name":{"type":"string","description":"Name of the customer.","descriptionNode":"$L99d"},"customer_email":{"type":"string","format":"email","description":"Email address of the customer.","descriptionNode":"$L99e"},"customer_card_number":{"type":"string","description":"Masked card number used for the payment.","examples":["492942******5709"],"descriptionNode":"$L99f"},"customer_card_brand":{"type":"string","description":"Card brand used for the payment. Derived from BIN data. Example values include `VISA`, `MASTERCARD`, `MASTERCARD_DEBIT`, `MAESTRO`, `AMEX`, `DINERS`, `DISCOVER`, `JCB`.","examples":["VISA"],"descriptionNode":"$L9a0"},"customer_card_type":{"type":"string","description":"Card funding type.\n\n| Value | Description |\n| ----- | ----------- |\n| `DEBIT` | Debit card. |\n| `CREDIT` | Credit card. |\n| `PREPAID` | Prepaid card. |\n| `DEFERRED_DEBIT` | Deferred debit card. |\n| `CHARGE` | Charge card. |","enum":["DEBIT","CREDIT","PREPAID","DEFERRED_DEBIT","CHARGE"],"descriptionNode":"$L9a1"},"customer_card_category":{"type":"string","description":"Card commercial category.\n\n| Value | Description |\n| ----- | ----------- |\n| `consumer` | Personal card. |\n| `commercial` | Business or corporate card. |","enum":["consumer","commercial"],"descriptionNode":"$L9a2"},"payment_method":{"type":"string","description":"Payment method the customer used to pay for the order.","examples":["CARD"],"descriptionNode":"$L9a3"},"fee_amount":{"type":"number","description":"Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees).","descriptionNode":"$L9a4"},"fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the total fee.","examples":["GBP"],"descriptionNode":"$L9a5"},"processing_fee_amount":{"type":"number","description":"Acquiring markup fee only — a subset of `fee_amount`. Represents Revolut's service fee, excluding interchange and scheme fees.","descriptionNode":"$L9a6"},"processing_fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the acquiring markup fee.","examples":["GBP"],"descriptionNode":"$L9a7"},"fx_fee_amount":{"type":"number","description":"Foreign exchange fee amount, if applicable.","descriptionNode":"$L9a8"},"fx_fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the FX fee.","examples":["GBP"],"descriptionNode":"$L9a9"},"browser_url":{"type":"string","format":"uri","description":"The URL where the customer initiated the payment.","descriptionNode":"$L9aa"},"beneficiary_name":{"type":"string","description":"Name of the beneficiary, for bank transfer payments.","descriptionNode":"$L9ab"},"beneficiary_account_number":{"type":"string","description":"Account number of the beneficiary, for bank transfer payments.","descriptionNode":"$L9ac"},"location_id":{"type":"string","format":"uuid","description":"Unique identifier of the location related to the transaction.","descriptionNode":"$L9ad"},"location_name":{"type":"string","description":"Name of the location related to the transaction.","descriptionNode":"$L9ae"},"order_custom_field_name":{"type":"string","description":"Name of a custom field set on the order.","descriptionNode":"$L9af"},"order_custom_field_value":{"type":"string","description":"Value of a custom field set on the order.","descriptionNode":"$L9b0"},"offline_payment_state":{"type":"string","description":"State of an offline payment, if applicable.","descriptionNode":"$L9b1"},"order_authorisation_type":{"type":"string","description":"Authorisation type of the order, for example `FULL` or `PRE_AUTH`.","descriptionNode":"$L9b2"}},"descriptionNode":"$L9b3"},{"title":"Payments report CSV","type":"object","description":"CSV output for `payments_report` report type. Contains all payments including failed and declined ones.\n\nThe first row is a header row with column names. Subsequent rows contain payment data, one row per payment.\n\nFor failed and declined payments, `fee_amount` and `fee_currency` are omitted. For payments made without a card, card-related columns are omitted.\n\n:::note\nThe actual response is a raw `text/csv` string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field.\n:::","properties":{"payment_id":{"type":"string","format":"uuid","description":"Unique identifier of the payment attempt in the acquiring system. Corresponds to `id` in the IC++ fee breakdown report for the same payment. Not the same as `transaction_id` in the settlement or payout reports — a payment and its resulting ledger transaction have different UUIDs. Use `order_id` to cross-reference with the settlement or payout reports.","descriptionNode":"$L9b4"},"type":{"type":"string","description":"Type of the payment.\n\n| Value | Description |\n| ----- | ----------- |\n| `PAYMENT` | A payment attempt made against the order. |\n| `REFUND` | A refund record reversing a previously completed payment. |","enum":["PAYMENT","REFUND"],"descriptionNode":"$L9b5"},"description":{"type":"string","description":"Description of the payment.","descriptionNode":"$L9b6"},"original_payment_id":{"type":"string","format":"uuid","description":"For refunds, the acquiring ID of the original payment that this record reverses. Corresponds to `payment_id` on the original payment row. Populated only when `type` is `REFUND`.","descriptionNode":"$L9b7"},"order_id":{"type":"string","format":"uuid","description":"Unique identifier of the order associated with this payment. An order can have multiple payment attempts — for example, a retry after a declined payment. Use `order_id` to cross-reference with the settlement or payout reports.","descriptionNode":"$L9b8"},"state":{"type":"string","description":"State of the payment.\n\n| Value | Description |\n| ----- | ----------- |\n| `COMPLETED` | The payment completed successfully. |\n| `FAILED` | The payment failed during processing. |\n| `DECLINED` | The payment was rejected by the issuer or payment flow. |\n| `CANCELLED` | The payment was cancelled before completion. |\n| `PROCESSING` | The payment is still being processed. |","enum":["COMPLETED","FAILED","DECLINED","CANCELLED","PROCESSING"],"descriptionNode":"$L9b9"},"reason":{"type":"string","description":"Reason code for a failed or declined payment. Present only when `state` is `FAILED` or `DECLINED`.\n\nExample values: `INSUFFICIENT_FUNDS`, `DO_NOT_HONOUR`, `EXPIRED_CARD`, `INVALID_CVV`, `THREE_DS_CHALLENGE_FAILED`, `SUSPECTED_FRAUD`, `LOST_CARD`, `STOLEN_CARD`, `TECHNICAL_ERROR`.","descriptionNode":"$L9ba"},"amount":{"type":"number","description":"Total amount of the payment.","descriptionNode":"$L9bb"},"currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the payment.","examples":["GBP"],"descriptionNode":"$L9bc"},"surcharge_amount":{"type":"number","description":"Surcharge amount applied to the payment. Empty when no surcharge applies — this field is empty, not set to `0`.","descriptionNode":"$L9bd"},"tip_amount":{"type":"number","description":"Tip amount included in the payment, if any.","descriptionNode":"$L9be"},"refunded_amount":{"type":"number","description":"Amount refunded for the payment.","descriptionNode":"$L9bf"},"created_date":{"type":"string","format":"date-time","description":"Date and time the payment was created.","descriptionNode":"$L9c0"},"captured_date":{"type":"string","format":"date-time","description":"Date and time the payment was captured, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) UTC date-time format. Empty when the payment has not been captured.","descriptionNode":"$L9c1"},"merchant_order_ext_ref":{"type":"string","description":"Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created.","descriptionNode":"$L9c2"},"payment_method":{"type":"string","description":"Payment method used.","examples":["CARD"],"descriptionNode":"$L9c3"},"location_id":{"type":"string","format":"uuid","description":"Unique identifier of the location where the payment was made.","descriptionNode":"$L9c4"},"customer_id":{"type":"string","format":"uuid","description":"Unique identifier of the customer.","descriptionNode":"$L9c5"},"customer_card_number":{"type":"string","description":"Masked card number used for the payment.","examples":["492942******5709"],"descriptionNode":"$L9c6"},"customer_card_country":{"type":"string","description":"Country of the card used for the payment, as an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.","examples":["GB"],"descriptionNode":"$L9c7"},"customer_card_brand":{"type":"string","description":"Card brand used for the payment. Derived from BIN data. Example values include `VISA`, `MASTERCARD`, `MASTERCARD_DEBIT`, `MAESTRO`, `AMEX`, `DINERS`, `DISCOVER`, `JCB`.","examples":["VISA"],"descriptionNode":"$L9c8"},"customer_card_type":{"type":"string","description":"Card funding type.\n\n| Value | Description |\n| ----- | ----------- |\n| `DEBIT` | Debit card. |\n| `CREDIT` | Credit card. |\n| `PREPAID` | Prepaid card. |\n| `DEFERRED_DEBIT` | Deferred debit card. |\n| `CHARGE` | Charge card. |","enum":["DEBIT","CREDIT","PREPAID","DEFERRED_DEBIT","CHARGE"],"descriptionNode":"$L9c9"},"customer_card_category":{"type":"string","description":"Card commercial category.\n\n| Value | Description |\n| ----- | ----------- |\n| `consumer` | Personal card. |\n| `commercial` | Business or corporate card. |","enum":["consumer","commercial"],"descriptionNode":"$L9ca"},"customer_email":{"type":"string","format":"email","description":"Email address of the customer.","descriptionNode":"$L9cb"},"fee_amount":{"type":"number","description":"Total fee amount charged for the payment. Omitted for failed and declined payments.","descriptionNode":"$L9cc"},"fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the fee. Omitted for failed and declined payments.","examples":["GBP"],"descriptionNode":"$L9cd"}},"descriptionNode":"$L9ce"},{"title":"Payout statement report CSV","type":"object","description":"CSV output for `payout_statement_report` report type. Contains all transactions that contributed to a specific payout.\n\nThe first row is a header row with column names. Subsequent rows contain transaction data, one row per transaction.\n\n:::note\nThe actual response is a raw `text/csv` string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field.\n:::","properties":{"created_date":{"type":"string","format":"date-time","description":"Date and time the transaction was created.","descriptionNode":"$L9cf"},"completed_date":{"type":"string","format":"date-time","description":"Date and time the transaction was completed.","descriptionNode":"$L9d0"},"payout_affected_date":{"type":"string","format":"date-time","description":"Date and time the payout was affected by this transaction.","descriptionNode":"$L9d1"},"affected_payout_amount":{"type":"boolean","description":"Indicates whether this transaction contributed to the payout amount (`true`) or not (`false`).\n\nNote: despite the name implying a monetary amount, this field is a boolean flag. A rename is planned for a future API version.","descriptionNode":"$L9d2"},"transaction_id":{"type":"string","format":"uuid","description":"Unique identifier of the ledger transaction in the core settlement system. Matches `transaction_id` in the settlement report for the same event. Use `order_id` to cross-reference with the payments report.","descriptionNode":"$L9d3"},"order_id":{"type":"string","format":"uuid","description":"Unique identifier of the order associated with this transaction. Use `order_id` to cross-reference with the payments report or settlement report.","descriptionNode":"$L9d4"},"dispute_id":{"type":"string","format":"uuid","description":"Unique identifier of the dispute associated with a chargeback or chargeback reversal transaction. Empty for rows not related to a dispute.","descriptionNode":"$L9d5"},"merchant_order_reference":{"type":"string","description":"Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created.","descriptionNode":"$L9d6"},"type":{"type":"string","description":"$9d7","enum":["Settlement","Refund","External transfer money return","Topup","Topup Return","Customer dispute - withdrawal","Customer dispute - won","Transfer from linked pocket","Automatic negative balance recovery","Payout","Payout to an external account","Transfer from linked pocket with FX","Payout with FX","Money reserve block","Money reserve unblock","IC++ post-billing fee","Fee refund","Unrecognised transaction"],"descriptionNode":"$L9d8"},"related_icpp_charge_id":{"type":"string","format":"uuid","description":"Unique identifier of the IC++ charge related to the transaction, if applicable.","descriptionNode":"$L9d9"},"transaction_amount":{"type":"number","description":"Amount of the transaction in the transaction currency.","descriptionNode":"$L9da"},"transaction_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the transaction.","examples":["GBP"],"descriptionNode":"$L9db"},"billing_amount":{"type":"number","description":"Amount of the transaction in the billing currency.","descriptionNode":"$L9dc"},"billing_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the billing amount.","examples":["GBP"],"descriptionNode":"$L9dd"},"state":{"type":"string","description":"State of the transaction.","examples":["COMPLETED"],"descriptionNode":"$L9de"},"original_transaction_id":{"type":"string","format":"uuid","description":"For refunds and chargebacks, the ledger transaction ID of the original payment that this transaction reverses. Corresponds to `transaction_id` on the original settlement row. \n\n:::note\nPopulated only for reversal-type rows — for example, when `type` is `Refund` or `Customer dispute - withdrawal`.\n:::","descriptionNode":"$L9df"},"original_transaction_amount":{"type":"number","description":"Amount of the original transaction.","descriptionNode":"$L9e0"},"original_transaction_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the original transaction.","examples":["GBP"],"descriptionNode":"$L9e1"},"original_order_id":{"type":"string","format":"uuid","description":"For refunds and chargebacks, the order ID of the original payment that this transaction reverses. Refunds and chargebacks create their own order in the system, so `order_id` refers to the refund or chargeback order while `original_order_id` points back to the original payment's order. For settlement transactions, matches `order_id`.","descriptionNode":"$L9e2"},"original_order_channel":{"type":"string","description":"Channel through which the original order was created.\n\nThe value depends on the original order source and integration. It may reflect platform-specific or externally provided values, so the set of returned values should not be treated as a fixed enum.","examples":["API"],"descriptionNode":"$L9e3"},"original_merchant_order_reference":{"type":"string","description":"Merchant's order reference for the original order. The value of the `merchant_order_data.reference` field set when the original order was created.","descriptionNode":"$L9e4"},"fee_amount":{"type":"number","description":"Total fee amount charged for the transaction.","descriptionNode":"$L9e5"},"fee_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the fee.","examples":["GBP"],"descriptionNode":"$L9e6"},"settlement_amount":{"type":"number","description":"Total amount settled on the merchant's account.","descriptionNode":"$L9e7"},"settlement_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount.","examples":["GBP"],"descriptionNode":"$L9e8"},"location_id":{"type":"string","format":"uuid","description":"Unique identifier of the location associated with the transaction.","descriptionNode":"$L9e9"},"location_name":{"type":"string","description":"Name of the location associated with the transaction.","descriptionNode":"$L9ea"},"submerchant_id":{"type":"string","format":"uuid","description":"Unique identifier of the submerchant associated with the transaction.","descriptionNode":"$L9eb"},"payout_transfer_reference":{"type":"string","description":"Reference of the bank transfer for this payout. This value is the same across all rows in the report, as each report covers a single payout.","descriptionNode":"$L9ec"},"payout_total_amount":{"type":"number","description":"Total amount of this payout. This value is the same across all rows in the report, as each report covers a single payout.","descriptionNode":"$L9ed"},"payout_date":{"type":"string","format":"date-time","description":"Date and time the payout covered by this report was created, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) UTC date-time format. This value is the same across all rows in the report, as each report covers a single payout.","descriptionNode":"$L9ee"}},"descriptionNode":"$L9ef"},{"title":"IC++ fee breakdown report CSV","type":"object","description":"CSV output for `icpp_fee_breakdown_report` report type. Contains IC++ fee components broken down per transaction for a specific IC++ charge.\n\nThe first row is a header row with column names. Subsequent rows contain one row per transaction.\n\n`card_interchange_fee_amount` and `card_scheme_fee_amount` are omitted for Revolut Pay transactions.\n\n:::note\nThe actual response is a raw `text/csv` string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field.\n\n`payment_method` in this report returns `REVOLUT_PAY` for Revolut Pay transactions. Other reports use `PAY_WITH_REVOLUT` for the same payment method.\n:::","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier of the payment in the acquiring system. Corresponds to `payment_id` in the payments report for the same payment.","descriptionNode":"$L9f0"},"created_at":{"type":"string","format":"date-time","description":"Date and time the payment was created.","descriptionNode":"$L9f1"},"operation":{"type":"string","description":"Type of the IC++ transaction.\n\n| Value | Description |\n| ----- | ----------- |\n| `SALE` | Fee breakdown for a payment sale. |\n| `REFUND` | Fee breakdown for a refund. |\n| `DISPUTE` | Fee breakdown for a dispute-related transaction. |","enum":["SALE","REFUND","DISPUTE"],"descriptionNode":"$L9f2"},"amount":{"type":"number","description":"Transaction amount.","descriptionNode":"$L9f3"},"currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the transaction.","examples":["GBP"],"descriptionNode":"$L9f4"},"settlement_amount":{"type":"number","description":"Amount settled on the merchant's account.","descriptionNode":"$L9f5"},"settlement_currency":{"type":"string","description":"The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the settled amount.","examples":["GBP"],"descriptionNode":"$L9f6"},"payment_method":{"type":"string","description":"Payment method used. Returns `REVOLUT_PAY` for Revolut Pay, or the card scheme name for card payments.","examples":["REVOLUT_PAY"],"descriptionNode":"$L9f7"},"card_scheme":{"type":"string","description":"Card BIN scheme.","examples":["VISA"],"descriptionNode":"$L9f8"},"card_funding":{"type":"string","description":"Card funding type.","examples":["DEBIT"],"descriptionNode":"$L9f9"},"order_description":{"type":"string","description":"Description of the order.","descriptionNode":"$L9fa"},"order_merchant_external_ref":{"type":"string","description":"Merchant's order reference. The value of the `merchant_order_data.reference` field set when the order was created.","descriptionNode":"$L9fb"},"original_operation_id":{"type":"string","format":"uuid","description":"For refunds and disputes, the acquiring ID of the original payment. Corresponds to `original_payment_id` in the payments report.","descriptionNode":"$L9fc"},"acquiring_fee_amount":{"type":"number","description":"IC++ acquiring markup fee component.","descriptionNode":"$L9fd"},"card_interchange_fee_amount":{"type":"number","description":"Interchange fee component. Omitted for Revolut Pay transactions.","descriptionNode":"$L9fe"},"card_scheme_fee_amount":{"type":"number","description":"Card scheme fee component. Omitted for Revolut Pay transactions.","descriptionNode":"$L9ff"},"card_type":{"type":"string","description":"Card commercial category.\n\n| Value | Description |\n| ----- | ----------- |\n| `COMMERCIAL` | Business or corporate card. |\n| `CONSUMER` | Personal card. |","enum":["COMMERCIAL","CONSUMER"],"descriptionNode":"$La00"},"order_channel":{"type":"string","description":"Channel through which the order was created.","examples":["API"],"descriptionNode":"$La01"},"card_country":{"type":"string","description":"Country of the card, as an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.","examples":["GB"],"descriptionNode":"$La02"}},"descriptionNode":"$La03"}]},"examples":{"settlement_report":{"summary":"Settlement report","value":"$a04"},"custom_report":{"summary":"Custom report (filtered columns)","value":"transaction_id,order_id,payment_created_date,payment_captured_date,payment_method,amount,currency,state,updated_date\n649ae37f-99ca-a7db-a4fb-5924af14ad7c,649ae35c-2558-adea-bf98-3a7156a764e7,2023-06-28T13:20:46.07498Z,2023-06-28T13:30:46.07498Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.07498Z\n649ae3de-e945-af9f-98c8-1d6172e350b5,649ae3ab-3998-ab2b-ad95-41b48346be69,2023-06-28T13:22:46.075569Z,2023-06-28T13:30:46.075569Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.075569Z\n649ae48b-37f6-a097-9cb0-4fc2a89d9e5a,649ae479-d7e8-a139-993b-bf75865c5059,2023-06-28T13:35:46.084289Z,2023-06-28T13:38:46.084289Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:38:46.084289Z"},"payments_report":{"summary":"Payments report","value":"$a05"},"payout_statement_report":{"summary":"Payout statement report","value":"$a06"}}}},"descriptionNode":"$La07"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$La08"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$La09"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$La0a"}}}}},"descriptionNode":"$La0b"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$La0c"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$La0d"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$La0e"}}}}},"descriptionNode":"$La0f"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$La10"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$La11"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$La12"}}}}},"descriptionNode":"$La13"}},"requestBody":"$undefined","variantLabels":["Settlement report","Custom report (filtered columns)","Payments report","Payout statement report"],"children":["$La14","$La15"]}]}],false]}] a14:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"download-report-file","children":[["$La16","$undefined"],["$","$L15",null,{"id":"download-report-file"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/download-report-file.md"}]]}]}],"$undefined"]}] a1b:T8b5,
fetch("https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a1c:Td9d,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
a1d:T6c9,
import requests

url = "https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
a1e:T1541,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a1f:T1461,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a20:T8bd,
fetch("https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a21:Tda5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
a22:T6d1,
import requests

url = "https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"
headers = {
  "Authorization": "__RP_TOK_1__"
}

response = requests.get(url, headers=headers)
print(response.json())
a23:T1549,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"))
      .header("Authorization", "__RP_TOK_1__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a24:T1469,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a15:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$La17",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$La18"},{"name":"report_run_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$La19"},"required":true,"description":"Unique ID of the report run.","descriptionNode":"$La1a"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$33:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a1b","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a1c","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$a1d","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$a1e","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$a1f","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\" \\\n -H \"Authorization: __RP_TOK_1__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\" \\\n  -H \"Authorization: __RP_TOK_1__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a20","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a21","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$a22","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$a23","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/report-runs/__RP_TOK_0__/file\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$a24","tokens":[{"marker":"__RP_TOK_0__","paramName":"report_run_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","path:report_run_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/report-runs/{report_run_id}/file","parameters":["$a15:props:children:0:props:children:1:props:parameters:0","$a15:props:children:0:props:children:1:props:parameters:1"]}],"$La25"],"$La26","$La27"]}]]}] a25:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$La28"}}}] a26:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] a29:T7af,transaction_id,order_id,original_order_id,started_date,updated_date,completed_date,payment_created_date,payment_captured_date,type,state,description,merchant_order_ext_ref,customer_id,amount,currency,settlement_amount,settlement_currency,payment_method,fee_amount,fee_currency,processing_fee_amount,processing_fee_currency,browser_url,location_id 67f66fa6-200c-aaef-8708-cb78366f8a30,67f66f41-3022-a623-827e-e0616c0d04e7,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-09T13:01:26.288638Z,2025-04-10T13:02:09.843018Z,2025-04-10T13:02:09.837719Z,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837719Z,SETTLEMENT,COMPLETED,Summer hat,ORD-2025-0042,,100.00,GBP,99.00,GBP,CARD,1.00,GBP,1.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fb7-300d-bbff-9819-dc89477a9b41,67f67052-4133-b734-938f-f1727d1e15f8,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-10T09:10:00.000000Z,2025-04-10T09:12:00.000000Z,2025-04-10T09:12:00.000000Z,,,REFUND,COMPLETED,Refund for Summer hat,ORD-2025-0042-R1,,25.00,GBP,-25.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fc8-411e-cc10-a92a-ed9a588b0c52,67f67063-5244-c845-a49a-a2838e2f26a9,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-11T08:30:00.000000Z,2025-04-11T08:45:00.000000Z,2025-04-11T08:45:00.000000Z,,,CHARGEBACK,COMPLETED,Chargeback for Summer hat,ORD-2025-0042-CB1,,75.00,GBP,-75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fd9-522f-dd21-ba3b-feab699a1d63,67f67074-6355-d956-b50a-a3949f3a37a0,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-15T10:00:00.000000Z,2025-04-15T10:05:00.000000Z,2025-04-15T10:05:00.000000Z,,,CHARGEBACK_REVERSAL,COMPLETED,Chargeback reversal for Summer hat,ORD-2025-0042-CBR1,,75.00,GBP,75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,a2c:T468,payment_id,type,description,original_payment_id,order_id,state,reason,amount,currency,surcharge_amount,tip_amount,refunded_amount,created_date,captured_date,merchant_order_ext_ref,payment_method,location_id,customer_id,customer_card_number,customer_card_country,customer_card_brand,customer_card_type,customer_card_category,customer_email,fee_amount,fee_currency 67f66fa6-7e98-ae73-9570-50583cec116d,PAYMENT,Payment from customer,,67f66f41-3022-a623-827e-e0616c0d04e7,COMPLETED,,1.00,GBP,,0.00,0.00,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837Z,ORD-2025-0042,CARD,,cust-0001-0000-0000-000000000001,528143******4148,GB,VISA,DEBIT,consumer,customer@example.com,0.01,GBP 6807b0a5-a367-afbf-b31f-353730b788b5,PAYMENT,Payment from customer,,6807b09c-c62a-a656-818e-f071ef67ee36,DECLINED,,10.01,GBP,,0.00,0.00,2025-04-22T15:07:17.352Z,,,PAY_WITH_REVOLUT,,,,,,,,customer@example.com,, 67efa316-db8a-aec6-8eb4-46e47b6ebdc4,PAYMENT,Payment from customer,,67efa305-be19-a456-a6a2-154b218ac386,FAILED,INSUFFICIENT_FUNDS,0.57,USD,,0.00,0.00,2025-04-04T09:15:02.13Z,,,CARD,,,222300******9399,GB,VISA,DEBIT,consumer,customer@example.com,,a2e:T5f7,created_date,completed_date,payout_affected_date,affected_payout_amount,transaction_id,order_id,dispute_id,merchant_order_reference,type,related_icpp_charge_id,transaction_amount,transaction_currency,billing_amount,billing_currency,state,original_transaction_id,original_transaction_amount,original_transaction_currency,original_order_id,original_order_channel,original_merchant_order_reference,fee_amount,fee_currency,settlement_amount,settlement_currency,location_id,location_name,submerchant_id,payout_transfer_reference,payout_total_amount,payout_date 2025-03-25T14:34:05.708899Z,2025-03-26T14:34:38.06903Z,2025-03-26T14:34:38.06903Z,true,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,67e2be76-89c5-ae4f-9103-a152ae6f0584,,ORD-2025-0042,Settlement,,0.57,USD,0.57,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,0.57,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Z 2025-03-25T15:38:45.162946Z,2025-03-26T15:39:58.03824Z,2025-03-26T15:39:58.03824Z,true,67e2ce05-1a16-abeb-b05b-5059073bcdaa,67e2ce00-6665-a52b-9f10-368f886054d7,a81bba54-e3f9-450f-aa50-7aea8e4e5b9a,ORD-2025-0042-CB1,Customer dispute - withdrawal,,-0.40,USD,-0.40,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,-0.40,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Za27:["$","$Lb1",null,{"exampleBlocks":{"200":{"text/csv":{"variants":[{"key":"settlement_report","label":"Settlement report","rawValue":"$a29","block":"$La2a"},{"key":"custom_report","label":"Custom report (filtered columns)","rawValue":"transaction_id,order_id,payment_created_date,payment_captured_date,payment_method,amount,currency,state,updated_date\n649ae37f-99ca-a7db-a4fb-5924af14ad7c,649ae35c-2558-adea-bf98-3a7156a764e7,2023-06-28T13:20:46.07498Z,2023-06-28T13:30:46.07498Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.07498Z\n649ae3de-e945-af9f-98c8-1d6172e350b5,649ae3ab-3998-ab2b-ad95-41b48346be69,2023-06-28T13:22:46.075569Z,2023-06-28T13:30:46.075569Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.075569Z\n649ae48b-37f6-a097-9cb0-4fc2a89d9e5a,649ae479-d7e8-a139-993b-bf75865c5059,2023-06-28T13:35:46.084289Z,2023-06-28T13:38:46.084289Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:38:46.084289Z","block":"$La2b"},{"key":"payments_report","label":"Payments report","rawValue":"$a2c","block":"$La2d"},{"key":"payout_statement_report","label":"Payout statement report","rawValue":"$a2e","block":"$La2f"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$La30"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$La31"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$La32"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] a16:"Download report file" 95a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the ledger transaction in the core settlement system. Matches ",["$","code","code-0",{"children":"transaction_id"}]," in the payout statement report for the same event. Not the same as ",["$","code","code-1",{"children":"payment_id"}]," in the payments report — a payment and its resulting ledger transaction have different UUIDs. Use ",["$","code","code-2",{"children":"order_id"}]," to cross-reference with the payments report."]}]]}] 95b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the order. An order is the top-level entity that groups one or more payment attempts against it. ",["$","code","code-0",{"children":"order_id"}]," is consistent across all report types and can be used to cross-reference between the payments report and the settlement or payout reports."]}]]}] 95c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refunds and chargebacks, the order ID of the original payment that this transaction reverses. Refunds and chargebacks create their own order in the system, so ",["$","code","code-0",{"children":"order_id"}]," refers to the refund or chargeback order while ",["$","code","code-1",{"children":"original_order_id"}]," points back to the original payment's order. For settlement transactions, matches ",["$","code","code-2",{"children":"order_id"}],"."]}]]}] 95d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the row's source record was started. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. This displayed value is separate from the report filter timeframe."}]]}] 95e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the row's source record was last updated. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. This displayed value is separate from the report filter timeframe."}]]}] 95f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the row's source record was completed. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. This displayed value is separate from the report filter timeframe."}]]}] 960:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Payment authorisation or creation timestamp for rows linked to a payment, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," UTC date-time format. Empty for refunds and non-payment-related rows where no payment timestamp applies. This displayed value is separate from the report filter timeframe."]}]]}] 961:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Payment capture timestamp for rows linked to a captured payment, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," UTC date-time format. Empty for refunds, non-payment-related rows, or payments not captured. This displayed value is separate from the report filter timeframe."]}]]}] 962:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the settlement report row."}],"\n",["$","p","p-1",{"children":["A partial-settlement is represented by separate ",["$","code","code-0",{"children":"SETTLEMENT"}]," and ",["$","code","code-1",{"children":"REFUND"}]," rows instead of a dedicated type."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"SETTLEMENT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settlement of a payment into the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"REFUND"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Refund entry reducing the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGEBACK"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Dispute withdrawal entry reducing the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGEBACK_REVERSAL"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reversal of a previous chargeback, restoring funds to the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 963:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of the transaction."}]]}] 964:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Description of the order."}]]}] 965:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."]}]]}] 966:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the customer related to an order."}]]}] 967:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount of the order."}]]}] 968:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code that represents the currency of the order."]}]]}] 969:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount settled on the merchant's account."}]]}] 96a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code that represents the currency of the settled amount."]}]]}] 96b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the payment method the customer used to pay for the order."}]]}] 96c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees)."}]]}] 96d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code that represents the currency of the total fee."]}]]}] 96e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Acquiring markup fee only — a subset of ",["$","code","code-0",{"children":"fee_amount"}],". Represents Revolut's service fee, excluding interchange and scheme fees."]}]]}] 96f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code that represents the currency of the acquiring markup fee."]}]]}] 970:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL where the customer initiated the payment."}]]}] 971:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the location related to the transaction."}]]}] 972:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["CSV output for ",["$","code","code-0",{"children":"settlement_report"}],". Contains settled transactions associated with a Merchant account."]}],"\n",["$","p","p-1",{"children":"The first row is a header row with column names. Subsequent rows contain transaction data, one row per transaction."}],"\n",["$","p","p-2",{"children":["A partial-settlement is represented by separate ",["$","code","code-0",{"children":"SETTLEMENT"}]," and ",["$","code","code-1",{"children":"REFUND"}]," rows instead of a dedicated type."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The actual response is a raw ",["$","code","code-0",{"children":"text/csv"}]," string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field."]}]}]]}]]}] 973:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the ledger transaction in the core settlement system. Matches ",["$","code","code-0",{"children":"transaction_id"}]," in the settlement and payout reports for the same event. Not the same as ",["$","code","code-1",{"children":"payment_id"}]," in the payments report — a payment and its resulting ledger transaction have different UUIDs. Use ",["$","code","code-2",{"children":"order_id"}]," to cross-reference with the payments report."]}]]}] 974:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refund and chargeback transactions, the ledger transaction ID of the original payment that this transaction reverses. Corresponds to ",["$","code","code-0",{"children":"original_transaction_id"}]," in the payout statement report."]}]]}] 975:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Description of the transaction."}]]}] 976:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the order. An order is the top-level entity that groups one or more payment attempts against it. ",["$","code","code-0",{"children":"order_id"}]," is consistent across all report types and can be used to cross-reference between the payments report and the settlement or payout reports."]}]]}] 977:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refunds and chargebacks, the order ID of the original payment that this transaction reverses. Refunds and chargebacks create their own order in the system, so ",["$","code","code-0",{"children":"order_id"}]," refers to the refund or chargeback order while ",["$","code","code-1",{"children":"original_order_id"}]," points back to the original payment's order. For settlement transactions, matches ",["$","code","code-2",{"children":"order_id"}],"."]}]]}] 978:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant's order identifier of the original order for external reference."}]]}] 979:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Description of the order."}]]}] 97a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Channel through which the order was created."}],"\n",["$","p","p-1",{"children":"The value depends on the order source and integration. It may reflect platform-specific or externally provided values, so the set of returned values should not be treated as a fixed enum."}]]}] 97b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Note added by the customer at the time of the order."}]]}] 97c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tip amount set at the order level."}]]}] 97d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Identifier of the user who created the order."}]]}] 97e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Identifier of who initiated the payment."}]]}] 97f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Line items included in the order, if any."}]]}] 980:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the payout that this transaction contributed to. Use to cross-reference with the payout statement report."}]]}] 981:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference of the payout transfer associated with the transaction."}]]}] 982:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Invoice reference associated with the order, if any."}]]}] 983:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the dispute, if applicable."}]]}] 984:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the merchant account."}]]}] 985:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Account balance at the time of the transaction."}]]}] 986:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the row's source record was started. For payment rows, this is the payment start timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction start timestamp. This displayed value is separate from the report filter timeframe."}]]}] 987:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the order was created."}]]}] 988:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the row's source record was last updated. For payment rows, this is the payment update timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction update timestamp. This displayed value is separate from the report filter timeframe."}]]}] 989:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the row's source record was completed. For payment rows, this is the payment completion timestamp. For non-payment rows such as refunds and chargebacks, this is the transaction completion timestamp. This displayed value is separate from the report filter timeframe."}]]}] 98a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Payment authorisation or creation timestamp for rows linked to a payment, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," UTC date-time format. Empty for refunds and non-payment-related rows where no payment timestamp applies. This displayed value is separate from the report filter timeframe."]}]]}] 98b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Payment capture timestamp for rows linked to a captured payment, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," UTC date-time format. Empty for refunds, non-payment-related rows, or payments not captured. This displayed value is separate from the report filter timeframe."]}]]}] 98c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the transaction."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"SETTLEMENT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settlement of a payment into the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"RESERVE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve entry holding funds on the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"REFUND"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Refund entry reducing the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"TOPUP"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Balance top-up entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"TOPUP_RETURN"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reversal of a top-up entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGEBACK"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Dispute withdrawal from the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGEBACK_REVERSAL"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reversal of a previous chargeback.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CREDIT_REIMBURSEMENT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Credit reimbursement entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"FEE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Fee charged against the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"PAYOUT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payout-related ledger entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"TRANSFER"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Balance transfer entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-11",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"REVOLUT_REFUND"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Refund-related entry specific to Revolut internal flows.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"REVOLUT_FEE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Fee-related entry specific to Revolut internal flows.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"WRITE_OFF"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Write-off entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Charge entry posted to the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 98d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legacy type value for backwards compatibility."}]]}] 98e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of the transaction."}]]}] 98f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Description of the transaction."}]]}] 990:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."]}]]}] 991:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the customer related to the order."}]]}] 992:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount of the order."}]]}] 993:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the order."]}]]}] 994:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount settled on the merchant's account."}]]}] 995:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."]}]]}] 996:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Exchange rate applied if currency conversion occurred."}]]}] 997:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount refunded for the order."}]]}] 998:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Statement descriptor shown on the customer's bank statement."}]]}] 999:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tip amount included in the transaction."}]]}] 99a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Surcharge amount applied to the transaction. Omitted when no surcharge applies."}]]}] 99b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Surcharge amount set at the order level."}]]}] 99c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Identifier of the card reader hardware used, for in-person payments."}]]}] 99d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the customer."}]]}] 99e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Email address of the customer."}]]}] 99f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Masked card number used for the payment."}]]}] 9a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Card brand used for the payment. Derived from BIN data. Example values include ",["$","code","code-0",{"children":"VISA"}],", ",["$","code","code-1",{"children":"MASTERCARD"}],", ",["$","code","code-2",{"children":"MASTERCARD_DEBIT"}],", ",["$","code","code-3",{"children":"MAESTRO"}],", ",["$","code","code-4",{"children":"AMEX"}],", ",["$","code","code-5",{"children":"DINERS"}],", ",["$","code","code-6",{"children":"DISCOVER"}],", ",["$","code","code-7",{"children":"JCB"}],"."]}]]}] 9a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card funding type."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"DEBIT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CREDIT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Credit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"PREPAID"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Prepaid card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"DEFERRED_DEBIT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Deferred debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Charge card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card commercial category."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"consumer"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Personal card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"commercial"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Business or corporate card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment method the customer used to pay for the order."}]]}] 9a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total fee amount applied to the order, aggregated across all fee components (acquiring markup + interchange + scheme fees)."}]]}] 9a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the total fee."]}]]}] 9a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Acquiring markup fee only — a subset of ",["$","code","code-0",{"children":"fee_amount"}],". Represents Revolut's service fee, excluding interchange and scheme fees."]}]]}] 9a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the acquiring markup fee."]}]]}] 9a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Foreign exchange fee amount, if applicable."}]]}] 9a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the FX fee."]}]]}] 9aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL where the customer initiated the payment."}]]}] 9ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the beneficiary, for bank transfer payments."}]]}] 9ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Account number of the beneficiary, for bank transfer payments."}]]}] 9ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the location related to the transaction."}]]}] 9ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location related to the transaction."}]]}] 9af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of a custom field set on the order."}]]}] 9b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Value of a custom field set on the order."}]]}] 9b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of an offline payment, if applicable."}]]}] 9b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Authorisation type of the order, for example ",["$","code","code-0",{"children":"FULL"}]," or ",["$","code","code-1",{"children":"PRE_AUTH"}],"."]}]]}] 9b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["CSV output for ",["$","code","code-0",{"children":"custom_report"}]," report type. Contains settled and processing transactions with a configurable set of columns."]}],"\n",["$","p","p-1",{"children":"The first row is a header row with column names. Subsequent rows contain transaction data, one row per transaction."}],"\n",["$","p","p-2",{"children":["The columns included in the response depend on the ",["$","code","code-0",{"children":"options.columns"}]," list specified in the request. If no columns list was provided, all available columns are included."]}],"\n",["$","p","p-3",{"children":["Custom metadata columns can also be requested using the ",["$","code","code-0",{"children":"metadata."}]," prefix, for example ",["$","code","code-1",{"children":"metadata.custom_attribute"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The actual response is a raw ",["$","code","code-0",{"children":"text/csv"}]," string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field."]}]}]]}]]}] 9b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the payment attempt in the acquiring system. Corresponds to ",["$","code","code-0",{"children":"id"}]," in the IC++ fee breakdown report for the same payment. Not the same as ",["$","code","code-1",{"children":"transaction_id"}]," in the settlement or payout reports — a payment and its resulting ledger transaction have different UUIDs. Use ",["$","code","code-2",{"children":"order_id"}]," to cross-reference with the settlement or payout reports."]}]]}] 9b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the payment."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"PAYMENT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A payment attempt made against the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"REFUND"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A refund record reversing a previously completed payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Description of the payment."}]]}] 9b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refunds, the acquiring ID of the original payment that this record reverses. Corresponds to ",["$","code","code-0",{"children":"payment_id"}]," on the original payment row. Populated only when ",["$","code","code-1",{"children":"type"}]," is ",["$","code","code-2",{"children":"REFUND"}],"."]}]]}] 9b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the order associated with this payment. An order can have multiple payment attempts — for example, a retry after a declined payment. Use ",["$","code","code-0",{"children":"order_id"}]," to cross-reference with the settlement or payout reports."]}]]}] 9b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of the payment."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"COMPLETED"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payment completed successfully.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"FAILED"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payment failed during processing.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"DECLINED"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payment was rejected by the issuer or payment flow.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CANCELLED"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payment was cancelled before completion.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"PROCESSING"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payment is still being processed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Reason code for a failed or declined payment. Present only when ",["$","code","code-0",{"children":"state"}]," is ",["$","code","code-1",{"children":"FAILED"}]," or ",["$","code","code-2",{"children":"DECLINED"}],"."]}],"\n",["$","p","p-1",{"children":["Example values: ",["$","code","code-0",{"children":"INSUFFICIENT_FUNDS"}],", ",["$","code","code-1",{"children":"DO_NOT_HONOUR"}],", ",["$","code","code-2",{"children":"EXPIRED_CARD"}],", ",["$","code","code-3",{"children":"INVALID_CVV"}],", ",["$","code","code-4",{"children":"THREE_DS_CHALLENGE_FAILED"}],", ",["$","code","code-5",{"children":"SUSPECTED_FRAUD"}],", ",["$","code","code-6",{"children":"LOST_CARD"}],", ",["$","code","code-7",{"children":"STOLEN_CARD"}],", ",["$","code","code-8",{"children":"TECHNICAL_ERROR"}],"."]}]]}] 9bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount of the payment."}]]}] 9bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the payment."]}]]}] 9bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Surcharge amount applied to the payment. Empty when no surcharge applies — this field is empty, not set to ",["$","code","code-0",{"children":"0"}],"."]}]]}] 9be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tip amount included in the payment, if any."}]]}] 9bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount refunded for the payment."}]]}] 9c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the payment was created."}]]}] 9c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Date and time the payment was captured, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," UTC date-time format. Empty when the payment has not been captured."]}]]}] 9c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."]}]]}] 9c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment method used."}]]}] 9c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the location where the payment was made."}]]}] 9c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the customer."}]]}] 9c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Masked card number used for the payment."}]]}] 9c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Country of the card used for the payment, as an ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-1 alpha-2"}]," code."]}]]}] 9c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Card brand used for the payment. Derived from BIN data. Example values include ",["$","code","code-0",{"children":"VISA"}],", ",["$","code","code-1",{"children":"MASTERCARD"}],", ",["$","code","code-2",{"children":"MASTERCARD_DEBIT"}],", ",["$","code","code-3",{"children":"MAESTRO"}],", ",["$","code","code-4",{"children":"AMEX"}],", ",["$","code","code-5",{"children":"DINERS"}],", ",["$","code","code-6",{"children":"DISCOVER"}],", ",["$","code","code-7",{"children":"JCB"}],"."]}]]}] 9c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card funding type."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"DEBIT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CREDIT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Credit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"PREPAID"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Prepaid card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"DEFERRED_DEBIT"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Deferred debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CHARGE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Charge card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card commercial category."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"consumer"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Personal card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"commercial"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Business or corporate card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Email address of the customer."}]]}] 9cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total fee amount charged for the payment. Omitted for failed and declined payments."}]]}] 9cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the fee. Omitted for failed and declined payments."]}]]}] 9ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["CSV output for ",["$","code","code-0",{"children":"payments_report"}]," report type. Contains all payments including failed and declined ones."]}],"\n",["$","p","p-1",{"children":"The first row is a header row with column names. Subsequent rows contain payment data, one row per payment."}],"\n",["$","p","p-2",{"children":["For failed and declined payments, ",["$","code","code-0",{"children":"fee_amount"}]," and ",["$","code","code-1",{"children":"fee_currency"}]," are omitted. For payments made without a card, card-related columns are omitted."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The actual response is a raw ",["$","code","code-0",{"children":"text/csv"}]," string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field."]}]}]]}]]}] 9cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the transaction was created."}]]}] 9d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the transaction was completed."}]]}] 9d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the payout was affected by this transaction."}]]}] 9d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Indicates whether this transaction contributed to the payout amount (",["$","code","code-0",{"children":"true"}],") or not (",["$","code","code-1",{"children":"false"}],")."]}],"\n",["$","p","p-1",{"children":"Note: despite the name implying a monetary amount, this field is a boolean flag. A rename is planned for a future API version."}]]}] 9d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the ledger transaction in the core settlement system. Matches ",["$","code","code-0",{"children":"transaction_id"}]," in the settlement report for the same event. Use ",["$","code","code-1",{"children":"order_id"}]," to cross-reference with the payments report."]}]]}] 9d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the order associated with this transaction. Use ",["$","code","code-0",{"children":"order_id"}]," to cross-reference with the payments report or settlement report."]}]]}] 9d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the dispute associated with a chargeback or chargeback reversal transaction. Empty for rows not related to a dispute."}]]}] 9d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."]}]]}] 9d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the transaction."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Settlement"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Settlement of a payment into the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Refund"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Refund entry reducing the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"External transfer money return"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Return of an external transfer entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Topup"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Balance top-up entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Topup Return"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reversal of a top-up entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Customer dispute - withdrawal"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Chargeback or dispute withdrawal from the merchant balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-6",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Customer dispute - won"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reversal of a previous dispute withdrawal.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-7",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Transfer from linked pocket"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Transfer from a linked balance pocket.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-8",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Automatic negative balance recovery"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Automatic recovery entry for a negative balance.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-9",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payout-related ledger entry.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-10",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout to an external account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Transfer of payout funds to an external account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-11",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Transfer from linked pocket with FX"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Transfer from a linked pocket involving FX conversion.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-12",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Payout with FX"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payout-related entry involving FX conversion.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-13",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Money reserve block"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve block entry withholding funds.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"$La33","$La34","$La35","$La36"],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the IC++ charge related to the transaction, if applicable."}]]}] 9da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount of the transaction in the transaction currency."}]]}] 9db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the transaction."]}]]}] 9dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount of the transaction in the billing currency."}]]}] 9dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the billing amount."]}]]}] 9de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of the transaction."}]]}] 9df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refunds and chargebacks, the ledger transaction ID of the original payment that this transaction reverses. Corresponds to ",["$","code","code-0",{"children":"transaction_id"}]," on the original settlement row."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Populated only for reversal-type rows — for example, when ",["$","code","code-0",{"children":"type"}]," is ",["$","code","code-1",{"children":"Refund"}]," or ",["$","code","code-2",{"children":"Customer dispute - withdrawal"}],"."]}]}]]}]]}] 9e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount of the original transaction."}]]}] 9e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the original transaction."]}]]}] 9e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refunds and chargebacks, the order ID of the original payment that this transaction reverses. Refunds and chargebacks create their own order in the system, so ",["$","code","code-0",{"children":"order_id"}]," refers to the refund or chargeback order while ",["$","code","code-1",{"children":"original_order_id"}]," points back to the original payment's order. For settlement transactions, matches ",["$","code","code-2",{"children":"order_id"}],"."]}]]}] 9e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Channel through which the original order was created."}],"\n",["$","p","p-1",{"children":"The value depends on the original order source and integration. It may reflect platform-specific or externally provided values, so the set of returned values should not be treated as a fixed enum."}]]}] 9e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant's order reference for the original order. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the original order was created."]}]]}] 9e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total fee amount charged for the transaction."}]]}] 9e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the fee."]}]]}] 9e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount settled on the merchant's account."}]]}] 9e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."]}]]}] 9e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the location associated with the transaction."}]]}] 9ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Name of the location associated with the transaction."}]]}] 9eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier of the submerchant associated with the transaction."}]]}] 9ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference of the bank transfer for this payout. This value is the same across all rows in the report, as each report covers a single payout."}]]}] 9ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount of this payout. This value is the same across all rows in the report, as each report covers a single payout."}]]}] 9ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Date and time the payout covered by this report was created, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," UTC date-time format. This value is the same across all rows in the report, as each report covers a single payout."]}]]}] 9ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["CSV output for ",["$","code","code-0",{"children":"payout_statement_report"}]," report type. Contains all transactions that contributed to a specific payout."]}],"\n",["$","p","p-1",{"children":"The first row is a header row with column names. Subsequent rows contain transaction data, one row per transaction."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The actual response is a raw ",["$","code","code-0",{"children":"text/csv"}]," string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field."]}]}]]}]]}] 9f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unique identifier of the payment in the acquiring system. Corresponds to ",["$","code","code-0",{"children":"payment_id"}]," in the payments report for the same payment."]}]]}] 9f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Date and time the payment was created."}]]}] 9f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the IC++ transaction."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"SALE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Fee breakdown for a payment sale.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"REFUND"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Fee breakdown for a refund.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"DISPUTE"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Fee breakdown for a dispute-related transaction.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 9f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Transaction amount."}]]}] 9f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the transaction."]}]]}] 9f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount settled on the merchant's account."}]]}] 9f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code of the settled amount."]}]]}] 9f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Payment method used. Returns ",["$","code","code-0",{"children":"REVOLUT_PAY"}]," for Revolut Pay, or the card scheme name for card payments."]}]]}] 9f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card BIN scheme."}]]}] 9f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card funding type."}]]}] 9fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Description of the order."}]]}] 9fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Merchant's order reference. The value of the ",["$","code","code-0",{"children":"merchant_order_data.reference"}]," field set when the order was created."]}]]}] 9fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["For refunds and disputes, the acquiring ID of the original payment. Corresponds to ",["$","code","code-0",{"children":"original_payment_id"}]," in the payments report."]}]]}] 9fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"IC++ acquiring markup fee component."}]]}] 9fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Interchange fee component. Omitted for Revolut Pay transactions."}]]}] 9ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card scheme fee component. Omitted for Revolut Pay transactions."}]]}] a00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card commercial category."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"COMMERCIAL"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Business or corporate card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"CONSUMER"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Personal card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] a01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Channel through which the order was created."}]]}] a02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Country of the card, as an ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-1 alpha-2"}]," code."]}]]}] a03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["CSV output for ",["$","code","code-0",{"children":"icpp_fee_breakdown_report"}]," report type. Contains IC++ fee components broken down per transaction for a specific IC++ charge."]}],"\n",["$","p","p-1",{"children":"The first row is a header row with column names. Subsequent rows contain one row per transaction."}],"\n",["$","p","p-2",{"children":[["$","code","code-0",{"children":"card_interchange_fee_amount"}]," and ",["$","code","code-1",{"children":"card_scheme_fee_amount"}]," are omitted for Revolut Pay transactions."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["The actual response is a raw ",["$","code","code-0",{"children":"text/csv"}]," string. The object schema below is a documentation convention only: OpenAPI's schema language (JSON Schema) describes JSON data shapes and has no native construct for typed CSV columns, so each property here corresponds to a CSV column header rather than a JSON field."]}],["$","p","p-1",{"children":[["$","code","code-0",{"children":"payment_method"}]," in this report returns ",["$","code","code-1",{"children":"REVOLUT_PAY"}]," for Revolut Pay transactions. Other reports use ",["$","code","code-2",{"children":"PAY_WITH_REVOLUT"}]," for the same payment method."]}]]}]]}]]}] a07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] a08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] a09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] a0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] a0b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] a0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] a0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] a0e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] a0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] a10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] a11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] a12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] a13:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] a17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Use this endpoint to download the generated report file."}],"\n",["$","p","p-1",{"children":["A generated report file is available for 24 hours after report generation finishes. After that, the report run becomes ",["$","code","code-0",{"children":"expired"}]," and the file can no longer be downloaded."]}],"\n",["$","p","p-2",{"children":["The response is a raw ",["$","code","code-0",{"children":"text/csv"}]," file. The first row contains the column headers. The columns included depend on the report type used when creating the report run, and the ",["$","code","code-1",{"children":"options.columns"}]," list if specified."]}],"\n",["$","h3","h3-0",{"children":"IDs across report types"}],"\n",["$","p","p-3",{"children":"Revolut uses two separate ID systems across report types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"ID column","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"System","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Report types","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":[["$","code","code-0",{"children":"payment_id"}],", ",["$","code","code-1",{"children":"id"}]],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","strong","strong-0",{"children":"Acquiring system"}]," - identifies a payment attempt"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":[["$","code","code-0",{"children":"payments_report"}],", ",["$","code","code-1",{"children":"icpp_fee_breakdown_report"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"transaction_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","strong","strong-0",{"children":"Core ledger"}]," - identifies the settlement entry created when a payment is captured"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":[["$","code","code-0",{"children":"settlement_report"}],", ",["$","code","code-1",{"children":"payout_statement_report"}],", ",["$","code","code-2",{"children":"custom_report"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"order_id"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","strong","strong-0",{"children":"Both systems"}]," - bridges the acquiring and ledger perspectives"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":[["$","code","code-0",{"children":"settlement_report"}],", ",["$","code","code-1",{"children":"payments_report"}],", ",["$","code","code-2",{"children":"payout_statement_report"}],", ",["$","code","code-3",{"children":"custom_report"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["A payment and its resulting ledger transaction represent the same event but have ",["$","strong","strong-0",{"children":"different UUIDs"}],". To reconcile ",["$","code","code-0",{"children":"payments_report"}]," data against ",["$","code","code-1",{"children":"settlement_report"}]," data, join on ",["$","code","code-2",{"children":"order_id"}],"."]}]}]]}],"\n",["$","p","p-4",{"children":"Use the schema selector below to see the available columns for each report type."}]]}] a18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] a19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] a1a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID of the report run."}]]}] a33:["$","tr","tr-14",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Money reserve unblock"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Release of previously blocked reserve funds.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] a34:["$","tr","tr-15",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"IC++ post-billing fee"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"IC++ fee charged after billing.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] a35:["$","tr","tr-16",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Fee refund"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reversal of a previously charged fee.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] a36:["$","tr","tr-17",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"Unrecognised transaction"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Transaction that does not map to a more specific category.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] a28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$La37","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] a38:T2275,
transaction_id,order_id,original_order_id,started_date,updated_date,completed_date,payment_created_date,payment_captured_date,type,state,description,merchant_order_ext_ref,customer_id,amount,currency,settlement_amount,settlement_currency,payment_method,fee_amount,fee_currency,processing_fee_amount,processing_fee_currency,browser_url,location_id
67f66fa6-200c-aaef-8708-cb78366f8a30,67f66f41-3022-a623-827e-e0616c0d04e7,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-09T13:01:26.288638Z,2025-04-10T13:02:09.843018Z,2025-04-10T13:02:09.837719Z,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837719Z,SETTLEMENT,COMPLETED,Summer hat,ORD-2025-0042,,100.00,GBP,99.00,GBP,CARD,1.00,GBP,1.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,
67f66fb7-300d-bbff-9819-dc89477a9b41,67f67052-4133-b734-938f-f1727d1e15f8,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-10T09:10:00.000000Z,2025-04-10T09:12:00.000000Z,2025-04-10T09:12:00.000000Z,,,REFUND,COMPLETED,Refund for Summer hat,ORD-2025-0042-R1,,25.00,GBP,-25.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,
67f66fc8-411e-cc10-a92a-ed9a588b0c52,67f67063-5244-c845-a49a-a2838e2f26a9,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-11T08:30:00.000000Z,2025-04-11T08:45:00.000000Z,2025-04-11T08:45:00.000000Z,,,CHARGEBACK,COMPLETED,Chargeback for Summer hat,ORD-2025-0042-CB1,,75.00,GBP,-75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,
67f66fd9-522f-dd21-ba3b-feab699a1d63,67f67074-6355-d956-b50a-a3949f3a37a0,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-15T10:00:00.000000Z,2025-04-15T10:05:00.000000Z,2025-04-15T10:05:00.000000Z,,,CHARGEBACK_REVERSAL,COMPLETED,Chargeback reversal for Summer hat,ORD-2025-0042-CBR1,,75.00,GBP,75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,
a2a:["$","div","200-text/csv-settlement_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a38"}}]}]],"$La39"]}] a3a:Tca5,
transaction_id,order_id,payment_created_date,payment_captured_date,payment_method,amount,currency,state,updated_date
649ae37f-99ca-a7db-a4fb-5924af14ad7c,649ae35c-2558-adea-bf98-3a7156a764e7,2023-06-28T13:20:46.07498Z,2023-06-28T13:30:46.07498Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.07498Z
649ae3de-e945-af9f-98c8-1d6172e350b5,649ae3ab-3998-ab2b-ad95-41b48346be69,2023-06-28T13:22:46.075569Z,2023-06-28T13:30:46.075569Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.075569Z
649ae48b-37f6-a097-9cb0-4fc2a89d9e5a,649ae479-d7e8-a139-993b-bf75865c5059,2023-06-28T13:35:46.084289Z,2023-06-28T13:38:46.084289Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:38:46.084289Z
a2b:["$","div","200-text/csv-custom_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a3a"}}]}]],"$La3b"]}] a3c:T7af,transaction_id,order_id,original_order_id,started_date,updated_date,completed_date,payment_created_date,payment_captured_date,type,state,description,merchant_order_ext_ref,customer_id,amount,currency,settlement_amount,settlement_currency,payment_method,fee_amount,fee_currency,processing_fee_amount,processing_fee_currency,browser_url,location_id 67f66fa6-200c-aaef-8708-cb78366f8a30,67f66f41-3022-a623-827e-e0616c0d04e7,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-09T13:01:26.288638Z,2025-04-10T13:02:09.843018Z,2025-04-10T13:02:09.837719Z,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837719Z,SETTLEMENT,COMPLETED,Summer hat,ORD-2025-0042,,100.00,GBP,99.00,GBP,CARD,1.00,GBP,1.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fb7-300d-bbff-9819-dc89477a9b41,67f67052-4133-b734-938f-f1727d1e15f8,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-10T09:10:00.000000Z,2025-04-10T09:12:00.000000Z,2025-04-10T09:12:00.000000Z,,,REFUND,COMPLETED,Refund for Summer hat,ORD-2025-0042-R1,,25.00,GBP,-25.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fc8-411e-cc10-a92a-ed9a588b0c52,67f67063-5244-c845-a49a-a2838e2f26a9,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-11T08:30:00.000000Z,2025-04-11T08:45:00.000000Z,2025-04-11T08:45:00.000000Z,,,CHARGEBACK,COMPLETED,Chargeback for Summer hat,ORD-2025-0042-CB1,,75.00,GBP,-75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4, 67f66fd9-522f-dd21-ba3b-feab699a1d63,67f67074-6355-d956-b50a-a3949f3a37a0,67f66f41-3022-a623-827e-e0616c0d04e7,2025-04-15T10:00:00.000000Z,2025-04-15T10:05:00.000000Z,2025-04-15T10:05:00.000000Z,,,CHARGEBACK_REVERSAL,COMPLETED,Chargeback reversal for Summer hat,ORD-2025-0042-CBR1,,75.00,GBP,75.00,GBP,CARD,0.00,GBP,0.00,GBP,https://sandbox-checkout.revolut.com/payment-link/1ae44a1c-3ea8-47ac-b736-7d7d4c992bb4,a39:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$a3c"}]}] a3b:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transaction_id,order_id,payment_created_date,payment_captured_date,payment_method,amount,currency,state,updated_date\n649ae37f-99ca-a7db-a4fb-5924af14ad7c,649ae35c-2558-adea-bf98-3a7156a764e7,2023-06-28T13:20:46.07498Z,2023-06-28T13:30:46.07498Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.07498Z\n649ae3de-e945-af9f-98c8-1d6172e350b5,649ae3ab-3998-ab2b-ad95-41b48346be69,2023-06-28T13:22:46.075569Z,2023-06-28T13:30:46.075569Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:30:46.075569Z\n649ae48b-37f6-a097-9cb0-4fc2a89d9e5a,649ae479-d7e8-a139-993b-bf75865c5059,2023-06-28T13:35:46.084289Z,2023-06-28T13:38:46.084289Z,PAY_WITH_REVOLUT,0.05,GBP,COMPLETED,2023-06-28T13:38:46.084289Z"}]}] a3d:T1bfa,
payment_id,type,description,original_payment_id,order_id,state,reason,amount,currency,surcharge_amount,tip_amount,refunded_amount,created_date,captured_date,merchant_order_ext_ref,payment_method,location_id,customer_id,customer_card_number,customer_card_country,customer_card_brand,customer_card_type,customer_card_category,customer_email,fee_amount,fee_currency
67f66fa6-7e98-ae73-9570-50583cec116d,PAYMENT,Payment from customer,,67f66f41-3022-a623-827e-e0616c0d04e7,COMPLETED,,1.00,GBP,,0.00,0.00,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837Z,ORD-2025-0042,CARD,,cust-0001-0000-0000-000000000001,528143******4148,GB,VISA,DEBIT,consumer,customer@example.com,0.01,GBP
6807b0a5-a367-afbf-b31f-353730b788b5,PAYMENT,Payment from customer,,6807b09c-c62a-a656-818e-f071ef67ee36,DECLINED,,10.01,GBP,,0.00,0.00,2025-04-22T15:07:17.352Z,,,PAY_WITH_REVOLUT,,,,,,,,customer@example.com,,
67efa316-db8a-aec6-8eb4-46e47b6ebdc4,PAYMENT,Payment from customer,,67efa305-be19-a456-a6a2-154b218ac386,FAILED,INSUFFICIENT_FUNDS,0.57,USD,,0.00,0.00,2025-04-04T09:15:02.13Z,,,CARD,,,222300******9399,GB,VISA,DEBIT,consumer,customer@example.com,,
a2d:["$","div","200-text/csv-payments_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a3d"}}]}]],"$La3e"]}] a3f:T1b7c,
created_date,completed_date,payout_affected_date,affected_payout_amount,transaction_id,order_id,dispute_id,merchant_order_reference,type,related_icpp_charge_id,transaction_amount,transaction_currency,billing_amount,billing_currency,state,original_transaction_id,original_transaction_amount,original_transaction_currency,original_order_id,original_order_channel,original_merchant_order_reference,fee_amount,fee_currency,settlement_amount,settlement_currency,location_id,location_name,submerchant_id,payout_transfer_reference,payout_total_amount,payout_date
2025-03-25T14:34:05.708899Z,2025-03-26T14:34:38.06903Z,2025-03-26T14:34:38.06903Z,true,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,67e2be76-89c5-ae4f-9103-a152ae6f0584,,ORD-2025-0042,Settlement,,0.57,USD,0.57,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,0.57,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Z
2025-03-25T15:38:45.162946Z,2025-03-26T15:39:58.03824Z,2025-03-26T15:39:58.03824Z,true,67e2ce05-1a16-abeb-b05b-5059073bcdaa,67e2ce00-6665-a52b-9f10-368f886054d7,a81bba54-e3f9-450f-aa50-7aea8e4e5b9a,ORD-2025-0042-CB1,Customer dispute - withdrawal,,-0.40,USD,-0.40,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,-0.40,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Z
a2f:["$","div","200-text/csv-payout_statement_report",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a3f"}}]}]],"$La40"]}] a41:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
a30:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a41"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] a42:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
a31:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a42"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] a43:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
a32:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$a43"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] a44:T468,payment_id,type,description,original_payment_id,order_id,state,reason,amount,currency,surcharge_amount,tip_amount,refunded_amount,created_date,captured_date,merchant_order_ext_ref,payment_method,location_id,customer_id,customer_card_number,customer_card_country,customer_card_brand,customer_card_type,customer_card_category,customer_email,fee_amount,fee_currency 67f66fa6-7e98-ae73-9570-50583cec116d,PAYMENT,Payment from customer,,67f66f41-3022-a623-827e-e0616c0d04e7,COMPLETED,,1.00,GBP,,0.00,0.00,2025-04-09T13:01:26.186Z,2025-04-10T13:02:09.837Z,ORD-2025-0042,CARD,,cust-0001-0000-0000-000000000001,528143******4148,GB,VISA,DEBIT,consumer,customer@example.com,0.01,GBP 6807b0a5-a367-afbf-b31f-353730b788b5,PAYMENT,Payment from customer,,6807b09c-c62a-a656-818e-f071ef67ee36,DECLINED,,10.01,GBP,,0.00,0.00,2025-04-22T15:07:17.352Z,,,PAY_WITH_REVOLUT,,,,,,,,customer@example.com,, 67efa316-db8a-aec6-8eb4-46e47b6ebdc4,PAYMENT,Payment from customer,,67efa305-be19-a456-a6a2-154b218ac386,FAILED,INSUFFICIENT_FUNDS,0.57,USD,,0.00,0.00,2025-04-04T09:15:02.13Z,,,CARD,,,222300******9399,GB,VISA,DEBIT,consumer,customer@example.com,,a3e:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$a44"}]}] a45:T5f7,created_date,completed_date,payout_affected_date,affected_payout_amount,transaction_id,order_id,dispute_id,merchant_order_reference,type,related_icpp_charge_id,transaction_amount,transaction_currency,billing_amount,billing_currency,state,original_transaction_id,original_transaction_amount,original_transaction_currency,original_order_id,original_order_channel,original_merchant_order_reference,fee_amount,fee_currency,settlement_amount,settlement_currency,location_id,location_name,submerchant_id,payout_transfer_reference,payout_total_amount,payout_date 2025-03-25T14:34:05.708899Z,2025-03-26T14:34:38.06903Z,2025-03-26T14:34:38.06903Z,true,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,67e2be76-89c5-ae4f-9103-a152ae6f0584,,ORD-2025-0042,Settlement,,0.57,USD,0.57,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,0.57,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Z 2025-03-25T15:38:45.162946Z,2025-03-26T15:39:58.03824Z,2025-03-26T15:39:58.03824Z,true,67e2ce05-1a16-abeb-b05b-5059073bcdaa,67e2ce00-6665-a52b-9f10-368f886054d7,a81bba54-e3f9-450f-aa50-7aea8e4e5b9a,ORD-2025-0042-CB1,Customer dispute - withdrawal,,-0.40,USD,-0.40,USD,COMPLETED,67e2bedd-0e79-a8ea-ac4c-e9fd13693286,0.57,USD,67e2be76-89c5-ae4f-9103-a152ae6f0584,API,ORD-2025-0042,0.00,USD,-0.40,USD,4a0f98a6-0f61-4e85-9ef0-7e5d0cb92ef0,Store London,,Revolut USD payout 2025-03-26 MerchantName,0.17,2025-03-26T15:00:00Za40:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$a45"}]}] a37:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] a4f:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::a56:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::a86:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).a98:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).aaa:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).abc:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).ac2:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).ae1:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::b46:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::19:["$","$5e","retrieve-order",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Order retrieved","content":{"application/json":{"schema":{"title":"Order v2","type":"object","description":"To process the order from a credit or debit card, you create an `Order` object. You can then retrieve, capture, cancel, refund, or pay an order using its unique `id`. Alternatively, you can use its unique `token` to process a card payment with the Revolut Checkout Widget.","properties":{"id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$La46"},"token":{"type":"string","description":"Temporary ID for the order, which expires when the payment is authorised.\n\nThe order `token` is used for [token-based initialisation](https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based), and is returned by the `createOrder` callback in the following payment methods:\n\n- [Embedded Checkout](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface)\n- [Revolut Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options)\n- [Apple Pay and Google Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface)\n- [Pay by Bank](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface)","descriptionNode":"$La47"},"type":{"type":"string","description":"The type of the order.","enum":["payment","payment_request","refund","chargeback","chargeback_reversal","credit_reimbursement"],"descriptionNode":"$La48"},"state":{"type":"string","description":"The state of the order in its lifecycle.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Order created, awaiting payment |\n| `processing` | Payment is being processed |\n| `authorised` | Payment authorised but not yet captured (for manual capture) |\n| `completed` | Payment successfully captured and settled |\n| `cancelled` | Order was cancelled |\n| `failed` | Payment failed |\n\n:::info\nFor more information, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle)\n:::","enum":["pending","processing","authorised","completed","cancelled","failed"],"examples":["authorised"],"descriptionNode":"$La49"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$La4a"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$La4b"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$La4c"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":["automatic","manual"],"descriptionNode":"$La4d"},"authorisation_type":{"type":"string","description":"The type of authorisation for the order. Used with manual capture mode. If omitted, `final` is used by default.\n\n### Pre-authorisation\n\nPre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:\n\n- Hotel bookings where the final amount may vary\n- Car rentals where additional charges may apply\n- Deposits that need to be held temporarily\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `final` | Standard authorisation for immediate or near-immediate capture. |\n| `pre_authorisation` | Reserve funds for later capture, used with manual capture mode. |\n\n:::note\nPre-authorisation must be used with `capture_mode: manual`. For more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"final","enum":["final","pre_authorisation"],"descriptionNode":"$La4e"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$a4f","descriptionNode":"$La50"},"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$La51"},"outstanding_amount":{"type":"integer","description":"The amount not yet paid for a given order (in minor currency units). For example, `7034` represents €70.34. \n\nThe value in this field may differ from `amount` if there are partial payments associated with the order.","descriptionNode":"$La52"},"refunded_amount":{"type":"integer","description":"The amount that was refunded from the order (in minor currency units). For example, `7034` represents €70.34. \n\nThis applies to orders that have been refunded (i.e., orders of type `payment` that have a related `refund` order).","descriptionNode":"$La53"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$La54"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$La55"},"customer":{"type":"object","description":"$a56","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$La57"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$La58"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$La59"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$La5a"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$La5b"}},"descriptionNode":"$La5c"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$La5d"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$La5e"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$La5f"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$La60"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$La61"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$La62"}},"required":["country_code","postcode"],"descriptionNode":"$La63"},"payments":{"type":"array","description":"The details of all the payments that have been made towards this order (successful or unsuccessful).","items":{"type":"object","description":"Represents a payment for an order.\n\nFor pre-authorised payments, the `authorised_amount` field tracks the currently authorised amount, which may differ from `amount` during incremental authorisation processing.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$La64"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$La65"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$La66"},"bank_message":{"type":"string","description":"The reason for a `failed` or `declined` payment, sent by the financial institution processing the payment.","descriptionNode":"$La67"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment was created.","descriptionNode":"$La68"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment was last updated.","descriptionNode":"$La69"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$La6a"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$La6b"},"authorised_amount":{"type":"integer","description":"The currently authorised amount for this payment (in minor units).\n\nFor pre-authorised payments with incremental authorization:\n- Initially equals the `amount` field\n- Remains unchanged during increment processing\n- Updates to new amount upon successful increment\n- Remains at original amount if increment is declined\n\nFor standard payments, this field may not be present or will equal the `amount` field.","examples":[600],"descriptionNode":"$La6c"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$La6d"},"settled_amount":{"type":"integer","description":"The amount of the settled payment (minor currency unit). For example, `7034` stands for €70.34.","descriptionNode":"$La6e"},"settled_currency":{"type":"string","description":"The currency of the settled payment. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$La6f"},"payment_method":{"type":"object","description":"The details of the payment method used to make the payment.","discriminator":{"propertyName":"type","mapping":{"apple_pay":"#/components/schemas/Apple-Pay","card":"#/components/schemas/Card","google_pay":"#/components/schemas/Google-Pay","revolut_pay_card":"#/components/schemas/Revolut-Pay-Card","revolut_pay_account":"#/components/schemas/Revolut-Pay-Account","sepa_direct_debit":"#/components/schemas/Sepa-Direct-Debit"}},"oneOf":[{"type":"object","description":"Object containing details of a card used via Apple Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$La70"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$La71"},"card_brand":{"type":"string","description":"The type of the card.","enum":["visa","mastercard","american_express"],"descriptionNode":"$La72"},"funding":{"type":"string","description":"The type of card funding.","enum":["credit","debit","prepaid"],"descriptionNode":"$La73"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$La74"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$La75"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$La76"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$La77"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$La78"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":{"type":"object","description":"The details of the 3D Secure check. Only for orders with successful payments.\n\n:::note\nNot returned for Apple Pay and Google Pay payments.\n:::","properties":{"eci":{"type":"string","description":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided.","descriptionNode":"$La79"},"state":{"type":"string","description":"The result of 3D Secure check.","enum":["verified","failed","challenge"],"descriptionNode":"$La7a"},"version":{"type":"integer","description":"The 3D Secure version.","descriptionNode":"$La7b"}},"descriptionNode":"$La7c"},"cvv_verification":{"type":"string","description":"The result of CVV verification.\n\n| Parameter value | Description |\n| ----- | ----------- |\n| `match` | CVV matches the card's CVV |\n| `not_match` | CVV does not match the card's CVV |\n| `incorrect` | CVV format is incorrect for this type of card |\n| `not_processed` | CVV verification was not performed |","enum":["match","not_match","incorrect","not_processed"],"descriptionNode":"$La7d"},"address":{"type":"string","description":"The result of address verification.","enum":["match","not_match","n_a","invalid"],"descriptionNode":"$La7e"},"postcode":{"type":"string","description":"The result of postcode verification.","enum":["match","not_match","n_a","invalid"],"descriptionNode":"$La7f"},"cardholder":{"type":"string","description":"The result of cardholder verification.","enum":["match","not_match","n_a","invalid"],"descriptionNode":"$La80"}},"descriptionNode":"$La81"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":["T483XF"],"descriptionNode":"$La82"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":["74839572049583726403928"],"descriptionNode":"$La83"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$La84"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$La85"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$a86","examples":["1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY="],"descriptionNode":"$La87"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$La88"}},"required":["type"],"descriptionNode":"$La89"},{"type":"object","description":"Object containing details of the card used for the payment.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$La8a"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$La8b"},"card_brand":{"type":"string","description":"The type of the card.","enum":["visa","mastercard","american_express"],"descriptionNode":"$La8c"},"funding":{"type":"string","description":"The type of card funding.","enum":["credit","debit","prepaid"],"descriptionNode":"$La8d"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$La8e"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$La8f"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$La90"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$La91"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$La92"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$La93"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$La94"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$La95"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$La96"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$La97"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$a98","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$La99"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$La9a"}},"required":["type"],"descriptionNode":"$La9b"},{"type":"object","description":"Object containing details of a card used via Google Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$La9c"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$La9d"},"card_brand":{"type":"string","description":"The type of the card.","enum":["visa","mastercard","american_express"],"descriptionNode":"$La9e"},"funding":{"type":"string","description":"The type of card funding.","enum":["credit","debit","prepaid"],"descriptionNode":"$La9f"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Laa0"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Laa1"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Laa2"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Laa3"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Laa4"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Laa5"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Laa6"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Laa7"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Laa8"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Laa9"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$aaa","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Laab"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Laac"}},"required":["type"],"descriptionNode":"$Laad"},{"type":"object","description":"Object containing details of a card used via Revolut Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Laae"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Laaf"},"card_brand":{"type":"string","description":"The type of the card.","enum":["visa","mastercard","american_express"],"descriptionNode":"$Lab0"},"funding":{"type":"string","description":"The type of card funding.","enum":["credit","debit","prepaid"],"descriptionNode":"$Lab1"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lab2"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lab3"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lab4"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lab5"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lab6"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Lab7"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Lab8"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Lab9"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Laba"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Labb"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$abc","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Labd"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Labe"}},"required":["type"],"descriptionNode":"$Labf"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lac0"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lac1"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$ac2","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lac3"}},"required":["type"]},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$Lac4"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lac5"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$Lac6"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$Lac7"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$Lac8"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$Lac9"}],"descriptionNode":"$Laca"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Lacb"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$Lacc"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$Lacd"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Lace"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$Lacf"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$Lad0"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$Lad1"}],"descriptionNode":"$Lad2"},"billing_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_1","street_line_2":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_2","region":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:region","city":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:city","country_code":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:country_code","postcode":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:postcode"},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Lad3"},"risk_level":{"type":"string","description":"The risk level of the card.\n\nIf the risk level is `high`, the payment might be declined.","enum":["low","high"],"descriptionNode":"$Lad4"},"fees":{"type":"array","description":"The details of the order fee.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the order fee.","enum":["fx","acquiring"],"descriptionNode":"$Lad5"},"amount":{"type":"integer","description":"The amount of the payment fee (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$Lad6"},"currency":{"type":"string","description":"The currency of the payment fee. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lad7"}}},"descriptionNode":"$Lad8"},"payer":{"title":"Payer","type":"object","description":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow.\n\nCapturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters.","properties":{"email":{"description":"The email of the person who made the payment.","type":"string","format":"email","descriptionNode":"$Lad9"},"phone":{"description":"The phone number of the payer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","type":"string","descriptionNode":"$Lada"}},"descriptionNode":"$Ladb"}},"required":["id","state","created_at","updated_at","amount"],"descriptionNode":"$Ladc"},"descriptionNode":"$Ladd"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$Lade"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$Ladf"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$Lae0"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":{"propertyName":"type","mapping":{"airline":"#/components/schemas/Airline-Data","crypto":"#/components/schemas/Crypto-Transactions","marketplace":"#/components/schemas/Marketplace","event":"#/components/schemas/Events","lodging":"#/components/schemas/Lodging"}},"oneOf":[{"type":"object","description":"$ae1","properties":{"type":{"type":"string","enum":["airline","car_rental","crypto","event","lodging","marketplace"],"description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lae2"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lae3"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$Lae4"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$Lae5"},"ticket_type":{"type":"string","enum":["fixed","flexible"],"description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lae6"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$Lae7"},"ticket_change_indicator":{"type":"string","enum":["new","modification"],"description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$Lae8"},"refundability":{"type":"string","enum":["refundable","non_refundable","partially_refundable"],"description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lae9"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$Laea"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$Laeb"}},"required":["first_name","last_name"]},"descriptionNode":"$Laec"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$Laed"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$Laee"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$Laef"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$Laf0"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$Laf1"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$Laf2"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$Laf3"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$Laf4"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$Laf5"}},"required":["sequence","departure_airport_code","arrival_airport_code","travel_date","airline_name","airline_code"]},"descriptionNode":"$Laf6"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Laf7"}},"required":["type","booking_id"],"descriptionNode":"$Laf8"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Laf9"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$Lafa"},"status":{"type":"string","enum":["pending","failed","cancelled","completed"],"description":"The status of the crypto transaction.","descriptionNode":"$Lafb"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lafc"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lafd"}},"required":["id","status","recipient"]},"minItems":1,"descriptionNode":"$Lafe"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$Laff"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lb00"}},"required":["type","transactions"],"descriptionNode":"$Lb01"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lb02"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$Lb03"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$Lb04"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lb05"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$Lb06"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lb07"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lb08"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lb09"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lb0a"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lb0b"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$Lb0c"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lb0d"}},"required":["street_line_1","city","country_code","postcode"],"descriptionNode":"$Lb0e"}},"required":["id","name","website","phone","address"],"descriptionNode":"$Lb0f"}},"required":["type","subseller"],"descriptionNode":"$Lb10"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lb11"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lb12"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$Lb13"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$Lb14"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$Lb15"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lb16"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$Lb17"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lb18"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lb19"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lb1a"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lb1b"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lb1c"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lb1d"}},"required":["street_line_1","city","country_code","postcode"],"descriptionNode":"$Lb1e"},"category":{"type":"string","enum":["concert","conference","convention","exhibition","festival","party","performance","other"],"description":"The type of the event.","descriptionNode":"$Lb1f"},"market":{"type":"string","enum":["primary","secondary"],"description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$Lb20"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$Lb21"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$Lb22"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lb23"}},"required":["id"],"descriptionNode":"$Lb24"},"description":"A list of tickets associated with the booking.","descriptionNode":"$Lb25"}},"descriptionNode":"$Lb26"},"descriptionNode":"$Lb27"}},"required":["type","booking_id"],"descriptionNode":"$Lb28"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lb29"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lb2a"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$Lb2b"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$Lb2c"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lb2d"},"category":{"type":"string","enum":["bed_and_breakfast","hostel","hotel","short_term_rental","other"],"description":"The type of the accommodation associated with the booking.","descriptionNode":"$Lb2e"},"booking_type":{"type":"string","enum":["fixed","flexible"],"description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lb2f"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lb30"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lb31"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lb32"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lb33"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lb34"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lb35"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lb36"}},"required":["street_line_1","city","country_code","postcode"],"descriptionNode":"$Lb37"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$Lb38"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$Lb39"}},"required":["first_name","last_name"]},"description":"List of guests associated with the booking.","descriptionNode":"$Lb3a"}},"required":["type","booking_id"],"descriptionNode":"$Lb3b"}],"descriptionNode":"$Lb3c"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lb3d"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$Lb3e"}},"descriptionNode":"$Lb3f"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$Lb40"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$Lb41"}},"required":["date","payment_method_id"],"descriptionNode":"$Lb42"},"checkout_url":{"type":"string","description":"Link to a checkout page hosted by Revolut.","format":"uri","descriptionNode":"$Lb43"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$Lb44"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":["automatic","forced"],"descriptionNode":"$Lb45"},"statement_descriptor_suffix":{"type":"string","description":"$b46","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$Lb47"},"subscription_data":{"title":"Subscription data","type":"object","required":["subscription_id","billing_reason"],"description":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created.\n\nOnly present on orders created by a subscription.","properties":{"subscription_id":{"type":"string","format":"uuid","description":"Unique identifier for the subscription.","descriptionNode":"$Lb48"},"active_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for.\n\nThis is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle.","descriptionNode":"$Lb49"},"settled_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects.\n\nThis is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle.","descriptionNode":"$Lb4a"},"billing_reason":{"type":"string","enum":["cycle_billing","final_settlement","setup_intent"],"description":"The reason this subscription order was created.\n\n| Value | Description |\n| ----- | ----------- |\n| `cycle_billing` | The order was automatically generated to collect payment for an ongoing subscription cycle. `active_cycle_id` is present; `settled_cycle_id` is present if the previous cycle included usage-based products. |\n| `final_settlement` | The order was automatically generated after the subscription ended to collect outstanding usage-based charges. `active_cycle_id` is absent; `settled_cycle_id` is present. |\n| `setup_intent` | The order was manually created by the merchant or customer to update the payment method on file. `active_cycle_id` is absent; `settled_cycle_id` is absent. |","descriptionNode":"$Lb4b"}},"descriptionNode":"$Lb4c"}},"descriptionNode":"$Lb4d"},"examples":{"example_order_min":{"summary":"Example order response with minimal required parameters","value":{"id":"6516e61c-d279-a454-a837-bc52ce55ed49","token":"0adc0e3c-ab44-4f33-bcc0-534ded7354ce","type":"payment","state":"pending","created_at":"2023-09-29T14:58:36.079398Z","updated_at":"2023-09-29T14:58:36.079398Z","amount":500,"currency":"GBP","outstanding_amount":500,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce","enforce_challenge":"automatic"}},"example_order_additional":{"summary":"Example order response with additional parameters","value":{"id":"6516e6ec-c7f7-a0fb-a6d3-add05fa46d2f","token":"1058031d-1e71-4d07-9f97-5ad388a1346c","type":"payment","state":"pending","created_at":"2023-09-29T15:02:04.083787Z","updated_at":"2023-09-29T15:02:04.083787Z","amount":500,"currency":"GBP","outstanding_amount":500,"capture_mode":"manual","authorisation_type":"final","cancel_authorised_after":"PT30M","description":"Example product","checkout_url":"https://checkout.revolut.com/payment-link/1058031d-1e71-4d07-9f97-5ad388a1346c","redirect_url":"https://www.example.com/redirect","shipping_address":{"street_line_1":"7 Westferry Circus","city":"London","country_code":"GB","postcode":"E14 4HD"},"metadata":{"product_type":"Example"},"enforce_challenge":"forced","customer":{"id":"467646d6-e452-4d1e-a401-703f09cd3818","email":"example@example.com","date_of_birth":"1990-01-01"},"merchant_order_data":{"url":"https://example.com/orders/12345"},"statement_descriptor_suffix":"12345"}},"example_order_pre_auth":{"summary":"Example order response with pre-authorisation and card payment","value":{"id":"6516e61c-d279-a454-a837-bc52ce55ed49","token":"0adc0e3c-ab44-4f33-bcc0-534ded7354ce","type":"payment","state":"authorised","created_at":"2023-09-29T14:58:36.079398Z","updated_at":"2023-09-29T14:58:36.079398Z","amount":5000,"currency":"GBP","outstanding_amount":5000,"capture_mode":"manual","authorisation_type":"pre_authorisation","cancel_authorised_after":"PT72H","description":"Hotel reservation deposit","checkout_url":"https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce","enforce_challenge":"automatic","payments":[{"id":"6516f38a-a12b-aca3-83f2-6ed16d6ed246","state":"authorised","created_at":"2023-09-29T14:55:54.579311Z","updated_at":"2023-09-29T14:56:38.403232Z","amount":5000,"currency":"GBP","settled_amount":5000,"settled_currency":"GBP","billing_address":{"country_code":"GB","postcode":"SW1A 1AA"},"risk_level":"low","fees":[],"payer":{"email":"example.payer@example.com","phone":"+447911123456"},"payment_method":{"type":"card","card_brand":"visa","funding":"credit","card_country_code":"GB","card_bin":"411111","card_last_four":"1111","card_expiry":"12/25","cardholder_name":"Example Holder","capture_deadline":"2023-10-06T14:55:54.579311Z","fingerprint":"1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=","network_transaction_id":"1234567890123456"}}]}},"example_order_subscription":{"summary":"Example order response with subscription data (cycle billing, no usage-based items)","value":{"id":"7a1b2c3d-4e5f-6789-abcd-e1234567890a","token":"9f8e7d6c-5b4a-3210-fedc-ba0987654321","type":"payment","state":"completed","created_at":"2025-06-15T10:30:00.000000Z","updated_at":"2025-06-15T10:31:00.000000Z","amount":1999,"currency":"GBP","outstanding_amount":0,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/9f8e7d6c-5b4a-3210-fedc-ba0987654321","enforce_challenge":"automatic","subscription_data":{"subscription_id":"e2862e0e-66e8-4623-bdd6-7da59b85365d","active_cycle_id":"a1b2c3d4-5678-9012-abcd-ef1234567890","billing_reason":"cycle_billing"}}},"example_order_airline":{"summary":"Example order response with additional airline data","value":{"id":"6516ed0c-098f-aa19-80e5-9d92f52b35e0","token":"061f2c63-e36b-421e-9ece-5adfcd580886","type":"payment","state":"pending","created_at":"2023-09-29T15:28:12.114992Z","updated_at":"2023-09-29T15:28:12.114992Z","amount":500,"currency":"GBP","outstanding_amount":500,"settlement_currency":"EUR","capture_mode":"manual","authorisation_type":"final","description":"Example order description","checkout_url":"https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886","redirect_url":"https://www.example.com/redirect","cancel_authorised_after":"PT30M","industry_data":{"type":"airline","booking_id":"unique-booking-id-12345","fulfillment_date":"2023-07-10T14:00:00.069624Z","ticket_type":"flexible","crs_code":"DATS","ticket_change_indicator":"new","refundability":"refundable","passengers":[{"first_name":"Example","last_name":"Customer"},{"first_name":"John","last_name":"Doe"}],"journey_legs":[{"sequence":1,"departure_airport_code":"FRA","arrival_airport_code":"LHR","flight_number":"670","fare_base_code":"J","travel_date":"2023-07-10T10:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":2,"departure_airport_code":"LHR","arrival_airport_code":"DUB","flight_number":"678","fare_base_code":"J","travel_date":"2023-07-10T15:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":3,"departure_airport_code":"DUB","arrival_airport_code":"LHR","flight_number":"679","fare_base_code":"F","travel_date":"2023-07-15T10:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":4,"departure_airport_code":"LHR","arrival_airport_code":"FRA","flight_number":"671","fare_base_code":"F","travel_date":"2023-07-10T14:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"}],"booking_url":"https://example.com/bookings/1234"},"enforce_challenge":"forced","customer":{"id":"db186257-3031-4726-98ea-f2260ea115f0","email":"example@example.com","phone":"+441234567890","full_name":"Example Customer"},"merchant_order_data":{"url":"https://www.example.com/ticketnumber-12345","reference":"example_airline_reference"}}},"example_order_car_rental":{"summary":"Example order response with additional car rental data","value":{"id":"6516ed0c-098f-aa19-80e5-9d92f52b35e0","token":"061f2c63-e36b-421e-9ece-5adfcd580886","type":"payment","state":"pending","created_at":"2025-01-29T15:28:12.114992Z","updated_at":"2025-01-29T15:28:12.114992Z","amount":500,"currency":"GBP","outstanding_amount":500,"settlement_currency":"GBP","capture_mode":"manual","authorisation_type":"final","description":"Example car rental order","checkout_url":"https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886","redirect_url":"https://www.example.com/redirect","cancel_authorised_after":"PT30M","industry_data":{"type":"car_rental","booking_id":"example_booking_id","pick_up_date":"2026-03-01T11:00:00Z","drop_off_date":"2026-03-05T16:30:00Z","refundability":"partially_refundable","pick_up_location":{"street_line_1":"1 Example Street","city":"London","country_code":"GB","postcode":"SW1A 1AA"},"drop_off_location":{"street_line_1":"10 Another Road","city":"Manchester","country_code":"GB","postcode":"M1 1AA"},"distance_limit":{"limit":500,"unit":"miles","additional_distance_cost":{"amount":150,"currency":"GBP"}}},"enforce_challenge":"forced","customer":{"id":"db186257-3031-4726-98ea-f2260ea115f0","email":"example@example.com","phone":"+447700900000","full_name":"Example Customer"},"merchant_order_data":{"url":"https://www.example.com/rental/example_booking_id","reference":"example_car_rental_reference"}}},"example_order_crypto":{"summary":"Example order response with additional crypto transaction data","value":{"id":"6516edb9-74af-ae47-829b-1475e807a8d7","token":"1e619c26-d954-4d45-94ab-aba1e407fcee","type":"payment","state":"pending","created_at":"2023-09-29T15:31:05.746826Z","updated_at":"2023-09-29T15:31:05.746826Z","amount":26100,"currency":"EUR","outstanding_amount":26100,"settlement_currency":"EUR","capture_mode":"manual","authorisation_type":"final","description":"Customer wants to buy 0.01 BTC","checkout_url":"https://checkout.revolut.com/payment-link/1e619c26-d954-4d45-94ab-aba1e407fcee","redirect_url":"https://www.example.com/redirect","industry_data":{"type":"crypto","transactions":[{"id":"7b2a8ed4-5889-4c0c-a8cc-299aff1c881b","status":"pending","recipient_wallet_id":"64a6f159-0a60-a446-880e-e449a1f62f7c"}],"subseller_mcc":"1234","subseller_url":"https://example.com"},"enforce_challenge":"automatic","customer":{"id":"db186257-3031-4726-98ea-f2260ea115f0","email":"example@example.com","phone":"+44123456789","full_name":"Example Customer"},"merchant_order_data":{"url":"https://www.example.com/cryptotransactionnumber-12345","reference":"example_crypto_reference"}}},"example_order_marketplace":{"summary":"Example order response with additional marketplace data","value":{"id":"670920dc-d343-abf8-963a-68ae1bc8ae58","token":"41aabe45-b444-45e6-8363-f0433452e138","type":"payment","state":"pending","created_at":"2024-10-11T12:58:04.826974Z","updated_at":"2024-10-11T12:58:04.826974Z","amount":10000,"currency":"EUR","outstanding_amount":10000,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138","industry_data":{"type":"marketplace","subseller":{"id":"123-45-67","name":"Example Subseller","address":{"street_line_1":"1 Canada Square","street_line_2":"Revolut LTD, Level 39","region":"Greater London","city":"London","country_code":"GB","country_subdivision_code":"GB-LND","postcode":"E14 4HD"},"website":"https://example.com/123-45-67","phone":"+441234567890"}},"enforce_challenge":"automatic"}},"example_order_event":{"summary":"Example order response with additional event data","value":{"id":"67bf20c4-59a5-a7a9-81ad-052fda5f80eb","token":"8737a497-9bae-4647-90bf-1abe2fd9162a","type":"payment","state":"pending","created_at":"2025-02-26T14:10:12.804901Z","updated_at":"2025-02-26T14:10:12.804901Z","amount":100,"currency":"GBP","outstanding_amount":100,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a","industry_data":{"type":"event","booking_id":"example_booking_123","events":[{"start_date":"2025-03-04T14:00:00Z","end_date":"2025-03-04T17:00:00Z","supplier":"Example Supplier","supplier_payment_date":"2025-03-03T14:00:15Z","name":"Example Event","location":{"street_line_1":"Example Street 123","street_line_2":"II/123","region":"London","city":"London","country_code":"GB","postcode":"123456"},"category":"exhibition","market":"primary","tickets":[{"id":"example_ticket_1","transferable":false,"refundability":"partially_refundable"},{"id":"example_ticket_2","transferable":true,"refundability":"non_refundable"},{"id":"example_ticket_3"}]}]},"enforce_challenge":"automatic"}},"example_order_lodging":{"summary":"Example order response with additional lodging data","value":{"id":"67c70d42-1545-a73d-a4a5-35b7ac49e1da","token":"9effe2b6-8907-4954-9e9b-696f763f7e08","type":"payment","state":"pending","created_at":"2025-03-04T14:25:06.099782Z","updated_at":"2025-03-04T14:25:06.099782Z","amount":100,"currency":"GBP","outstanding_amount":100,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08","industry_data":{"type":"lodging","booking_id":"example_booking_123","check_out_date":"2025-05-05T11:00:00Z","booking_type":"flexible","refundability":"partially_refundable","location":{"street_line_1":"Example Street 123","street_line_2":"II/123","region":"London","city":"London","country_code":"GB","postcode":"123456"},"guests":[{"first_name":"First","last_name":"Guest"},{"first_name":"Second","last_name":"Guest"}],"check_in_date":"2025-05-01T15:00:00Z","supplier_payment_date":"2025-05-05T11:00:00Z","category":"bed_and_breakfast"},"enforce_challenge":"automatic"}}}}},"descriptionNode":"$Lb4e"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lb4f"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lb50"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lb51"}}},"examples":{"example-1":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1601296792533}}}}},"descriptionNode":"$Lb52"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lb53"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lb54"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lb55"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$Lb56"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lb57"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lb58"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lb59"}}},"examples":{"default":{"value":{"code":"not_found","message":"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found","timestamp":1721050063886}}}}},"descriptionNode":"$Lb5a"}},"requestBody":"$undefined","variantLabels":["Example order response with minimal required parameters","Example order response with additional parameters","Example order response with pre-authorisation and card payment","Example order response with subscription data (cycle billing, no usage-based items)","Example order response with additional airline data","Example order response with additional car rental data","Example order response with additional crypto transaction data","Example order response with additional marketplace data","Example order response with additional event data","Example order response with additional lodging data"],"children":["$Lb5b","$Lb5c"]}]}],false]}] b66:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::b6d:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::b9d:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).baf:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).bc1:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).bd3:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).bd9:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).bf8:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::c5d:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::1d:["$","$5e","cancel-order",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"title":"Order v2","type":"object","description":"To process the order from a credit or debit card, you create an `Order` object. You can then retrieve, capture, cancel, refund, or pay an order using its unique `id`. Alternatively, you can use its unique `token` to process a card payment with the Revolut Checkout Widget.","properties":{"id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$Lb5d"},"token":{"type":"string","description":"Temporary ID for the order, which expires when the payment is authorised.\n\nThe order `token` is used for [token-based initialisation](https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based), and is returned by the `createOrder` callback in the following payment methods:\n\n- [Embedded Checkout](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface)\n- [Revolut Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options)\n- [Apple Pay and Google Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface)\n- [Pay by Bank](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface)","descriptionNode":"$Lb5e"},"type":{"type":"string","description":"The type of the order.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","descriptionNode":"$Lb5f"},"state":{"type":"string","description":"The state of the order in its lifecycle.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Order created, awaiting payment |\n| `processing` | Payment is being processed |\n| `authorised` | Payment authorised but not yet captured (for manual capture) |\n| `completed` | Payment successfully captured and settled |\n| `cancelled` | Order was cancelled |\n| `failed` | Payment failed |\n\n:::info\nFor more information, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle)\n:::","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:examples","descriptionNode":"$Lb60"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$Lb61"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$Lb62"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$Lb63"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:capture_mode:enum","descriptionNode":"$Lb64"},"authorisation_type":{"type":"string","description":"The type of authorisation for the order. Used with manual capture mode. If omitted, `final` is used by default.\n\n### Pre-authorisation\n\nPre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:\n\n- Hotel bookings where the final amount may vary\n- Car rentals where additional charges may apply\n- Deposits that need to be held temporarily\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `final` | Standard authorisation for immediate or near-immediate capture. |\n| `pre_authorisation` | Reserve funds for later capture, used with manual capture mode. |\n\n:::note\nPre-authorisation must be used with `capture_mode: manual`. For more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"final","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authorisation_type:enum","descriptionNode":"$Lb65"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$b66","descriptionNode":"$Lb67"},"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$Lb68"},"outstanding_amount":{"type":"integer","description":"The amount not yet paid for a given order (in minor currency units). For example, `7034` represents €70.34. \n\nThe value in this field may differ from `amount` if there are partial payments associated with the order.","descriptionNode":"$Lb69"},"refunded_amount":{"type":"integer","description":"The amount that was refunded from the order (in minor currency units). For example, `7034` represents €70.34. \n\nThis applies to orders that have been refunded (i.e., orders of type `payment` that have a related `refund` order).","descriptionNode":"$Lb6a"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lb6b"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lb6c"},"customer":{"type":"object","description":"$b6d","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$Lb6e"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$Lb6f"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$Lb70"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$Lb71"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$Lb72"}},"descriptionNode":"$Lb73"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$Lb74"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$Lb75"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$Lb76"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$Lb77"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$Lb78"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$Lb79"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Lb7a"},"payments":{"type":"array","description":"The details of all the payments that have been made towards this order (successful or unsuccessful).","items":{"type":"object","description":"Represents a payment for an order.\n\nFor pre-authorised payments, the `authorised_amount` field tracks the currently authorised amount, which may differ from `amount` during incremental authorisation processing.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$Lb7b"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$Lb7c"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$Lb7d"},"bank_message":{"type":"string","description":"The reason for a `failed` or `declined` payment, sent by the financial institution processing the payment.","descriptionNode":"$Lb7e"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment was created.","descriptionNode":"$Lb7f"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment was last updated.","descriptionNode":"$Lb80"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$Lb81"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$Lb82"},"authorised_amount":{"type":"integer","description":"The currently authorised amount for this payment (in minor units).\n\nFor pre-authorised payments with incremental authorization:\n- Initially equals the `amount` field\n- Remains unchanged during increment processing\n- Updates to new amount upon successful increment\n- Remains at original amount if increment is declined\n\nFor standard payments, this field may not be present or will equal the `amount` field.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:authorised_amount:examples","descriptionNode":"$Lb83"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lb84"},"settled_amount":{"type":"integer","description":"The amount of the settled payment (minor currency unit). For example, `7034` stands for €70.34.","descriptionNode":"$Lb85"},"settled_currency":{"type":"string","description":"The currency of the settled payment. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lb86"},"payment_method":{"type":"object","description":"The details of the payment method used to make the payment.","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:discriminator","oneOf":[{"type":"object","description":"Object containing details of a card used via Apple Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lb87"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lb88"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:card_brand:enum","descriptionNode":"$Lb89"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:funding:enum","descriptionNode":"$Lb8a"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lb8b"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lb8c"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lb8d"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lb8e"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lb8f"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":{"type":"object","description":"The details of the 3D Secure check. Only for orders with successful payments.\n\n:::note\nNot returned for Apple Pay and Google Pay payments.\n:::","properties":{"eci":{"type":"string","description":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided.","descriptionNode":"$Lb90"},"state":{"type":"string","description":"The result of 3D Secure check.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds:properties:state:enum","descriptionNode":"$Lb91"},"version":{"type":"integer","description":"The 3D Secure version.","descriptionNode":"$Lb92"}},"descriptionNode":"$Lb93"},"cvv_verification":{"type":"string","description":"The result of CVV verification.\n\n| Parameter value | Description |\n| ----- | ----------- |\n| `match` | CVV matches the card's CVV |\n| `not_match` | CVV does not match the card's CVV |\n| `incorrect` | CVV format is incorrect for this type of card |\n| `not_processed` | CVV verification was not performed |","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification:enum","descriptionNode":"$Lb94"},"address":{"type":"string","description":"The result of address verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address:enum","descriptionNode":"$Lb95"},"postcode":{"type":"string","description":"The result of postcode verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode:enum","descriptionNode":"$Lb96"},"cardholder":{"type":"string","description":"The result of cardholder verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder:enum","descriptionNode":"$Lb97"}},"descriptionNode":"$Lb98"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Lb99"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Lb9a"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Lb9b"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Lb9c"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$b9d","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lb9e"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Lb9f"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:required","descriptionNode":"$Lba0"},{"type":"object","description":"Object containing details of the card used for the payment.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lba1"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lba2"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:card_brand:enum","descriptionNode":"$Lba3"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:funding:enum","descriptionNode":"$Lba4"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lba5"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lba6"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lba7"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lba8"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lba9"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Lbaa"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Lbab"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Lbac"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Lbad"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Lbae"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$baf","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lbb0"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Lbb1"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:required","descriptionNode":"$Lbb2"},{"type":"object","description":"Object containing details of a card used via Google Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lbb3"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lbb4"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:card_brand:enum","descriptionNode":"$Lbb5"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:funding:enum","descriptionNode":"$Lbb6"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lbb7"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lbb8"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lbb9"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lbba"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lbbb"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Lbbc"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Lbbd"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Lbbe"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Lbbf"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Lbc0"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$bc1","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lbc2"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Lbc3"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:required","descriptionNode":"$Lbc4"},{"type":"object","description":"Object containing details of a card used via Revolut Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lbc5"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lbc6"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:card_brand:enum","descriptionNode":"$Lbc7"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:funding:enum","descriptionNode":"$Lbc8"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lbc9"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lbca"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lbcb"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lbcc"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lbcd"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Lbce"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Lbcf"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Lbd0"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Lbd1"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Lbd2"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$bd3","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lbd4"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Lbd5"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:required","descriptionNode":"$Lbd6"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lbd7"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lbd8"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$bd9","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lbda"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:4:required"},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$Lbdb"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lbdc"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$Lbdd"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$Lbde"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$Lbdf"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$Lbe0"}],"descriptionNode":"$Lbe1"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Lbe2"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$Lbe3"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$Lbe4"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Lbe5"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$Lbe6"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$Lbe7"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$Lbe8"}],"descriptionNode":"$Lbe9"},"billing_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_1","street_line_2":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_2","region":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:region","city":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:city","country_code":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:country_code","postcode":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:postcode"},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Lbea"},"risk_level":{"type":"string","description":"The risk level of the card.\n\nIf the risk level is `high`, the payment might be declined.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:risk_level:enum","descriptionNode":"$Lbeb"},"fees":{"type":"array","description":"The details of the order fee.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the order fee.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:fees:items:properties:type:enum","descriptionNode":"$Lbec"},"amount":{"type":"integer","description":"The amount of the payment fee (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$Lbed"},"currency":{"type":"string","description":"The currency of the payment fee. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lbee"}}},"descriptionNode":"$Lbef"},"payer":{"title":"Payer","type":"object","description":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow.\n\nCapturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters.","properties":{"email":{"description":"The email of the person who made the payment.","type":"string","format":"email","descriptionNode":"$Lbf0"},"phone":{"description":"The phone number of the payer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","type":"string","descriptionNode":"$Lbf1"}},"descriptionNode":"$Lbf2"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:required","descriptionNode":"$Lbf3"},"descriptionNode":"$Lbf4"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$Lbf5"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$Lbf6"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$Lbf7"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:discriminator","oneOf":[{"type":"object","description":"$bf8","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lbf9"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lbfa"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$Lbfb"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$Lbfc"},"ticket_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_type:enum","description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lbfd"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$Lbfe"},"ticket_change_indicator":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_change_indicator:enum","description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$Lbff"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lc00"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$Lc01"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$Lc02"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:passengers:items:required"},"descriptionNode":"$Lc03"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$Lc04"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$Lc05"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$Lc06"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$Lc07"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$Lc08"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$Lc09"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$Lc0a"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$Lc0b"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$Lc0c"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:journey_legs:items:required"},"descriptionNode":"$Lc0d"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lc0e"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:required","descriptionNode":"$Lc0f"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lc10"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$Lc11"},"status":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:properties:status:enum","description":"The status of the crypto transaction.","descriptionNode":"$Lc12"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lc13"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lc14"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:required"},"minItems":1,"descriptionNode":"$Lc15"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$Lc16"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lc17"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:required","descriptionNode":"$Lc18"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lc19"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$Lc1a"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$Lc1b"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lc1c"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$Lc1d"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lc1e"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lc1f"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lc20"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lc21"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lc22"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$Lc23"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lc24"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:properties:address:required","descriptionNode":"$Lc25"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:required","descriptionNode":"$Lc26"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:required","descriptionNode":"$Lc27"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lc28"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lc29"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$Lc2a"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$Lc2b"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$Lc2c"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lc2d"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$Lc2e"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lc2f"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lc30"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lc31"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lc32"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lc33"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lc34"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:location:required","descriptionNode":"$Lc35"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:category:enum","description":"The type of the event.","descriptionNode":"$Lc36"},"market":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:market:enum","description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$Lc37"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$Lc38"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$Lc39"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lc3a"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:tickets:items:required","descriptionNode":"$Lc3b"},"description":"A list of tickets associated with the booking.","descriptionNode":"$Lc3c"}},"descriptionNode":"$Lc3d"},"descriptionNode":"$Lc3e"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:required","descriptionNode":"$Lc3f"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lc40"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lc41"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$Lc42"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$Lc43"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lc44"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:category:enum","description":"The type of the accommodation associated with the booking.","descriptionNode":"$Lc45"},"booking_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:booking_type:enum","description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lc46"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lc47"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lc48"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lc49"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lc4a"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lc4b"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lc4c"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lc4d"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:location:required","descriptionNode":"$Lc4e"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$Lc4f"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$Lc50"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:guests:items:required"},"description":"List of guests associated with the booking.","descriptionNode":"$Lc51"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:required","descriptionNode":"$Lc52"}],"descriptionNode":"$Lc53"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lc54"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$Lc55"}},"descriptionNode":"$Lc56"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$Lc57"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$Lc58"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:upcoming_payment_data:required","descriptionNode":"$Lc59"},"checkout_url":{"type":"string","description":"Link to a checkout page hosted by Revolut.","format":"uri","descriptionNode":"$Lc5a"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$Lc5b"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:enforce_challenge:enum","descriptionNode":"$Lc5c"},"statement_descriptor_suffix":{"type":"string","description":"$c5d","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$Lc5e"},"subscription_data":{"title":"Subscription data","type":"object","required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:required","description":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created.\n\nOnly present on orders created by a subscription.","properties":{"subscription_id":{"type":"string","format":"uuid","description":"Unique identifier for the subscription.","descriptionNode":"$Lc5f"},"active_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for.\n\nThis is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle.","descriptionNode":"$Lc60"},"settled_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects.\n\nThis is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle.","descriptionNode":"$Lc61"},"billing_reason":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:properties:billing_reason:enum","description":"The reason this subscription order was created.\n\n| Value | Description |\n| ----- | ----------- |\n| `cycle_billing` | The order was automatically generated to collect payment for an ongoing subscription cycle. `active_cycle_id` is present; `settled_cycle_id` is present if the previous cycle included usage-based products. |\n| `final_settlement` | The order was automatically generated after the subscription ended to collect outstanding usage-based charges. `active_cycle_id` is absent; `settled_cycle_id` is present. |\n| `setup_intent` | The order was manually created by the merchant or customer to update the payment method on file. `active_cycle_id` is absent; `settled_cycle_id` is absent. |","descriptionNode":"$Lc62"}},"descriptionNode":"$Lc63"}},"descriptionNode":"$Lc64"},"examples":{"example_order_min":{"summary":"Example order response with minimal required parameters","value":{"id":"6516f565-c903-ae7d-8582-0bc70468ec29","token":"579462b3-da89-4a46-8690-572d3968573f","type":"payment","state":"cancelled","created_at":"2023-09-29T16:03:49.569437Z","updated_at":"2023-09-29T16:04:30.727004Z","amount":500,"currency":"GBP","refunded_amount":0,"outstanding_amount":0,"capture_mode":"automatic","authorisation_type":"final","enforce_challenge":"automatic"}},"example_order_additional":{"summary":"Example order response with additional parameters","value":{"id":"6516f379-c03f-adf3-a2bf-24b328909731","token":"91533c29-47d1-4ae9-a73f-74225fd4b176","type":"payment","state":"cancelled","created_at":"2023-09-29T15:55:37.201407Z","updated_at":"2023-09-29T15:56:38.398961Z","amount":500,"currency":"GBP","refunded_amount":0,"outstanding_amount":500,"capture_mode":"manual","authorisation_type":"final","cancel_authorised_after":"PT30M","description":"Example product","checkout_url":"https://checkout.revolut.com/payment-link/91533c29-47d1-4ae9-a73f-74225fd4b176","redirect_url":"https://www.example.com/redirect","shipping_address":{"street_line_1":"7 Westferry Circus","city":"London","country_code":"GB","postcode":"E14 4HD"},"metadata":{"product_type":"Example"},"payments":[{"id":"6516f38a-a12b-aca3-83f2-6ed16d6ed246","state":"authorised","created_at":"2023-09-29T15:55:54.579311Z","updated_at":"2023-09-29T15:56:38.403232Z","amount":500,"currency":"GBP","settled_amount":500,"settled_currency":"GBP","billing_address":{"street_line_1":"26 Atkins Avenue","street_line_2":"New York 42233","city":"SentinelFraudLow","country_code":"GB","postcode":"PE3 9UP"},"risk_level":"low","fees":[],"payer":{"email":"example.payer@example.com","phone":"+447911123456"},"payment_method":{"type":"revolut_pay_account","fingerprint":"1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY="}}],"enforce_challenge":"forced","customer":{"id":"3c131306-0a0a-4f54-99d7-3fb2e027c6f7","email":"example@example.com","phone":"+441234567890","full_name":"Example Customer"},"merchant_order_data":{"url":"https://example.com/orders/12345"},"statement_descriptor_suffix":"12345"}},"example_order_airline":{"summary":"Example order response with additional airline data","value":{"id":"6516f2f3-fd2c-ac2c-9bf2-3e02711dd3fb","token":"245e63f3-1e44-40db-bcd4-4448263d3fa2","type":"payment","state":"cancelled","created_at":"2023-09-29T15:53:23.234913Z","updated_at":"2023-09-29T16:24:39.366956Z","amount":500,"currency":"GBP","outstanding_amount":500,"settlement_currency":"EUR","capture_mode":"manual","authorisation_type":"final","description":"Example order description","checkout_url":"https://checkout.revolut.com/payment-link/245e63f3-1e44-40db-bcd4-4448263d3fa2","redirect_url":"https://www.example.com/redirect","cancel_authorised_after":"PT30M","industry_data":{"type":"airline","booking_id":"unique-booking-id-12345","fulfillment_date":"2023-07-10T14:00:00.069624Z","ticket_type":"flexible","crs_code":"DATS","ticket_change_indicator":"new","refundability":"refundable","passengers":[{"first_name":"Example","last_name":"Customer"},{"first_name":"John","last_name":"Doe"}],"journey_legs":[{"sequence":1,"departure_airport_code":"FRA","arrival_airport_code":"LHR","flight_number":"670","fare_base_code":"J","travel_date":"2023-07-10T10:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":2,"departure_airport_code":"LHR","arrival_airport_code":"DUB","flight_number":"678","fare_base_code":"J","travel_date":"2023-07-10T15:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":3,"departure_airport_code":"DUB","arrival_airport_code":"LHR","flight_number":"679","fare_base_code":"F","travel_date":"2023-07-15T10:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":4,"departure_airport_code":"LHR","arrival_airport_code":"FRA","flight_number":"671","fare_base_code":"F","travel_date":"2023-07-10T14:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"}],"booking_url":"https://example.com/bookings/1234"},"payments":[{"id":"6516f315-f713-a5fd-8299-f28820937409","state":"failed","created_at":"2023-09-29T15:53:57.268142Z","updated_at":"2023-09-29T16:24:39.374460Z","amount":500,"currency":"GBP","settled_amount":576,"settled_currency":"EUR","risk_level":"low","fees":[],"payer":{"email":"example.payer@example.com","phone":"+447911123456"},"payment_method":{"type":"card","fingerprint":"1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=","network_transaction_id":"1234567890123456","card_brand":"mastercard","funding":"credit","card_country_code":"MT","card_bin":"542071","card_last_four":"0016","card_expiry":"12/28","cardholder_name":"Example Holder","checks":{"three_ds":{"state":"verified","version":2},"cvv_verification":"match"}}}],"enforce_challenge":"forced","customer":{"id":"db186257-3031-4726-98ea-f2260ea115f0","email":"example@example.com","phone":"+441234567890","full_name":"Example Customer"},"merchant_order_data":{"url":"https://www.airline.com/ticketnumber-12345","reference":"example_airline_reference"}}},"example_order_crypto":{"summary":"Example order response with additional crypto transaction data","value":{"id":"6516f11e-5eb1-a223-858d-2c9a7f2a7189","token":"74dce962-2f86-4d86-98b3-a0c590bccc56","type":"payment","state":"cancelled","created_at":"2023-09-29T15:45:34.922508Z","updated_at":"2023-09-29T15:50:37.989334Z","amount":26100,"currency":"EUR","refunded_amount":0,"outstanding_amount":26100,"settlement_currency":"EUR","capture_mode":"manual","authorisation_type":"final","cancel_authorised_after":"PT30M","description":"Customer wants to buy 0.01 BTC","checkout_url":"https://checkout.revolut.com/payment-link/74dce962-2f86-4d86-98b3-a0c590bccc56","redirect_url":"https://www.example.com/redirect","industry_data":{"type":"crypto","transactions":[{"id":"7b2a8ed4-5889-4c0c-a8cc-299aff1c881b","status":"pending","recipient_wallet_id":"64a6f159-0a60-a446-880e-e449a1f62f7c"}],"subseller_mcc":"1234","subseller_url":"https://example.com"},"payments":[{"id":"6516f139-a0ad-aaf9-a3a5-0f6ee8c9fde5","state":"failed","decline_reason":"technical_error","created_at":"2023-09-29T15:46:01.823402Z","updated_at":"2023-09-29T15:46:03.199834Z","amount":26100,"currency":"EUR","settled_amount":26100,"settled_currency":"EUR","risk_level":"low","fees":[],"payer":{"email":"example.payer@example.com","phone":"+447911123456"},"payment_method":{"type":"card","fingerprint":"1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=","network_transaction_id":"1234567890123456","card_brand":"mastercard","funding":"credit","card_country_code":"MT","card_bin":"542071","card_last_four":"0016","card_expiry":"12/28","cardholder_name":"Test Holder","checks":{"three_ds":{"state":"failed","version":2}}}},{"id":"6516f186-0cf3-aefe-b6da-af1a5dad1630","state":"authorised","created_at":"2023-09-29T15:47:18.050227Z","updated_at":"2023-09-29T15:50:37.993217Z","amount":26100,"currency":"EUR","settled_amount":26100,"settled_currency":"EUR","billing_address":{"street_line_1":"26 Atkins Avenue","street_line_2":"New York 42233","city":"SentinelFraudLow","country_code":"GB","postcode":"PE3 9UP"},"risk_level":"low","fees":[],"payer":{"email":"example.payer@example.com","phone":"+447911123456"},"payment_method":{"type":"revolut_pay_account","fingerprint":"1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY="}}],"enforce_challenge":"automatic","customer":{"id":"3c131306-0a0a-4f54-99d7-3fb2e027c6f7","email":"example@example.com","phone":"+441234567890","full_name":"Example Customer"},"merchant_order_data":{"url":"https://www.example.com/cryptotransactionnumber-12345","reference":"example_crypto_reference"}}},"example_order_marketplace":{"summary":"Example order response with additional marketplace data","value":{"id":"670920dc-d343-abf8-963a-68ae1bc8ae58","token":"41aabe45-b444-45e6-8363-f0433452e138","type":"payment","state":"cancelled","created_at":"2024-10-11T12:58:04.826974Z","updated_at":"2024-10-11T12:58:04.826974Z","amount":10000,"currency":"EUR","outstanding_amount":10000,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138","industry_data":{"type":"marketplace","subseller":{"id":"123-45-67","name":"Example Subseller","address":{"street_line_1":"1 Canada Square","street_line_2":"Revolut LTD, Level 39","region":"Greater London","city":"London","country_code":"GB","country_subdivision_code":"GB-LND","postcode":"E14 4HD"},"website":"https://example.com/123-45-67","phone":"+441234567890"}},"enforce_challenge":"automatic"}},"example_order_event":{"summary":"Example order response with additional event data","value":{"id":"67bf20c4-59a5-a7a9-81ad-052fda5f80eb","token":"8737a497-9bae-4647-90bf-1abe2fd9162a","type":"payment","state":"cancelled","created_at":"2025-02-26T14:10:12.804901Z","updated_at":"2025-02-26T14:10:12.804901Z","amount":100,"currency":"GBP","outstanding_amount":100,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a","industry_data":{"type":"event","booking_id":"example_booking_123","events":[{"start_date":"2025-03-04T14:00:00Z","end_date":"2025-03-04T17:00:00Z","supplier":"Example Supplier","supplier_payment_date":"2025-03-03T14:00:15Z","name":"Example Event","location":{"street_line_1":"Example Street 123","street_line_2":"II/123","region":"London","city":"London","country_code":"GB","postcode":"123456"},"category":"exhibition","market":"primary","tickets":[{"id":"example_ticket_1","transferable":false,"refundability":"partially_refundable"},{"id":"example_ticket_2","transferable":true,"refundability":"non_refundable"},{"id":"example_ticket_3"}]}]},"enforce_challenge":"automatic"}},"example_order_lodging":{"summary":"Example order response with additional lodging data","value":{"id":"67c70d42-1545-a73d-a4a5-35b7ac49e1da","token":"9effe2b6-8907-4954-9e9b-696f763f7e08","type":"payment","state":"cancelled","created_at":"2025-03-04T14:25:06.099782Z","updated_at":"2025-03-04T14:25:06.099782Z","amount":100,"currency":"GBP","outstanding_amount":100,"capture_mode":"automatic","authorisation_type":"final","checkout_url":"https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08","industry_data":{"type":"lodging","booking_id":"example_booking_123","check_out_date":"2025-05-05T11:00:00Z","booking_type":"flexible","refundability":"partially_refundable","location":{"street_line_1":"Example Street 123","street_line_2":"II/123","region":"London","city":"London","country_code":"GB","postcode":"123456"},"guests":[{"first_name":"First","last_name":"Guest"},{"first_name":"Second","last_name":"Guest"}],"check_in_date":"2025-05-01T15:00:00Z","supplier_payment_date":"2025-05-05T11:00:00Z","category":"bed_and_breakfast"},"enforce_challenge":"automatic"}}}}},"descriptionNode":"$Lc65"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lc66"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lc67"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lc68"}}},"examples":{"example-1":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1601296792533}}}}},"descriptionNode":"$Lc69"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lc6a"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lc6b"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lc6c"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$Lc6d"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lc6e"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lc6f"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lc70"}}},"examples":{"default":{"value":{"code":"not_found","message":"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found","timestamp":1721050063886}}}}},"descriptionNode":"$Lc71"}},"requestBody":"$undefined","variantLabels":["Example order response with minimal required parameters","Example order response with additional parameters","Example order response with additional airline data","Example order response with additional crypto transaction data","Example order response with additional marketplace data","Example order response with additional event data","Example order response with additional lodging data"],"children":["$Lc72","$Lc73"]}]}],false]}] b5b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"retrieve-order","children":[["$Lc74","$undefined"],["$","$L15",null,{"id":"retrieve-order"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/retrieve-order.md"}]]}]}],"$undefined"]}] c7a:T9d0,
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c7b:Tf6d,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
c7c:T7e2,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
c7d:T170e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c7e:T15b8,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c7f:T9d8,
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c80:Tf75,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
c81:T7ea,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.get(url, headers=headers)
print(response.json())
c82:T1716,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c83:T15c0,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
b5c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc75",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$Lc76"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$16e:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$16e:props:children:0:props:children:1:props:parameters:1:schema:examples"},"required":true,"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\nIf not specified, you will receive an error.\n\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"example":"2023-09-01","descriptionNode":"$Lc77"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$Lc78"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$Lc79"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$19:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c7a","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c7b","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$c7c","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$c7d","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$c7e","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X GET \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c7f","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c80","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$c81","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .GET(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$c82","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Get,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$c83","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}","parameters":["$b5c:props:children:0:props:children:1:props:parameters:0","$b5c:props:children:0:props:children:1:props:parameters:1","$b5c:props:children:0:props:children:1:props:parameters:2"]}],"$Lc84"],"$Lc85","$Lc86"]}]]}] c72:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"cancel-order","children":[["$Lc87","$undefined"],["$","$L15",null,{"id":"cancel-order"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/cancel-order.md"}]]}]}],"$undefined"]}] c8d:T9d8,
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel", {
  method: "POST",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c8e:Tf75,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
c8f:T7ea,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.post(url, headers=headers)
print(response.json())
c90:T1716,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c91:T15c0,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c92:T9e0,
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel", {
  method: "POST",
  headers: {
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c93:Tf7d,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
c94:T7f2,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"
headers = {
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}

response = requests.post(url, headers=headers)
print(response.json())
c95:T171e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"))
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c96:T15c8,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c73:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc88",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$Lc89"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$50:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1:schema:examples"},"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"descriptionNode":"$Lc8a"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$Lc8b"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$Lc8c"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$1d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X POST \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c8d","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c8e","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$c8f","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$c90","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$c91","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\"","templateHtml":"
curl -X POST \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\" \\\n  -H \"Authorization: __RP_TOK_1__\" \\\n  -H \"Revolut-Api-Version: __RP_TOK_2__\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c92","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c93","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"\nheaders = {\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$c94","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"))\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.noBody())\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$c95","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/cancel\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$c96","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}/cancel","parameters":["$c73:props:children:0:props:children:1:props:parameters:0","$c73:props:children:0:props:children:1:props:parameters:1","$c73:props:children:0:props:children:1:props:parameters:2"]}],"$Lc97"],"$Lc98","$Lc99"]}]]}] c84:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Lc9a"}}}] c85:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] c86:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"example_order_min","label":"Example order response with minimal required parameters","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_min:value","block":"$Lc9b"},{"key":"example_order_additional","label":"Example order response with additional parameters","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_additional:value","block":"$Lc9c"},{"key":"example_order_pre_auth","label":"Example order response with pre-authorisation and card payment","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_pre_auth:value","block":"$Lc9d"},{"key":"example_order_subscription","label":"Example order response with subscription data (cycle billing, no usage-based items)","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_subscription:value","block":"$Lc9e"},{"key":"example_order_airline","label":"Example order response with additional airline data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_airline:value","block":"$Lc9f"},{"key":"example_order_car_rental","label":"Example order response with additional car rental data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_car_rental:value","block":"$Lca0"},{"key":"example_order_crypto","label":"Example order response with additional crypto transaction data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_crypto:value","block":"$Lca1"},{"key":"example_order_marketplace","label":"Example order response with additional marketplace data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_marketplace:value","block":"$Lca2"},{"key":"example_order_event","label":"Example order response with additional event data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_event:value","block":"$Lca3"},{"key":"example_order_lodging","label":"Example order response with additional lodging data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_lodging:value","block":"$Lca4"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$19:props:children:0:props:children:props:responses:400:content:application/json:examples:example-1:value","block":"$Lca5"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$19:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$Lca6"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$19:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Lca7"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] c97:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Lca8"}}}] c98:["$","$Lb0",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] c99:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"example_order_min","label":"Example order response with minimal required parameters","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_min:value","block":"$Lca9"},{"key":"example_order_additional","label":"Example order response with additional parameters","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_additional:value","block":"$Lcaa"},{"key":"example_order_airline","label":"Example order response with additional airline data","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_airline:value","block":"$Lcab"},{"key":"example_order_crypto","label":"Example order response with additional crypto transaction data","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_crypto:value","block":"$Lcac"},{"key":"example_order_marketplace","label":"Example order response with additional marketplace data","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_marketplace:value","block":"$Lcad"},{"key":"example_order_event","label":"Example order response with additional event data","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_event:value","block":"$Lcae"},{"key":"example_order_lodging","label":"Example order response with additional lodging data","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_lodging:value","block":"$Lcaf"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$1d:props:children:0:props:children:props:responses:400:content:application/json:examples:example-1:value","block":"$Lcb0"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1d:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$Lcb1"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1d:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Lcb2"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] c74:"Retrieve an order" c87:"Cancel an order" a46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] a47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary ID for the order, which expires when the payment is authorised."}],"\n",["$","p","p-1",{"children":["The order ",["$","code","code-0",{"children":"token"}]," is used for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based","target":"_blank","rel":"noreferrer","children":"token-based initialisation"}],", and is returned by the ",["$","code","code-1",{"children":"createOrder"}]," callback in the following payment methods:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface","target":"_blank","rel":"noreferrer","children":"Embedded Checkout"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface","target":"_blank","rel":"noreferrer","children":"Apple Pay and Google Pay"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface","target":"_blank","rel":"noreferrer","children":"Pay by Bank"}]}],"\n"]}]]}] a48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] a49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order in its lifecycle."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order created, awaiting payment","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment is being processed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorised but not yet captured (for manual capture)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment successfully captured and settled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order was cancelled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment failed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}]]}]}]]}]]}] a4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] a4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] a4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] a4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] b5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] b5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary ID for the order, which expires when the payment is authorised."}],"\n",["$","p","p-1",{"children":["The order ",["$","code","code-0",{"children":"token"}]," is used for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based","target":"_blank","rel":"noreferrer","children":"token-based initialisation"}],", and is returned by the ",["$","code","code-1",{"children":"createOrder"}]," callback in the following payment methods:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface","target":"_blank","rel":"noreferrer","children":"Embedded Checkout"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface","target":"_blank","rel":"noreferrer","children":"Apple Pay and Google Pay"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface","target":"_blank","rel":"noreferrer","children":"Pay by Bank"}]}],"\n"]}]]}] b5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] b60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order in its lifecycle."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order created, awaiting payment","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment is being processed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorised but not yet captured (for manual capture)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment successfully captured and settled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order was cancelled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment failed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}]]}]}]]}]]}] b61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] b62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] b63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] b64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] a4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of authorisation for the order. Used with manual capture mode. If omitted, ",["$","code","code-0",{"children":"final"}]," is used by default."]}],"\n",["$","h1","h1-0",{"children":"Pre-authorisation"}],"\n",["$","p","p-1",{"children":"Pre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Hotel bookings where the final amount may vary"}],"\n",["$","li","li-1",{"children":"Car rentals where additional charges may apply"}],"\n",["$","li","li-2",{"children":"Deposits that need to be held temporarily"}],"\n"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Standard authorisation for immediate or near-immediate capture.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pre_authorisation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve funds for later capture, used with manual capture mode.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Pre-authorisation must be used with ",["$","code","code-0",{"children":"capture_mode: manual"}],". For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] a50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] a51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] a52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount not yet paid for a given order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["The value in this field may differ from ",["$","code","code-0",{"children":"amount"}]," if there are partial payments associated with the order."]}]]}] a53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount that was refunded from the order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["This applies to orders that have been refunded (i.e., orders of type ",["$","code","code-0",{"children":"payment"}]," that have a related ",["$","code","code-1",{"children":"refund"}]," order)."]}]]}] a54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] a55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] a57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] a58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] a59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] a5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] a5b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] a5c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] a5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] a5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] a5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] a60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] a61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] a62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] a63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] a64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] a65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] a66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] a67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment, sent by the financial institution processing the payment."]}]]}] a68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was created."}]]}] a69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was last updated."}]]}] a6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] a6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] a6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currently authorised amount for this payment (in minor units)."}],"\n",["$","p","p-1",{"children":"For pre-authorised payments with incremental authorization:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Initially equals the ",["$","code","code-0",{"children":"amount"}]," field"]}],"\n",["$","li","li-1",{"children":"Remains unchanged during increment processing"}],"\n",["$","li","li-2",{"children":"Updates to new amount upon successful increment"}],"\n",["$","li","li-3",{"children":"Remains at original amount if increment is declined"}],"\n"]}],"\n",["$","p","p-2",{"children":["For standard payments, this field may not be present or will equal the ",["$","code","code-0",{"children":"amount"}]," field."]}]]}] a6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] a6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the settled payment (minor currency unit). For example, ",["$","code","code-0",{"children":"7034"}]," stands for €70.34."]}]]}] a6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the settled payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] a70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] a71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] a72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] a73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] a74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] a75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] a76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] a77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] a78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] a79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided."}]]}] a7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of 3D Secure check."}]]}] a7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 3D Secure version."}]]}] a7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the 3D Secure check. Only for orders with successful payments."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Not returned for Apple Pay and Google Pay payments."}]}]]}]]}] a7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of CVV verification."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV matches the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV does not match the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"incorrect"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV format is incorrect for this type of card","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_processed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV verification was not performed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] a7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of address verification."}]]}] a7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of postcode verification."}]]}] a80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of cardholder verification."}]]}] a81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] a82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] a83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] a84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] a85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] a87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcb3","."]}],"\n"]}]]}] a88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] a89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Apple Pay."}]]}] a8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] a8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] a8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] a8d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] a8e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] a8f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] a90:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] a91:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] a92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] a93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] a94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] a95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] a96:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] a97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] a99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcb4","."]}],"\n"]}]]}] a9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] a9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of the card used for the payment."}]]}] a9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] a9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] a9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] a9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] aa0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] aa1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] aa2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] aa3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] aa4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] aa5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] aa6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] aa7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] aa8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] aa9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] aab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcb5","."]}],"\n"]}]]}] aac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] aad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Google Pay."}]]}] aae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] aaf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ab0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] ab1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] ab2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] ab3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] ab4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] ab5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] ab6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] ab7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] ab8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] ab9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] aba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] abb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] abd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcb6","."]}],"\n"]}]]}] abe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] abf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Revolut Pay."}]]}] ac0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] ac1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ac3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcb7","."]}],"\n"]}]]}] ac4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] ac5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ac6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] ac7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] ac8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] ac9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] aca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method used to make the payment."}]]}] acb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] acc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] acd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] ace:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] acf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] ad0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] ad1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] ad2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] ad3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] ad4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The risk level of the card."}],"\n",["$","p","p-1",{"children":["If the risk level is ",["$","code","code-0",{"children":"high"}],", the payment might be declined."]}]]}] ad5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order fee."}]]}] ad6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment fee (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] ad7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment fee. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] ad8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the order fee."}]]}] ad9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the person who made the payment."}]]}] ada:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the payer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] adb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow."}],"\n",["$","p","p-1",{"children":"Capturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters."}]]}] adc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment for an order."}],"\n",["$","p","p-1",{"children":["For pre-authorised payments, the ",["$","code","code-0",{"children":"authorised_amount"}]," field tracks the currently authorised amount, which may differ from ",["$","code","code-1",{"children":"amount"}]," during incremental authorisation processing."]}]]}] add:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of all the payments that have been made towards this order (successful or unsuccessful)."}]]}] ade:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] adf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] ae0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] ae2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ae3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] ae4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] ae5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] ae6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ae7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] ae8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] ae9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] aea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] aeb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] aec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] aed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] aee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] aef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] af0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] af1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] af2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] af3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] af4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] af5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] af6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$Lcb8"]}]]}]]}] af7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] af8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$Lcb9","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] af9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] afa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] afb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] afc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] afd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] afe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] aff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] b00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] b01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Lcba"]}]]}]]}] b02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] b04:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] b05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] b06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] b07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] b08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] b09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] b0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] b0b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] b0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] b0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] b0e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] b0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] b10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$Lcbb"]}]]}]]}] b11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] b13:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] b14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] b15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] b16:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] b17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] b18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] b19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] b1a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] b1b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] b1c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] b1d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] b1e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] b1f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] b20:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] b22:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] b23:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] b24:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] b25:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] b26:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] b27:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] b28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Lcbc"]}]]}]]}] b29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] b2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] b2c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] b2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] b2e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] b2f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] b31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] b32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] b33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] b34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] b35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] b36:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] b37:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] b38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] b39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] b3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] b3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Lcbd"]}]]}]]}] b3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] b3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] b3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] b3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] b40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] b41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] b42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] b43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Link to a checkout page hosted by Revolut."}]]}] b44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] b45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] b48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier for the subscription."}]]}] b49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for."}],"\n",["$","p","p-1",{"children":"This is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle."}]]}] b4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects."}],"\n",["$","p","p-1",{"children":"This is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle."}]]}] b4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason this subscription order was created."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cycle_billing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated to collect payment for an ongoing subscription cycle. ",["$","code","code-0",{"children":"active_cycle_id"}]," is present; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present if the previous cycle included usage-based products."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final_settlement"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated after the subscription ended to collect outstanding usage-based charges. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"setup_intent"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was manually created by the merchant or customer to update the payment method on file. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is absent."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created."}],"\n",["$","p","p-1",{"children":"Only present on orders created by a subscription."}]]}] b4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["To process the order from a credit or debit card, you create an ",["$","code","code-0",{"children":"Order"}]," object. You can then retrieve, capture, cancel, refund, or pay an order using its unique ",["$","code","code-1",{"children":"id"}],". Alternatively, you can use its unique ",["$","code","code-2",{"children":"token"}]," to process a card payment with the Revolut Checkout Widget."]}]]}] b4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Order retrieved"}]]}] b4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] b50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] b51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] b52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] b53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] b54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] b55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] b56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] b57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] b58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] b59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] b5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] c75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the details of an order that has been created. Provide the unique\norder ID, and the corresponding order information is returned."}]]}] c76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] c77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","p","p-1",{"children":"If not specified, you will receive an error."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] c78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] c79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] b65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of authorisation for the order. Used with manual capture mode. If omitted, ",["$","code","code-0",{"children":"final"}]," is used by default."]}],"\n",["$","h1","h1-0",{"children":"Pre-authorisation"}],"\n",["$","p","p-1",{"children":"Pre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Hotel bookings where the final amount may vary"}],"\n",["$","li","li-1",{"children":"Car rentals where additional charges may apply"}],"\n",["$","li","li-2",{"children":"Deposits that need to be held temporarily"}],"\n"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Standard authorisation for immediate or near-immediate capture.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pre_authorisation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve funds for later capture, used with manual capture mode.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Pre-authorisation must be used with ",["$","code","code-0",{"children":"capture_mode: manual"}],". For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] b67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] b68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] b69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount not yet paid for a given order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["The value in this field may differ from ",["$","code","code-0",{"children":"amount"}]," if there are partial payments associated with the order."]}]]}] b6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount that was refunded from the order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["This applies to orders that have been refunded (i.e., orders of type ",["$","code","code-0",{"children":"payment"}]," that have a related ",["$","code","code-1",{"children":"refund"}]," order)."]}]]}] b6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] b6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] b6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] b6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] b70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] b71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] b72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] b73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] b74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] b75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] b76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] b77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] b78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] b79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] b7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] b7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] b7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] b7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] b7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment, sent by the financial institution processing the payment."]}]]}] b7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was created."}]]}] b80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was last updated."}]]}] b81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] b82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] b83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currently authorised amount for this payment (in minor units)."}],"\n",["$","p","p-1",{"children":"For pre-authorised payments with incremental authorization:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Initially equals the ",["$","code","code-0",{"children":"amount"}]," field"]}],"\n",["$","li","li-1",{"children":"Remains unchanged during increment processing"}],"\n",["$","li","li-2",{"children":"Updates to new amount upon successful increment"}],"\n",["$","li","li-3",{"children":"Remains at original amount if increment is declined"}],"\n"]}],"\n",["$","p","p-2",{"children":["For standard payments, this field may not be present or will equal the ",["$","code","code-0",{"children":"amount"}]," field."]}]]}] b84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] b85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the settled payment (minor currency unit). For example, ",["$","code","code-0",{"children":"7034"}]," stands for €70.34."]}]]}] b86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the settled payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] b87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] b88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] b8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] b8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] b8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] b8d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] b8e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] b8f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] b90:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided."}]]}] b91:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of 3D Secure check."}]]}] b92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 3D Secure version."}]]}] b93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the 3D Secure check. Only for orders with successful payments."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Not returned for Apple Pay and Google Pay payments."}]}]]}]]}] b94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of CVV verification."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV matches the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV does not match the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"incorrect"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV format is incorrect for this type of card","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_processed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV verification was not performed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] b95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of address verification."}]]}] b96:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of postcode verification."}]]}] b97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of cardholder verification."}]]}] b98:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] b99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] b9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] b9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] b9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] b9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcbe","."]}],"\n"]}]]}] b9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] ba0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Apple Pay."}]]}] ba1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] ba2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ba3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] ba4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] ba5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] ba6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] ba7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] ba8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] ba9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] baa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] bab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] bac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] bad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] bae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] bb0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcbf","."]}],"\n"]}]]}] bb1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] bb2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of the card used for the payment."}]]}] bb3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] bb4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] bb5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] bb6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] bb7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] bb8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] bb9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] bba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] bbb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] bbc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] bbd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] bbe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] bbf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] bc0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] bc2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcc0","."]}],"\n"]}]]}] bc3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] bc4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Google Pay."}]]}] bc5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] bc6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] bc7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] bc8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] bc9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] bca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] bcb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] bcc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] bcd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] bce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] bcf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] bd0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] bd1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] bd2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] bd4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcc1","."]}],"\n"]}]]}] bd5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] bd6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Revolut Pay."}]]}] bd7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] bd8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] bda:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Lcc2","."]}],"\n"]}]]}] bdb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] bdc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] bdd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] bde:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] bdf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] be0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] be1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method used to make the payment."}]]}] be2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] be3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] be4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] be5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] be6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] be7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] be8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] be9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] bea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] beb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The risk level of the card."}],"\n",["$","p","p-1",{"children":["If the risk level is ",["$","code","code-0",{"children":"high"}],", the payment might be declined."]}]]}] bec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order fee."}]]}] bed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment fee (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] bee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment fee. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] bef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the order fee."}]]}] bf0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the person who made the payment."}]]}] bf1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the payer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] bf2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow."}],"\n",["$","p","p-1",{"children":"Capturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters."}]]}] bf3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment for an order."}],"\n",["$","p","p-1",{"children":["For pre-authorised payments, the ",["$","code","code-0",{"children":"authorised_amount"}]," field tracks the currently authorised amount, which may differ from ",["$","code","code-1",{"children":"amount"}]," during incremental authorisation processing."]}]]}] bf4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of all the payments that have been made towards this order (successful or unsuccessful)."}]]}] bf5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] bf6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] bf7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] bf9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] bfa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] bfb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] bfc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] bfd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] bfe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] bff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] c00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] c01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] c02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] c03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] c04:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] c05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] c06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] c07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] c08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] c09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] c0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] c0b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] c0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] c0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$Lcc3"]}]]}]]}] c0e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] c0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$Lcc4","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] c10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] c12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] c13:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] c14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] c15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] c16:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] c17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] c18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Lcc5"]}]]}]]}] c19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c1a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] c1b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] c1c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] c1d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] c1e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] c1f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] c20:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] c21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] c22:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] c23:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] c24:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] c25:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] c26:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] c27:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$Lcc6"]}]]}]]}] c28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] c2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] c2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] c2c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] c2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] c2e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] c2f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] c30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] c31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] c32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] c33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] c34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] c35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] c36:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] c37:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] c39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] c3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] c3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] c3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] c3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] c3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] c3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Lcc7"]}]]}]]}] c40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] c42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] c43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] c44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] c45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] c46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] c48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] c49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] c4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] c4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] c4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] c4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] c4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] c4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] c50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] c51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] c52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Lcc8"]}]]}]]}] c53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] c54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] c55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] c56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] c57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] c58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] c59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] c5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Link to a checkout page hosted by Revolut."}]]}] c5b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] c5c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] c5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier for the subscription."}]]}] c60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for."}],"\n",["$","p","p-1",{"children":"This is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle."}]]}] c61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects."}],"\n",["$","p","p-1",{"children":"This is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle."}]]}] c62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason this subscription order was created."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cycle_billing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated to collect payment for an ongoing subscription cycle. ",["$","code","code-0",{"children":"active_cycle_id"}]," is present; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present if the previous cycle included usage-based products."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final_settlement"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated after the subscription ended to collect outstanding usage-based charges. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"setup_intent"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was manually created by the merchant or customer to update the payment method on file. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is absent."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] c63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created."}],"\n",["$","p","p-1",{"children":"Only present on orders created by a subscription."}]]}] c64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["To process the order from a credit or debit card, you create an ",["$","code","code-0",{"children":"Order"}]," object. You can then retrieve, capture, cancel, refund, or pay an order using its unique ",["$","code","code-1",{"children":"id"}],". Alternatively, you can use its unique ",["$","code","code-2",{"children":"token"}]," to process a card payment with the Revolut Checkout Widget."]}]]}] c65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"OK"}]]}] c66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] c67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] c68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] c69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] c6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] c6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] c6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] c6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] c6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] c6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] c70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] c71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] c88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cancel an existing uncaptured order."}],"\n",["$","p","p-1",{"children":"You can only cancel an order that is in one of the following states:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Order state","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order does not have any successful payment.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The ",["$","code","code-0",{"children":"capture_mode"}]," of an order is set to ",["$","code","code-1",{"children":"manual"}]," and the customer has made a successful payment."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the order lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}]}]]}]]}] c89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] c8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] c8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] c8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] cb3:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cb4:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cb5:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cb6:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cb7:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cbe:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cbf:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cc0:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cc1:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] cc2:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] c9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$Lcc9","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] ca8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$Lcca","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] cd4:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::cdb:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::d0b:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).d1d:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).d2f:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).d41:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).d47:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).d66:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::dcb:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::1c:["$","$5e","capture-order",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Order captured","content":{"application/json":{"schema":{"title":"Order v2","type":"object","description":"To process the order from a credit or debit card, you create an `Order` object. You can then retrieve, capture, cancel, refund, or pay an order using its unique `id`. Alternatively, you can use its unique `token` to process a card payment with the Revolut Checkout Widget.","properties":{"id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$Lccb"},"token":{"type":"string","description":"Temporary ID for the order, which expires when the payment is authorised.\n\nThe order `token` is used for [token-based initialisation](https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based), and is returned by the `createOrder` callback in the following payment methods:\n\n- [Embedded Checkout](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface)\n- [Revolut Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options)\n- [Apple Pay and Google Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface)\n- [Pay by Bank](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface)","descriptionNode":"$Lccc"},"type":{"type":"string","description":"The type of the order.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","descriptionNode":"$Lccd"},"state":{"type":"string","description":"The state of the order in its lifecycle.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Order created, awaiting payment |\n| `processing` | Payment is being processed |\n| `authorised` | Payment authorised but not yet captured (for manual capture) |\n| `completed` | Payment successfully captured and settled |\n| `cancelled` | Order was cancelled |\n| `failed` | Payment failed |\n\n:::info\nFor more information, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle)\n:::","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:examples","descriptionNode":"$Lcce"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$Lccf"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$Lcd0"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$Lcd1"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:capture_mode:enum","descriptionNode":"$Lcd2"},"authorisation_type":{"type":"string","description":"The type of authorisation for the order. Used with manual capture mode. If omitted, `final` is used by default.\n\n### Pre-authorisation\n\nPre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:\n\n- Hotel bookings where the final amount may vary\n- Car rentals where additional charges may apply\n- Deposits that need to be held temporarily\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `final` | Standard authorisation for immediate or near-immediate capture. |\n| `pre_authorisation` | Reserve funds for later capture, used with manual capture mode. |\n\n:::note\nPre-authorisation must be used with `capture_mode: manual`. For more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"final","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authorisation_type:enum","descriptionNode":"$Lcd3"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$cd4","descriptionNode":"$Lcd5"},"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$Lcd6"},"outstanding_amount":{"type":"integer","description":"The amount not yet paid for a given order (in minor currency units). For example, `7034` represents €70.34. \n\nThe value in this field may differ from `amount` if there are partial payments associated with the order.","descriptionNode":"$Lcd7"},"refunded_amount":{"type":"integer","description":"The amount that was refunded from the order (in minor currency units). For example, `7034` represents €70.34. \n\nThis applies to orders that have been refunded (i.e., orders of type `payment` that have a related `refund` order).","descriptionNode":"$Lcd8"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lcd9"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lcda"},"customer":{"type":"object","description":"$cdb","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$Lcdc"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$Lcdd"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$Lcde"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$Lcdf"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$Lce0"}},"descriptionNode":"$Lce1"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$Lce2"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$Lce3"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$Lce4"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$Lce5"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$Lce6"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$Lce7"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Lce8"},"payments":{"type":"array","description":"The details of all the payments that have been made towards this order (successful or unsuccessful).","items":{"type":"object","description":"Represents a payment for an order.\n\nFor pre-authorised payments, the `authorised_amount` field tracks the currently authorised amount, which may differ from `amount` during incremental authorisation processing.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$Lce9"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$Lcea"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$Lceb"},"bank_message":{"type":"string","description":"The reason for a `failed` or `declined` payment, sent by the financial institution processing the payment.","descriptionNode":"$Lcec"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment was created.","descriptionNode":"$Lced"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment was last updated.","descriptionNode":"$Lcee"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$Lcef"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$Lcf0"},"authorised_amount":{"type":"integer","description":"The currently authorised amount for this payment (in minor units).\n\nFor pre-authorised payments with incremental authorization:\n- Initially equals the `amount` field\n- Remains unchanged during increment processing\n- Updates to new amount upon successful increment\n- Remains at original amount if increment is declined\n\nFor standard payments, this field may not be present or will equal the `amount` field.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:authorised_amount:examples","descriptionNode":"$Lcf1"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lcf2"},"settled_amount":{"type":"integer","description":"The amount of the settled payment (minor currency unit). For example, `7034` stands for €70.34.","descriptionNode":"$Lcf3"},"settled_currency":{"type":"string","description":"The currency of the settled payment. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lcf4"},"payment_method":{"type":"object","description":"The details of the payment method used to make the payment.","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:discriminator","oneOf":[{"type":"object","description":"Object containing details of a card used via Apple Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lcf5"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lcf6"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:card_brand:enum","descriptionNode":"$Lcf7"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:funding:enum","descriptionNode":"$Lcf8"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lcf9"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lcfa"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lcfb"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lcfc"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lcfd"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":{"type":"object","description":"The details of the 3D Secure check. Only for orders with successful payments.\n\n:::note\nNot returned for Apple Pay and Google Pay payments.\n:::","properties":{"eci":{"type":"string","description":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided.","descriptionNode":"$Lcfe"},"state":{"type":"string","description":"The result of 3D Secure check.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds:properties:state:enum","descriptionNode":"$Lcff"},"version":{"type":"integer","description":"The 3D Secure version.","descriptionNode":"$Ld00"}},"descriptionNode":"$Ld01"},"cvv_verification":{"type":"string","description":"The result of CVV verification.\n\n| Parameter value | Description |\n| ----- | ----------- |\n| `match` | CVV matches the card's CVV |\n| `not_match` | CVV does not match the card's CVV |\n| `incorrect` | CVV format is incorrect for this type of card |\n| `not_processed` | CVV verification was not performed |","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification:enum","descriptionNode":"$Ld02"},"address":{"type":"string","description":"The result of address verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address:enum","descriptionNode":"$Ld03"},"postcode":{"type":"string","description":"The result of postcode verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode:enum","descriptionNode":"$Ld04"},"cardholder":{"type":"string","description":"The result of cardholder verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder:enum","descriptionNode":"$Ld05"}},"descriptionNode":"$Ld06"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Ld07"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Ld08"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Ld09"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Ld0a"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$d0b","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Ld0c"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Ld0d"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:required","descriptionNode":"$Ld0e"},{"type":"object","description":"Object containing details of the card used for the payment.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Ld0f"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Ld10"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:card_brand:enum","descriptionNode":"$Ld11"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:funding:enum","descriptionNode":"$Ld12"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Ld13"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Ld14"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Ld15"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Ld16"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Ld17"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Ld18"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Ld19"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Ld1a"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Ld1b"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Ld1c"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$d1d","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Ld1e"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Ld1f"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:required","descriptionNode":"$Ld20"},{"type":"object","description":"Object containing details of a card used via Google Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Ld21"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Ld22"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:card_brand:enum","descriptionNode":"$Ld23"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:funding:enum","descriptionNode":"$Ld24"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Ld25"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Ld26"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Ld27"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Ld28"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Ld29"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Ld2a"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Ld2b"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Ld2c"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Ld2d"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Ld2e"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$d2f","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Ld30"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Ld31"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:required","descriptionNode":"$Ld32"},{"type":"object","description":"Object containing details of a card used via Revolut Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Ld33"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Ld34"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:card_brand:enum","descriptionNode":"$Ld35"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:funding:enum","descriptionNode":"$Ld36"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Ld37"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Ld38"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Ld39"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Ld3a"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Ld3b"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Ld3c"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Ld3d"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Ld3e"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Ld3f"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Ld40"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$d41","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Ld42"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Ld43"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:required","descriptionNode":"$Ld44"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Ld45"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Ld46"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$d47","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Ld48"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:4:required"},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$Ld49"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Ld4a"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$Ld4b"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$Ld4c"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$Ld4d"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$Ld4e"}],"descriptionNode":"$Ld4f"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Ld50"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$Ld51"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$Ld52"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Ld53"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$Ld54"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$Ld55"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$Ld56"}],"descriptionNode":"$Ld57"},"billing_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_1","street_line_2":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_2","region":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:region","city":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:city","country_code":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:country_code","postcode":"$1c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:postcode"},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Ld58"},"risk_level":{"type":"string","description":"The risk level of the card.\n\nIf the risk level is `high`, the payment might be declined.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:risk_level:enum","descriptionNode":"$Ld59"},"fees":{"type":"array","description":"The details of the order fee.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the order fee.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:fees:items:properties:type:enum","descriptionNode":"$Ld5a"},"amount":{"type":"integer","description":"The amount of the payment fee (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$Ld5b"},"currency":{"type":"string","description":"The currency of the payment fee. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Ld5c"}}},"descriptionNode":"$Ld5d"},"payer":{"title":"Payer","type":"object","description":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow.\n\nCapturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters.","properties":{"email":{"description":"The email of the person who made the payment.","type":"string","format":"email","descriptionNode":"$Ld5e"},"phone":{"description":"The phone number of the payer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","type":"string","descriptionNode":"$Ld5f"}},"descriptionNode":"$Ld60"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:required","descriptionNode":"$Ld61"},"descriptionNode":"$Ld62"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$Ld63"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$Ld64"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$Ld65"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:discriminator","oneOf":[{"type":"object","description":"$d66","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Ld67"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Ld68"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$Ld69"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$Ld6a"},"ticket_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_type:enum","description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Ld6b"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$Ld6c"},"ticket_change_indicator":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_change_indicator:enum","description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$Ld6d"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Ld6e"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$Ld6f"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$Ld70"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:passengers:items:required"},"descriptionNode":"$Ld71"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$Ld72"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$Ld73"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$Ld74"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$Ld75"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$Ld76"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$Ld77"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$Ld78"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$Ld79"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$Ld7a"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:journey_legs:items:required"},"descriptionNode":"$Ld7b"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Ld7c"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:required","descriptionNode":"$Ld7d"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Ld7e"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$Ld7f"},"status":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:properties:status:enum","description":"The status of the crypto transaction.","descriptionNode":"$Ld80"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Ld81"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Ld82"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:required"},"minItems":1,"descriptionNode":"$Ld83"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$Ld84"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Ld85"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:required","descriptionNode":"$Ld86"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Ld87"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$Ld88"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$Ld89"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Ld8a"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$Ld8b"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Ld8c"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Ld8d"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Ld8e"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Ld8f"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Ld90"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$Ld91"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Ld92"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:properties:address:required","descriptionNode":"$Ld93"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:required","descriptionNode":"$Ld94"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:required","descriptionNode":"$Ld95"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Ld96"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Ld97"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$Ld98"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$Ld99"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$Ld9a"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Ld9b"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$Ld9c"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Ld9d"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Ld9e"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Ld9f"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lda0"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lda1"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lda2"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:location:required","descriptionNode":"$Lda3"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:category:enum","description":"The type of the event.","descriptionNode":"$Lda4"},"market":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:market:enum","description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$Lda5"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$Lda6"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$Lda7"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lda8"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:tickets:items:required","descriptionNode":"$Lda9"},"description":"A list of tickets associated with the booking.","descriptionNode":"$Ldaa"}},"descriptionNode":"$Ldab"},"descriptionNode":"$Ldac"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:required","descriptionNode":"$Ldad"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Ldae"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Ldaf"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$Ldb0"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$Ldb1"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Ldb2"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:category:enum","description":"The type of the accommodation associated with the booking.","descriptionNode":"$Ldb3"},"booking_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:booking_type:enum","description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Ldb4"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Ldb5"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Ldb6"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Ldb7"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Ldb8"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Ldb9"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Ldba"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Ldbb"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:location:required","descriptionNode":"$Ldbc"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$Ldbd"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$Ldbe"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:guests:items:required"},"description":"List of guests associated with the booking.","descriptionNode":"$Ldbf"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:required","descriptionNode":"$Ldc0"}],"descriptionNode":"$Ldc1"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Ldc2"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$Ldc3"}},"descriptionNode":"$Ldc4"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$Ldc5"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$Ldc6"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:upcoming_payment_data:required","descriptionNode":"$Ldc7"},"checkout_url":{"type":"string","description":"Link to a checkout page hosted by Revolut.","format":"uri","descriptionNode":"$Ldc8"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$Ldc9"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:enforce_challenge:enum","descriptionNode":"$Ldca"},"statement_descriptor_suffix":{"type":"string","description":"$dcb","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$Ldcc"},"subscription_data":{"title":"Subscription data","type":"object","required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:required","description":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created.\n\nOnly present on orders created by a subscription.","properties":{"subscription_id":{"type":"string","format":"uuid","description":"Unique identifier for the subscription.","descriptionNode":"$Ldcd"},"active_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for.\n\nThis is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle.","descriptionNode":"$Ldce"},"settled_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects.\n\nThis is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle.","descriptionNode":"$Ldcf"},"billing_reason":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:properties:billing_reason:enum","description":"The reason this subscription order was created.\n\n| Value | Description |\n| ----- | ----------- |\n| `cycle_billing` | The order was automatically generated to collect payment for an ongoing subscription cycle. `active_cycle_id` is present; `settled_cycle_id` is present if the previous cycle included usage-based products. |\n| `final_settlement` | The order was automatically generated after the subscription ended to collect outstanding usage-based charges. `active_cycle_id` is absent; `settled_cycle_id` is present. |\n| `setup_intent` | The order was manually created by the merchant or customer to update the payment method on file. `active_cycle_id` is absent; `settled_cycle_id` is absent. |","descriptionNode":"$Ldd0"}},"descriptionNode":"$Ldd1"}},"descriptionNode":"$Ldd2"},"examples":{"captured_order":{"summary":"Captured order","value":{"id":"65c4c739-113d-a608-9128-47c7ca90cbe3","token":"ebc06202-061e-4d0f-8063-99195fad31fb","type":"payment","state":"completed","created_at":"2024-02-08T12:21:13.022871Z","updated_at":"2024-02-08T12:21:52.194601Z","amount":100,"currency":"GBP","refunded_amount":0,"outstanding_amount":0,"capture_mode":"manual","payments":[{"id":"65c4c748-bf0d-af8a-9d69-0fc92bc0ff94","state":"captured","created_at":"2024-02-08T12:21:28.803165Z","updated_at":"2024-02-08T12:21:52.191352Z","token":"74af5a2b-6722-4353-aaf1-cd5926883b60","amount":100,"currency":"GBP","settled_amount":100,"settled_currency":"GBP","billing_address":{"country_code":"US","postcode":"12345"},"risk_level":"low","fees":[],"payment_method":{"type":"revolut_pay_card","card_brand":"visa","funding":"debit","card_country_code":"US","card_bin":"529999","card_last_four":"0368","card_expiry":"12/28","cardholder_name":"Test Holder","checks":{"three_ds":{"state":"verified","version":2}}}}],"enforce_challenge":"automatic"}}}}},"descriptionNode":"$Ldd3"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Ldd4"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Ldd5"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Ldd6"}}},"examples":{"example-1":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1601296792533}}}}},"descriptionNode":"$Ldd7"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Ldd8"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Ldd9"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Ldda"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$Lddb"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lddc"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lddd"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Ldde"}}},"examples":{"default":{"value":{"code":"not_found","message":"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found","timestamp":1721050063886}}}}},"descriptionNode":"$Lddf"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Order capture request parameters.","properties":{"amount":{"type":"integer","description":"Specify an amount to capture, in minor currency units. The amount must not exceed the authorised amount.\n\nAn order can only be captured once. Partial capture is supported by sending an amount lower than the authorised amount. The uncaptured amount will be voided.\n\nIf you resend a capture request for an order that is already captured, no additional capture is performed. Resending with the same amount returns the current order state, while resending with a different amount returns an error.\n\nIf not provided, it defaults to the authorised amount (full capture will be executed).","descriptionNode":"$Lde0"}},"descriptionNode":"$Lde1"},"examples":{"example_minimal":{"summary":"Capture with amount only","value":{"amount":100}}}}}},"variantLabels":[],"children":["$Lde2","$Lde3"]}]}],false]}] de2:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"capture-order","children":[["$Lde4","$undefined"],["$","$L15",null,{"id":"capture-order"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/capture-order.md"}]]}]}],"$undefined"]}] dea:T638,
curl -X POST "https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Revolut-Api-Version: __RP_TOK_2__" \
  -d '{
  "amount": 100
}'
deb:Te81,
const payload = {
  "amount": 100
};
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
dec:T161d,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture"
  jsonData := []byte(`
{
  "amount": 100
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
ded:Tbb5,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}
payload = {
  "amount": 100
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
dee:T1b81,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 100
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
def:T1cbf,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 100
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
df0:T640,
curl -X POST "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Revolut-Api-Version: __RP_TOK_2__" \
  -d '{
  "amount": 100
}'
df1:Te89,
const payload = {
  "amount": 100
};
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
df2:T1625,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture"
  jsonData := []byte(`
{
  "amount": 100
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
df3:Tbbd,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}
payload = {
  "amount": 100
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
df4:T1b89,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 100
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
df5:T1cc7,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 100
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
de3:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lde5",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$Lde6"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$16e:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$16e:props:children:0:props:children:1:props:parameters:1:schema:examples"},"required":true,"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\nIf not specified, you will receive an error.\n\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"example":"2023-09-01","descriptionNode":"$Lde7"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$Lde8"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$Lde9"}],"requestBody":"$1c:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$1c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 100\n}'","templateHtml":"$dea","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 100\n};\nfetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$deb","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"\n jsonData := []byte(`\n{\n \"amount\": 100\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dec","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 100\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$ded","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 100\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$dee","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 100\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$def","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 100\n}'","templateHtml":"$df0","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 100\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$df1","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"\n jsonData := []byte(`\n{\n \"amount\": 100\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$df2","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 100\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$df3","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 100\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_1__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$df4","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__/capture\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 100\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$df5","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}/capture","parameters":["$de3:props:children:0:props:children:1:props:parameters:0","$de3:props:children:0:props:children:1:props:parameters:1","$de3:props:children:0:props:children:1:props:parameters:2"]}],"$Ldf6"],"$Ldf7","$Ldf8"]}]]}] df6:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Ldf9"}}}] df7:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_minimal","label":"Capture with amount only","rawValue":"$1c:props:children:0:props:children:props:requestBody:content:application/json:examples:example_minimal:value","block":"$Ldfa"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] df8:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"captured_order","label":"Captured order","rawValue":"$1c:props:children:0:props:children:props:responses:200:content:application/json:examples:captured_order:value","block":"$Ldfb"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"example-1","label":"example-1","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:example-1:value","block":"$Ldfc"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1c:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$Ldfd"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1c:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Ldfe"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] de4:"Capture an order" ccb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] ccc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary ID for the order, which expires when the payment is authorised."}],"\n",["$","p","p-1",{"children":["The order ",["$","code","code-0",{"children":"token"}]," is used for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based","target":"_blank","rel":"noreferrer","children":"token-based initialisation"}],", and is returned by the ",["$","code","code-1",{"children":"createOrder"}]," callback in the following payment methods:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface","target":"_blank","rel":"noreferrer","children":"Embedded Checkout"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface","target":"_blank","rel":"noreferrer","children":"Apple Pay and Google Pay"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface","target":"_blank","rel":"noreferrer","children":"Pay by Bank"}]}],"\n"]}]]}] ccd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] cce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order in its lifecycle."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order created, awaiting payment","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment is being processed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorised but not yet captured (for manual capture)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment successfully captured and settled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order was cancelled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment failed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}]]}]}]]}]]}] ccf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] cd0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] cd1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] cd2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] cd3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of authorisation for the order. Used with manual capture mode. If omitted, ",["$","code","code-0",{"children":"final"}]," is used by default."]}],"\n",["$","h1","h1-0",{"children":"Pre-authorisation"}],"\n",["$","p","p-1",{"children":"Pre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Hotel bookings where the final amount may vary"}],"\n",["$","li","li-1",{"children":"Car rentals where additional charges may apply"}],"\n",["$","li","li-2",{"children":"Deposits that need to be held temporarily"}],"\n"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Standard authorisation for immediate or near-immediate capture.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pre_authorisation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve funds for later capture, used with manual capture mode.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Pre-authorisation must be used with ",["$","code","code-0",{"children":"capture_mode: manual"}],". For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] cd5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] cd6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] cd7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount not yet paid for a given order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["The value in this field may differ from ",["$","code","code-0",{"children":"amount"}]," if there are partial payments associated with the order."]}]]}] cd8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount that was refunded from the order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["This applies to orders that have been refunded (i.e., orders of type ",["$","code","code-0",{"children":"payment"}]," that have a related ",["$","code","code-1",{"children":"refund"}]," order)."]}]]}] cd9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] cda:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] cdc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] cdd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] cde:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] cdf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] ce0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] ce1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] ce2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] ce3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] ce4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] ce5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] ce6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] ce7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] ce8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] ce9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] cea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] ceb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] cec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment, sent by the financial institution processing the payment."]}]]}] ced:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was created."}]]}] cee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was last updated."}]]}] cef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] cf0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] cf1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currently authorised amount for this payment (in minor units)."}],"\n",["$","p","p-1",{"children":"For pre-authorised payments with incremental authorization:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Initially equals the ",["$","code","code-0",{"children":"amount"}]," field"]}],"\n",["$","li","li-1",{"children":"Remains unchanged during increment processing"}],"\n",["$","li","li-2",{"children":"Updates to new amount upon successful increment"}],"\n",["$","li","li-3",{"children":"Remains at original amount if increment is declined"}],"\n"]}],"\n",["$","p","p-2",{"children":["For standard payments, this field may not be present or will equal the ",["$","code","code-0",{"children":"amount"}]," field."]}]]}] cf2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] cf3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the settled payment (minor currency unit). For example, ",["$","code","code-0",{"children":"7034"}]," stands for €70.34."]}]]}] cf4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the settled payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] cf5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] cf6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] cf7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] cf8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] cf9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] cfa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] cfb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] cfc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] cfd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] cfe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided."}]]}] cff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of 3D Secure check."}]]}] d00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 3D Secure version."}]]}] d01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the 3D Secure check. Only for orders with successful payments."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Not returned for Apple Pay and Google Pay payments."}]}]]}]]}] d02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of CVV verification."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV matches the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV does not match the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"incorrect"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV format is incorrect for this type of card","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_processed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV verification was not performed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of address verification."}]]}] d04:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of postcode verification."}]]}] d05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of cardholder verification."}]]}] d06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] d07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] d08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] d09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] d0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] d0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Ldff","."]}],"\n"]}]]}] d0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] d0e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Apple Pay."}]]}] d0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] d10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] d12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] d13:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] d14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] d15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] d16:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] d17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] d18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] d19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] d1a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] d1b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] d1c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] d1e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Le00","."]}],"\n"]}]]}] d1f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] d20:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of the card used for the payment."}]]}] d21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] d22:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d23:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] d24:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] d25:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] d26:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] d27:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] d28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] d29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] d2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] d2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] d2c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] d2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] d2e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] d30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Le01","."]}],"\n"]}]]}] d31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] d32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Google Pay."}]]}] d33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] d34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] d36:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] d37:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] d38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] d39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] d3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] d3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] d3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] d3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] d3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] d3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] d40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] d42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Le02","."]}],"\n"]}]]}] d43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] d44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Revolut Pay."}]]}] d45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] d46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$Le03","."]}],"\n"]}]]}] d49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] d4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] d4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] d4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] d4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] d4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method used to make the payment."}]]}] d50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] d51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] d52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] d53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] d54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] d55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] d56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] d57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] d58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] d59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The risk level of the card."}],"\n",["$","p","p-1",{"children":["If the risk level is ",["$","code","code-0",{"children":"high"}],", the payment might be declined."]}]]}] d5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order fee."}]]}] d5b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment fee (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] d5c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment fee. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] d5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the order fee."}]]}] d5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the person who made the payment."}]]}] d5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the payer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] d60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow."}],"\n",["$","p","p-1",{"children":"Capturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters."}]]}] d61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment for an order."}],"\n",["$","p","p-1",{"children":["For pre-authorised payments, the ",["$","code","code-0",{"children":"authorised_amount"}]," field tracks the currently authorised amount, which may differ from ",["$","code","code-1",{"children":"amount"}]," during incremental authorisation processing."]}]]}] d62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of all the payments that have been made towards this order (successful or unsuccessful)."}]]}] d63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] d64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] d65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] d67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] d69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] d6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] d6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] d6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] d6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] d6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] d70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] d71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] d72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] d73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] d74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] d75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] d76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] d77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] d78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] d79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] d7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] d7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$Le04"]}]]}]]}] d7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] d7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$Le05","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] d7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] d80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] d81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] d82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] d83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] d84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] d85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] d86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Le06"]}]]}]]}] d87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] d89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] d8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] d8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] d8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] d8d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] d8e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] d8f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] d90:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] d91:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] d92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] d93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] d94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] d95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$Le07"]}]]}]]}] d96:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] d97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] d98:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] d99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] d9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] d9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] d9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] d9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] d9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] d9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] da0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] da1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] da2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] da3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] da4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] da5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] da6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] da7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] da8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] da9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] daa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] dab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] dac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] dad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Le08"]}]]}]]}] dae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] daf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] db0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] db1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] db2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] db3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] db4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] db5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] db6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] db7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] db8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] db9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] dba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] dbb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] dbc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] dbd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] dbe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] dbf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] dc0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$Le09"]}]]}]]}] dc1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] dc2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] dc3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] dc4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] dc5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] dc6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] dc7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] dc8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Link to a checkout page hosted by Revolut."}]]}] dc9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] dca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] dcc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] dcd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier for the subscription."}]]}] dce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for."}],"\n",["$","p","p-1",{"children":"This is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle."}]]}] dcf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects."}],"\n",["$","p","p-1",{"children":"This is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle."}]]}] dd0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason this subscription order was created."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cycle_billing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated to collect payment for an ongoing subscription cycle. ",["$","code","code-0",{"children":"active_cycle_id"}]," is present; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present if the previous cycle included usage-based products."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final_settlement"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated after the subscription ended to collect outstanding usage-based charges. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"setup_intent"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was manually created by the merchant or customer to update the payment method on file. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is absent."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] dd1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created."}],"\n",["$","p","p-1",{"children":"Only present on orders created by a subscription."}]]}] dd2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["To process the order from a credit or debit card, you create an ",["$","code","code-0",{"children":"Order"}]," object. You can then retrieve, capture, cancel, refund, or pay an order using its unique ",["$","code","code-1",{"children":"id"}],". Alternatively, you can use its unique ",["$","code","code-2",{"children":"token"}]," to process a card payment with the Revolut Checkout Widget."]}]]}] dd3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Order captured"}]]}] dd4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] dd5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] dd6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] dd7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] dd8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] dd9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] dda:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] ddb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] ddc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] ddd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] dde:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] ddf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] de0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Specify an amount to capture, in minor currency units. The amount must not exceed the authorised amount."}],"\n",["$","p","p-1",{"children":"An order can only be captured once. Partial capture is supported by sending an amount lower than the authorised amount. The uncaptured amount will be voided."}],"\n",["$","p","p-2",{"children":"If you resend a capture request for an order that is already captured, no additional capture is performed. Resending with the same amount returns the current order state, while resending with a different amount returns an error."}],"\n",["$","p","p-3",{"children":"If not provided, it defaults to the authorised amount (full capture will be executed)."}]]}] de1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Order capture request parameters."}]]}] de5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"This endpoint is used to capture the funds of an existing, uncaptured order. When the payment for an order is authorised, you can capture the order to send it to the processing stage."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the order and payment lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment\nlifecycle"}],"."]}]}]]}],"\n",["$","h3","h3-0",{"children":"Capture modes"}],"\n",["$","p","p-1",{"children":["When you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#create-order","target":"_blank","rel":"noreferrer","children":"create an order"}],", you can choose one of the following capture modes:"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["$","strong","strong-0",{"children":"Capture mode"}],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":["$","strong","strong-0",{"children":"Description"}],"className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation. No further actions are needed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order is not captured automatically and stays in ",["$","code","code-0",{"children":"authorised"}]," state. You must manually capture the order using the steps outlined below."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Uncaptured orders remain in ",["$","code","code-0",{"children":"authorised"}]," state ",["$","strong","strong-0",{"children":"for 7 days"}],". If not captured within this period, the funds are returned to the customer's original payment method."]}]}]]}],"\n",["$","h5","h5-0",{"children":"Manual capture"}],"\n",["$","p","p-2",{"children":"To capture an order manually, use one of the following methods:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-1",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["$","strong","strong-0",{"children":"Web UI"}],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":["$","strong","strong-0",{"children":"Merchant API"}],"className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ol","ol-0",{"children":[["$","li","li-0",{"children":["Log in to your ",["$","a","a-0",{"href":"https://business.revolut.com","target":"_blank","rel":"noreferrer","children":"Revolut Business portal"}],"."]}],["$","li","li-1",{"children":["Navigate to the ",["$","strong","strong-0",{"children":"Merchant"}]," tab on the dashboard, and click the ",["$","strong","strong-1",{"children":"See all"}]," button in the ",["$","strong","strong-2",{"children":"Transactions"}]," section."]}],["$","li","li-2",{"children":["Select an uncaptured payment, and click ",["$","strong","strong-0",{"children":"Capture"}],"."]}]]}],"className":"eowryt7","ref":"$undefined"}],"$Le0a"],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n","$Le0b","\n","$Le0c","\n","$Le0d","\n","$Le0e","\n","$Le0f","\n","$Le10","\n","$Le11","\n","$Le12"]}] de6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] de7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","p","p-1",{"children":"If not specified, you will receive an error."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] de8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] de9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] e13:Tfc9,
{
  "id": "6516e61c-d279-a454-a837-bc52ce55ed49",
  "token": "0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T14:58:36.079398Z",
  "updated_at": "2023-09-29T14:58:36.079398Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "enforce_challenge": "automatic"
}
c9b:["$","div","200-application/json-example_order_min",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e13"}}]}]],"$Le14"]}] e15:T214f,
{
  "id": "6516e6ec-c7f7-a0fb-a6d3-add05fa46d2f",
  "token": "1058031d-1e71-4d07-9f97-5ad388a1346c",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T15:02:04.083787Z",
  "updated_at": "2023-09-29T15:02:04.083787Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "capture_mode": "manual",
  "authorisation_type": "final",
  "cancel_authorised_after": "PT30M",
  "description": "Example product",
  "checkout_url": "https://checkout.revolut.com/payment-link/1058031d-1e71-4d07-9f97-5ad388a1346c",
  "redirect_url": "https://www.example.com/redirect",
  "shipping_address": {
    "street_line_1": "7 Westferry Circus",
    "city": "London",
    "country_code": "GB",
    "postcode": "E14 4HD"
  },
  "metadata": {
    "product_type": "Example"
  },
  "enforce_challenge": "forced",
  "customer": {
    "id": "467646d6-e452-4d1e-a401-703f09cd3818",
    "email": "example@example.com",
    "date_of_birth": "1990-01-01"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
c9c:["$","div","200-application/json-example_order_additional",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e15"}}]}]],"$Le16"]}] e17:T31d6,
{
  "id": "6516e61c-d279-a454-a837-bc52ce55ed49",
  "token": "0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "type": "payment",
  "state": "authorised",
  "created_at": "2023-09-29T14:58:36.079398Z",
  "updated_at": "2023-09-29T14:58:36.079398Z",
  "amount": 5000,
  "currency": "GBP",
  "outstanding_amount": 5000,
  "capture_mode": "manual",
  "authorisation_type": "pre_authorisation",
  "cancel_authorised_after": "PT72H",
  "description": "Hotel reservation deposit",
  "checkout_url": "https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "enforce_challenge": "automatic",
  "payments": [
    {
      "id": "6516f38a-a12b-aca3-83f2-6ed16d6ed246",
      "state": "authorised",
      "created_at": "2023-09-29T14:55:54.579311Z",
      "updated_at": "2023-09-29T14:56:38.403232Z",
      "amount": 5000,
      "currency": "GBP",
      "settled_amount": 5000,
      "settled_currency": "GBP",
      "billing_address": {
        "country_code": "GB",
        "postcode": "SW1A 1AA"
      },
      "risk_level": "low",
      "fees": [],
      "payer": {
        "email": "example.payer@example.com",
        "phone": "+447911123456"
      },
      "payment_method": {
        "type": "card",
        "card_brand": "visa",
        "funding": "credit",
        "card_country_code": "GB",
        "card_bin": "411111",
        "card_last_four": "1111",
        "card_expiry": "12/25",
        "cardholder_name": "Example Holder",
        "capture_deadline": "2023-10-06T14:55:54.579311Z",
        "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=",
        "network_transaction_id": "1234567890123456"
      }
    }
  ]
}
c9d:["$","div","200-application/json-example_order_pre_auth",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e17"}}]}]],"$Le18"]}] e19:T1456,
{
  "id": "7a1b2c3d-4e5f-6789-abcd-e1234567890a",
  "token": "9f8e7d6c-5b4a-3210-fedc-ba0987654321",
  "type": "payment",
  "state": "completed",
  "created_at": "2025-06-15T10:30:00.000000Z",
  "updated_at": "2025-06-15T10:31:00.000000Z",
  "amount": 1999,
  "currency": "GBP",
  "outstanding_amount": 0,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/9f8e7d6c-5b4a-3210-fedc-ba0987654321",
  "enforce_challenge": "automatic",
  "subscription_data": {
    "subscription_id": "e2862e0e-66e8-4623-bdd6-7da59b85365d",
    "active_cycle_id": "a1b2c3d4-5678-9012-abcd-ef1234567890",
    "billing_reason": "cycle_billing"
  }
}
c9e:["$","div","200-application/json-example_order_subscription",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e19"}}]}]],"$Le1a"]}] e1b:T539a,
{
  "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0",
  "token": "061f2c63-e36b-421e-9ece-5adfcd580886",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T15:28:12.114992Z",
  "updated_at": "2023-09-29T15:28:12.114992Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "settlement_currency": "EUR",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Example order description",
  "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886",
  "redirect_url": "https://www.example.com/redirect",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "airline",
    "booking_id": "unique-booking-id-12345",
    "fulfillment_date": "2023-07-10T14:00:00.069624Z",
    "ticket_type": "flexible",
    "crs_code": "DATS",
    "ticket_change_indicator": "new",
    "refundability": "refundable",
    "passengers": [
      {
        "first_name": "Example",
        "last_name": "Customer"
      },
      {
        "first_name": "John",
        "last_name": "Doe"
      }
    ],
    "journey_legs": [
      {
        "sequence": 1,
        "departure_airport_code": "FRA",
        "arrival_airport_code": "LHR",
        "flight_number": "670",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 2,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "DUB",
        "flight_number": "678",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T15:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 3,
        "departure_airport_code": "DUB",
        "arrival_airport_code": "LHR",
        "flight_number": "679",
        "fare_base_code": "F",
        "travel_date": "2023-07-15T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 4,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "FRA",
        "flight_number": "671",
        "fare_base_code": "F",
        "travel_date": "2023-07-10T14:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      }
    ],
    "booking_url": "https://example.com/bookings/1234"
  },
  "enforce_challenge": "forced",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+441234567890",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/ticketnumber-12345",
    "reference": "example_airline_reference"
  }
}
c9f:["$","div","200-application/json-example_order_airline",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1b"}}]}]],"$Le1c"]}] e1d:T33ef,
{
  "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0",
  "token": "061f2c63-e36b-421e-9ece-5adfcd580886",
  "type": "payment",
  "state": "pending",
  "created_at": "2025-01-29T15:28:12.114992Z",
  "updated_at": "2025-01-29T15:28:12.114992Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Example car rental order",
  "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886",
  "redirect_url": "https://www.example.com/redirect",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "car_rental",
    "booking_id": "example_booking_id",
    "pick_up_date": "2026-03-01T11:00:00Z",
    "drop_off_date": "2026-03-05T16:30:00Z",
    "refundability": "partially_refundable",
    "pick_up_location": {
      "street_line_1": "1 Example Street",
      "city": "London",
      "country_code": "GB",
      "postcode": "SW1A 1AA"
    },
    "drop_off_location": {
      "street_line_1": "10 Another Road",
      "city": "Manchester",
      "country_code": "GB",
      "postcode": "M1 1AA"
    },
    "distance_limit": {
      "limit": 500,
      "unit": "miles",
      "additional_distance_cost": {
        "amount": 150,
        "currency": "GBP"
      }
    }
  },
  "enforce_challenge": "forced",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+447700900000",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/rental/example_booking_id",
    "reference": "example_car_rental_reference"
  }
}
ca0:["$","div","200-application/json-example_order_car_rental",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1d"}}]}]],"$Le1e"]}] e1f:T24df,
{
  "id": "6516edb9-74af-ae47-829b-1475e807a8d7",
  "token": "1e619c26-d954-4d45-94ab-aba1e407fcee",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T15:31:05.746826Z",
  "updated_at": "2023-09-29T15:31:05.746826Z",
  "amount": 26100,
  "currency": "EUR",
  "outstanding_amount": 26100,
  "settlement_currency": "EUR",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Customer wants to buy 0.01 BTC",
  "checkout_url": "https://checkout.revolut.com/payment-link/1e619c26-d954-4d45-94ab-aba1e407fcee",
  "redirect_url": "https://www.example.com/redirect",
  "industry_data": {
    "type": "crypto",
    "transactions": [
      {
        "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b",
        "status": "pending",
        "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c"
      }
    ],
    "subseller_mcc": "1234",
    "subseller_url": "https://example.com"
  },
  "enforce_challenge": "automatic",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+44123456789",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/cryptotransactionnumber-12345",
    "reference": "example_crypto_reference"
  }
}
ca1:["$","div","200-application/json-example_order_crypto",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1f"}}]}]],"$Le20"]}] e21:T1fa6,
{
  "id": "670920dc-d343-abf8-963a-68ae1bc8ae58",
  "token": "41aabe45-b444-45e6-8363-f0433452e138",
  "type": "payment",
  "state": "pending",
  "created_at": "2024-10-11T12:58:04.826974Z",
  "updated_at": "2024-10-11T12:58:04.826974Z",
  "amount": 10000,
  "currency": "EUR",
  "outstanding_amount": 10000,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138",
  "industry_data": {
    "type": "marketplace",
    "subseller": {
      "id": "123-45-67",
      "name": "Example Subseller",
      "address": {
        "street_line_1": "1 Canada Square",
        "street_line_2": "Revolut LTD, Level 39",
        "region": "Greater London",
        "city": "London",
        "country_code": "GB",
        "country_subdivision_code": "GB-LND",
        "postcode": "E14 4HD"
      },
      "website": "https://example.com/123-45-67",
      "phone": "+441234567890"
    }
  },
  "enforce_challenge": "automatic"
}
ca2:["$","div","200-application/json-example_order_marketplace",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e21"}}]}]],"$Le22"]}] e23:T2e6f,
{
  "id": "67bf20c4-59a5-a7a9-81ad-052fda5f80eb",
  "token": "8737a497-9bae-4647-90bf-1abe2fd9162a",
  "type": "payment",
  "state": "pending",
  "created_at": "2025-02-26T14:10:12.804901Z",
  "updated_at": "2025-02-26T14:10:12.804901Z",
  "amount": 100,
  "currency": "GBP",
  "outstanding_amount": 100,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a",
  "industry_data": {
    "type": "event",
    "booking_id": "example_booking_123",
    "events": [
      {
        "start_date": "2025-03-04T14:00:00Z",
        "end_date": "2025-03-04T17:00:00Z",
        "supplier": "Example Supplier",
        "supplier_payment_date": "2025-03-03T14:00:15Z",
        "name": "Example Event",
        "location": {
          "street_line_1": "Example Street 123",
          "street_line_2": "II/123",
          "region": "London",
          "city": "London",
          "country_code": "GB",
          "postcode": "123456"
        },
        "category": "exhibition",
        "market": "primary",
        "tickets": [
          {
            "id": "example_ticket_1",
            "transferable": false,
            "refundability": "partially_refundable"
          },
          {
            "id": "example_ticket_2",
            "transferable": true,
            "refundability": "non_refundable"
          },
          {
            "id": "example_ticket_3"
          }
        ]
      }
    ]
  },
  "enforce_challenge": "automatic"
}
ca3:["$","div","200-application/json-example_order_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e23"}}]}]],"$Le24"]}] e25:T2735,
{
  "id": "67c70d42-1545-a73d-a4a5-35b7ac49e1da",
  "token": "9effe2b6-8907-4954-9e9b-696f763f7e08",
  "type": "payment",
  "state": "pending",
  "created_at": "2025-03-04T14:25:06.099782Z",
  "updated_at": "2025-03-04T14:25:06.099782Z",
  "amount": 100,
  "currency": "GBP",
  "outstanding_amount": 100,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08",
  "industry_data": {
    "type": "lodging",
    "booking_id": "example_booking_123",
    "check_out_date": "2025-05-05T11:00:00Z",
    "booking_type": "flexible",
    "refundability": "partially_refundable",
    "location": {
      "street_line_1": "Example Street 123",
      "street_line_2": "II/123",
      "region": "London",
      "city": "London",
      "country_code": "GB",
      "postcode": "123456"
    },
    "guests": [
      {
        "first_name": "First",
        "last_name": "Guest"
      },
      {
        "first_name": "Second",
        "last_name": "Guest"
      }
    ],
    "check_in_date": "2025-05-01T15:00:00Z",
    "supplier_payment_date": "2025-05-05T11:00:00Z",
    "category": "bed_and_breakfast"
  },
  "enforce_challenge": "automatic"
}
ca4:["$","div","200-application/json-example_order_lodging",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e25"}}]}]],"$Le26"]}] e27:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1601296792533
}
ca5:["$","div","400-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e27"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1601296792533\n}"}]}]]}] e28:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
ca6:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e28"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] e29:T494,
{
  "code": "not_found",
  "message": "Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found",
  "timestamp": 1721050063886
}
ca7:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e29"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"not_found\",\n \"message\": \"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found\",\n \"timestamp\": 1721050063886\n}"}]}]]}] e2a:Tf7d,
{
  "id": "6516f565-c903-ae7d-8582-0bc70468ec29",
  "token": "579462b3-da89-4a46-8690-572d3968573f",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2023-09-29T16:03:49.569437Z",
  "updated_at": "2023-09-29T16:04:30.727004Z",
  "amount": 500,
  "currency": "GBP",
  "refunded_amount": 0,
  "outstanding_amount": 0,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "enforce_challenge": "automatic"
}
ca9:["$","div","200-application/json-example_order_min",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e2a"}}]}]],"$Le2b"]}] e2c:T3c4c,
{
  "id": "6516f379-c03f-adf3-a2bf-24b328909731",
  "token": "91533c29-47d1-4ae9-a73f-74225fd4b176",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2023-09-29T15:55:37.201407Z",
  "updated_at": "2023-09-29T15:56:38.398961Z",
  "amount": 500,
  "currency": "GBP",
  "refunded_amount": 0,
  "outstanding_amount": 500,
  "capture_mode": "manual",
  "authorisation_type": "final",
  "cancel_authorised_after": "PT30M",
  "description": "Example product",
  "checkout_url": "https://checkout.revolut.com/payment-link/91533c29-47d1-4ae9-a73f-74225fd4b176",
  "redirect_url": "https://www.example.com/redirect",
  "shipping_address": {
    "street_line_1": "7 Westferry Circus",
    "city": "London",
    "country_code": "GB",
    "postcode": "E14 4HD"
  },
  "metadata": {
    "product_type": "Example"
  },
  "payments": [
    {
      "id": "6516f38a-a12b-aca3-83f2-6ed16d6ed246",
      "state": "authorised",
      "created_at": "2023-09-29T15:55:54.579311Z",
      "updated_at": "2023-09-29T15:56:38.403232Z",
      "amount": 500,
      "currency": "GBP",
      "settled_amount": 500,
      "settled_currency": "GBP",
      "billing_address": {
        "street_line_1": "26 Atkins Avenue",
        "street_line_2": "New York 42233",
        "city": "SentinelFraudLow",
        "country_code": "GB",
        "postcode": "PE3 9UP"
      },
      "risk_level": "low",
      "fees": [],
      "payer": {
        "email": "example.payer@example.com",
        "phone": "+447911123456"
      },
      "payment_method": {
        "type": "revolut_pay_account",
        "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY="
      }
    }
  ],
  "enforce_challenge": "forced",
  "customer": {
    "id": "3c131306-0a0a-4f54-99d7-3fb2e027c6f7",
    "email": "example@example.com",
    "phone": "+441234567890",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
caa:["$","div","200-application/json-example_order_additional",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e2c"}}]}]],"$Le2d"]}] e2e:T73ff,
{
  "id": "6516f2f3-fd2c-ac2c-9bf2-3e02711dd3fb",
  "token": "245e63f3-1e44-40db-bcd4-4448263d3fa2",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2023-09-29T15:53:23.234913Z",
  "updated_at": "2023-09-29T16:24:39.366956Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "settlement_currency": "EUR",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Example order description",
  "checkout_url": "https://checkout.revolut.com/payment-link/245e63f3-1e44-40db-bcd4-4448263d3fa2",
  "redirect_url": "https://www.example.com/redirect",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "airline",
    "booking_id": "unique-booking-id-12345",
    "fulfillment_date": "2023-07-10T14:00:00.069624Z",
    "ticket_type": "flexible",
    "crs_code": "DATS",
    "ticket_change_indicator": "new",
    "refundability": "refundable",
    "passengers": [
      {
        "first_name": "Example",
        "last_name": "Customer"
      },
      {
        "first_name": "John",
        "last_name": "Doe"
      }
    ],
    "journey_legs": [
      {
        "sequence": 1,
        "departure_airport_code": "FRA",
        "arrival_airport_code": "LHR",
        "flight_number": "670",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 2,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "DUB",
        "flight_number": "678",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T15:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 3,
        "departure_airport_code": "DUB",
        "arrival_airport_code": "LHR",
        "flight_number": "679",
        "fare_base_code": "F",
        "travel_date": "2023-07-15T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 4,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "FRA",
        "flight_number": "671",
        "fare_base_code": "F",
        "travel_date": "2023-07-10T14:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      }
    ],
    "booking_url": "https://example.com/bookings/1234"
  },
  "payments": [
    {
      "id": "6516f315-f713-a5fd-8299-f28820937409",
      "state": "failed",
      "created_at": "2023-09-29T15:53:57.268142Z",
      "updated_at": "2023-09-29T16:24:39.374460Z",
      "amount": 500,
      "currency": "GBP",
      "settled_amount": 576,
      "settled_currency": "EUR",
      "risk_level": "low",
      "fees": [],
      "payer": {
        "email": "example.payer@example.com",
        "phone": "+447911123456"
      },
      "payment_method": {
        "type": "card",
        "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=",
        "network_transaction_id": "1234567890123456",
        "card_brand": "mastercard",
        "funding": "credit",
        "card_country_code": "MT",
        "card_bin": "542071",
        "card_last_four": "0016",
        "card_expiry": "12/28",
        "cardholder_name": "Example Holder",
        "checks": {
          "three_ds": {
            "state": "verified",
            "version": 2
          },
          "cvv_verification": "match"
        }
      }
    }
  ],
  "enforce_challenge": "forced",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+441234567890",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.airline.com/ticketnumber-12345",
    "reference": "example_airline_reference"
  }
}
cab:["$","div","200-application/json-example_order_airline",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e2e"}}]}]],"$Le2f"]}] e30:T5f95,
{
  "id": "6516f11e-5eb1-a223-858d-2c9a7f2a7189",
  "token": "74dce962-2f86-4d86-98b3-a0c590bccc56",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2023-09-29T15:45:34.922508Z",
  "updated_at": "2023-09-29T15:50:37.989334Z",
  "amount": 26100,
  "currency": "EUR",
  "refunded_amount": 0,
  "outstanding_amount": 26100,
  "settlement_currency": "EUR",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "cancel_authorised_after": "PT30M",
  "description": "Customer wants to buy 0.01 BTC",
  "checkout_url": "https://checkout.revolut.com/payment-link/74dce962-2f86-4d86-98b3-a0c590bccc56",
  "redirect_url": "https://www.example.com/redirect",
  "industry_data": {
    "type": "crypto",
    "transactions": [
      {
        "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b",
        "status": "pending",
        "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c"
      }
    ],
    "subseller_mcc": "1234",
    "subseller_url": "https://example.com"
  },
  "payments": [
    {
      "id": "6516f139-a0ad-aaf9-a3a5-0f6ee8c9fde5",
      "state": "failed",
      "decline_reason": "technical_error",
      "created_at": "2023-09-29T15:46:01.823402Z",
      "updated_at": "2023-09-29T15:46:03.199834Z",
      "amount": 26100,
      "currency": "EUR",
      "settled_amount": 26100,
      "settled_currency": "EUR",
      "risk_level": "low",
      "fees": [],
      "payer": {
        "email": "example.payer@example.com",
        "phone": "+447911123456"
      },
      "payment_method": {
        "type": "card",
        "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=",
        "network_transaction_id": "1234567890123456",
        "card_brand": "mastercard",
        "funding": "credit",
        "card_country_code": "MT",
        "card_bin": "542071",
        "card_last_four": "0016",
        "card_expiry": "12/28",
        "cardholder_name": "Test Holder",
        "checks": {
          "three_ds": {
            "state": "failed",
            "version": 2
          }
        }
      }
    },
    {
      "id": "6516f186-0cf3-aefe-b6da-af1a5dad1630",
      "state": "authorised",
      "created_at": "2023-09-29T15:47:18.050227Z",
      "updated_at": "2023-09-29T15:50:37.993217Z",
      "amount": 26100,
      "currency": "EUR",
      "settled_amount": 26100,
      "settled_currency": "EUR",
      "billing_address": {
        "street_line_1": "26 Atkins Avenue",
        "street_line_2": "New York 42233",
        "city": "SentinelFraudLow",
        "country_code": "GB",
        "postcode": "PE3 9UP"
      },
      "risk_level": "low",
      "fees": [],
      "payer": {
        "email": "example.payer@example.com",
        "phone": "+447911123456"
      },
      "payment_method": {
        "type": "revolut_pay_account",
        "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY="
      }
    }
  ],
  "enforce_challenge": "automatic",
  "customer": {
    "id": "3c131306-0a0a-4f54-99d7-3fb2e027c6f7",
    "email": "example@example.com",
    "phone": "+441234567890",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/cryptotransactionnumber-12345",
    "reference": "example_crypto_reference"
  }
}
cac:["$","div","200-application/json-example_order_crypto",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e30"}}]}]],"$Le31"]}] e32:T1fa8,
{
  "id": "670920dc-d343-abf8-963a-68ae1bc8ae58",
  "token": "41aabe45-b444-45e6-8363-f0433452e138",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2024-10-11T12:58:04.826974Z",
  "updated_at": "2024-10-11T12:58:04.826974Z",
  "amount": 10000,
  "currency": "EUR",
  "outstanding_amount": 10000,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138",
  "industry_data": {
    "type": "marketplace",
    "subseller": {
      "id": "123-45-67",
      "name": "Example Subseller",
      "address": {
        "street_line_1": "1 Canada Square",
        "street_line_2": "Revolut LTD, Level 39",
        "region": "Greater London",
        "city": "London",
        "country_code": "GB",
        "country_subdivision_code": "GB-LND",
        "postcode": "E14 4HD"
      },
      "website": "https://example.com/123-45-67",
      "phone": "+441234567890"
    }
  },
  "enforce_challenge": "automatic"
}
cad:["$","div","200-application/json-example_order_marketplace",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e32"}}]}]],"$Le33"]}] e34:T2e71,
{
  "id": "67bf20c4-59a5-a7a9-81ad-052fda5f80eb",
  "token": "8737a497-9bae-4647-90bf-1abe2fd9162a",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2025-02-26T14:10:12.804901Z",
  "updated_at": "2025-02-26T14:10:12.804901Z",
  "amount": 100,
  "currency": "GBP",
  "outstanding_amount": 100,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a",
  "industry_data": {
    "type": "event",
    "booking_id": "example_booking_123",
    "events": [
      {
        "start_date": "2025-03-04T14:00:00Z",
        "end_date": "2025-03-04T17:00:00Z",
        "supplier": "Example Supplier",
        "supplier_payment_date": "2025-03-03T14:00:15Z",
        "name": "Example Event",
        "location": {
          "street_line_1": "Example Street 123",
          "street_line_2": "II/123",
          "region": "London",
          "city": "London",
          "country_code": "GB",
          "postcode": "123456"
        },
        "category": "exhibition",
        "market": "primary",
        "tickets": [
          {
            "id": "example_ticket_1",
            "transferable": false,
            "refundability": "partially_refundable"
          },
          {
            "id": "example_ticket_2",
            "transferable": true,
            "refundability": "non_refundable"
          },
          {
            "id": "example_ticket_3"
          }
        ]
      }
    ]
  },
  "enforce_challenge": "automatic"
}
cae:["$","div","200-application/json-example_order_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e34"}}]}]],"$Le35"]}] e36:T2737,
{
  "id": "67c70d42-1545-a73d-a4a5-35b7ac49e1da",
  "token": "9effe2b6-8907-4954-9e9b-696f763f7e08",
  "type": "payment",
  "state": "cancelled",
  "created_at": "2025-03-04T14:25:06.099782Z",
  "updated_at": "2025-03-04T14:25:06.099782Z",
  "amount": 100,
  "currency": "GBP",
  "outstanding_amount": 100,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08",
  "industry_data": {
    "type": "lodging",
    "booking_id": "example_booking_123",
    "check_out_date": "2025-05-05T11:00:00Z",
    "booking_type": "flexible",
    "refundability": "partially_refundable",
    "location": {
      "street_line_1": "Example Street 123",
      "street_line_2": "II/123",
      "region": "London",
      "city": "London",
      "country_code": "GB",
      "postcode": "123456"
    },
    "guests": [
      {
        "first_name": "First",
        "last_name": "Guest"
      },
      {
        "first_name": "Second",
        "last_name": "Guest"
      }
    ],
    "check_in_date": "2025-05-01T15:00:00Z",
    "supplier_payment_date": "2025-05-05T11:00:00Z",
    "category": "bed_and_breakfast"
  },
  "enforce_challenge": "automatic"
}
caf:["$","div","200-application/json-example_order_lodging",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e36"}}]}]],"$Le37"]}] e38:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1601296792533
}
cb0:["$","div","400-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e38"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1601296792533\n}"}]}]]}] e39:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
cb1:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e39"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] e3a:T494,
{
  "code": "not_found",
  "message": "Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found",
  "timestamp": 1721050063886
}
cb2:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e3a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"not_found\",\n \"message\": \"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found\",\n \"timestamp\": 1721050063886\n}"}]}]]}] dff:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] e00:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] e01:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] e02:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] e03:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] e0a:["$","td","td-1",{"children":["Use the ",["$","code","code-0",{"children":"/capture"}]," endpoint."],"className":"eowryt7","ref":"$undefined"}] e0b:["$","div","inlinealert-2",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about manually capturing an order, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/operations/capture-and-settlement/capture-later","target":"_blank","rel":"noreferrer","children":"Authorise an amount to capture\nlater"}],"."]}]}]]}] e0c:["$","h6","h6-0",{"children":"Partial capture"}] e0d:["$","p","p-3",{"children":"You have the option to capture only a fraction of the full amount. In such cases, the uncaptured portion of the amount will be voided."}] e0e:["$","div","inlinealert-3",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply to manual captures:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"An order can only be captured once"}],"\n",["$","li","li-1",{"children":"Captured amount can't exceed the authorised amount"}],"\n",["$","li","li-2",{"children":"On Web UI, only capturing full amount is possible"}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"0"}]," amount captures are not allowed"]}],"\n",["$","li","li-4",{"children":"For partial captures, you can only resend the request with the initial amount"}],"\n"]}]]}]]}] e0f:["$","h4","h4-0",{"children":"Idempotency and repeated requests"}] e10:["$","p","p-4",{"children":"The capture operation is idempotent. This means that an order can only be captured once. If you send a capture request more than once:"}] e11:["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"The first valid request captures the order and moves it to the processing stage."}],"\n",["$","li","li-1",{"children":["Any subsequent request with the same capture amount will not recapture funds and behaves like a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant/2023-09-01#retrieve-order","target":"_blank","rel":"noreferrer","children":"Retrieve an order"}]," request, returning the current order state."]}],"\n",["$","li","li-2",{"children":"A subsequent request with a different capture amount returns an error."}],"\n"]}] e12:["$","div","inlinealert-4",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Utilising the idempotent nature of this endpoint helps maintain data consistency and prevents duplicate processing of the same order."}]}]]}] e14:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"6516e61c-d279-a454-a837-bc52ce55ed49\",\n \"token\": \"0adc0e3c-ab44-4f33-bcc0-534ded7354ce\",\n \"type\": \"payment\",\n \"state\": \"pending\",\n \"created_at\": \"2023-09-29T14:58:36.079398Z\",\n \"updated_at\": \"2023-09-29T14:58:36.079398Z\",\n \"amount\": 500,\n \"currency\": \"GBP\",\n \"outstanding_amount\": 500,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce\",\n \"enforce_challenge\": \"automatic\"\n}"}]}] e3b:T43d,{ "id": "6516e6ec-c7f7-a0fb-a6d3-add05fa46d2f", "token": "1058031d-1e71-4d07-9f97-5ad388a1346c", "type": "payment", "state": "pending", "created_at": "2023-09-29T15:02:04.083787Z", "updated_at": "2023-09-29T15:02:04.083787Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "capture_mode": "manual", "authorisation_type": "final", "cancel_authorised_after": "PT30M", "description": "Example product", "checkout_url": "https://checkout.revolut.com/payment-link/1058031d-1e71-4d07-9f97-5ad388a1346c", "redirect_url": "https://www.example.com/redirect", "shipping_address": { "street_line_1": "7 Westferry Circus", "city": "London", "country_code": "GB", "postcode": "E14 4HD" }, "metadata": { "product_type": "Example" }, "enforce_challenge": "forced", "customer": { "id": "467646d6-e452-4d1e-a401-703f09cd3818", "email": "example@example.com", "date_of_birth": "1990-01-01" }, "merchant_order_data": { "url": "https://example.com/orders/12345" }, "statement_descriptor_suffix": "12345" }e16:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e3b"}]}] e3c:T674,{ "id": "6516e61c-d279-a454-a837-bc52ce55ed49", "token": "0adc0e3c-ab44-4f33-bcc0-534ded7354ce", "type": "payment", "state": "authorised", "created_at": "2023-09-29T14:58:36.079398Z", "updated_at": "2023-09-29T14:58:36.079398Z", "amount": 5000, "currency": "GBP", "outstanding_amount": 5000, "capture_mode": "manual", "authorisation_type": "pre_authorisation", "cancel_authorised_after": "PT72H", "description": "Hotel reservation deposit", "checkout_url": "https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce", "enforce_challenge": "automatic", "payments": [ { "id": "6516f38a-a12b-aca3-83f2-6ed16d6ed246", "state": "authorised", "created_at": "2023-09-29T14:55:54.579311Z", "updated_at": "2023-09-29T14:56:38.403232Z", "amount": 5000, "currency": "GBP", "settled_amount": 5000, "settled_currency": "GBP", "billing_address": { "country_code": "GB", "postcode": "SW1A 1AA" }, "risk_level": "low", "fees": [], "payer": { "email": "example.payer@example.com", "phone": "+447911123456" }, "payment_method": { "type": "card", "card_brand": "visa", "funding": "credit", "card_country_code": "GB", "card_bin": "411111", "card_last_four": "1111", "card_expiry": "12/25", "cardholder_name": "Example Holder", "capture_deadline": "2023-10-06T14:55:54.579311Z", "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=", "network_transaction_id": "1234567890123456" } } ] }e18:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e3c"}]}] e1a:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"7a1b2c3d-4e5f-6789-abcd-e1234567890a\",\n \"token\": \"9f8e7d6c-5b4a-3210-fedc-ba0987654321\",\n \"type\": \"payment\",\n \"state\": \"completed\",\n \"created_at\": \"2025-06-15T10:30:00.000000Z\",\n \"updated_at\": \"2025-06-15T10:31:00.000000Z\",\n \"amount\": 1999,\n \"currency\": \"GBP\",\n \"outstanding_amount\": 0,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/9f8e7d6c-5b4a-3210-fedc-ba0987654321\",\n \"enforce_challenge\": \"automatic\",\n \"subscription_data\": {\n \"subscription_id\": \"e2862e0e-66e8-4623-bdd6-7da59b85365d\",\n \"active_cycle_id\": \"a1b2c3d4-5678-9012-abcd-ef1234567890\",\n \"billing_reason\": \"cycle_billing\"\n }\n}"}]}] e3d:Taaa,{ "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0", "token": "061f2c63-e36b-421e-9ece-5adfcd580886", "type": "payment", "state": "pending", "created_at": "2023-09-29T15:28:12.114992Z", "updated_at": "2023-09-29T15:28:12.114992Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "settlement_currency": "EUR", "capture_mode": "manual", "authorisation_type": "final", "description": "Example order description", "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886", "redirect_url": "https://www.example.com/redirect", "cancel_authorised_after": "PT30M", "industry_data": { "type": "airline", "booking_id": "unique-booking-id-12345", "fulfillment_date": "2023-07-10T14:00:00.069624Z", "ticket_type": "flexible", "crs_code": "DATS", "ticket_change_indicator": "new", "refundability": "refundable", "passengers": [ { "first_name": "Example", "last_name": "Customer" }, { "first_name": "John", "last_name": "Doe" } ], "journey_legs": [ { "sequence": 1, "departure_airport_code": "FRA", "arrival_airport_code": "LHR", "flight_number": "670", "fare_base_code": "J", "travel_date": "2023-07-10T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 2, "departure_airport_code": "LHR", "arrival_airport_code": "DUB", "flight_number": "678", "fare_base_code": "J", "travel_date": "2023-07-10T15:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 3, "departure_airport_code": "DUB", "arrival_airport_code": "LHR", "flight_number": "679", "fare_base_code": "F", "travel_date": "2023-07-15T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 4, "departure_airport_code": "LHR", "arrival_airport_code": "FRA", "flight_number": "671", "fare_base_code": "F", "travel_date": "2023-07-10T14:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" } ], "booking_url": "https://example.com/bookings/1234" }, "enforce_challenge": "forced", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+441234567890", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/ticketnumber-12345", "reference": "example_airline_reference" } }e1c:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e3d"}]}] e3e:T69d,{ "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0", "token": "061f2c63-e36b-421e-9ece-5adfcd580886", "type": "payment", "state": "pending", "created_at": "2025-01-29T15:28:12.114992Z", "updated_at": "2025-01-29T15:28:12.114992Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "settlement_currency": "GBP", "capture_mode": "manual", "authorisation_type": "final", "description": "Example car rental order", "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886", "redirect_url": "https://www.example.com/redirect", "cancel_authorised_after": "PT30M", "industry_data": { "type": "car_rental", "booking_id": "example_booking_id", "pick_up_date": "2026-03-01T11:00:00Z", "drop_off_date": "2026-03-05T16:30:00Z", "refundability": "partially_refundable", "pick_up_location": { "street_line_1": "1 Example Street", "city": "London", "country_code": "GB", "postcode": "SW1A 1AA" }, "drop_off_location": { "street_line_1": "10 Another Road", "city": "Manchester", "country_code": "GB", "postcode": "M1 1AA" }, "distance_limit": { "limit": 500, "unit": "miles", "additional_distance_cost": { "amount": 150, "currency": "GBP" } } }, "enforce_challenge": "forced", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+447700900000", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/rental/example_booking_id", "reference": "example_car_rental_reference" } }e1e:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e3e"}]}] e3f:T4fd,{ "id": "6516edb9-74af-ae47-829b-1475e807a8d7", "token": "1e619c26-d954-4d45-94ab-aba1e407fcee", "type": "payment", "state": "pending", "created_at": "2023-09-29T15:31:05.746826Z", "updated_at": "2023-09-29T15:31:05.746826Z", "amount": 26100, "currency": "EUR", "outstanding_amount": 26100, "settlement_currency": "EUR", "capture_mode": "manual", "authorisation_type": "final", "description": "Customer wants to buy 0.01 BTC", "checkout_url": "https://checkout.revolut.com/payment-link/1e619c26-d954-4d45-94ab-aba1e407fcee", "redirect_url": "https://www.example.com/redirect", "industry_data": { "type": "crypto", "transactions": [ { "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b", "status": "pending", "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c" } ], "subseller_mcc": "1234", "subseller_url": "https://example.com" }, "enforce_challenge": "automatic", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+44123456789", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/cryptotransactionnumber-12345", "reference": "example_crypto_reference" } }e20:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e3f"}]}] e22:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"670920dc-d343-abf8-963a-68ae1bc8ae58\",\n \"token\": \"41aabe45-b444-45e6-8363-f0433452e138\",\n \"type\": \"payment\",\n \"state\": \"pending\",\n \"created_at\": \"2024-10-11T12:58:04.826974Z\",\n \"updated_at\": \"2024-10-11T12:58:04.826974Z\",\n \"amount\": 10000,\n \"currency\": \"EUR\",\n \"outstanding_amount\": 10000,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138\",\n \"industry_data\": {\n \"type\": \"marketplace\",\n \"subseller\": {\n \"id\": \"123-45-67\",\n \"name\": \"Example Subseller\",\n \"address\": {\n \"street_line_1\": \"1 Canada Square\",\n \"street_line_2\": \"Revolut LTD, Level 39\",\n \"region\": \"Greater London\",\n \"city\": \"London\",\n \"country_code\": \"GB\",\n \"country_subdivision_code\": \"GB-LND\",\n \"postcode\": \"E14 4HD\"\n },\n \"website\": \"https://example.com/123-45-67\",\n \"phone\": \"+441234567890\"\n }\n },\n \"enforce_challenge\": \"automatic\"\n}"}]}] e40:T603,{ "id": "67bf20c4-59a5-a7a9-81ad-052fda5f80eb", "token": "8737a497-9bae-4647-90bf-1abe2fd9162a", "type": "payment", "state": "pending", "created_at": "2025-02-26T14:10:12.804901Z", "updated_at": "2025-02-26T14:10:12.804901Z", "amount": 100, "currency": "GBP", "outstanding_amount": 100, "capture_mode": "automatic", "authorisation_type": "final", "checkout_url": "https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a", "industry_data": { "type": "event", "booking_id": "example_booking_123", "events": [ { "start_date": "2025-03-04T14:00:00Z", "end_date": "2025-03-04T17:00:00Z", "supplier": "Example Supplier", "supplier_payment_date": "2025-03-03T14:00:15Z", "name": "Example Event", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "category": "exhibition", "market": "primary", "tickets": [ { "id": "example_ticket_1", "transferable": false, "refundability": "partially_refundable" }, { "id": "example_ticket_2", "transferable": true, "refundability": "non_refundable" }, { "id": "example_ticket_3" } ] } ] }, "enforce_challenge": "automatic" }e24:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e40"}]}] e41:T4d5,{ "id": "67c70d42-1545-a73d-a4a5-35b7ac49e1da", "token": "9effe2b6-8907-4954-9e9b-696f763f7e08", "type": "payment", "state": "pending", "created_at": "2025-03-04T14:25:06.099782Z", "updated_at": "2025-03-04T14:25:06.099782Z", "amount": 100, "currency": "GBP", "outstanding_amount": 100, "capture_mode": "automatic", "authorisation_type": "final", "checkout_url": "https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08", "industry_data": { "type": "lodging", "booking_id": "example_booking_123", "check_out_date": "2025-05-05T11:00:00Z", "booking_type": "flexible", "refundability": "partially_refundable", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "guests": [ { "first_name": "First", "last_name": "Guest" }, { "first_name": "Second", "last_name": "Guest" } ], "check_in_date": "2025-05-01T15:00:00Z", "supplier_payment_date": "2025-05-05T11:00:00Z", "category": "bed_and_breakfast" }, "enforce_challenge": "automatic" }e26:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e41"}]}] e2b:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"6516f565-c903-ae7d-8582-0bc70468ec29\",\n \"token\": \"579462b3-da89-4a46-8690-572d3968573f\",\n \"type\": \"payment\",\n \"state\": \"cancelled\",\n \"created_at\": \"2023-09-29T16:03:49.569437Z\",\n \"updated_at\": \"2023-09-29T16:04:30.727004Z\",\n \"amount\": 500,\n \"currency\": \"GBP\",\n \"refunded_amount\": 0,\n \"outstanding_amount\": 0,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"enforce_challenge\": \"automatic\"\n}"}]}] e42:T7bc,{ "id": "6516f379-c03f-adf3-a2bf-24b328909731", "token": "91533c29-47d1-4ae9-a73f-74225fd4b176", "type": "payment", "state": "cancelled", "created_at": "2023-09-29T15:55:37.201407Z", "updated_at": "2023-09-29T15:56:38.398961Z", "amount": 500, "currency": "GBP", "refunded_amount": 0, "outstanding_amount": 500, "capture_mode": "manual", "authorisation_type": "final", "cancel_authorised_after": "PT30M", "description": "Example product", "checkout_url": "https://checkout.revolut.com/payment-link/91533c29-47d1-4ae9-a73f-74225fd4b176", "redirect_url": "https://www.example.com/redirect", "shipping_address": { "street_line_1": "7 Westferry Circus", "city": "London", "country_code": "GB", "postcode": "E14 4HD" }, "metadata": { "product_type": "Example" }, "payments": [ { "id": "6516f38a-a12b-aca3-83f2-6ed16d6ed246", "state": "authorised", "created_at": "2023-09-29T15:55:54.579311Z", "updated_at": "2023-09-29T15:56:38.403232Z", "amount": 500, "currency": "GBP", "settled_amount": 500, "settled_currency": "GBP", "billing_address": { "street_line_1": "26 Atkins Avenue", "street_line_2": "New York 42233", "city": "SentinelFraudLow", "country_code": "GB", "postcode": "PE3 9UP" }, "risk_level": "low", "fees": [], "payer": { "email": "example.payer@example.com", "phone": "+447911123456" }, "payment_method": { "type": "revolut_pay_account", "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=" } } ], "enforce_challenge": "forced", "customer": { "id": "3c131306-0a0a-4f54-99d7-3fb2e027c6f7", "email": "example@example.com", "phone": "+441234567890", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://example.com/orders/12345" }, "statement_descriptor_suffix": "12345" }e2d:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e42"}]}] e43:Tecd,{ "id": "6516f2f3-fd2c-ac2c-9bf2-3e02711dd3fb", "token": "245e63f3-1e44-40db-bcd4-4448263d3fa2", "type": "payment", "state": "cancelled", "created_at": "2023-09-29T15:53:23.234913Z", "updated_at": "2023-09-29T16:24:39.366956Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "settlement_currency": "EUR", "capture_mode": "manual", "authorisation_type": "final", "description": "Example order description", "checkout_url": "https://checkout.revolut.com/payment-link/245e63f3-1e44-40db-bcd4-4448263d3fa2", "redirect_url": "https://www.example.com/redirect", "cancel_authorised_after": "PT30M", "industry_data": { "type": "airline", "booking_id": "unique-booking-id-12345", "fulfillment_date": "2023-07-10T14:00:00.069624Z", "ticket_type": "flexible", "crs_code": "DATS", "ticket_change_indicator": "new", "refundability": "refundable", "passengers": [ { "first_name": "Example", "last_name": "Customer" }, { "first_name": "John", "last_name": "Doe" } ], "journey_legs": [ { "sequence": 1, "departure_airport_code": "FRA", "arrival_airport_code": "LHR", "flight_number": "670", "fare_base_code": "J", "travel_date": "2023-07-10T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 2, "departure_airport_code": "LHR", "arrival_airport_code": "DUB", "flight_number": "678", "fare_base_code": "J", "travel_date": "2023-07-10T15:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 3, "departure_airport_code": "DUB", "arrival_airport_code": "LHR", "flight_number": "679", "fare_base_code": "F", "travel_date": "2023-07-15T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 4, "departure_airport_code": "LHR", "arrival_airport_code": "FRA", "flight_number": "671", "fare_base_code": "F", "travel_date": "2023-07-10T14:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" } ], "booking_url": "https://example.com/bookings/1234" }, "payments": [ { "id": "6516f315-f713-a5fd-8299-f28820937409", "state": "failed", "created_at": "2023-09-29T15:53:57.268142Z", "updated_at": "2023-09-29T16:24:39.374460Z", "amount": 500, "currency": "GBP", "settled_amount": 576, "settled_currency": "EUR", "risk_level": "low", "fees": [], "payer": { "email": "example.payer@example.com", "phone": "+447911123456" }, "payment_method": { "type": "card", "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=", "network_transaction_id": "1234567890123456", "card_brand": "mastercard", "funding": "credit", "card_country_code": "MT", "card_bin": "542071", "card_last_four": "0016", "card_expiry": "12/28", "cardholder_name": "Example Holder", "checks": { "three_ds": { "state": "verified", "version": 2 }, "cvv_verification": "match" } } } ], "enforce_challenge": "forced", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+441234567890", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.airline.com/ticketnumber-12345", "reference": "example_airline_reference" } }e2f:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e43"}]}] e44:Tc97,{ "id": "6516f11e-5eb1-a223-858d-2c9a7f2a7189", "token": "74dce962-2f86-4d86-98b3-a0c590bccc56", "type": "payment", "state": "cancelled", "created_at": "2023-09-29T15:45:34.922508Z", "updated_at": "2023-09-29T15:50:37.989334Z", "amount": 26100, "currency": "EUR", "refunded_amount": 0, "outstanding_amount": 26100, "settlement_currency": "EUR", "capture_mode": "manual", "authorisation_type": "final", "cancel_authorised_after": "PT30M", "description": "Customer wants to buy 0.01 BTC", "checkout_url": "https://checkout.revolut.com/payment-link/74dce962-2f86-4d86-98b3-a0c590bccc56", "redirect_url": "https://www.example.com/redirect", "industry_data": { "type": "crypto", "transactions": [ { "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b", "status": "pending", "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c" } ], "subseller_mcc": "1234", "subseller_url": "https://example.com" }, "payments": [ { "id": "6516f139-a0ad-aaf9-a3a5-0f6ee8c9fde5", "state": "failed", "decline_reason": "technical_error", "created_at": "2023-09-29T15:46:01.823402Z", "updated_at": "2023-09-29T15:46:03.199834Z", "amount": 26100, "currency": "EUR", "settled_amount": 26100, "settled_currency": "EUR", "risk_level": "low", "fees": [], "payer": { "email": "example.payer@example.com", "phone": "+447911123456" }, "payment_method": { "type": "card", "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=", "network_transaction_id": "1234567890123456", "card_brand": "mastercard", "funding": "credit", "card_country_code": "MT", "card_bin": "542071", "card_last_four": "0016", "card_expiry": "12/28", "cardholder_name": "Test Holder", "checks": { "three_ds": { "state": "failed", "version": 2 } } } }, { "id": "6516f186-0cf3-aefe-b6da-af1a5dad1630", "state": "authorised", "created_at": "2023-09-29T15:47:18.050227Z", "updated_at": "2023-09-29T15:50:37.993217Z", "amount": 26100, "currency": "EUR", "settled_amount": 26100, "settled_currency": "EUR", "billing_address": { "street_line_1": "26 Atkins Avenue", "street_line_2": "New York 42233", "city": "SentinelFraudLow", "country_code": "GB", "postcode": "PE3 9UP" }, "risk_level": "low", "fees": [], "payer": { "email": "example.payer@example.com", "phone": "+447911123456" }, "payment_method": { "type": "revolut_pay_account", "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=" } } ], "enforce_challenge": "automatic", "customer": { "id": "3c131306-0a0a-4f54-99d7-3fb2e027c6f7", "email": "example@example.com", "phone": "+441234567890", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/cryptotransactionnumber-12345", "reference": "example_crypto_reference" } }e31:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e44"}]}] e33:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"670920dc-d343-abf8-963a-68ae1bc8ae58\",\n \"token\": \"41aabe45-b444-45e6-8363-f0433452e138\",\n \"type\": \"payment\",\n \"state\": \"cancelled\",\n \"created_at\": \"2024-10-11T12:58:04.826974Z\",\n \"updated_at\": \"2024-10-11T12:58:04.826974Z\",\n \"amount\": 10000,\n \"currency\": \"EUR\",\n \"outstanding_amount\": 10000,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138\",\n \"industry_data\": {\n \"type\": \"marketplace\",\n \"subseller\": {\n \"id\": \"123-45-67\",\n \"name\": \"Example Subseller\",\n \"address\": {\n \"street_line_1\": \"1 Canada Square\",\n \"street_line_2\": \"Revolut LTD, Level 39\",\n \"region\": \"Greater London\",\n \"city\": \"London\",\n \"country_code\": \"GB\",\n \"country_subdivision_code\": \"GB-LND\",\n \"postcode\": \"E14 4HD\"\n },\n \"website\": \"https://example.com/123-45-67\",\n \"phone\": \"+441234567890\"\n }\n },\n \"enforce_challenge\": \"automatic\"\n}"}]}] e45:T605,{ "id": "67bf20c4-59a5-a7a9-81ad-052fda5f80eb", "token": "8737a497-9bae-4647-90bf-1abe2fd9162a", "type": "payment", "state": "cancelled", "created_at": "2025-02-26T14:10:12.804901Z", "updated_at": "2025-02-26T14:10:12.804901Z", "amount": 100, "currency": "GBP", "outstanding_amount": 100, "capture_mode": "automatic", "authorisation_type": "final", "checkout_url": "https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a", "industry_data": { "type": "event", "booking_id": "example_booking_123", "events": [ { "start_date": "2025-03-04T14:00:00Z", "end_date": "2025-03-04T17:00:00Z", "supplier": "Example Supplier", "supplier_payment_date": "2025-03-03T14:00:15Z", "name": "Example Event", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "category": "exhibition", "market": "primary", "tickets": [ { "id": "example_ticket_1", "transferable": false, "refundability": "partially_refundable" }, { "id": "example_ticket_2", "transferable": true, "refundability": "non_refundable" }, { "id": "example_ticket_3" } ] } ] }, "enforce_challenge": "automatic" }e35:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e45"}]}] e46:T4d7,{ "id": "67c70d42-1545-a73d-a4a5-35b7ac49e1da", "token": "9effe2b6-8907-4954-9e9b-696f763f7e08", "type": "payment", "state": "cancelled", "created_at": "2025-03-04T14:25:06.099782Z", "updated_at": "2025-03-04T14:25:06.099782Z", "amount": 100, "currency": "GBP", "outstanding_amount": 100, "capture_mode": "automatic", "authorisation_type": "final", "checkout_url": "https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08", "industry_data": { "type": "lodging", "booking_id": "example_booking_123", "check_out_date": "2025-05-05T11:00:00Z", "booking_type": "flexible", "refundability": "partially_refundable", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "guests": [ { "first_name": "First", "last_name": "Guest" }, { "first_name": "Second", "last_name": "Guest" } ], "check_in_date": "2025-05-01T15:00:00Z", "supplier_payment_date": "2025-05-05T11:00:00Z", "category": "bed_and_breakfast" }, "enforce_challenge": "automatic" }e37:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e46"}]}] df9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$Le47","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] cb8:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] cb9:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] cba:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] cbb:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] cbc:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] cbd:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] cc3:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] cc4:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] cc5:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] cc6:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] cc7:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] cc8:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] cc9:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] cca:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] dfa:["$","div","request-application/json-example_minimal",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"amount\": 100\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 100\n}"}]}]]}] e48:T2c92,
{
  "id": "65c4c739-113d-a608-9128-47c7ca90cbe3",
  "token": "ebc06202-061e-4d0f-8063-99195fad31fb",
  "type": "payment",
  "state": "completed",
  "created_at": "2024-02-08T12:21:13.022871Z",
  "updated_at": "2024-02-08T12:21:52.194601Z",
  "amount": 100,
  "currency": "GBP",
  "refunded_amount": 0,
  "outstanding_amount": 0,
  "capture_mode": "manual",
  "payments": [
    {
      "id": "65c4c748-bf0d-af8a-9d69-0fc92bc0ff94",
      "state": "captured",
      "created_at": "2024-02-08T12:21:28.803165Z",
      "updated_at": "2024-02-08T12:21:52.191352Z",
      "token": "74af5a2b-6722-4353-aaf1-cd5926883b60",
      "amount": 100,
      "currency": "GBP",
      "settled_amount": 100,
      "settled_currency": "GBP",
      "billing_address": {
        "country_code": "US",
        "postcode": "12345"
      },
      "risk_level": "low",
      "fees": [],
      "payment_method": {
        "type": "revolut_pay_card",
        "card_brand": "visa",
        "funding": "debit",
        "card_country_code": "US",
        "card_bin": "529999",
        "card_last_four": "0368",
        "card_expiry": "12/28",
        "cardholder_name": "Test Holder",
        "checks": {
          "three_ds": {
            "state": "verified",
            "version": 2
          }
        }
      }
    }
  ],
  "enforce_challenge": "automatic"
}
dfb:["$","div","200-application/json-captured_order",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e48"}}]}]],"$Le49"]}] e4a:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1601296792533
}
dfc:["$","div","400-application/json-example-1",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e4a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1601296792533\n}"}]}]]}] e4b:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
dfd:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e4b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] e4c:T494,
{
  "code": "not_found",
  "message": "Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found",
  "timestamp": 1721050063886
}
dfe:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e4c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"not_found\",\n \"message\": \"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found\",\n \"timestamp\": 1721050063886\n}"}]}]]}] e4d:T536,{ "id": "65c4c739-113d-a608-9128-47c7ca90cbe3", "token": "ebc06202-061e-4d0f-8063-99195fad31fb", "type": "payment", "state": "completed", "created_at": "2024-02-08T12:21:13.022871Z", "updated_at": "2024-02-08T12:21:52.194601Z", "amount": 100, "currency": "GBP", "refunded_amount": 0, "outstanding_amount": 0, "capture_mode": "manual", "payments": [ { "id": "65c4c748-bf0d-af8a-9d69-0fc92bc0ff94", "state": "captured", "created_at": "2024-02-08T12:21:28.803165Z", "updated_at": "2024-02-08T12:21:52.191352Z", "token": "74af5a2b-6722-4353-aaf1-cd5926883b60", "amount": 100, "currency": "GBP", "settled_amount": 100, "settled_currency": "GBP", "billing_address": { "country_code": "US", "postcode": "12345" }, "risk_level": "low", "fees": [], "payment_method": { "type": "revolut_pay_card", "card_brand": "visa", "funding": "debit", "card_country_code": "US", "card_bin": "529999", "card_last_four": "0368", "card_expiry": "12/28", "cardholder_name": "Test Holder", "checks": { "three_ds": { "state": "verified", "version": 2 } } } } ], "enforce_challenge": "automatic" }e49:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$e4d"}]}] e04:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] e05:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] e06:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] e07:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] e08:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] e09:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] e47:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] e57:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::e5e:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::e8e:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).ea0:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).eb2:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).ec4:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).eca:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).ee9:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::f4e:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::f6b:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::f7b:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::f7f:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::fe2:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::1a:["$","$5e","update-order",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"200":{"description":"Order updated","content":{"application/json":{"schema":{"title":"Order v2","type":"object","description":"To process the order from a credit or debit card, you create an `Order` object. You can then retrieve, capture, cancel, refund, or pay an order using its unique `id`. Alternatively, you can use its unique `token` to process a card payment with the Revolut Checkout Widget.","properties":{"id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$Le4e"},"token":{"type":"string","description":"Temporary ID for the order, which expires when the payment is authorised.\n\nThe order `token` is used for [token-based initialisation](https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based), and is returned by the `createOrder` callback in the following payment methods:\n\n- [Embedded Checkout](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface)\n- [Revolut Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options)\n- [Apple Pay and Google Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface)\n- [Pay by Bank](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface)","descriptionNode":"$Le4f"},"type":{"type":"string","description":"The type of the order.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","descriptionNode":"$Le50"},"state":{"type":"string","description":"The state of the order in its lifecycle.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Order created, awaiting payment |\n| `processing` | Payment is being processed |\n| `authorised` | Payment authorised but not yet captured (for manual capture) |\n| `completed` | Payment successfully captured and settled |\n| `cancelled` | Order was cancelled |\n| `failed` | Payment failed |\n\n:::info\nFor more information, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle)\n:::","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:examples","descriptionNode":"$Le51"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$Le52"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$Le53"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$Le54"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:capture_mode:enum","descriptionNode":"$Le55"},"authorisation_type":{"type":"string","description":"The type of authorisation for the order. Used with manual capture mode. If omitted, `final` is used by default.\n\n### Pre-authorisation\n\nPre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:\n\n- Hotel bookings where the final amount may vary\n- Car rentals where additional charges may apply\n- Deposits that need to be held temporarily\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `final` | Standard authorisation for immediate or near-immediate capture. |\n| `pre_authorisation` | Reserve funds for later capture, used with manual capture mode. |\n\n:::note\nPre-authorisation must be used with `capture_mode: manual`. For more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"final","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authorisation_type:enum","descriptionNode":"$Le56"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$e57","descriptionNode":"$Le58"},"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$Le59"},"outstanding_amount":{"type":"integer","description":"The amount not yet paid for a given order (in minor currency units). For example, `7034` represents €70.34. \n\nThe value in this field may differ from `amount` if there are partial payments associated with the order.","descriptionNode":"$Le5a"},"refunded_amount":{"type":"integer","description":"The amount that was refunded from the order (in minor currency units). For example, `7034` represents €70.34. \n\nThis applies to orders that have been refunded (i.e., orders of type `payment` that have a related `refund` order).","descriptionNode":"$Le5b"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Le5c"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Le5d"},"customer":{"type":"object","description":"$e5e","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$Le5f"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$Le60"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$Le61"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$Le62"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$Le63"}},"descriptionNode":"$Le64"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$Le65"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$Le66"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$Le67"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$Le68"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$Le69"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$Le6a"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Le6b"},"payments":{"type":"array","description":"The details of all the payments that have been made towards this order (successful or unsuccessful).","items":{"type":"object","description":"Represents a payment for an order.\n\nFor pre-authorised payments, the `authorised_amount` field tracks the currently authorised amount, which may differ from `amount` during incremental authorisation processing.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$Le6c"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$Le6d"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$Le6e"},"bank_message":{"type":"string","description":"The reason for a `failed` or `declined` payment, sent by the financial institution processing the payment.","descriptionNode":"$Le6f"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment was created.","descriptionNode":"$Le70"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment was last updated.","descriptionNode":"$Le71"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$Le72"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$Le73"},"authorised_amount":{"type":"integer","description":"The currently authorised amount for this payment (in minor units).\n\nFor pre-authorised payments with incremental authorization:\n- Initially equals the `amount` field\n- Remains unchanged during increment processing\n- Updates to new amount upon successful increment\n- Remains at original amount if increment is declined\n\nFor standard payments, this field may not be present or will equal the `amount` field.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:authorised_amount:examples","descriptionNode":"$Le74"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Le75"},"settled_amount":{"type":"integer","description":"The amount of the settled payment (minor currency unit). For example, `7034` stands for €70.34.","descriptionNode":"$Le76"},"settled_currency":{"type":"string","description":"The currency of the settled payment. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Le77"},"payment_method":{"type":"object","description":"The details of the payment method used to make the payment.","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:discriminator","oneOf":[{"type":"object","description":"Object containing details of a card used via Apple Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Le78"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Le79"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:card_brand:enum","descriptionNode":"$Le7a"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:funding:enum","descriptionNode":"$Le7b"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Le7c"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Le7d"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Le7e"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Le7f"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Le80"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":{"type":"object","description":"The details of the 3D Secure check. Only for orders with successful payments.\n\n:::note\nNot returned for Apple Pay and Google Pay payments.\n:::","properties":{"eci":{"type":"string","description":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided.","descriptionNode":"$Le81"},"state":{"type":"string","description":"The result of 3D Secure check.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds:properties:state:enum","descriptionNode":"$Le82"},"version":{"type":"integer","description":"The 3D Secure version.","descriptionNode":"$Le83"}},"descriptionNode":"$Le84"},"cvv_verification":{"type":"string","description":"The result of CVV verification.\n\n| Parameter value | Description |\n| ----- | ----------- |\n| `match` | CVV matches the card's CVV |\n| `not_match` | CVV does not match the card's CVV |\n| `incorrect` | CVV format is incorrect for this type of card |\n| `not_processed` | CVV verification was not performed |","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification:enum","descriptionNode":"$Le85"},"address":{"type":"string","description":"The result of address verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address:enum","descriptionNode":"$Le86"},"postcode":{"type":"string","description":"The result of postcode verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode:enum","descriptionNode":"$Le87"},"cardholder":{"type":"string","description":"The result of cardholder verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder:enum","descriptionNode":"$Le88"}},"descriptionNode":"$Le89"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Le8a"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Le8b"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Le8c"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Le8d"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$e8e","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Le8f"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Le90"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:required","descriptionNode":"$Le91"},{"type":"object","description":"Object containing details of the card used for the payment.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Le92"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Le93"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:card_brand:enum","descriptionNode":"$Le94"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:funding:enum","descriptionNode":"$Le95"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Le96"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Le97"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Le98"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Le99"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Le9a"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Le9b"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Le9c"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Le9d"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Le9e"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Le9f"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$ea0","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lea1"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Lea2"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:required","descriptionNode":"$Lea3"},{"type":"object","description":"Object containing details of a card used via Google Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lea4"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lea5"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:card_brand:enum","descriptionNode":"$Lea6"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:funding:enum","descriptionNode":"$Lea7"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Lea8"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lea9"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Leaa"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Leab"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Leac"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Lead"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Leae"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Leaf"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Leb0"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Leb1"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$eb2","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Leb3"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Leb4"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:required","descriptionNode":"$Leb5"},{"type":"object","description":"Object containing details of a card used via Revolut Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Leb6"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Leb7"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:card_brand:enum","descriptionNode":"$Leb8"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:funding:enum","descriptionNode":"$Leb9"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$Leba"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$Lebb"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$Lebc"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$Lebd"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$Lebe"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$Lebf"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$Lec0"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$Lec1"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$Lec2"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$Lec3"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$ec4","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lec5"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$Lec6"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:required","descriptionNode":"$Lec7"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$Lec8"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lec9"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$eca","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$Lecb"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:4:required"},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$Lecc"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$Lecd"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$Lece"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$Lecf"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$Led0"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$Led1"}],"descriptionNode":"$Led2"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Led3"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$Led4"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$Led5"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$Led6"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$Led7"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$Led8"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$Led9"}],"descriptionNode":"$Leda"},"billing_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_1","street_line_2":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:street_line_2","region":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:region","city":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:city","country_code":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:country_code","postcode":"$1a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:properties:postcode"},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Ledb"},"risk_level":{"type":"string","description":"The risk level of the card.\n\nIf the risk level is `high`, the payment might be declined.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:risk_level:enum","descriptionNode":"$Ledc"},"fees":{"type":"array","description":"The details of the order fee.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the order fee.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:fees:items:properties:type:enum","descriptionNode":"$Ledd"},"amount":{"type":"integer","description":"The amount of the payment fee (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$Lede"},"currency":{"type":"string","description":"The currency of the payment fee. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Ledf"}}},"descriptionNode":"$Lee0"},"payer":{"title":"Payer","type":"object","description":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow.\n\nCapturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters.","properties":{"email":{"description":"The email of the person who made the payment.","type":"string","format":"email","descriptionNode":"$Lee1"},"phone":{"description":"The phone number of the payer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","type":"string","descriptionNode":"$Lee2"}},"descriptionNode":"$Lee3"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:required","descriptionNode":"$Lee4"},"descriptionNode":"$Lee5"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$Lee6"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$Lee7"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$Lee8"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:discriminator","oneOf":[{"type":"object","description":"$ee9","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Leea"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Leeb"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$Leec"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$Leed"},"ticket_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_type:enum","description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Leee"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$Leef"},"ticket_change_indicator":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_change_indicator:enum","description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$Lef0"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lef1"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$Lef2"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$Lef3"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:passengers:items:required"},"descriptionNode":"$Lef4"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$Lef5"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$Lef6"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$Lef7"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$Lef8"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$Lef9"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$Lefa"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$Lefb"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$Lefc"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$Lefd"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:journey_legs:items:required"},"descriptionNode":"$Lefe"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Leff"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:required","descriptionNode":"$Lf00"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lf01"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$Lf02"},"status":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:properties:status:enum","description":"The status of the crypto transaction.","descriptionNode":"$Lf03"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lf04"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lf05"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:required"},"minItems":1,"descriptionNode":"$Lf06"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$Lf07"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lf08"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:required","descriptionNode":"$Lf09"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lf0a"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$Lf0b"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$Lf0c"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lf0d"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$Lf0e"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lf0f"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lf10"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lf11"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lf12"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lf13"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$Lf14"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lf15"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:properties:address:required","descriptionNode":"$Lf16"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:required","descriptionNode":"$Lf17"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:required","descriptionNode":"$Lf18"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lf19"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lf1a"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$Lf1b"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$Lf1c"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$Lf1d"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lf1e"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$Lf1f"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lf20"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lf21"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lf22"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lf23"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lf24"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lf25"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:location:required","descriptionNode":"$Lf26"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:category:enum","description":"The type of the event.","descriptionNode":"$Lf27"},"market":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:market:enum","description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$Lf28"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$Lf29"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$Lf2a"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lf2b"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:tickets:items:required","descriptionNode":"$Lf2c"},"description":"A list of tickets associated with the booking.","descriptionNode":"$Lf2d"}},"descriptionNode":"$Lf2e"},"descriptionNode":"$Lf2f"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:required","descriptionNode":"$Lf30"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lf31"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lf32"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$Lf33"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$Lf34"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lf35"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:category:enum","description":"The type of the accommodation associated with the booking.","descriptionNode":"$Lf36"},"booking_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:booking_type:enum","description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lf37"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lf38"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lf39"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lf3a"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lf3b"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lf3c"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lf3d"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lf3e"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:location:required","descriptionNode":"$Lf3f"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$Lf40"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$Lf41"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:guests:items:required"},"description":"List of guests associated with the booking.","descriptionNode":"$Lf42"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:required","descriptionNode":"$Lf43"}],"descriptionNode":"$Lf44"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lf45"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$Lf46"}},"descriptionNode":"$Lf47"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$Lf48"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$Lf49"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:upcoming_payment_data:required","descriptionNode":"$Lf4a"},"checkout_url":{"type":"string","description":"Link to a checkout page hosted by Revolut.","format":"uri","descriptionNode":"$Lf4b"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$Lf4c"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:enforce_challenge:enum","descriptionNode":"$Lf4d"},"statement_descriptor_suffix":{"type":"string","description":"$f4e","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$Lf4f"},"subscription_data":{"title":"Subscription data","type":"object","required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:required","description":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created.\n\nOnly present on orders created by a subscription.","properties":{"subscription_id":{"type":"string","format":"uuid","description":"Unique identifier for the subscription.","descriptionNode":"$Lf50"},"active_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for.\n\nThis is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle.","descriptionNode":"$Lf51"},"settled_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects.\n\nThis is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle.","descriptionNode":"$Lf52"},"billing_reason":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:properties:billing_reason:enum","description":"The reason this subscription order was created.\n\n| Value | Description |\n| ----- | ----------- |\n| `cycle_billing` | The order was automatically generated to collect payment for an ongoing subscription cycle. `active_cycle_id` is present; `settled_cycle_id` is present if the previous cycle included usage-based products. |\n| `final_settlement` | The order was automatically generated after the subscription ended to collect outstanding usage-based charges. `active_cycle_id` is absent; `settled_cycle_id` is present. |\n| `setup_intent` | The order was manually created by the merchant or customer to update the payment method on file. `active_cycle_id` is absent; `settled_cycle_id` is absent. |","descriptionNode":"$Lf53"}},"descriptionNode":"$Lf54"}},"descriptionNode":"$Lf55"},"examples":{"example_order_updated":{"summary":"Example order update response","value":{"id":"651a941a-02ef-af6f-9b6c-458c652e2c6a","token":"0aa685ee-8d86-441d-bedd-3f7fbf41731b","type":"payment","state":"pending","created_at":"2023-10-02T09:57:46.498026Z","updated_at":"2023-10-02T11:54:46.648414Z","amount":1000,"currency":"EUR","outstanding_amount":1000,"settlement_currency":"GBP","capture_mode":"manual","cancel_authorised_after":"P3D","checkout_url":"https://checkout.revolut.com/payment-link/0aa685ee-8d86-441d-bedd-3f7fbf41731b","metadata":{"example_key":"example_value"},"enforce_challenge":"automatic","merchant_order_data":{"url":"https://example.com/orders/12345"},"statement_descriptor_suffix":"12345"}}}}},"descriptionNode":"$Lf56"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lf57"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lf58"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lf59"}}},"examples":{"default":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1721049596461}}}}},"headers":{},"descriptionNode":"$Lf5a"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lf5b"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lf5c"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lf5d"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$Lf5e"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lf5f"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lf60"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lf61"}}},"examples":{"default":{"value":{"code":"not_found","message":"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found","timestamp":1721050063886}}}}},"descriptionNode":"$Lf62"},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$Lf63"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$Lf64"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$Lf65"}}},"examples":{"default":{"value":{"code":"order_invalid_state","message":"Operation cannot be performed because order is in completed state and expected is [pending]","timestamp":1721049952145}}}}},"descriptionNode":"$Lf66"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Object schema containing information about order update request.","properties":{"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$Lf67"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lf68"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$Lf69"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$Lf6a"},"customer":{"type":"object","description":"$f6b","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$Lf6c"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$Lf6d"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$Lf6e"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$Lf6f"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$Lf70"}},"descriptionNode":"$Lf71"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$Lf72"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$Lf73"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$Lf74"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$Lf75"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$Lf76"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$Lf77"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$Lf78"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:enforce_challenge:enum","descriptionNode":"$Lf79"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:capture_mode:enum","descriptionNode":"$Lf7a"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$f7b","descriptionNode":"$Lf7c"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$Lf7d"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$Lf7e"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:discriminator","oneOf":[{"type":"object","description":"$f7f","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lf80"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lf81"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$Lf82"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$Lf83"},"ticket_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_type:enum","description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lf84"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$Lf85"},"ticket_change_indicator":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_change_indicator:enum","description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$Lf86"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lf87"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$Lf88"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$Lf89"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:passengers:items:required"},"descriptionNode":"$Lf8a"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$Lf8b"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$Lf8c"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$Lf8d"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$Lf8e"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$Lf8f"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$Lf90"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$Lf91"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$Lf92"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$Lf93"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:journey_legs:items:required"},"descriptionNode":"$Lf94"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lf95"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:required","descriptionNode":"$Lf96"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lf97"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$Lf98"},"status":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:properties:status:enum","description":"The status of the crypto transaction.","descriptionNode":"$Lf99"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lf9a"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$Lf9b"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:required"},"minItems":1,"descriptionNode":"$Lf9c"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$Lf9d"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lf9e"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:required","descriptionNode":"$Lf9f"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lfa0"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$Lfa1"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$Lfa2"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lfa3"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$Lfa4"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lfa5"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lfa6"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lfa7"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lfa8"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lfa9"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$Lfaa"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lfab"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:properties:address:required","descriptionNode":"$Lfac"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:required","descriptionNode":"$Lfad"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:required","descriptionNode":"$Lfae"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lfaf"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lfb0"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$Lfb1"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$Lfb2"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$Lfb3"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lfb4"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$Lfb5"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lfb6"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lfb7"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lfb8"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lfb9"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lfba"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lfbb"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:location:required","descriptionNode":"$Lfbc"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:category:enum","description":"The type of the event.","descriptionNode":"$Lfbd"},"market":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:market:enum","description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$Lfbe"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$Lfbf"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$Lfc0"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lfc1"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:tickets:items:required","descriptionNode":"$Lfc2"},"description":"A list of tickets associated with the booking.","descriptionNode":"$Lfc3"}},"descriptionNode":"$Lfc4"},"descriptionNode":"$Lfc5"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:required","descriptionNode":"$Lfc6"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$Lfc7"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$Lfc8"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$Lfc9"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$Lfca"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$Lfcb"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:category:enum","description":"The type of the accommodation associated with the booking.","descriptionNode":"$Lfcc"},"booking_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:booking_type:enum","description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$Lfcd"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$Lfce"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$Lfcf"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$Lfd0"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$Lfd1"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$Lfd2"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$Lfd3"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$Lfd4"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:location:required","descriptionNode":"$Lfd5"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$Lfd6"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$Lfd7"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:guests:items:required"},"description":"List of guests associated with the booking.","descriptionNode":"$Lfd8"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:required","descriptionNode":"$Lfd9"}],"descriptionNode":"$Lfda"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$Lfdb"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$Lfdc"}},"descriptionNode":"$Lfdd"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$Lfde"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$Lfdf"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:upcoming_payment_data:required","descriptionNode":"$Lfe0"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$Lfe1"},"statement_descriptor_suffix":{"type":"string","description":"$fe2","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$Lfe3"}},"descriptionNode":"$Lfe4"},"examples":{"example_update_order":{"summary":"Example order update","value":{"amount":1000,"currency":"EUR","settlement_currency":"GBP","capture_mode":"manual","cancel_authorised_after":"P3D","metadata":{"example_key":"example_value"},"merchant_order_data":{"url":"https://example.com/orders/12345"},"statement_descriptor_suffix":"12345"}}}}}},"variantLabels":[],"children":["$Lfe5","$Lfe6"]}]}],false]}] fe5:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-order","children":[["$Lfe7","$undefined"],["$","$L15",null,{"id":"update-order"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/update-order.md"}]]}]}],"$undefined"]}] fed:Tadd,
curl -X PATCH "https://merchant.revolut.com/api/orders/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Revolut-Api-Version: __RP_TOK_2__" \
  -d '{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}'
fee:T17be,
const payload = {
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
};
fetch("https://merchant.revolut.com/api/orders/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
fef:T1ac2,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/orders/__RP_TOK_0__"
  jsonData := []byte(`
{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
ff0:T14f2,
import requests

url = "https://merchant.revolut.com/api/orders/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}
payload = {
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
ff1:T44e,import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.URI; public class Main { public static void main(String[] args) { HttpClient client = HttpClient.newHttpClient(); String body = """ { "amount": 1000, "currency": "EUR", "settlement_currency": "GBP", "capture_mode": "manual", "cancel_authorised_after": "P3D", "metadata": { "example_key": "example_value" }, "merchant_order_data": { "url": "https://example.com/orders/12345" }, "statement_descriptor_suffix": "12345" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__")) .header("Content-Type", "application/json") .header("Authorization", "__RP_TOK_1__") .header("Revolut-Api-Version", "__RP_TOK_2__") .PATCH(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }ff2:T2026,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
ff3:T2ce4,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 1000,
  ""currency"": ""EUR"",
  ""settlement_currency"": ""GBP"",
  ""capture_mode"": ""manual"",
  ""cancel_authorised_after"": ""P3D"",
  ""metadata"": {
    ""example_key"": ""example_value""
  },
  ""merchant_order_data"": {
    ""url"": ""https://example.com/orders/12345""
  },
  ""statement_descriptor_suffix"": ""12345""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
ff4:Tae5,
curl -X PATCH "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_1__" \
  -H "Revolut-Api-Version: __RP_TOK_2__" \
  -d '{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}'
ff5:T17c6,
const payload = {
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
};
fetch("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_1__",
    "Revolut-Api-Version": "__RP_TOK_2__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
ff6:T1aca,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"
  jsonData := []byte(`
{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_1__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_2__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
ff7:T14fa,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_1__",
  "Revolut-Api-Version": "__RP_TOK_2__"
}
payload = {
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
ff8:T456,import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.net.URI; public class Main { public static void main(String[] args) { HttpClient client = HttpClient.newHttpClient(); String body = """ { "amount": 1000, "currency": "EUR", "settlement_currency": "GBP", "capture_mode": "manual", "cancel_authorised_after": "P3D", "metadata": { "example_key": "example_value" }, "merchant_order_data": { "url": "https://example.com/orders/12345" }, "statement_descriptor_suffix": "12345" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__")) .header("Content-Type", "application/json") .header("Authorization", "__RP_TOK_1__") .header("Revolut-Api-Version", "__RP_TOK_2__") .PATCH(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }ff9:T202e,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_1__")
      .header("Revolut-Api-Version", "__RP_TOK_2__")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
ffa:T2cec,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "__RP_TOK_1__" },
    { "Revolut-Api-Version", "__RP_TOK_2__" },
  },
  Content = new StringContent(@"{
  ""amount"": 1000,
  ""currency"": ""EUR"",
  ""settlement_currency"": ""GBP"",
  ""capture_mode"": ""manual"",
  ""cancel_authorised_after"": ""P3D"",
  ""metadata"": {
    ""example_key"": ""example_value""
  },
  ""merchant_order_data"": {
    ""url"": ""https://example.com/orders/12345""
  },
  ""statement_descriptor_suffix"": ""12345""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
fe6:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lfe8",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$Lfe9"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$16e:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$16e:props:children:0:props:children:1:props:parameters:1:schema:examples"},"required":true,"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\nIf not specified, you will receive an error.\n\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"example":"2023-09-01","descriptionNode":"$Lfea"},{"name":"order_id","in":"path","schema":{"type":"string","format":"uuid","description":"A UUID string, typically used to identify resources.","descriptionNode":"$Lfeb"},"required":true,"description":"The ID of the `Order` object.","descriptionNode":"$Lfec"}],"requestBody":"$1a:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$1a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}'","templateHtml":"$fed","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n};\nfetch(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$fee","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$fef","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$ff0","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$ff1","templateHtml":"$ff2","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 1000,\n \"\"currency\"\": \"\"EUR\"\",\n \"\"settlement_currency\"\": \"\"GBP\"\",\n \"\"capture_mode\"\": \"\"manual\"\",\n \"\"cancel_authorised_after\"\": \"\"P3D\"\",\n \"\"metadata\"\": {\n \"\"example_key\"\": \"\"example_value\"\"\n },\n \"\"merchant_order_data\"\": {\n \"\"url\"\": \"\"https://example.com/orders/12345\"\"\n },\n \"\"statement_descriptor_suffix\"\": \"\"12345\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$ff3","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_1__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_2__\" \\\n -d '{\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}'","templateHtml":"$ff4","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$ff5","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_1__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_2__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$ff6","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_1__\",\n \"Revolut-Api-Version\": \"__RP_TOK_2__\"\n}\npayload = {\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$ff7","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$ff8","templateHtml":"$ff9","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Patch,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_1__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_2__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 1000,\n \"\"currency\"\": \"\"EUR\"\",\n \"\"settlement_currency\"\": \"\"GBP\"\",\n \"\"capture_mode\"\": \"\"manual\"\",\n \"\"cancel_authorised_after\"\": \"\"P3D\"\",\n \"\"metadata\"\": {\n \"\"example_key\"\": \"\"example_value\"\"\n },\n \"\"merchant_order_data\"\": {\n \"\"url\"\": \"\"https://example.com/orders/12345\"\"\n },\n \"\"statement_descriptor_suffix\"\": \"\"12345\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$ffa","tokens":[{"marker":"__RP_TOK_0__","paramName":"order_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01","path:order_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders/{order_id}","parameters":["$fe6:props:children:0:props:children:1:props:parameters:0","$fe6:props:children:0:props:children:1:props:parameters:1","$fe6:props:children:0:props:children:1:props:parameters:2"]}],"$Lffb"],"$Lffc","$Lffd"]}]]}] ffb:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$Lffe"}}}] ffc:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_update_order","label":"Example order update","rawValue":"$1a:props:children:0:props:children:props:requestBody:content:application/json:examples:example_update_order:value","block":"$Lfff"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] ffd:["$","$Lb1",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"example_order_updated","label":"Example order update response","rawValue":"$1a:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_updated:value","block":"$L1000"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L1001"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1a:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L1002"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1a:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L1003"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1a:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$L1004"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] fe7:"Update an order" e4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] e4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary ID for the order, which expires when the payment is authorised."}],"\n",["$","p","p-1",{"children":["The order ",["$","code","code-0",{"children":"token"}]," is used for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based","target":"_blank","rel":"noreferrer","children":"token-based initialisation"}],", and is returned by the ",["$","code","code-1",{"children":"createOrder"}]," callback in the following payment methods:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface","target":"_blank","rel":"noreferrer","children":"Embedded Checkout"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface","target":"_blank","rel":"noreferrer","children":"Apple Pay and Google Pay"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface","target":"_blank","rel":"noreferrer","children":"Pay by Bank"}]}],"\n"]}]]}] e50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] e51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order in its lifecycle."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order created, awaiting payment","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment is being processed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorised but not yet captured (for manual capture)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment successfully captured and settled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order was cancelled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment failed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}]]}]}]]}]]}] e52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] e53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] e54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] e55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] 100e:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::1015:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::1045:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).1057:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).1069:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).107b:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).1081:T9bc,A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods. #### Fingerprint generation | Payment method | Description | | -------- | ----------- | | **All payment methods** | A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay. | | **Cards (Revolut Pay & Card Gateway)** | For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking. | | **Apple Pay & Google Pay** | Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices. | #### Detecting duplicate payment methods Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints). The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended. During your manual capture workflow, after a payment was authorised: - Check the fingerprint status by comparing it against your maintained lists and internal business rules. - If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): [Capture the order](https://developer.revolut.com/docs/api/merchant#capture-order). - If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): [Cancel the order](https://developer.revolut.com/docs/api/merchant#cancel-order).10a0:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::1105:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::111e:T50a,Object containing information about a customer. If you have it, we strongly advise providing at least either `id`, `phone`, or `email`. Using the [Customers operations](https://developer.revolut.com/docs/api/merchant#tag-customers), you can manage customer instances. The following behaviours apply to different use cases: | Use case | API behavior | | -------- | ------------ | | Existing customer | If `id` was provided, we ignore other customer details and associate the customer with the order.

If either `email`, `phone`, or `full_name` was provided (without an existing customer's `id`), we always create a new customer, irrespective of another, existing customer object having the same details. | | New customer | If either `email`, `phone`, or `full_name` was provided, we create a new customer, irrespective of another customer object having the same details.

If `id` of a non-existent customer was provided, we return a `404` error, irrespective of other details provided. | :::note To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the [List customers](https://developer.revolut.com/docs/api/merchant#retrieve-customer-list) endpoint first, then provide `customer.id` in the order. :::112f:T4c1,Automatic cancellation period for uncaptured orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = `P7D`. :::note The following limitations apply: - Cannot be a negative value. - Cannot be updated if the new value is less than or equal to the elapsed time since authorisation. **Failing scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 2 days In this scenario, an error is returned. **Successful scenario:** - Original value: 7 days - Time since authorisation: 3 days - Update value: 4 days In this scenario, the parameter can be updated. - Cannot be updated if cancellation is ≤ 30 minutes away. **Failing scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 40 minutes In this scenario, an error is returned. **Successful scenario:** - Original value: 12 hours - Time since authorisation: 11 hours 20 minutes In this scenario, the parameter can be updated. :::1135:T5ef,Object containing additional information about an airline booking associated with the order. Use this object to provide required data to enable **Revolut Flight Alerts**. This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app. To enable **Revolut Flight Alerts** functionalities in the Revolut app, the following fields are **required** on order creation or update, before capturing the order: ``` tickets_purchase, journey_legs, booking_url ``` :::note These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut. | Required for airline/charter merchants | Required for OTA merchants | | -------------------------------------- | -------------------------- | |
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].sequence`
  • `journey_legs[].flight_number`
  • `journey_legs[].travel_date`
  • `journey_legs[].airline_code`
  • `journey_legs[].departure_airport_code`
  • `journey_legs[].arrival_airport_code`
|
  • `booking_id`
  • `fulfillment_date`
  • `passengers[].first_name`
  • `passengers[].last_name`
  • `journey_legs[].pnr`
  • `journey_legs[].arrival_airport_code`
| :::1198:T480,You can set a dynamic statement descriptor for your orders by providing a custom suffix. A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions. The complete descriptor is built using the following format: `{base}*{suffix}`, where: - **`{base}`** is the existing descriptor configured in the Revolut Business dashboard (**Settings > Business account > Merchant profile > Statement descriptor**). - **`{suffix}`** is defined by the `statement_descriptor_suffix` field. :::note - If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is `"base"` and the suffix is `"testdescriptorsuffix"`, the final descriptor becomes `"base*testdescriptorsuf"`. - The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules. :::18:["$","$5e","create-order",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L5f",null,{"responses":{"201":{"description":"Order created","content":{"application/json":{"schema":{"title":"Order v2","type":"object","description":"To process the order from a credit or debit card, you create an `Order` object. You can then retrieve, capture, cancel, refund, or pay an order using its unique `id`. Alternatively, you can use its unique `token` to process a card payment with the Revolut Checkout Widget.","properties":{"id":{"type":"string","format":"uuid","description":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization.","descriptionNode":"$L1005"},"token":{"type":"string","description":"Temporary ID for the order, which expires when the payment is authorised.\n\nThe order `token` is used for [token-based initialisation](https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based), and is returned by the `createOrder` callback in the following payment methods:\n\n- [Embedded Checkout](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface)\n- [Revolut Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options)\n- [Apple Pay and Google Pay](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface)\n- [Pay by Bank](https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface)","descriptionNode":"$L1006"},"type":{"type":"string","description":"The type of the order.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","descriptionNode":"$L1007"},"state":{"type":"string","description":"The state of the order in its lifecycle.\n\n| State | Description |\n|-------|-------------|\n| `pending` | Order created, awaiting payment |\n| `processing` | Payment is being processed |\n| `authorised` | Payment authorised but not yet captured (for manual capture) |\n| `completed` | Payment successfully captured and settled |\n| `cancelled` | Order was cancelled |\n| `failed` | Payment failed |\n\n:::info\nFor more information, see: [Order and payment lifecycle](https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle)\n:::","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:examples","descriptionNode":"$L1008"},"created_at":{"type":"string","description":"The date and time the order was created.","format":"date-time","descriptionNode":"$L1009"},"updated_at":{"type":"string","description":"The date and time the order was last updated.","format":"date-time","descriptionNode":"$L100a"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$L100b"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:capture_mode:enum","descriptionNode":"$L100c"},"authorisation_type":{"type":"string","description":"The type of authorisation for the order. Used with manual capture mode. If omitted, `final` is used by default.\n\n### Pre-authorisation\n\nPre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:\n\n- Hotel bookings where the final amount may vary\n- Car rentals where additional charges may apply\n- Deposits that need to be held temporarily\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `final` | Standard authorisation for immediate or near-immediate capture. |\n| `pre_authorisation` | Reserve funds for later capture, used with manual capture mode. |\n\n:::note\nPre-authorisation must be used with `capture_mode: manual`. For more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"final","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authorisation_type:enum","descriptionNode":"$L100d"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$100e","descriptionNode":"$L100f"},"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L1010"},"outstanding_amount":{"type":"integer","description":"The amount not yet paid for a given order (in minor currency units). For example, `7034` represents €70.34. \n\nThe value in this field may differ from `amount` if there are partial payments associated with the order.","descriptionNode":"$L1011"},"refunded_amount":{"type":"integer","description":"The amount that was refunded from the order (in minor currency units). For example, `7034` represents €70.34. \n\nThis applies to orders that have been refunded (i.e., orders of type `payment` that have a related `refund` order).","descriptionNode":"$L1012"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L1013"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L1014"},"customer":{"type":"object","description":"$1015","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$L1016"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L1017"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L1018"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$L1019"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L101a"}},"descriptionNode":"$L101b"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$L101c"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$L101d"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$L101e"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$L101f"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$L1020"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$L1021"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$L1022"},"payments":{"type":"array","description":"The details of all the payments that have been made towards this order (successful or unsuccessful).","items":{"type":"object","description":"Represents a payment for an order.\n\nFor pre-authorised payments, the `authorised_amount` field tracks the currently authorised amount, which may differ from `amount` during incremental authorisation processing.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.","descriptionNode":"$L1023"},"state":{"type":"string","description":"The status of the payment.","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","descriptionNode":"$L1024"},"decline_reason":{"type":"string","description":"The reason for a `failed` or `declined` payment.\n\nA failed or declined payment can result from multiple reasons. To learn more, check our [failure reasons](https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons).","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:decline_reason:enum","descriptionNode":"$L1025"},"bank_message":{"type":"string","description":"The reason for a `failed` or `declined` payment, sent by the financial institution processing the payment.","descriptionNode":"$L1026"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payment was created.","descriptionNode":"$L1027"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payment was last updated.","descriptionNode":"$L1028"},"token":{"type":"string","format":"uuid","description":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers. \n\nThe token is only valid for a limited time.","descriptionNode":"$L1029"},"amount":{"type":"integer","format":"int64","minimum":0,"description":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state.\n\n| Payment type | State | Amount value |\n|--------------|-------|--------------|\n| Standard payment | Any | Total payment amount |\n| Pre-authorised payment | `authorisation_started` | New amount being authorised (during increment processing) |\n| Pre-authorised payment | `authorised` | Currently authorised amount (equals `authorised_amount`) |\n\n:::info\nFor pre-authorised payments, see the `authorised_amount` field for tracking the currently authorised amount separately.\n:::","examples":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:examples","descriptionNode":"$L102a"},"authorised_amount":{"type":"integer","description":"The currently authorised amount for this payment (in minor units).\n\nFor pre-authorised payments with incremental authorization:\n- Initially equals the `amount` field\n- Remains unchanged during increment processing\n- Updates to new amount upon successful increment\n- Remains at original amount if increment is declined\n\nFor standard payments, this field may not be present or will equal the `amount` field.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:authorised_amount:examples","descriptionNode":"$L102b"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L102c"},"settled_amount":{"type":"integer","description":"The amount of the settled payment (minor currency unit). For example, `7034` stands for €70.34.","descriptionNode":"$L102d"},"settled_currency":{"type":"string","description":"The currency of the settled payment. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L102e"},"payment_method":{"type":"object","description":"The details of the payment method used to make the payment.","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:discriminator","oneOf":[{"type":"object","description":"Object containing details of a card used via Apple Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$L102f"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L1030"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:card_brand:enum","descriptionNode":"$L1031"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:funding:enum","descriptionNode":"$L1032"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$L1033"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$L1034"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$L1035"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$L1036"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L1037"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":{"type":"object","description":"The details of the 3D Secure check. Only for orders with successful payments.\n\n:::note\nNot returned for Apple Pay and Google Pay payments.\n:::","properties":{"eci":{"type":"string","description":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided.","descriptionNode":"$L1038"},"state":{"type":"string","description":"The result of 3D Secure check.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds:properties:state:enum","descriptionNode":"$L1039"},"version":{"type":"integer","description":"The 3D Secure version.","descriptionNode":"$L103a"}},"descriptionNode":"$L103b"},"cvv_verification":{"type":"string","description":"The result of CVV verification.\n\n| Parameter value | Description |\n| ----- | ----------- |\n| `match` | CVV matches the card's CVV |\n| `not_match` | CVV does not match the card's CVV |\n| `incorrect` | CVV format is incorrect for this type of card |\n| `not_processed` | CVV verification was not performed |","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification:enum","descriptionNode":"$L103c"},"address":{"type":"string","description":"The result of address verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address:enum","descriptionNode":"$L103d"},"postcode":{"type":"string","description":"The result of postcode verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode:enum","descriptionNode":"$L103e"},"cardholder":{"type":"string","description":"The result of cardholder verification.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder:enum","descriptionNode":"$L103f"}},"descriptionNode":"$L1040"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$L1041"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$L1042"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$L1043"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$L1044"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$1045","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$L1046"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$L1047"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:required","descriptionNode":"$L1048"},{"type":"object","description":"Object containing details of the card used for the payment.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$L1049"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L104a"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:card_brand:enum","descriptionNode":"$L104b"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:properties:funding:enum","descriptionNode":"$L104c"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$L104d"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$L104e"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$L104f"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$L1050"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L1051"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$L1052"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$L1053"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$L1054"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$L1055"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$L1056"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$1057","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$L1058"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$L1059"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:1:required","descriptionNode":"$L105a"},{"type":"object","description":"Object containing details of a card used via Google Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$L105b"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L105c"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:card_brand:enum","descriptionNode":"$L105d"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:properties:funding:enum","descriptionNode":"$L105e"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$L105f"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$L1060"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$L1061"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$L1062"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L1063"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$L1064"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$L1065"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$L1066"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$L1067"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$L1068"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$1069","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$L106a"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$L106b"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:2:required","descriptionNode":"$L106c"},{"type":"object","description":"Object containing details of a card used via Revolut Pay.","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$L106d"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L106e"},"card_brand":{"type":"string","description":"The type of the card.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:card_brand:enum","descriptionNode":"$L106f"},"funding":{"type":"string","description":"The type of card funding.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:properties:funding:enum","descriptionNode":"$L1070"},"card_country_code":{"type":"string","description":"The 2-letter country code of the country where the card was issued.","descriptionNode":"$L1071"},"card_bin":{"type":"string","description":"The BIN of the card.","minLength":6,"maxLength":6,"descriptionNode":"$L1072"},"card_last_four":{"type":"string","description":"The last four digits of the card number.","minLength":4,"maxLength":4,"descriptionNode":"$L1073"},"card_expiry":{"type":"string","format":"MM/YY","description":"The expiry date of the card in the format of MM/YY.","descriptionNode":"$L1074"},"cardholder_name":{"type":"string","description":"The name of the cardholder.","descriptionNode":"$L1075"},"checks":{"type":"object","description":"The details of the check for card payment. Only for orders with successful payments.","properties":{"three_ds":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:three_ds","cvv_verification":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cvv_verification","address":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:address","postcode":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:postcode","cardholder":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:checks:properties:cardholder"},"descriptionNode":"$L1076"},"authorisation_code":{"type":"string","description":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway.\n\nIt serves as confirmation that the transaction has been approved and funds are available.","pattern":"^[a-zA-Z0-9]{2,6}$","minLength":2,"maxLength":6,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:authorisation_code:examples","descriptionNode":"$L1077"},"arn":{"type":"string","description":"Acquirer Reference Number (ARN) of the payment.\n\n:::note\nOnly returned for refund payments made by a card.\n:::","minLength":23,"maxLength":23,"examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:arn:examples","descriptionNode":"$L1078"},"capture_deadline":{"type":"string","format":"date-time","description":"The date and time by which the payment must be captured.\n\nAfter this deadline, the authorised funds may be automatically released by the card issuer.","descriptionNode":"$L1079"},"terminal_hardware_id":{"type":"string","description":"The hardware identifier of the Revolut Terminal device used to process the payment.\n\n:::note\nOnly present for card-present transactions processed via Revolut Terminal.\n:::","descriptionNode":"$L107a"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$107b","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$L107c"},"network_transaction_id":{"type":"string","description":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction.\n\nIt can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution.","descriptionNode":"$L107d"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:3:required","descriptionNode":"$L107e"},{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved.\n:::","descriptionNode":"$L107f"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L1080"},"fingerprint":{"type":"string","minLength":44,"maxLength":44,"description":"$1081","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:0:properties:fingerprint:examples","descriptionNode":"$L1082"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:payment_method:oneOf:4:required"},{"type":"object","description":"Object containing details of a SEPA Direct Debit payment.\n\n:::info\nFor more information, see: [SEPA Direct Debit server-to-server integration](https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server)\n:::","properties":{"id":{"type":"string","format":"uuid","description":"ID of the saved payment method.\n\n:::note\nThe `id` parameter is only returned when the payment method is saved for the merchant.\n:::","descriptionNode":"$L1083"},"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:properties:type:enum","description":"The type of payment method used to pay for the order.\n\nAvailable values:\n\n| Payment method `type` | Description |\n| --------------------- | ----------- |\n| `apple_pay` | The customer paid the order using Apple Pay. |\n| `card` | The customer paid the order using their credit or debit card. |\n| `google_pay` | The customer paid the order using Google Pay. |\n| `revolut_pay_card` | The customer paid the order via Revolut Pay using their credit or debit card. |\n| `revolut_pay_account` | The customer paid the order via Revolut Pay using their Revolut account. |\n| `sepa_direct_debit` | The customer paid the order using SEPA Direct Debit. |","descriptionNode":"$L1084"},"debtor_iban_last_four":{"type":"string","description":"The last four digits of the debtor's IBAN.","minLength":4,"maxLength":4,"descriptionNode":"$L1085"},"debtor_name":{"type":"string","description":"The full name of the debtor as provided in the mandate.","descriptionNode":"$L1086"},"mandate_reference":{"type":"string","description":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers.","descriptionNode":"$L1087"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payment_method:oneOf:2:required","descriptionNode":"$L1088"}],"descriptionNode":"$L1089"},"authentication_challenge":{"type":"object","description":"Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: [3D Secure overview](https://developer.revolut.com/docs/guides/merchant/reference/3d-secure).\n\nOnly returned if the payment's state is `authentication_challenge`.","discriminator":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:discriminator","oneOf":[{"title":"three_ds","type":"object","description":"Information about the 3DS challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L108a"},"acs_url":{"type":"string","format":"url","description":"The URL of the authentication challenge.","descriptionNode":"$L108b"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:required","descriptionNode":"$L108c"},{"title":"three_ds_fingerprint","type":"object","description":"Information about the 3DS fingerprint challenge.","properties":{"type":{"type":"string","enum":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:0:properties:type:enum","description":"Type of the authentication challenge the payment triggers.","descriptionNode":"$L108d"},"fingerprint_url":{"type":"string","format":"url","description":"The URL of the fingerprint. (Used only internally by Revolut.)","descriptionNode":"$L108e"},"fingerprint_data":{"type":"string","format":"JSON","description":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)","descriptionNode":"$L108f"}},"required":"$2c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authentication_challenge:oneOf:1:required","descriptionNode":"$L1090"}],"descriptionNode":"$L1091"},"billing_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:street_line_1","street_line_2":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:street_line_2","region":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:region","city":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:city","country_code":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:country_code","postcode":"$18:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:shipping_address:properties:postcode"},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$L1092"},"risk_level":{"type":"string","description":"The risk level of the card.\n\nIf the risk level is `high`, the payment might be declined.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:risk_level:enum","descriptionNode":"$L1093"},"fees":{"type":"array","description":"The details of the order fee.","items":{"type":"object","properties":{"type":{"type":"string","description":"The type of the order fee.","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:fees:items:properties:type:enum","descriptionNode":"$L1094"},"amount":{"type":"integer","description":"The amount of the payment fee (minor currency unit). For example, enter `7034` for €70.34 in the field.","descriptionNode":"$L1095"},"currency":{"type":"string","description":"The currency of the payment fee. [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L1096"}}},"descriptionNode":"$L1097"},"payer":{"title":"Payer","type":"object","description":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow.\n\nCapturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters.","properties":{"email":{"description":"The email of the person who made the payment.","type":"string","format":"email","descriptionNode":"$L1098"},"phone":{"description":"The phone number of the payer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","type":"string","descriptionNode":"$L1099"}},"descriptionNode":"$L109a"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:required","descriptionNode":"$L109b"},"descriptionNode":"$L109c"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L109d"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$L109e"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$L109f"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:discriminator","oneOf":[{"type":"object","description":"$10a0","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L10a1"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$L10a2"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$L10a3"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$L10a4"},"ticket_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_type:enum","description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$L10a5"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$L10a6"},"ticket_change_indicator":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_change_indicator:enum","description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$L10a7"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$L10a8"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$L10a9"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$L10aa"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:passengers:items:required"},"descriptionNode":"$L10ab"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$L10ac"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$L10ad"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$L10ae"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$L10af"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$L10b0"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$L10b1"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$L10b2"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$L10b3"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$L10b4"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:journey_legs:items:required"},"descriptionNode":"$L10b5"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L10b6"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:required","descriptionNode":"$L10b7"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L10b8"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$L10b9"},"status":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:properties:status:enum","description":"The status of the crypto transaction.","descriptionNode":"$L10ba"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$L10bb"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$L10bc"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:required"},"minItems":1,"descriptionNode":"$L10bd"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$L10be"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L10bf"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:required","descriptionNode":"$L10c0"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L10c1"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$L10c2"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$L10c3"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L10c4"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$L10c5"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L10c6"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L10c7"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L10c8"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L10c9"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L10ca"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$L10cb"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L10cc"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:properties:address:required","descriptionNode":"$L10cd"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:required","descriptionNode":"$L10ce"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:required","descriptionNode":"$L10cf"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L10d0"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$L10d1"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$L10d2"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$L10d3"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$L10d4"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$L10d5"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$L10d6"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L10d7"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L10d8"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L10d9"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L10da"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L10db"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L10dc"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:location:required","descriptionNode":"$L10dd"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:category:enum","description":"The type of the event.","descriptionNode":"$L10de"},"market":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:market:enum","description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$L10df"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$L10e0"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$L10e1"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$L10e2"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:tickets:items:required","descriptionNode":"$L10e3"},"description":"A list of tickets associated with the booking.","descriptionNode":"$L10e4"}},"descriptionNode":"$L10e5"},"descriptionNode":"$L10e6"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:required","descriptionNode":"$L10e7"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L10e8"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$L10e9"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$L10ea"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$L10eb"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$L10ec"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:category:enum","description":"The type of the accommodation associated with the booking.","descriptionNode":"$L10ed"},"booking_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:booking_type:enum","description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$L10ee"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$L10ef"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L10f0"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L10f1"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L10f2"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L10f3"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L10f4"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L10f5"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:location:required","descriptionNode":"$L10f6"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$L10f7"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$L10f8"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:guests:items:required"},"description":"List of guests associated with the booking.","descriptionNode":"$L10f9"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:required","descriptionNode":"$L10fa"}],"descriptionNode":"$L10fb"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L10fc"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$L10fd"}},"descriptionNode":"$L10fe"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$L10ff"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$L1100"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:upcoming_payment_data:required","descriptionNode":"$L1101"},"checkout_url":{"type":"string","description":"Link to a checkout page hosted by Revolut.","format":"uri","descriptionNode":"$L1102"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$L1103"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:enforce_challenge:enum","descriptionNode":"$L1104"},"statement_descriptor_suffix":{"type":"string","description":"$1105","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$L1106"},"subscription_data":{"title":"Subscription data","type":"object","required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:required","description":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created.\n\nOnly present on orders created by a subscription.","properties":{"subscription_id":{"type":"string","format":"uuid","description":"Unique identifier for the subscription.","descriptionNode":"$L1107"},"active_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for.\n\nThis is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle.","descriptionNode":"$L1108"},"settled_cycle_id":{"type":"string","format":"uuid","description":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects.\n\nThis is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle.","descriptionNode":"$L1109"},"billing_reason":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:subscription_data:properties:billing_reason:enum","description":"The reason this subscription order was created.\n\n| Value | Description |\n| ----- | ----------- |\n| `cycle_billing` | The order was automatically generated to collect payment for an ongoing subscription cycle. `active_cycle_id` is present; `settled_cycle_id` is present if the previous cycle included usage-based products. |\n| `final_settlement` | The order was automatically generated after the subscription ended to collect outstanding usage-based charges. `active_cycle_id` is absent; `settled_cycle_id` is present. |\n| `setup_intent` | The order was manually created by the merchant or customer to update the payment method on file. `active_cycle_id` is absent; `settled_cycle_id` is absent. |","descriptionNode":"$L110a"}},"descriptionNode":"$L110b"}},"descriptionNode":"$L110c"},"examples":{"example_order_min":{"summary":"Example order response with minimal required parameters","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_min:value"},"example_order_additional":{"summary":"Example order response with additional parameters","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_additional:value"},"example_order_pre_auth":{"summary":"Example order response with pre-authorisation and card payment","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_pre_auth:value"},"example_order_airline":{"summary":"Example order response with additional airline data","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_airline:value"},"example_order_car_rental":{"summary":"Example order response with additional car rental data","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_car_rental:value"},"example_order_crypto":{"summary":"Example order response with additional crypto transaction data","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_crypto:value"},"example_order_marketplace":{"summary":"Example order response with additional marketplace data","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_marketplace:value"},"example_order_event":{"summary":"Example order response with additional event data","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_event:value"},"example_order_lodging":{"summary":"Example order response with additional lodging data","value":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_lodging:value"}}}},"descriptionNode":"$L110d"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L110e"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L110f"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L1110"}}},"examples":{"default":{"value":{"code":"bad_request","message":"Could not parse JSON","timestamp":1721049596461}}}}},"headers":{},"descriptionNode":"$L1111"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L1112"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L1113"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L1114"}}},"examples":{"default":{"value":{"code":"unauthenticated","message":"Authentication failed","timestamp":1721049596461}}}}},"descriptionNode":"$L1115"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"title":"Error","type":"object","properties":{"code":{"type":"string","description":"An identifier that can be used to determine what went wrong.\n\nError codes are not globally unique, but uniqueness is guaranteed within endpoints.","descriptionNode":"$L1116"},"message":{"type":"string","description":"Some human readable text describing what went wrong.","descriptionNode":"$L1117"},"timestamp":{"type":"integer","description":"The [UNIX timestamp](https://www.unixtimestamp.com/) of the date and time the error happened.","descriptionNode":"$L1118"}}}}},"descriptionNode":"$L1119"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Object schema containing information about order creation body request parameters.","properties":{"amount":{"type":"integer","description":"The order total expressed in minor currency units, according to the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217). For example, `7034` in `EUR` corresponds to €70.34.\n\n:::info\nConversion between major and minor units varies by currency. For instance, `100` minor units equal £1.00 in `GBP`, whereas in `ISK` they represent 100 units. For more details, see the [ISO 4217 standard](https://en.wikipedia.org/wiki/ISO_4217).\n:::","descriptionNode":"$L111a"},"currency":{"type":"string","format":"ISO 4217","minLength":3,"maxLength":3,"description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L111b"},"settlement_currency":{"type":"string","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case. \n\nIf `settlement_currency` is different from the value of `currency`, the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial `currency`.\n\nIf `settlement_currency` is not specified, this value is taken from `currency`.\n\n:::info\nFor more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).\n:::","descriptionNode":"$L111c"},"description":{"type":"string","description":"The description of the order.","descriptionNode":"$L111d"},"customer":{"type":"object","description":"$111e","properties":{"id":{"type":"string","format":"uuid","description":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order.\n\n:::note\nIf you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object.\n:::","descriptionNode":"$L111f"},"full_name":{"type":"string","description":"The full name of the customer.","descriptionNode":"$L1120"},"phone":{"type":"string","description":"The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).","descriptionNode":"$L1121"},"email":{"type":"string","format":"email","description":"The email address of the customer.","descriptionNode":"$L1122"},"date_of_birth":{"type":"string","format":"date","description":"The birth date of the customer.","descriptionNode":"$L1123"}},"descriptionNode":"$L1124"},"shipping_address":{"type":"object","description":"Object containing address details.","properties":{"street_line_1":{"type":"string","description":"Street line 1 information.","maxLength":100,"descriptionNode":"$L1125"},"street_line_2":{"type":"string","description":"Street line 2 information.","maxLength":100,"descriptionNode":"$L1126"},"region":{"type":"string","description":"The region associated with the address.","maxLength":100,"descriptionNode":"$L1127"},"city":{"type":"string","description":"The city associated with the address.","maxLength":100,"descriptionNode":"$L1128"},"country_code":{"type":"string","description":"The 2-letter country code of the country associated with the address.","maxLength":2,"descriptionNode":"$L1129"},"postcode":{"type":"string","description":"The postcode associated with the address.","maxLength":100,"descriptionNode":"$L112a"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:shipping_address:required","descriptionNode":"$L112b"},"enforce_challenge":{"type":"string","description":"The enforce challenge mode. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge. |\n| `forced` | The payments created for an order will always require a 3DS challenge. Currently only supported for card payments. |","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:enforce_challenge:enum","descriptionNode":"$L112c"},"capture_mode":{"type":"string","description":"The capture mode of the order. `automatic` is used by default.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `automatic` | The order is captured automatically after payment authorisation. |\n| `manual` | The order is not captured automatically. You must manually capture the order later. |\n\n:::info\nFor more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"automatic","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:capture_mode:enum","descriptionNode":"$L112d"},"authorisation_type":{"type":"string","description":"The type of authorisation for the order. Used with manual capture mode. If omitted, `final` is used by default.\n\n### Pre-authorisation\n\nPre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:\n\n- Hotel bookings where the final amount may vary\n- Car rentals where additional charges may apply\n- Deposits that need to be held temporarily\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `final` | Standard authorisation for immediate or near-immediate capture. |\n| `pre_authorisation` | Reserve funds for later capture, used with manual capture mode. |\n\n:::note\nPre-authorisation must be used with `capture_mode: manual`. For more information, see [Capture an order](https://developer.revolut.com/docs/api/merchant#capture-order).\n:::","default":"final","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:authorisation_type:enum","descriptionNode":"$L112e"},"cancel_authorised_after":{"type":"string","format":"duration","description":"$112f","descriptionNode":"$L1130"},"expire_pending_after":{"type":"string","format":"duration","description":"Automatic expiration period for pending orders, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n\nOrders in `pending` state will be automatically failed if they stay unpaid for longer than the period specified.\n\nWhen the order expires, it transitions to the `failed` state and an `ORDER_FAILED` webhook event is triggered.\n\n:::note\n- This field can only be set during order creation and cannot be updated afterward.\n- Must be between `PT1M` (1 minute) and `PT720H` (30 days).\n- Cannot be a negative value.\n:::","examples":["PT15M"],"descriptionNode":"$L1131"},"location_id":{"type":"string","format":"uuid","description":"Unique ID representing the location where merchants sells products.\n\n:::info\nFor more information, see: [Locations](https://developer.revolut.com/docs/api/merchant#tag-locations).\n::: ","descriptionNode":"$L1132"},"metadata":{"type":"object","description":"Additional information to track your orders in your system, by providing custom metadata using `\"\" : \"\"` pairs.\n\n:::warning\n**Restrictions:**\n\n- Both keys and values must be `string`s\n- Values cannot be `null`.\n- Max number of key-value pairs: `50`\n- Max length of values: `500` characters\n- Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: `^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$`\n:::","maxProperties":50,"additionalProperties":{"type":"string","maxLength":500,"description":"Additional metadata value provided with the corresponding metadata key.","descriptionNode":"$L1133"},"examples":"$1e:props:children:0:props:children:props:responses:201:content:application/json:schema:properties:metadata:examples","descriptionNode":"$L1134"},"industry_data":{"type":"object","description":"Object containing industry-specific information associated with the order.\n\n:::info\nIn the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team.\n\n | Transaction type | Required for | \n | ---------------- | ----------- |\n | `airline` | Airlines and Online Travel Agencies (OTAs). |\n | `crypto` | Crypto merchants. |\n | `marketplace` | Marketplace merchants. |\n | `event` | Event ticket sellers. |\n | `lodging` | Lodging providers and OTAs. |\n:::","discriminator":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:discriminator","oneOf":[{"type":"object","description":"$1135","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L1136"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$L1137"},"fulfillment_date":{"type":"string","format":"date-time","description":"The UTC date and time of the final journey leg.\n\n:::warning\nThe following limitations apply:\n - When creating or updating an order, `fulfillment_date` cannot be set to a date in the past.\n - When updating an order, if the current `fulfillment_date` value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions.\n:::","descriptionNode":"$L1138"},"tickets_purchase":{"type":"boolean","description":"Flag indicating whether the order includes actual ticket purchases. Set to `true` if the order contains ticket purchases, and `false` if it does not (e.g., it **only** contains seat reservations, or baggage upgrades). \n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app.\n\nProvide the info on order creation or update, before capturing the order.\n:::","descriptionNode":"$L1139"},"ticket_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_type:enum","description":"The type of the ticket.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$L113a"},"crs_code":{"type":"string","maxLength":4,"description":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket.","descriptionNode":"$L113b"},"ticket_change_indicator":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:ticket_change_indicator:enum","description":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one.","descriptionNode":"$L113c"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$L113d"},"passengers":{"type":"array","description":"Array containing information of passengers associated with the booking.","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Passenger's first name.","descriptionNode":"$L113e"},"last_name":{"type":"string","description":"Passenger's last name.","descriptionNode":"$L113f"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:passengers:items:required"},"descriptionNode":"$L1140"},"journey_legs":{"type":"array","description":"Array containing information of journey legs associated with the booking.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nThis information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays. \n\nTo enable the widget the following fields are required on order creation or update, before capturing the order:\n\n ```\n sequence,\n departure_airport_code,\n arrival_airport_code,\n flight_number,\n travel_date,\n airline_name,\n airline_code,\n ```\n:::","items":{"type":"object","properties":{"sequence":{"type":"integer","description":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket.\n\nFor example: For a `FRA > LHR > DUB > LHR > FRA` journey the sequence will be assigned as:\n - `FRA > LHR`: 1\n - `LHR > DUB`: 2\n - `DUB > LHR`: 3\n - `LHR > FRA`: 4","descriptionNode":"$L1141"},"departure_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the departure airport.","descriptionNode":"$L1142"},"arrival_airport_code":{"type":"string","description":"The [IATA](https://www.iata.org/en/services/codes) 3-letter airport code for the arrival airport.","descriptionNode":"$L1143"},"flight_number":{"type":"string","description":"The flight identifier, without airline code.","descriptionNode":"$L1144"},"fare_base_code":{"type":"string","description":"The fare base code for the given journey leg.","descriptionNode":"$L1145"},"travel_date":{"type":"string","format":"date-time","description":"The UTC date and time of the flight departure for the given journey leg.","descriptionNode":"$L1146"},"airline_name":{"type":"string","description":"The name of the airline associated with the journey leg.","descriptionNode":"$L1147"},"airline_code":{"type":"string","description":"The IATA 2-letter accounting code identifying the airline associated with the journey leg.","descriptionNode":"$L1148"},"pnr":{"type":"string","format":"alphanumeric","pattern":"^[a-zA-Z0-9]*$","maxLength":20,"description":"The Passenger Name Record (PNR) for the journey leg issued by the airline. \n\nPNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details.\n\n:::warning\nThis is a required field for OTAs.\n:::","descriptionNode":"$L1149"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:journey_legs:items:required"},"descriptionNode":"$L114a"},"booking_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app.\n\n:::info\nThis field is required for activating **Revolut Flight Alerts** functionalities within the Revolut app. \n\nProvide the info on order creation or update, before capturing the order.\n:::\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L114b"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:required","descriptionNode":"$L114c"},{"type":"object","description":"Object containing information about crypto transactions associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\ntransactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L114d"},"transactions":{"type":"array","description":"Array of crypto transaction data associated with the order.","items":{"type":"object","properties":{"id":{"type":"string","maxLength":255,"description":"The public transaction hash of the crypto transaction.","descriptionNode":"$L114e"},"status":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:properties:status:enum","description":"The status of the crypto transaction.","descriptionNode":"$L114f"},"recipient_wallet_id":{"type":"string","maxLength":255,"description":"The wallet ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$L1150"},"recipient_user_id":{"type":"string","maxLength":255,"description":"The user ID of the recipient.\n\n:::note\nAt least one of the parameters: `recipient_user_id` or `recipient_wallet_id` is required.\n::: ","descriptionNode":"$L1151"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:properties:transactions:items:required"},"minItems":1,"descriptionNode":"$L1152"},"subseller_mcc":{"type":"string","description":"A string representing the four-digit [Merchant Category Code (MCC)](https://en.wikipedia.org/wiki/Merchant_category_code) of the subseller. \n\nThis code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller.","maxLength":4,"minLength":4,"pattern":"^\\d{4}$","descriptionNode":"$L1153"},"subseller_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the subseller's website.\n\nThis parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller.\n\n:::warning\nRestrictions: \n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L1154"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:1:required","descriptionNode":"$L1155"},{"type":"object","description":"This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction.\n\n:::info\nThese are the specific data field requirements for merchants who must provide marketplace data.\n\n```\nsubseller.id\nsubseller.name\nsubseller.phone\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L1156"},"subseller":{"type":"object","description":"Information about the subseller related to this order.","properties":{"id":{"type":"string","description":"The ID of the subseller in the marketplace's internal system.","minLength":1,"maxLength":15,"descriptionNode":"$L1157"},"name":{"type":"string","description":"The business or legal name of the subseller.","minLength":1,"maxLength":50,"descriptionNode":"$L1158"},"website":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":255,"description":"The URL of the website of the subseller.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `255`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L1159"},"phone":{"type":"string","description":"The phone number of the subseller.","descriptionNode":"$L115a"},"address":{"type":"object","description":"Details of a physical address.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L115b"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L115c"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L115d"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L115e"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L115f"},"country_subdivision_code":{"type":"string","pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$","description":"The subdivision code represents the state, province, or region within the country, following the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) standard. This code uniquely identifies subdivisions within a country. \n\nFor example, for London in the United Kingdom, use `GB-LND`.\n\n:::warning\nThe parameter is required for countries listed on the [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) page.\n:::","minLength":5,"maxLength":6,"descriptionNode":"$L1160"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L1161"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:properties:address:required","descriptionNode":"$L1162"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:properties:subseller:required","descriptionNode":"$L1163"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:2:required","descriptionNode":"$L1164"},{"type":"object","description":"Object containing booking information for a list of event tickets associated with the order.\n\n:::info\nThese are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L1165"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$L1166"},"events":{"type":"array","description":"A list of events associated with the booking.","items":{"type":"object","description":"Object containing booking information about a specific event. ","properties":{"start_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event starts.","descriptionNode":"$L1167"},"end_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the event ends.","descriptionNode":"$L1168"},"supplier":{"type":"string","description":"Legal name of the ticket vendor/event organiser.","descriptionNode":"$L1169"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$L116a"},"name":{"type":"string","description":"The name of the event.","descriptionNode":"$L116b"},"location":{"type":"object","description":"The address of the event location.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L116c"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L116d"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L116e"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L116f"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L1170"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L1171"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:location:required","descriptionNode":"$L1172"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:category:enum","description":"The type of the event.","descriptionNode":"$L1173"},"market":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:market:enum","description":"Indicates the relationship between the ticket vendor and the event organiser. \n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `primary` | The merchant is the organiser and primary distributor of the tickets. |\n| `secondary` | The merchant is a reseller, only distributing the tickets. |","descriptionNode":"$L1174"},"tickets":{"type":"array","items":{"type":"object","description":"Object containing information about a ticket associated with the booking.","properties":{"id":{"type":"string","description":"A unique identifier provided by the merchant associated with the ticket.","descriptionNode":"$L1175"},"transferable":{"type":"boolean","description":"Indicates whether the ticket is transferable to another buyer.","descriptionNode":"$L1176"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$L1177"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:properties:events:items:properties:tickets:items:required","descriptionNode":"$L1178"},"description":"A list of tickets associated with the booking.","descriptionNode":"$L1179"}},"descriptionNode":"$L117a"},"descriptionNode":"$L117b"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:3:required","descriptionNode":"$L117c"},{"type":"object","description":"Object containing details of a lodging booking.\n\n:::info\nThese are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut.\n\n```\nbooking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n```\n:::","properties":{"type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:type:enum","description":"Type of the industry-specific data object, determining what additional data is expected.\n\nAvailable types:\n\n | Object type | Description |\n | ------------- | ----------- |\n | `airline` | Object containing information about a specific airline ticket purchase. |\n | `car_rental` | Object containing information about a car rental booking associated with the order. |\n | `crypto` | Object containing information about crypto transactions associated with the order. |\n | `marketplace` | This object is required by Mastercard and Visa for merchants operating as marketplaces under the **Merchant Category Code (MCC):** `5262`. The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction. |\n | `event` | Object containing information about event ticket bookings associated with the order. |\n | `lodging` | Object containing information about lodging bookings associated with the order. |","descriptionNode":"$L117d"},"booking_id":{"type":"string","description":"A unique identifier provided by the merchant associated with the order. \n\nThis `booking_id` is used to reference and correlate booking information with the Merchant API and the merchant's internal system.","descriptionNode":"$L117e"},"check_in_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-in.","descriptionNode":"$L117f"},"check_out_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time of the check-out.","descriptionNode":"$L1180"},"supplier_payment_date":{"type":"string","format":"date-time","description":"[ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the funds are released to merchants.","descriptionNode":"$L1181"},"category":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:category:enum","description":"The type of the accommodation associated with the booking.","descriptionNode":"$L1182"},"booking_type":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:booking_type:enum","description":"Indicates whether the booking terms are fixed or flexible.\n\n| Parameter value | Description |\n| --------------- | ----------- |\n| `fixed` | Non-modifiable once confirmed. |\n| `flexible` | Allows modifications or cancellations under specified conditions. |","descriptionNode":"$L1183"},"refundability":{"type":"string","enum":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:0:properties:refundability:enum","description":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable.","descriptionNode":"$L1184"},"location":{"type":"object","description":"Address of the accommodation.","properties":{"street_line_1":{"type":"string","description":"Primary address line.","maxLength":100,"descriptionNode":"$L1185"},"street_line_2":{"type":"string","description":"Secondary address line, such as floor and apartment number.","maxLength":100,"descriptionNode":"$L1186"},"region":{"type":"string","description":"State or province of the address.","maxLength":100,"descriptionNode":"$L1187"},"city":{"type":"string","description":"City of the address.","maxLength":100,"descriptionNode":"$L1188"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 2-letter country code.","minLength":2,"maxLength":2,"descriptionNode":"$L1189"},"postcode":{"type":"string","description":"Postal code of the address.","maxLength":100,"descriptionNode":"$L118a"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:location:required","descriptionNode":"$L118b"},"guests":{"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","description":"Guest's first name.","descriptionNode":"$L118c"},"last_name":{"type":"string","description":"Guest's last name.","descriptionNode":"$L118d"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:properties:guests:items:required"},"description":"List of guests associated with the booking.","descriptionNode":"$L118e"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:industry_data:oneOf:4:required","descriptionNode":"$L118f"}],"descriptionNode":"$L1190"},"merchant_order_data":{"type":"object","description":"Object for providing additional information stored in the merchant's order management system. ","properties":{"url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL of the order stored in the merchant's order management system.\n\nThis URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's **Business website** configured in the Revolut Business account.\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::","descriptionNode":"$L1191"},"reference":{"type":"string","description":"Merchant order ID for external reference.\n\nUse this field to set the ID that your own system can use to easily track orders.","descriptionNode":"$L1192"}},"descriptionNode":"$L1193"},"upcoming_payment_data":{"type":"object","description":"Object containing information about upcoming payments associated with the order.","properties":{"date":{"type":"string","format":"date-time","description":"The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the upcoming payment is scheduled to be executed.","descriptionNode":"$L1194"},"payment_method_id":{"type":"string","description":"The unique ID of the customer's payment method used to complete the scheduled payment.\n\n:::info\nFor more information about operations related to customer's payment methods, see:\n - [Retrieve payment method list of a customer](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list)\n - [Retrieve a customer's payment method](https://developer.revolut.com/docs/api/merchant#retrieve-payment-method)\n - [Update a customer's payment method](https://developer.revolut.com/docs/api/merchant#update-payment-method)\n - [Delete a customer's payment method](https://developer.revolut.com/docs/api/merchant#delete-payment-method)\n:::","descriptionNode":"$L1195"}},"required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:upcoming_payment_data:required","descriptionNode":"$L1196"},"redirect_url":{"type":"string","format":"uri","pattern":"^https?:\\/{2}.+/gi","maxLength":2000,"description":"The URL your customer will be redirected to after a successful payment on the hosted checkout page (`checkout_url` parameter's value of the order).\n\n:::warning\nRestrictions:\n- Must be a valid URI as defined by [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986)\n- URI scheme is required and must be either `http` or `https`\n- URI host is required and cannot be `localhost` or an IP address\n- Max length: `2000`\n- Reserved or invalid characters must be percent-encoded (for example, use `%20` instead of a space)\n:::\n\n:::info\nFor more information on how to use the `redirect_url`, see: [Custom redirection via the API](https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional)\n:::","descriptionNode":"$L1197"},"statement_descriptor_suffix":{"type":"string","description":"$1198","minLength":1,"maxLength":19,"pattern":"^[^*\\n\\r\\\\]+$","descriptionNode":"$L1199"}},"required":["amount","currency"],"descriptionNode":"$L119a"},"examples":{"example_order_min":{"summary":"Example order with minimal required parameters","value":{"amount":500,"currency":"GBP"}},"example_order_additional":{"summary":"Example order with additional parameters","value":{"amount":500,"currency":"GBP","capture_mode":"manual","cancel_authorised_after":"PT30M","expire_pending_after":"PT15M","customer":{"email":"example@example.com","date_of_birth":"1990-01-01"},"description":"Example product","shipping_address":{"street_line_1":"7 Westferry Circus","city":"London","country_code":"GB","postcode":"E14 4HD"},"enforce_challenge":"forced","metadata":{"product_type":"Example"},"merchant_order_data":{"url":"https://www.example.com/orders/12345"},"redirect_url":"https://www.example.com/redirect","statement_descriptor_suffix":"12345"}},"example_order_pre_auth":{"summary":"Example order with pre-authorisation","value":{"amount":5000,"currency":"GBP","capture_mode":"manual","authorisation_type":"pre_authorisation","description":"Hotel reservation deposit","cancel_authorised_after":"PT72H"}},"example_order_airline":{"summary":"Example order with additional airline data","value":{"amount":500,"currency":"GBP","settlement_currency":"EUR","description":"Example order description","customer":{"full_name":"Example Customer","phone":"+441234567890","email":"example@example.com"},"enforce_challenge":"forced","capture_mode":"manual","cancel_authorised_after":"PT30M","industry_data":{"type":"airline","booking_id":"unique-booking-id-12345","fulfillment_date":"2023-07-10T14:00:00.069624Z","ticket_type":"flexible","crs_code":"DATS","ticket_change_indicator":"new","refundability":"refundable","passengers":[{"first_name":"Example","last_name":"Customer"},{"first_name":"John","last_name":"Doe"}],"journey_legs":[{"sequence":1,"departure_airport_code":"FRA","arrival_airport_code":"LHR","flight_number":"670","fare_base_code":"J","travel_date":"2023-07-10T10:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":2,"departure_airport_code":"LHR","arrival_airport_code":"DUB","flight_number":"678","fare_base_code":"J","travel_date":"2023-07-10T15:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":3,"departure_airport_code":"DUB","arrival_airport_code":"LHR","flight_number":"679","fare_base_code":"F","travel_date":"2023-07-15T10:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"},{"sequence":4,"departure_airport_code":"LHR","arrival_airport_code":"FRA","flight_number":"671","fare_base_code":"F","travel_date":"2023-07-10T14:00:00.069624Z","airline_name":"AerLingus","airline_code":"EI"}],"booking_url":"https://example.com/bookings/1234"},"merchant_order_data":{"url":"https://www.example.com/ticketnumber-12345","reference":"example_airline_reference"},"redirect_url":"https://www.example.com/redirect"}},"example_order_car_rental":{"summary":"Example order with additional car rental data","value":{"amount":500,"currency":"GBP","settlement_currency":"GBP","description":"Example car rental order","customer":{"full_name":"Example Customer","phone":"+447700900000","email":"example@example.com"},"enforce_challenge":"forced","capture_mode":"manual","cancel_authorised_after":"PT30M","industry_data":{"type":"car_rental","booking_id":"example_booking_id","pick_up_date":"2026-03-01T11:00:00Z","drop_off_date":"2026-03-05T16:30:00Z","refundability":"partially_refundable","pick_up_location":{"street_line_1":"1 Example Street","city":"London","country_code":"GB","postcode":"SW1A 1AA"},"drop_off_location":{"street_line_1":"10 Another Road","city":"Manchester","country_code":"GB","postcode":"M1 1AA"},"distance_limit":{"limit":500,"unit":"miles","additional_distance_cost":{"amount":150,"currency":"GBP"}}},"merchant_order_data":{"url":"https://www.example.com/rental/example_booking_id","reference":"example_car_rental_reference"},"redirect_url":"https://www.example.com/redirect"}},"example_order_crypto":{"summary":"Example order with additional crypto transaction data","value":{"amount":26100,"currency":"EUR","settlement_currency":"EUR","description":"Customer wants to buy 0.01 BTC","customer":{"id":"db186257-3031-4726-98ea-f2260ea115f0"},"capture_mode":"manual","cancel_authorised_after":"PT30M","industry_data":{"type":"crypto","transactions":[{"id":"7b2a8ed4-5889-4c0c-a8cc-299aff1c881b","status":"pending","recipient_wallet_id":"64a6f159-0a60-a446-880e-e449a1f62f7c"}],"subseller_mcc":"1234","subseller_url":"https://example.com"},"merchant_order_data":{"url":"https://www.example.com/cryptotransactionnumber-12345","reference":"example_crypto_reference"},"redirect_url":"https://www.example.com/redirect"}},"example_order_marketplace":{"summary":"Example order with additional marketplace data","value":{"amount":10000,"currency":"EUR","industry_data":{"type":"marketplace","subseller":{"id":"123-45-67","name":"Example Subseller","website":"https://example.com/123-45-67","phone":"+441234567890","address":{"street_line_1":"1 Canada Square","street_line_2":"Revolut LTD, Level 39","postcode":"E14 4HD","country_code":"GB","country_subdivision_code":"GB-LND","city":"London","region":"Greater London"}}}}},"example_order_event":{"summary":"Example order with additional event data","value":{"amount":100,"currency":"GBP","industry_data":{"type":"event","booking_id":"example_booking_123","events":[{"start_date":"2025-03-04T14:00:00Z","end_date":"2025-03-04T17:00:00Z","supplier":"Example Supplier","supplier_payment_date":"2025-03-03T14:00:15Z","name":"Example Event","location":{"street_line_1":"Example Street 123","street_line_2":"II/123","region":"London","city":"London","country_code":"GB","postcode":"123456"},"category":"exhibition","market":"primary","tickets":[{"id":"example_ticket_1","transferable":false,"refundability":"partially_refundable"},{"id":"example_ticket_2","transferable":true,"refundability":"non_refundable"},{"id":"example_ticket_3"}]}]}}},"example_order_lodging":{"summary":"Example order with additional lodging data","value":{"amount":100,"currency":"GBP","industry_data":{"type":"lodging","booking_id":"example_booking_123","check_in_date":"2025-05-01T15:00:00Z","check_out_date":"2025-05-05T11:00:00Z","supplier_payment_date":"2025-05-05T11:00:00Z","category":"bed_and_breakfast","booking_type":"flexible","refundability":"partially_refundable","location":{"street_line_1":"Example Street 123","street_line_2":"II/123","region":"London","city":"London","country_code":"GB","postcode":"123456"},"guests":[{"first_name":"First","last_name":"Guest"},{"first_name":"Second","last_name":"Guest"}]}}}}}}},"variantLabels":["Example order response with minimal required parameters","Example order response with additional parameters","Example order response with pre-authorisation and card payment","Example order response with additional airline data","Example order response with additional car rental data","Example order response with additional crypto transaction data","Example order response with additional marketplace data","Example order response with additional event data","Example order response with additional lodging data"],"children":["$L119b","$L119c"]}]}],false]}] e56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of authorisation for the order. Used with manual capture mode. If omitted, ",["$","code","code-0",{"children":"final"}]," is used by default."]}],"\n",["$","h1","h1-0",{"children":"Pre-authorisation"}],"\n",["$","p","p-1",{"children":"Pre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Hotel bookings where the final amount may vary"}],"\n",["$","li","li-1",{"children":"Car rentals where additional charges may apply"}],"\n",["$","li","li-2",{"children":"Deposits that need to be held temporarily"}],"\n"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Standard authorisation for immediate or near-immediate capture.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pre_authorisation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve funds for later capture, used with manual capture mode.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Pre-authorisation must be used with ",["$","code","code-0",{"children":"capture_mode: manual"}],". For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] e58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] e59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] e5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount not yet paid for a given order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["The value in this field may differ from ",["$","code","code-0",{"children":"amount"}]," if there are partial payments associated with the order."]}]]}] e5b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount that was refunded from the order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["This applies to orders that have been refunded (i.e., orders of type ",["$","code","code-0",{"children":"payment"}]," that have a related ",["$","code","code-1",{"children":"refund"}]," order)."]}]]}] e5c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] e5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] e5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] e60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] e61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] e62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] e63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] e64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] e65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] e66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] e67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] e68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] e69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] e6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] e6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] e6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] e6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] e6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] e6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment, sent by the financial institution processing the payment."]}]]}] e70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was created."}]]}] e71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was last updated."}]]}] e72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] e73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] e74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currently authorised amount for this payment (in minor units)."}],"\n",["$","p","p-1",{"children":"For pre-authorised payments with incremental authorization:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Initially equals the ",["$","code","code-0",{"children":"amount"}]," field"]}],"\n",["$","li","li-1",{"children":"Remains unchanged during increment processing"}],"\n",["$","li","li-2",{"children":"Updates to new amount upon successful increment"}],"\n",["$","li","li-3",{"children":"Remains at original amount if increment is declined"}],"\n"]}],"\n",["$","p","p-2",{"children":["For standard payments, this field may not be present or will equal the ",["$","code","code-0",{"children":"amount"}]," field."]}]]}] e75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] e76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the settled payment (minor currency unit). For example, ",["$","code","code-0",{"children":"7034"}]," stands for €70.34."]}]]}] e77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the settled payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] e78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] e79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] e7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] e7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] e7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] e7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] e7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] e7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] e80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] e81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided."}]]}] e82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of 3D Secure check."}]]}] e83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 3D Secure version."}]]}] e84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the 3D Secure check. Only for orders with successful payments."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Not returned for Apple Pay and Google Pay payments."}]}]]}]]}] e85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of CVV verification."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV matches the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV does not match the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"incorrect"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV format is incorrect for this type of card","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_processed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV verification was not performed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] e86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of address verification."}]]}] e87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of postcode verification."}]]}] e88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of cardholder verification."}]]}] e89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] e8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] e8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] e8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] e8d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] e8f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L119d","."]}],"\n"]}]]}] e90:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] e91:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Apple Pay."}]]}] e92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] e93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] e94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] e95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] e96:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] e97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] e98:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] e99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] e9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] e9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] e9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] e9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] e9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] e9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] ea1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L119e","."]}],"\n"]}]]}] ea2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] ea3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of the card used for the payment."}]]}] ea4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] ea5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ea6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] ea7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] ea8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] ea9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] eaa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] eab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] eac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] ead:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] eae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] eaf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] eb0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] eb1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] eb3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L119f","."]}],"\n"]}]]}] eb4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] eb5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Google Pay."}]]}] eb6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] eb7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] eb8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] eb9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] eba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] ebb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] ebc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] ebd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] ebe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] ebf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] ec0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] ec1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] ec2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] ec3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] ec5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11a0","."]}],"\n"]}]]}] ec6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] ec7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Revolut Pay."}]]}] ec8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] ec9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ecb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11a1","."]}],"\n"]}]]}] ecc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] ecd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] ece:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] ecf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] ed0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] ed1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] ed2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method used to make the payment."}]]}] ed3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] ed4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] ed5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] ed6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] ed7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] ed8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] ed9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] eda:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] edb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] edc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The risk level of the card."}],"\n",["$","p","p-1",{"children":["If the risk level is ",["$","code","code-0",{"children":"high"}],", the payment might be declined."]}]]}] edd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order fee."}]]}] ede:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment fee (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] edf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment fee. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] ee0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the order fee."}]]}] ee1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the person who made the payment."}]]}] ee2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the payer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] ee3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow."}],"\n",["$","p","p-1",{"children":"Capturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters."}]]}] ee4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment for an order."}],"\n",["$","p","p-1",{"children":["For pre-authorised payments, the ",["$","code","code-0",{"children":"authorised_amount"}]," field tracks the currently authorised amount, which may differ from ",["$","code","code-1",{"children":"amount"}]," during incremental authorisation processing."]}]]}] ee5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of all the payments that have been made towards this order (successful or unsuccessful)."}]]}] ee6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] ee7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] ee8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] eea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] eeb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] eec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] eed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] eee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] eef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] ef0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] ef1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] ef2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] ef3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] ef4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] ef5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] ef6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] ef7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] ef8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] ef9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] efa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] efb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] efc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] efd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] efe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$L11a2"]}]]}]]}] eff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] f00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$L11a3","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] f01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] f03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] f04:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] f05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] f06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] f07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] f08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] f09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11a4"]}]]}]]}] f0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f0b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] f0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] f0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] f0e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] f0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] f10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] f11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] f12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] f13:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] f14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] f15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] f16:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] f17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] f18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$L11a5"]}]]}]]}] f19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f1a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] f1b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] f1c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] f1d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] f1e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] f1f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] f20:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] f21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] f22:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] f23:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] f24:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] f25:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] f26:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] f27:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] f28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] f2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] f2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] f2c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] f2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] f2e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] f2f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] f30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11a6"]}]]}]]}] f31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] f33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] f34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] f35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] f36:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] f37:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] f39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] f3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] f3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] f3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] f3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] f3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] f3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] f40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] f41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] f42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] f43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11a7"]}]]}]]}] f44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] f45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] f46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] f47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] f48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] f49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] f4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] f4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Link to a checkout page hosted by Revolut."}]]}] f4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] f4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] f50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier for the subscription."}]]}] f51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for."}],"\n",["$","p","p-1",{"children":"This is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle."}]]}] f52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects."}],"\n",["$","p","p-1",{"children":"This is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle."}]]}] f53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason this subscription order was created."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cycle_billing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated to collect payment for an ongoing subscription cycle. ",["$","code","code-0",{"children":"active_cycle_id"}]," is present; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present if the previous cycle included usage-based products."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final_settlement"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated after the subscription ended to collect outstanding usage-based charges. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"setup_intent"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was manually created by the merchant or customer to update the payment method on file. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is absent."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created."}],"\n",["$","p","p-1",{"children":"Only present on orders created by a subscription."}]]}] f55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["To process the order from a credit or debit card, you create an ",["$","code","code-0",{"children":"Order"}]," object. You can then retrieve, capture, cancel, refund, or pay an order using its unique ",["$","code","code-1",{"children":"id"}],". Alternatively, you can use its unique ",["$","code","code-2",{"children":"token"}]," to process a card payment with the Revolut Checkout Widget."]}]]}] f56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Order updated"}]]}] f57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] f58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] f59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] f5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] f5b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] f5c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] f5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] f5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] f5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] f60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] f61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] f62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] f63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] f64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] f65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] f66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}]]}] f67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] f68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] f69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] f6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] f6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] f6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] f6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] f6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] f70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] f71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] f72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] f73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] f74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] f75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] f76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] f77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] f78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] f79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] f7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] f7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] f7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] f80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] f82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] f83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] f84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] f86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] f87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] f88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] f89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] f8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] f8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] f8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] f8d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] f8e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] f8f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] f90:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] f91:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] f92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] f93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] f94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$L11a8"]}]]}]]}] f95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] f96:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$L11a9","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] f97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] f98:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] f99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] f9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] f9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] f9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] f9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] f9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] f9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11aa"]}]]}]]}] fa0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] fa1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] fa2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] fa3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] fa4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] fa5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] fa6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] fa7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] fa8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] fa9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] faa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] fab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] fac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] fad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] fae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$L11ab"]}]]}]]}] faf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] fb0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] fb1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] fb2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] fb3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] fb4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] fb5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] fb6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] fb7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] fb8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] fb9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] fba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] fbb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] fbc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] fbd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] fbe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] fbf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] fc0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] fc1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] fc2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] fc3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] fc4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] fc5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] fc6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11ac"]}]]}]]}] fc7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] fc8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] fc9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] fca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] fcb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] fcc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] fcd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] fce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] fcf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] fd0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] fd1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] fd2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] fd3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] fd4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] fd5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] fd6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] fd7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] fd8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] fd9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11ad"]}]]}]]}] fda:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] fdb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] fdc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] fdd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] fde:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] fdf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] fe0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] fe1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] fe3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] fe4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object schema containing information about order update request."}]]}] fe8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update the details of an order."}],"\n",["$","p","p-1",{"children":["You can update an order and specific parameters based on the value of the ",["$","code","code-0",{"children":"state"}]," parameter:"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Modifiable parameters","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"You can modify all listed parameters.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["You can modify the following parameters: ",["$","br","br-0",{}],["$","br","br-1",{}]," ",["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"merchant_order_data.reference"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"description"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"metadata"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"shipping_address"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"industry_data"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"cancel_authorised_after"}]}]]}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["You can modify the following parameters: ",["$","br","br-0",{}],["$","br","br-1",{}]," ",["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"merchant_order_data.reference"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"description"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"metadata"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"shipping_address"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"industry_data"}]}]]}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"You cannot modify parameters.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the order lifecycle, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}],"."]}]}]]}]]}] fe9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] fea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","p","p-1",{"children":"If not specified, you will receive an error."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] feb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A UUID string, typically used to identify resources."}]]}] fec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","code","code-0",{"children":"Order"}]," object."]}]]}] 119b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-order","children":[["$L11ae","$undefined"],["$","$L15",null,{"id":"create-order"}]]}],["$","$L16",null,{"url":"/docs/api/merchant/2023-09-01/operations/create-order.md"}]]}]}],"$undefined"]}] 11b2:T68a,
curl -X POST "https://merchant.revolut.com/api/orders" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -H "Revolut-Api-Version: __RP_TOK_1__" \
  -d '{
  "amount": 500,
  "currency": "GBP"
}'
11b3:Tf7b,
const payload = {
  "amount": 500,
  "currency": "GBP"
};
fetch("https://merchant.revolut.com/api/orders", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__",
    "Revolut-Api-Version": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
11b4:T166f,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://merchant.revolut.com/api/orders"
  jsonData := []byte(`
{
  "amount": 500,
  "currency": "GBP"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
11b5:Tcaf,
import requests

url = "https://merchant.revolut.com/api/orders"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__",
  "Revolut-Api-Version": "__RP_TOK_1__"
}
payload = {
  "amount": 500,
  "currency": "GBP"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
11b6:T1bd3,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 500,
  "currency": "GBP"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://merchant.revolut.com/api/orders"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .header("Revolut-Api-Version", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
11b7:T1e65,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://merchant.revolut.com/api/orders"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
    { "Revolut-Api-Version", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""amount"": 500,
  ""currency"": ""GBP""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
11b8:T692,
curl -X POST "https://sandbox-merchant.revolut.com/api/orders" \
  -H "Content-Type: application/json" \
  -H "Authorization: __RP_TOK_0__" \
  -H "Revolut-Api-Version: __RP_TOK_1__" \
  -d '{
  "amount": 500,
  "currency": "GBP"
}'
11b9:Tf83,
const payload = {
  "amount": 500,
  "currency": "GBP"
};
fetch("https://sandbox-merchant.revolut.com/api/orders", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": "__RP_TOK_0__",
    "Revolut-Api-Version": "__RP_TOK_1__"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
11ba:T1677,
package main

import (
  "fmt"
  "net/http"
  "bytes"
  "encoding/json"
)

func main() {
  url := "https://sandbox-merchant.revolut.com/api/orders"
  jsonData := []byte(`
{
  "amount": 500,
  "currency": "GBP"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "__RP_TOK_0__")
  req.Header.Add("Revolut-Api-Version", "__RP_TOK_1__")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
11bb:Tcb7,
import requests

url = "https://sandbox-merchant.revolut.com/api/orders"
headers = {
  "Content-Type": "application/json",
  "Authorization": "__RP_TOK_0__",
  "Revolut-Api-Version": "__RP_TOK_1__"
}
payload = {
  "amount": 500,
  "currency": "GBP"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
11bc:T1bdb,
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;

public class Main {
  public static void main(String[] args) {
    HttpClient client = HttpClient.newHttpClient();
    String body = """
{
  "amount": 500,
  "currency": "GBP"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-merchant.revolut.com/api/orders"))
      .header("Content-Type", "application/json")
      .header("Authorization", "__RP_TOK_0__")
      .header("Revolut-Api-Version", "__RP_TOK_1__")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
11bd:T1e6d,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://sandbox-merchant.revolut.com/api/orders"),
  Headers =
  {
    { "Authorization", "__RP_TOK_0__" },
    { "Revolut-Api-Version", "__RP_TOK_1__" },
  },
  Content = new StringContent(@"{
  ""amount"": 500,
  ""currency"": ""GBP""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
119c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L11af",["$","$L67",null,{"parameters":[{"name":"Authorization","in":"header","schema":{"type":"string","format":"Bearer ","examples":"$26:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0:schema:examples"},"required":true,"description":"This parameter accepts the [Merchant API Secret key](https://business.revolut.com/settings/apis?tab=merchant-api) to authorise requests coming from the merchant's backend. \n\nIt ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a `Bearer` token.\n\n:::info\nFor more information, see: [Authentication](https://developer.revolut.com/docs/api/merchant#authentication)\n:::","descriptionNode":"$L11b0"},{"name":"Revolut-Api-Version","in":"header","schema":{"type":"string","format":"date","enum":"$16e:props:children:0:props:children:1:props:parameters:1:schema:enum","examples":"$16e:props:children:0:props:children:1:props:parameters:1:schema:examples"},"required":true,"description":"The version of the Merchant API, specified in `YYYY-MM-DD` format.\n\nIf not specified, you will receive an error.\n\n\n:::info\nFor more information about API versioning, see: [API versions](https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions).\n:::","x-config-always-visible-in-example":true,"example":"2023-09-01","descriptionNode":"$L11b1"}],"requestBody":"$18:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$L6b",null,{"responses":"$18:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$L6c",null,{"itemsByServer":{"https://merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://merchant.revolut.com/api/orders\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_1__\" \\\n -d '{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}'","templateHtml":"$11b2","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 500,\n \"currency\": \"GBP\"\n};\nfetch(\"https://merchant.revolut.com/api/orders\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$11b3","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://merchant.revolut.com/api/orders\"\n jsonData := []byte(`\n{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$11b4","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://merchant.revolut.com/api/orders\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n}\npayload = {\n \"amount\": 500,\n \"currency\": \"GBP\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$11b5","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://merchant.revolut.com/api/orders\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$11b6","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://merchant.revolut.com/api/orders\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 500,\n \"\"currency\"\": \"\"GBP\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$11b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}}],"https://sandbox-merchant.revolut.com":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-merchant.revolut.com/api/orders\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: __RP_TOK_0__\" \\\n -H \"Revolut-Api-Version: __RP_TOK_1__\" \\\n -d '{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}'","templateHtml":"$11b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["shell-double-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 500,\n \"currency\": \"GBP\"\n};\nfetch(\"https://sandbox-merchant.revolut.com/api/orders\", {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$11b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n \"bytes\"\n \"encoding/json\"\n)\n\nfunc main() {\n url := \"https://sandbox-merchant.revolut.com/api/orders\"\n jsonData := []byte(`\n{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Content-Type\", \"application/json\")\n req.Header.Add(\"Authorization\", \"__RP_TOK_0__\")\n req.Header.Add(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$11ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-merchant.revolut.com/api/orders\"\nheaders = {\n \"Content-Type\": \"application/json\",\n \"Authorization\": \"__RP_TOK_0__\",\n \"Revolut-Api-Version\": \"__RP_TOK_1__\"\n}\npayload = {\n \"amount\": 500,\n \"currency\": \"GBP\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$11bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"java","label":"Java","templateCode":"import java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\nimport java.net.URI;\n\npublic class Main {\n public static void main(String[] args) {\n HttpClient client = HttpClient.newHttpClient();\n String body = \"\"\"\n{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-merchant.revolut.com/api/orders\"))\n .header(\"Content-Type\", \"application/json\")\n .header(\"Authorization\", \"__RP_TOK_0__\")\n .header(\"Revolut-Api-Version\", \"__RP_TOK_1__\")\n .POST(HttpRequest.BodyPublishers.ofString(body))\n .build();\n\n client.sendAsync(request, HttpResponse.BodyHandlers.ofString())\n .thenApply(HttpResponse::body)\n .thenAccept(System.out::println)\n .join();\n }\n}","templateHtml":"$11bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}},{"id":"csharp","label":"C#","templateCode":"using System.Net.Http;\nusing System.Net.Http.Headers;\n\nvar client = new HttpClient();\nvar request = new HttpRequestMessage\n{\n Method = HttpMethod.Post,\n RequestUri = new Uri(\"https://sandbox-merchant.revolut.com/api/orders\"),\n Headers =\n {\n { \"Authorization\", \"__RP_TOK_0__\" },\n { \"Revolut-Api-Version\", \"__RP_TOK_1__\" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 500,\n \"\"currency\"\": \"\"GBP\"\"\n}\")\n {\n Headers =\n {\n ContentType = new MediaTypeHeaderValue(\"application/json\")\n }\n }\n};\n\nusing (var response = await client.SendAsync(request))\n{\n response.EnsureSuccessStatusCode();\n var body = await response.Content.ReadAsStringAsync();\n Console.WriteLine(body);\n}","templateHtml":"$11bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"Authorization","paramIn":"header","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"Revolut-Api-Version","paramIn":"header","pipeline":["json-string-inner"]}],"defaults":{"header:Authorization":"Bearer ","header:Revolut-Api-Version":"2023-09-01"}}]},"method":"post","servers":"$26:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/api/orders","parameters":["$119c:props:children:0:props:children:1:props:parameters:0","$119c:props:children:0:props:children:1:props:parameters:1"]}],"$L11be"],"$L11bf","$L11c0"]}]]}] 119d:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 119e:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 119f:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11a0:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11a1:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] ffe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L11c1","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 11be:["$","$Lae",null,{"security":[{"Api-Key":[]}],"authorization":{"Api-Key":{"type":"apiKey","in":"header","name":"Authorization","description":"Each Merchant API request must contain an authorization header in the following format:\n\n```\n'Authorization: Bearer '\n```\n\nTo use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout.\n\n:::info\nFor detailed instructions on generating your API keys, see: [Generate API keys](https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys).\n:::","descriptionNode":"$L11c2"}}}] 11bf:["$","$Lb0",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"example_order_min","label":"Example order with minimal required parameters","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_min:value","block":"$L11c3"},{"key":"example_order_additional","label":"Example order with additional parameters","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_additional:value","block":"$L11c4"},{"key":"example_order_pre_auth","label":"Example order with pre-authorisation","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_pre_auth:value","block":"$L11c5"},{"key":"example_order_airline","label":"Example order with additional airline data","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_airline:value","block":"$L11c6"},{"key":"example_order_car_rental","label":"Example order with additional car rental data","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_car_rental:value","block":"$L11c7"},{"key":"example_order_crypto","label":"Example order with additional crypto transaction data","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_crypto:value","block":"$L11c8"},{"key":"example_order_marketplace","label":"Example order with additional marketplace data","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_marketplace:value","block":"$L11c9"},{"key":"example_order_event","label":"Example order with additional event data","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_event:value","block":"$L11ca"},{"key":"example_order_lodging","label":"Example order with additional lodging data","rawValue":"$18:props:children:0:props:children:props:requestBody:content:application/json:examples:example_order_lodging:value","block":"$L11cb"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 11c0:["$","$Lb1",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"example_order_min","label":"Example order response with minimal required parameters","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_min:value","block":"$L11cc"},{"key":"example_order_additional","label":"Example order response with additional parameters","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_additional:value","block":"$L11cd"},{"key":"example_order_pre_auth","label":"Example order response with pre-authorisation and card payment","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_pre_auth:value","block":"$L11ce"},{"key":"example_order_airline","label":"Example order response with additional airline data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_airline:value","block":"$L11cf"},{"key":"example_order_car_rental","label":"Example order response with additional car rental data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_car_rental:value","block":"$L11d0"},{"key":"example_order_crypto","label":"Example order response with additional crypto transaction data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_crypto:value","block":"$L11d1"},{"key":"example_order_marketplace","label":"Example order response with additional marketplace data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_marketplace:value","block":"$L11d2"},{"key":"example_order_event","label":"Example order response with additional event data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_event:value","block":"$L11d3"},{"key":"example_order_lodging","label":"Example order response with additional lodging data","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:example_order_lodging:value","block":"$L11d4"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L11d5"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$18:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L11d6"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":"string","message":"string","timestamp":123},"block":"$L11d7"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 11ae:"Create an order" 1005:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent order ID used to retrieve, capture, cancel, or refund an order after authorization."}]]}] 1006:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary ID for the order, which expires when the payment is authorised."}],"\n",["$","p","p-1",{"children":["The order ",["$","code","code-0",{"children":"token"}]," is used for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/initialisation/token-based","target":"_blank","rel":"noreferrer","children":"token-based initialisation"}],", and is returned by the ",["$","code","code-1",{"children":"createOrder"}]," callback in the following payment methods:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/embedded-checkout#embedded-checkout-options-interface","target":"_blank","rel":"noreferrer","children":"Embedded Checkout"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/revolut-pay#widget-payments-revolut-pay-options","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/apple-pay-google-pay#payment-request-options-interface","target":"_blank","rel":"noreferrer","children":"Apple Pay and Google Pay"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/sdks/merchant-web-sdk/payment-methods/pay-by-bank#pay-by-bank-options-interface","target":"_blank","rel":"noreferrer","children":"Pay by Bank"}]}],"\n"]}]]}] 1007:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order."}]]}] 1008:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the order in its lifecycle."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pending"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order created, awaiting payment","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"processing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment is being processed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment authorised but not yet captured (for manual capture)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"completed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment successfully captured and settled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cancelled"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Order was cancelled","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"failed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Payment failed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/order-lifecycle","target":"_blank","rel":"noreferrer","children":"Order and payment lifecycle"}]]}]}]]}]]}] 1009:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was created."}]]}] 100a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the order was last updated."}]]}] 100b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] 100c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] 11e9:I["8537fdff809d",[],"Expandable",1] 100d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of authorisation for the order. Used with manual capture mode. If omitted, ",["$","code","code-0",{"children":"final"}]," is used by default."]}],"\n",["$","h1","h1-0",{"children":"Pre-authorisation"}],"\n",["$","p","p-1",{"children":"Pre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Hotel bookings where the final amount may vary"}],"\n",["$","li","li-1",{"children":"Car rentals where additional charges may apply"}],"\n",["$","li","li-2",{"children":"Deposits that need to be held temporarily"}],"\n"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Standard authorisation for immediate or near-immediate capture.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pre_authorisation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve funds for later capture, used with manual capture mode.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Pre-authorisation must be used with ",["$","code","code-0",{"children":"capture_mode: manual"}],". For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] 100f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] 1010:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 1011:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount not yet paid for a given order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["The value in this field may differ from ",["$","code","code-0",{"children":"amount"}]," if there are partial payments associated with the order."]}]]}] 1012:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount that was refunded from the order (in minor currency units). For example, ",["$","code","code-0",{"children":"7034"}]," represents €70.34."]}],"\n",["$","p","p-1",{"children":["This applies to orders that have been refunded (i.e., orders of type ",["$","code","code-0",{"children":"payment"}]," that have a related ",["$","code","code-1",{"children":"refund"}]," order)."]}]]}] 1013:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 1014:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 1016:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] 1017:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 1018:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 1019:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 101a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 101b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] 101c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 101d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 101e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 101f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 1020:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] 1021:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 1022:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] 1023:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}]]}] 1024:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the payment."}]]}] 1025:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment."]}],"\n",["$","p","p-1",{"children":["A failed or declined payment can result from multiple reasons. To learn more, check our ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/error-codes/decline-reasons","target":"_blank","rel":"noreferrer","children":"failure reasons"}],"."]}]]}] 1026:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason for a ",["$","code","code-0",{"children":"failed"}]," or ",["$","code","code-1",{"children":"declined"}]," payment, sent by the financial institution processing the payment."]}]]}] 1027:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was created."}]]}] 1028:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time the payment was last updated."}]]}] 1029:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Temporary token of the payment used to fetch the reward offer during checkout and link user registrations to the given offers."}],"\n",["$","p","p-1",{"children":"The token is only valid for a limited time."}]]}] 102a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment amount in minor units (e.g., cents). The value of this field depends on the payment type and state."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"State","className":"eowryt6","ref":"$undefined"}],["$","th","th-2",{"children":"Amount value","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Standard payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Any","className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"Total payment amount","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorisation_started"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":"New amount being authorised (during increment processing)","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Pre-authorised payment","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","code","code-0",{"children":"authorised"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-2",{"children":["Currently authorised amount (equals ",["$","code","code-0",{"children":"authorised_amount"}],")"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For pre-authorised payments, see the ",["$","code","code-0",{"children":"authorised_amount"}]," field for tracking the currently authorised amount separately."]}]}]]}]]}] 102b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currently authorised amount for this payment (in minor units)."}],"\n",["$","p","p-1",{"children":"For pre-authorised payments with incremental authorization:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Initially equals the ",["$","code","code-0",{"children":"amount"}]," field"]}],"\n",["$","li","li-1",{"children":"Remains unchanged during increment processing"}],"\n",["$","li","li-2",{"children":"Updates to new amount upon successful increment"}],"\n",["$","li","li-3",{"children":"Remains at original amount if increment is declined"}],"\n"]}],"\n",["$","p","p-2",{"children":["For standard payments, this field may not be present or will equal the ",["$","code","code-0",{"children":"amount"}]," field."]}]]}] 102c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 102d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the settled payment (minor currency unit). For example, ",["$","code","code-0",{"children":"7034"}]," stands for €70.34."]}]]}] 102e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the settled payment. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 102f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] 1030:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1031:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 1032:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] 1033:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] 1034:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] 1035:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 1036:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] 1037:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 1038:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Electronic Commerce Indicator (ECI) value corresponds to the authentication result and indicates the level of security used when the payment information was provided."}]]}] 1039:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of 3D Secure check."}]]}] 103a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 3D Secure version."}]]}] 103b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the 3D Secure check. Only for orders with successful payments."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Not returned for Apple Pay and Google Pay payments."}]}]]}]]}] 103c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of CVV verification."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV matches the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_match"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV does not match the card's CVV","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"incorrect"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV format is incorrect for this type of card","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"not_processed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"CVV verification was not performed","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 103d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of address verification."}]]}] 103e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of postcode verification."}]]}] 103f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of cardholder verification."}]]}] 1040:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] 1041:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] 1042:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] 1043:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] 1044:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] 1046:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11d8","."]}],"\n"]}]]}] 1047:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] 1048:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Apple Pay."}]]}] 1049:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] 104a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 104b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 104c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] 104d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] 104e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] 104f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 1050:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] 1051:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 1052:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] 1053:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] 1054:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] 1055:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] 1056:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] 1058:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11d9","."]}],"\n"]}]]}] 1059:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] 105a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of the card used for the payment."}]]}] 105b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] 105c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 105d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 105e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] 105f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] 1060:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] 1061:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 1062:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] 1063:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 1064:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] 1065:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] 1066:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] 1067:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] 1068:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] 106a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11da","."]}],"\n"]}]]}] 106b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] 106c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Google Pay."}]]}] 106d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] 106e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 106f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the card."}]]}] 1070:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of card funding."}]]}] 1071:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country where the card was issued."}]]}] 1072:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIN of the card."}]]}] 1073:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 1074:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expiry date of the card in the format of MM/YY."}]]}] 1075:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the cardholder."}]]}] 1076:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the check for card payment. Only for orders with successful payments."}]]}] 1077:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The authorisation code (or auth code) is a short, alphanumeric code returned by the cardholder's issuing bank to the merchant's terminal or payment gateway."}],"\n",["$","p","p-1",{"children":"It serves as confirmation that the transaction has been approved and funds are available."}]]}] 1078:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Acquirer Reference Number (ARN) of the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only returned for refund payments made by a card."}]}]]}]]}] 1079:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time by which the payment must be captured."}],"\n",["$","p","p-1",{"children":"After this deadline, the authorised funds may be automatically released by the card issuer."}]]}] 107a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The hardware identifier of the Revolut Terminal device used to process the payment."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Only present for card-present transactions processed via Revolut Terminal."}]}]]}]]}] 107c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11db","."]}],"\n"]}]]}] 107d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Network Transaction ID (NTI) is a unique identifier assigned by the card scheme (e.g., Visa or Mastercard) to a card transaction."}],"\n",["$","p","p-1",{"children":"It can be used to trace the transaction across the payment network, link recurring or instalment payments to the original authorisation, and support dispute resolution."}]]}] 107e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a card used via Revolut Pay."}]]}] 107f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved."]}]}]]}]]}] 1080:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1082:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier for a payment method, always 44 characters long. This fingerprint can be used to uniquely identify various payment methods."}],"\n",["$","h1","h1-0",{"children":"Fingerprint generation"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Payment method","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"All payment methods"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"A fingerprint is generated for all payment methods, including cards, Revolut Pay (card, account-to-account payments), Apple Pay, and Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Cards (Revolut Pay & Card Gateway)"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"For cards, the fingerprint is based on the PAN. Cards processed via Revolut Pay and our card gateway will share the same fingerprint. Renewed cards (new expiry/CVV) retain the same fingerprint for efficient blocking.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","strong","strong-0",{"children":"Apple Pay & Google Pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Since Apple Pay and Google Pay provide us Device PANs (DPAN), the fingerprint is based on the DPAN provided by Apple/Google, not the connected card's PAN. This means that a new DPAN (and fingerprint) is generated for cards in case they are re-added to the customer's digital wallet, or added to different devices.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","h4","h4-0",{"children":"Detecting duplicate payment methods"}],"\n",["$","p","p-1",{"children":"Fingerprints are a valuable tool for detecting duplicate payment methods by identifying if a payment method has been seen before. This capability, in turn, helps in preventing various types of misuse (e.g., exploitation of free trials, or association with known problematic accounts, which can be a form of fraud). To effectively use fingerprints for this purpose, you will need to create and maintain your own lists (e.g., blocklists of known problematic fingerprints, allowlists for trusted customers, or tracking frequently used fingerprints)."}],"\n",["$","p","p-2",{"children":"The ideal way to utilise fingerprints is by combining them with a manual capture process. While automatic capture with subsequent refunds for problematic payments is possible, manual capture based on fingerprint validation is recommended."}],"\n",["$","p","p-3",{"children":"During your manual capture workflow, after a payment was authorised:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Check the fingerprint status by comparing it against your maintained lists and internal business rules."}],"\n",["$","li","li-1",{"children":["If you decide to proceed with the payment (e.g., the fingerprint is not on a blocklist, or matches a trusted customer's previous payment method): ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture the order"}],"."]}],"\n",["$","li","li-2",{"children":["If you decide not to proceed with the payment (e.g., the fingerprint matches a known fraudulent fingerprint, or exhibits suspicious patterns): ","$L11dc","."]}],"\n"]}]]}] 1083:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ID of the saved payment method."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The ",["$","code","code-0",{"children":"id"}]," parameter is only returned when the payment method is saved for the merchant."]}]}]]}]]}] 1084:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of payment method used to pay for the order."}],"\n",["$","p","p-1",{"children":"Available values:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":["Payment method ",["$","code","code-0",{"children":"type"}]],"className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"apple_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Apple Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"google_pay"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using Google Pay.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_card"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their credit or debit card.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"revolut_pay_account"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order via Revolut Pay using their Revolut account.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"sepa_direct_debit"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The customer paid the order using SEPA Direct Debit.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1085:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the debtor's IBAN."}]]}] 1086:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the debtor as provided in the mandate."}]]}] 1087:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique mandate reference generated by Revolut. Include this in pre-debit notifications sent to your customers."}]]}] 1088:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a SEPA Direct Debit payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/payment-methods/sepa-direct-debit/server-to-server","target":"_blank","rel":"noreferrer","children":"SEPA Direct Debit server-to-server integration"}]]}]}]]}]]}] 1089:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment method used to make the payment."}]]}] 108a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 108b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the authentication challenge."}]]}] 108c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS challenge."}]]}] 108d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the authentication challenge the payment triggers."}]]}] 108e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the fingerprint. (Used only internally by Revolut.)"}]]}] 108f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Data about the fingerprint used for authentication. (Used only internally\nby Revolut.)"}]]}] 1090:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the 3DS fingerprint challenge."}]]}] 1091:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Details about the authentication challenge that should be performed to complete the authentication process. For more information about Revolut's 3DS solution, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/3d-secure","target":"_blank","rel":"noreferrer","children":"3D Secure overview"}],"."]}],"\n",["$","p","p-1",{"children":["Only returned if the payment's state is ",["$","code","code-0",{"children":"authentication_challenge"}],"."]}]]}] 1092:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] 1093:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The risk level of the card."}],"\n",["$","p","p-1",{"children":["If the risk level is ",["$","code","code-0",{"children":"high"}],", the payment might be declined."]}]]}] 1094:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the order fee."}]]}] 1095:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the payment fee (minor currency unit). For example, enter ",["$","code","code-0",{"children":"7034"}]," for €70.34 in the field."]}]]}] 1096:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the payment fee. ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 1097:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the order fee."}]]}] 1098:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the person who made the payment."}]]}] 1099:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the payer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 109a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The person who made the payment. This object is present when an email or phone number is provided during the payment flow."}],"\n",["$","p","p-1",{"children":"Capturing payer details lets you identify exactly who authorised the charge, reach the right person for receipts or refund queries, and support compliance or fraud-review workflows where the paying identity matters."}]]}] 109b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a payment for an order."}],"\n",["$","p","p-1",{"children":["For pre-authorised payments, the ",["$","code","code-0",{"children":"authorised_amount"}]," field tracks the currently authorised amount, which may differ from ",["$","code","code-1",{"children":"amount"}]," during incremental authorisation processing."]}]]}] 109c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of all the payments that have been made towards this order (successful or unsuccessful)."}]]}] 109d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 109e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] 109f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] 10a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] 10a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] 10a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] 10a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] 10a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] 10a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] 10a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] 10aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] 10ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] 10ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] 10ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] 10ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] 10af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] 10b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] 10b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] 10b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] 10b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] 10b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] 10b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$L11dd"]}]]}]]}] 10b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 10b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$L11de","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] 10b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] 10ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] 10bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] 10bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] 10bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] 10be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] 10bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 10c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11df"]}]]}]]}] 10c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] 10c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] 10c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 10c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] 10c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 10c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 10c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 10c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 10ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 10cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] 10cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 10cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 10ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] 10cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$L11e0"]}]]}]]}] 10d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] 10d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] 10d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] 10d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] 10d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] 10d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] 10d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 10d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 10d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 10da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 10db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 10dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 10dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] 10de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] 10df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] 10e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] 10e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] 10e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] 10e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] 10e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] 10e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] 10e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11e1"]}]]}]]}] 10e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] 10ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] 10eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] 10ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] 10ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] 10ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 10ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] 10f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 10f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 10f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 10f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 10f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 10f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 10f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] 10f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] 10f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] 10f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] 10fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11e2"]}]]}]]}] 10fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] 10fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 10fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] 10fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] 10ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] 1100:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] 1101:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] 1102:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Link to a checkout page hosted by Revolut."}]]}] 1103:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] 1104:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1106:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] 1107:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique identifier for the subscription."}]]}] 1108:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the active (pre-paid) subscription cycle that this order collects payment for."}],"\n",["$","p","p-1",{"children":"This is the current billing cycle whose recurring charges are being collected in advance by this order. For example, if a subscription cycle covers 1-31 July and the order is generated on 1 July, this field identifies that July cycle."}]]}] 1109:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique identifier of the settled (post-paid) subscription cycle whose usage-based charges this order collects."}],"\n",["$","p","p-1",{"children":"This is the previous billing cycle whose usage is being settled by this order. For example, if a subscription cycle covers usage from 1-30 June and the order is generated on 10 July, this field identifies that June cycle."}]]}] 110a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason this subscription order was created."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"cycle_billing"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated to collect payment for an ongoing subscription cycle. ",["$","code","code-0",{"children":"active_cycle_id"}]," is present; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present if the previous cycle included usage-based products."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final_settlement"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was automatically generated after the subscription ended to collect outstanding usage-based charges. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is present."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"setup_intent"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["The order was manually created by the merchant or customer to update the payment method on file. ",["$","code","code-0",{"children":"active_cycle_id"}]," is absent; ",["$","code","code-1",{"children":"settled_cycle_id"}]," is absent."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 110b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Subscription details linked to the order. Use this object to match an order with its underlying subscription and understand the billing context in which the order was created."}],"\n",["$","p","p-1",{"children":"Only present on orders created by a subscription."}]]}] 110c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["To process the order from a credit or debit card, you create an ",["$","code","code-0",{"children":"Order"}]," object. You can then retrieve, capture, cancel, refund, or pay an order using its unique ",["$","code","code-1",{"children":"id"}],". Alternatively, you can use its unique ",["$","code","code-2",{"children":"token"}]," to process a card payment with the Revolut Checkout Widget."]}]]}] 110d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Order created"}]]}] 110e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 110f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 1110:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 1111:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 1112:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 1113:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 1114:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 1115:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}]]}] 1116:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An identifier that can be used to determine what went wrong."}],"\n",["$","p","p-1",{"children":"Error codes are not globally unique, but uniqueness is guaranteed within endpoints."}]]}] 1117:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Some human readable text describing what went wrong."}]]}] 1118:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.unixtimestamp.com/","target":"_blank","rel":"noreferrer","children":"UNIX timestamp"}]," of the date and time the error happened."]}]]}] 1119:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 111a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The order total expressed in minor currency units, according to the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],". For example, ",["$","code","code-0",{"children":"7034"}]," in ",["$","code","code-1",{"children":"EUR"}]," corresponds to €70.34."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Conversion between major and minor units varies by currency. For instance, ",["$","code","code-0",{"children":"100"}]," minor units equal £1.00 in ",["$","code","code-1",{"children":"GBP"}],", whereas in ",["$","code","code-2",{"children":"ISK"}]," they represent 100 units. For more details, see the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217 standard"}],"."]}]}]]}]]}] 111b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 111c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," currency code in upper case."]}],"\n",["$","p","p-1",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is different from the value of ",["$","code","code-1",{"children":"currency"}],", the money will be exchanged when the amount is settled to your merchant account. In case of a refund or chargeback, the money will be exchanged to the order's initial ",["$","code","code-2",{"children":"currency"}],"."]}],"\n",["$","p","p-2",{"children":["If ",["$","code","code-0",{"children":"settlement_currency"}]," is not specified, this value is taken from ",["$","code","code-1",{"children":"currency"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about the supported currencies, see: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/","target":"_blank","rel":"noreferrer","children":"Help Center"}],"."]}]}]]}]]}] 111d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the order."}]]}] 111f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Permanent ID of a customer used to retrieve, update, delete a customer. This ID can also be used to link customer to an order."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"If you provide the customer's ID during order creation, no other customer data is required, they will be parsed automatically from the referenced customer object."}]}]]}]]}] 1120:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name of the customer."}]]}] 1121:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the customer in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164 format"}],"."]}]]}] 1122:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the customer."}]]}] 1123:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The birth date of the customer."}]]}] 1124:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a customer."}],"\n",["$","p","p-1",{"children":["If you have it, we strongly advise providing at least either ",["$","code","code-0",{"children":"id"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"email"}],"."]}],"\n",["$","p","p-2",{"children":["Using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-customers","target":"_blank","rel":"noreferrer","children":"Customers operations"}],", you can manage customer instances."]}],"\n",["$","p","p-3",{"children":"The following behaviours apply to different use cases:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Use case","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"API behavior","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Existing customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If ",["$","code","code-0",{"children":"id"}]," was provided, we ignore other customer details and associate the customer with the order.",["$","br","br-0",{}],["$","br","br-1",{}],"If either ",["$","code","code-1",{"children":"email"}],", ",["$","code","code-2",{"children":"phone"}],", or ",["$","code","code-3",{"children":"full_name"}]," was provided (without an existing customer's ",["$","code","code-4",{"children":"id"}],"), we always create a new customer, irrespective of another, existing customer object having the same details."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"New customer","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["If either ",["$","code","code-0",{"children":"email"}],", ",["$","code","code-1",{"children":"phone"}],", or ",["$","code","code-2",{"children":"full_name"}]," was provided, we create a new customer, irrespective of another customer object having the same details. ",["$","br","br-0",{}],["$","br","br-1",{}],"If ",["$","code","code-3",{"children":"id"}]," of a non-existent customer was provided, we return a ",["$","code","code-4",{"children":"404"}]," error, irrespective of other details provided."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To avoid unintentional duplication of customer records, search for an existing customer by email or phone using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-customer-list","target":"_blank","rel":"noreferrer","children":"List customers"}]," endpoint first, then provide ",["$","code","code-0",{"children":"customer.id"}]," in the order."]}]}]]}]]}] 1125:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 1126:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 1127:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The region associated with the address."}]]}] 1128:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city associated with the address."}]]}] 1129:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The 2-letter country code of the country associated with the address."}]]}] 112a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode associated with the address."}]]}] 112b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing address details."}]]}] 112c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The enforce challenge mode. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will have challenge requirement calculated by our fraud mechanisms. Not all payments will trigger a 3DS challenge.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"forced"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The payments created for an order will always require a 3DS challenge. Currently only supported for card payments.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 112d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The capture mode of the order. ",["$","code","code-0",{"children":"automatic"}]," is used by default."]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"automatic"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is captured automatically after payment authorisation.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"manual"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The order is not captured automatically. You must manually capture the order later.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] 112e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of authorisation for the order. Used with manual capture mode. If omitted, ",["$","code","code-0",{"children":"final"}]," is used by default."]}],"\n",["$","h1","h1-0",{"children":"Pre-authorisation"}],"\n",["$","p","p-1",{"children":"Pre-authorisation allows you to reserve funds on a customer's card without immediately capturing them. This is useful for scenarios like:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Hotel bookings where the final amount may vary"}],"\n",["$","li","li-1",{"children":"Car rentals where additional charges may apply"}],"\n",["$","li","li-2",{"children":"Deposits that need to be held temporarily"}],"\n"]}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"final"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Standard authorisation for immediate or near-immediate capture.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"pre_authorisation"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Reserve funds for later capture, used with manual capture mode.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Pre-authorisation must be used with ",["$","code","code-0",{"children":"capture_mode: manual"}],". For more information, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#capture-order","target":"_blank","rel":"noreferrer","children":"Capture an order"}],"."]}]}]]}]]}] 1130:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic cancellation period for uncaptured orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["After this period, the authorised payment is automatically cancelled and the order is cancelled. Maximum: 7 days = ",["$","code","code-0",{"children":"P7D"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":"Cannot be a negative value."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if the new value is less than or equal to the elapsed time since authorisation."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 2 days"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 7 days"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 3 days"}],"\n",["$","li","li-2",{"children":"Update value: 4 days"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":"Cannot be updated if cancellation is ≤ 30 minutes away."}],"\n",["$","p","p-1",{"children":["$","strong","strong-0",{"children":"Failing scenario:"}]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 40 minutes"}],"\n"]}],"\n",["$","p","p-2",{"children":"In this scenario, an error is returned."}],"\n",["$","p","p-3",{"children":["$","strong","strong-0",{"children":"Successful scenario:"}]}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":"Original value: 12 hours"}],"\n",["$","li","li-1",{"children":"Time since authorisation: 11 hours 20 minutes"}],"\n"]}],"\n",["$","p","p-4",{"children":"In this scenario, the parameter can be updated."}],"\n"]}],"\n"]}]]}]]}]]}] 1131:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Automatic expiration period for pending orders, specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","p","p-1",{"children":["Orders in ",["$","code","code-0",{"children":"pending"}]," state will be automatically failed if they stay unpaid for longer than the period specified."]}],"\n",["$","p","p-2",{"children":["When the order expires, it transitions to the ",["$","code","code-0",{"children":"failed"}]," state and an ",["$","code","code-1",{"children":"ORDER_FAILED"}]," webhook event is triggered."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"This field can only be set during order creation and cannot be updated afterward."}],"\n",["$","li","li-1",{"children":["Must be between ",["$","code","code-0",{"children":"PT1M"}]," (1 minute) and ",["$","code","code-1",{"children":"PT720H"}]," (30 days)."]}],"\n",["$","li","li-2",{"children":"Cannot be a negative value."}],"\n"]}]}]]}]]}] 1132:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unique ID representing the location where merchants sells products."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#tag-locations","target":"_blank","rel":"noreferrer","children":"Locations"}],"."]}]}]]}]]}] 1133:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional metadata value provided with the corresponding metadata key."}]]}] 1134:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Additional information to track your orders in your system, by providing custom metadata using ",["$","code","code-0",{"children":"\"\" : \"\""}]," pairs."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["$","strong","strong-0",{"children":"Restrictions:"}]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Both keys and values must be ",["$","code","code-0",{"children":"string"}],"s"]}],"\n",["$","li","li-1",{"children":["Values cannot be ",["$","code","code-0",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["Max number of key-value pairs: ",["$","code","code-0",{"children":"50"}]]}],"\n",["$","li","li-3",{"children":["Max length of values: ",["$","code","code-0",{"children":"500"}]," characters"]}],"\n",["$","li","li-4",{"children":["Format of keys: Must start with a letter and contain only letters, digits, and underscores. Max 40 characters. Pattern: ",["$","code","code-0",{"children":"^[a-zA-Z][a-zA-Z\\\\d_]{0,39}$"}]]}],"\n"]}]]}]]}]]}] 1136:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1137:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] 1138:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the final journey leg."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"The following limitations apply:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["When creating or updating an order, ",["$","code","code-0",{"children":"fulfillment_date"}]," cannot be set to a date in the past."]}],"\n",["$","li","li-1",{"children":["When updating an order, if the current ",["$","code","code-0",{"children":"fulfillment_date"}]," value is already in the past, it cannot be modified. The date must remain as is to maintain data integrity for completed transactions."]}],"\n"]}]]}]]}]]}] 1139:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Flag indicating whether the order includes actual ticket purchases. Set to ",["$","code","code-0",{"children":"true"}]," if the order contains ticket purchases, and ",["$","code","code-1",{"children":"false"}]," if it does not (e.g., it ",["$","strong","strong-0",{"children":"only"}]," contains seat reservations, or baggage upgrades)."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}]]}] 113a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the ticket."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 113b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the Computer Reservation System (CRS) used to make the booking and purchase the ticket."}]]}] 113c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether this order is related to a new ticket reservation or a modification of an existing one."}]]}] 113d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] 113e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's first name."}]]}] 113f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Passenger's last name."}]]}] 1140:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of passengers associated with the booking."}]]}] 1141:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sequence of the journey legs. Increment by 1 for each flight included in the ticket."}],"\n",["$","p","p-1",{"children":["For example: For a ",["$","code","code-0",{"children":"FRA > LHR > DUB > LHR > FRA"}]," journey the sequence will be assigned as:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"FRA > LHR"}],": 1"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"LHR > DUB"}],": 2"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"DUB > LHR"}],": 3"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"LHR > FRA"}],": 4"]}],"\n"]}]]}] 1142:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the departure airport."]}]]}] 1143:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://www.iata.org/en/services/codes","target":"_blank","rel":"noreferrer","children":"IATA"}]," 3-letter airport code for the arrival airport."]}]]}] 1144:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The flight identifier, without airline code."}]]}] 1145:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fare base code for the given journey leg."}]]}] 1146:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The UTC date and time of the flight departure for the given journey leg."}]]}] 1147:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the airline associated with the journey leg."}]]}] 1148:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IATA 2-letter accounting code identifying the airline associated with the journey leg."}]]}] 1149:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Passenger Name Record (PNR) for the journey leg issued by the airline."}],"\n",["$","p","p-1",{"children":"PNR is a unique identifier for the booking, acting as a digital certificate allowing passengers to retrieve or manage their booking details."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This is a required field for OTAs."}]}]]}]]}] 114a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array containing information of journey legs associated with the booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"This information is used to compile a tracking widget that provides real-time updates on flight status and sends notifications, such as a check-in reminders, boarding alerts, and notifications for cancellations or delays."}],["$","p","p-2",{"children":"To enable the widget the following fields are required on order creation or update, before capturing the order:"}],"$L11e3"]}]]}]]}] 114b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to the online portal for managing the airline booking, which includes check-in functionality. This URL may be a personalised, pre-populated check-in link specific to the user or a generic link, and it is essential for enabling direct access to booking details within the Revolut app."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This field is required for activating ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities within the Revolut app."]}],["$","p","p-1",{"children":"Provide the info on order creation or update, before capturing the order."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 114c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing additional information about an airline booking associated with the order."}],"\n",["$","p","p-1",{"children":["Use this object to provide required data to enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}],". This feature allows users to receive real-time flight updates such as check-in reminders, boarding alerts, and notifications for cancellations or delays in the Revolut app."]}],"\n",["$","p","p-2",{"children":["To enable ",["$","strong","strong-0",{"children":"Revolut Flight Alerts"}]," functionalities in the Revolut app, the following fields are ",["$","strong","strong-1",{"children":"required"}]," on order creation or update, before capturing the order:"]}],"\n","$L11e4","\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide airline data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Required for airline/charter merchants","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for OTA merchants","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].sequence"}]}],["$","li","li-6",{"children":["$","code","code-0",{"children":"journey_legs[].flight_number"}]}],["$","li","li-7",{"children":["$","code","code-0",{"children":"journey_legs[].travel_date"}]}],["$","li","li-8",{"children":["$","code","code-0",{"children":"journey_legs[].airline_code"}]}],["$","li","li-9",{"children":["$","code","code-0",{"children":"journey_legs[].departure_airport_code"}]}],["$","li","li-10",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["$","ul","ul-0",{"children":[["$","li","li-0",{"children":["$","code","code-0",{"children":"booking_id"}]}],["$","li","li-1",{"children":["$","code","code-0",{"children":"fulfillment_date"}]}],["$","li","li-2",{"children":["$","code","code-0",{"children":"passengers[].first_name"}]}],["$","li","li-3",{"children":["$","code","code-0",{"children":"passengers[].last_name"}]}],["$","li","li-4",{"children":["$","code","code-0",{"children":"journey_legs[].pnr"}]}],["$","li","li-5",{"children":["$","code","code-0",{"children":"journey_legs[].arrival_airport_code"}]}]]}],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] 114d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 114e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The public transaction hash of the crypto transaction."}]]}] 114f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The status of the crypto transaction."}]]}] 1150:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The wallet ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] 1151:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The user ID of the recipient."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["At least one of the parameters: ",["$","code","code-0",{"children":"recipient_user_id"}]," or ",["$","code","code-1",{"children":"recipient_wallet_id"}]," is required."]}]}]]}]]}] 1152:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Array of crypto transaction data associated with the order."}]]}] 1153:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A string representing the four-digit ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/Merchant_category_code","target":"_blank","rel":"noreferrer","children":"Merchant Category Code (MCC)"}]," of the subseller."]}],"\n",["$","p","p-1",{"children":"This code should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing insight into the type of business conducted by the subseller."}]]}] 1154:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the subseller's website."}],"\n",["$","p","p-1",{"children":"This parameter should be provided when a customer completes a payment on a subseller's website rather than directly on the merchant's website, providing additional insight into the type of business conducted by the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 1155:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about crypto transactions associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants offering crypto services. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11e5"]}]]}]]}] 1156:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1157:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the subseller in the marketplace's internal system."}]]}] 1158:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The business or legal name of the subseller."}]]}] 1159:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the website of the subseller."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"255"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 115a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The phone number of the subseller."}]]}] 115b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 115c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 115d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 115e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 115f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 1160:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The subdivision code represents the state, province, or region within the country, following the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," standard. This code uniquely identifies subdivisions within a country."]}],"\n",["$","p","p-1",{"children":["For example, for London in the United Kingdom, use ",["$","code","code-0",{"children":"GB-LND"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The parameter is required for countries listed on the ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_3166-2","target":"_blank","rel":"noreferrer","children":"ISO 3166-2"}]," page."]}]}]]}]]}] 1161:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 1162:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Details of a physical address."}]]}] 1163:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the subseller related to this order."}]]}] 1164:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the Merchant Category Code (MCC) ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide marketplace data."}],"$L11e6"]}]]}]]}] 1165:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1166:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] 1167:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event starts."]}]]}] 1168:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the event ends."]}]]}] 1169:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Legal name of the ticket vendor/event organiser."}]]}] 116a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] 116b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the event."}]]}] 116c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 116d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 116e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 116f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 1170:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 1171:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 1172:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the event location."}]]}] 1173:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the event."}]]}] 1174:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the relationship between the ticket vendor and the event organiser."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"primary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is the organiser and primary distributor of the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"secondary"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"The merchant is a reseller, only distributing the tickets.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1175:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the ticket."}]]}] 1176:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the ticket is transferable to another buyer."}]]}] 1177:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] 1178:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about a ticket associated with the booking."}]]}] 1179:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of tickets associated with the booking."}]]}] 117a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information about a specific event."}]]}] 117b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of events associated with the booking."}]]}] 117c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing booking information for a list of event tickets associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide event data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11e7"]}]]}]]}] 117d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Type of the industry-specific data object, determining what additional data is expected."}],"\n",["$","p","p-1",{"children":"Available types:"}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Object type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a specific airline ticket purchase.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"car_rental"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about a car rental booking associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about crypto transactions associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":["This object is required by Mastercard and Visa for merchants operating as marketplaces under the ",["$","strong","strong-0",{"children":"Merchant Category Code (MCC):"}]," ",["$","code","code-0",{"children":"5262"}],". The marketplace object ensures compliance with the card schemes' regulations by providing detailed information about the subseller involved in the transaction."],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about event ticket bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-5",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Object containing information about lodging bookings associated with the order.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 117e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique identifier provided by the merchant associated with the order."}],"\n",["$","p","p-1",{"children":["This ",["$","code","code-0",{"children":"booking_id"}]," is used to reference and correlate booking information with the Merchant API and the merchant's internal system."]}]]}] 117f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-in."]}]]}] 1180:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time of the check-out."]}]]}] 1181:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":[["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," date and time when the funds are released to merchants."]}]]}] 1182:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the accommodation associated with the booking."}]]}] 1183:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the booking terms are fixed or flexible."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Parameter value","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Description","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"fixed"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Non-modifiable once confirmed.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"flexible"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Allows modifications or cancellations under specified conditions.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}] 1184:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Parameter indicating whether the booking is refundable, partially refundable, or not refundable."}]]}] 1185:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Primary address line."}]]}] 1186:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Secondary address line, such as floor and apartment number."}]]}] 1187:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State or province of the address."}]]}] 1188:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"City of the address."}]]}] 1189:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"ISO 2-letter country code."}]]}] 118a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Postal code of the address."}]]}] 118b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Address of the accommodation."}]]}] 118c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's first name."}]]}] 118d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Guest's last name."}]]}] 118e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of guests associated with the booking."}]]}] 118f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing details of a lodging booking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"These are the specific data field requirements for merchants who must provide lodging data. Note that these requirements can be extended on a case by case basis as decided by Revolut."}],"$L11e8"]}]]}]]}] 1190:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing industry-specific information associated with the order."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"In the following cases, industry-specific info is required. Omitting this information may trigger additional scrutiny and risk mitigation actions by the Revolut risk team."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Transaction type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Required for","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"airline"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Airlines and Online Travel Agencies (OTAs).","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"crypto"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Crypto merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"marketplace"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Marketplace merchants.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"event"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Event ticket sellers.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":[["$","td","td-0",{"children":["$","code","code-0",{"children":"lodging"}],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":"Lodging providers and OTAs.","className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt3","ref":"$undefined"}]]}]}]]}]]}]]}] 1191:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the order stored in the merchant's order management system."}],"\n",["$","p","p-1",{"children":["This URL will be included in the order confirmation email for payments made via Revolut Pay. If specified, this URL will override the default link to the merchant's ",["$","strong","strong-0",{"children":"Business website"}]," configured in the Revolut Business account."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}]]}] 1192:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Merchant order ID for external reference."}],"\n",["$","p","p-1",{"children":"Use this field to set the ID that your own system can use to easily track orders."}]]}] 1193:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object for providing additional information stored in the merchant's order management system."}]]}] 1194:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}]," when the upcoming payment is scheduled to be executed."]}]]}] 1195:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the customer's payment method used to complete the scheduled payment."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"For more information about operations related to customer's payment methods, see:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method-list","target":"_blank","rel":"noreferrer","children":"Retrieve payment method list of a customer"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#retrieve-payment-method","target":"_blank","rel":"noreferrer","children":"Retrieve a customer's payment method"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#update-payment-method","target":"_blank","rel":"noreferrer","children":"Update a customer's payment method"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#delete-payment-method","target":"_blank","rel":"noreferrer","children":"Delete a customer's payment method"}]}],"\n"]}]]}]]}]]}] 1196:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object containing information about upcoming payments associated with the order."}]]}] 1197:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The URL your customer will be redirected to after a successful payment on the hosted checkout page (",["$","code","code-0",{"children":"checkout_url"}]," parameter's value of the order)."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"Restrictions:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Must be a valid URI as defined by ",["$","a","a-0",{"href":"https://datatracker.ietf.org/doc/html/rfc3986","target":"_blank","rel":"noreferrer","children":"RFC 3986"}]]}],"\n",["$","li","li-1",{"children":["URI scheme is required and must be either ",["$","code","code-0",{"children":"http"}]," or ",["$","code","code-1",{"children":"https"}]]}],"\n",["$","li","li-2",{"children":["URI host is required and cannot be ",["$","code","code-0",{"children":"localhost"}]," or an IP address"]}],"\n",["$","li","li-3",{"children":["Max length: ",["$","code","code-0",{"children":"2000"}]]}],"\n",["$","li","li-4",{"children":["Reserved or invalid characters must be percent-encoded (for example, use ",["$","code","code-0",{"children":"%20"}]," instead of a space)"]}],"\n"]}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information on how to use the ",["$","code","code-0",{"children":"redirect_url"}],", see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/api#custom-post-payment-redirection-optional","target":"_blank","rel":"noreferrer","children":"Custom redirection via the API"}]]}]}]]}]]}] 1199:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"You can set a dynamic statement descriptor for your orders by providing a custom suffix."}],"\n",["$","p","p-1",{"children":"A statement descriptor is the text shown on cardholders' bank or card statements, helping them recognise a transaction or merchant. This field can be used to send extra information with the statement descriptor for card transactions."}],"\n",["$","p","p-2",{"children":["The complete descriptor is built using the following format: ",["$","code","code-0",{"children":"{base}*{suffix}"}],", where:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{base}"}]}]," is the existing descriptor configured in the Revolut Business dashboard (",["$","strong","strong-1",{"children":"Settings > Business account > Merchant profile > Statement descriptor"}],")."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"{suffix}"}]}]," is defined by the ",["$","code","code-0",{"children":"statement_descriptor_suffix"}]," field."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the combined descriptor's length (base + suffix) exceeds the character limits of card scheme providers, the final value will be truncated. For example if the limit is 22 characters, the base descriptor is ",["$","code","code-0",{"children":"\"base\""}]," and the suffix is ",["$","code","code-1",{"children":"\"testdescriptorsuffix\""}],", the final descriptor becomes ",["$","code","code-2",{"children":"\"base*testdescriptorsuf\""}],"."]}],"\n",["$","li","li-1",{"children":"The final statement descriptor shown on a cardholder's statement may vary by issuing bank, as some banks apply their own custom formatting or truncation rules."}],"\n"]}]}]]}]]}] 119a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Object schema containing information about order creation body request parameters."}]]}] 11af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Create an ",["$","code","code-0",{"children":"Order"}]," object."]}],"\n",["$","p","p-1",{"children":"Creating orders is one of the basic operations of the Merchant API. Most of the other operations are related to creating orders. Furthermore, the payment methods merchants can use to take payments for their orders are also building on order creation."}],"\n",["$","p","p-2",{"children":"To learn more about how you can accept payments, see:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/revolut-pay/introduction","target":"_blank","rel":"noreferrer","children":"Revolut Pay"}]}],"\n",["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/card-payments/introduction","target":"_blank","rel":"noreferrer","children":"Card payments"}]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/apple-pay-google-pay/introduction","target":"_blank","rel":"noreferrer","children":"Apple Pay and Google Pay"}]}],"\n",["$","li","li-3",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/pay-by-bank/introduction","target":"_blank","rel":"noreferrer","children":"Pay by Bank"}]}],"\n",["$","li","li-4",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/revolut-checkout/introduction","target":"_blank","rel":"noreferrer","children":"Revolut Checkout"}]}],"\n",["$","li","li-5",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/accept-payments/online-payments/hosted-checkout-page/introduction","target":"_blank","rel":"noreferrer","children":"Hosted Checkout Page"}]}],"\n"]}],"\n",["$","$L11e9","Expandable-0",{"title":"Industry-specific requirements","children":["\n","\n",["$","p","p-0",{"children":"If you operate in any of the industries listed below, sharing industry-specific data is mandatory. Not providing the necessary information will result in further scrutiny from Revolut and/or the imposition of risk mitigation actions."}],"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Industry","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Related fields","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","td","td-0",{"children":"Airlines","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: airline"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","td","td-0",{"children":"Car rentals","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: car_rental"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-2",{"children":[["$","td","td-0",{"children":"Hotels & accommodation","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: lodging"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-3",{"children":[["$","td","td-0",{"children":"Travel agencies (OTAs)","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: airline"}]," or ",["$","code","code-2",{"children":"industry_data"}]," with ",["$","code","code-3",{"children":"type: lodging"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-4",{"children":["$L11ea","$L11eb"],"className":"eowryt5","ref":"$undefined"}],"$L11ec","$L11ed","$L11ee","$L11ef"],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n"]}]]}] 11b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["This parameter accepts the ",["$","a","a-0",{"href":"https://business.revolut.com/settings/apis?tab=merchant-api","target":"_blank","rel":"noreferrer","children":"Merchant API Secret key"}]," to authorise requests coming from the merchant's backend."]}],"\n",["$","p","p-1",{"children":["It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a ",["$","code","code-0",{"children":"Bearer"}]," token."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#authentication","target":"_blank","rel":"noreferrer","children":"Authentication"}]]}]}]]}]]}] 11b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The version of the Merchant API, specified in ",["$","code","code-0",{"children":"YYYY-MM-DD"}]," format."]}],"\n",["$","p","p-1",{"children":"If not specified, you will receive an error."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For more information about API versioning, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/reference/versioning/api-versions","target":"_blank","rel":"noreferrer","children":"API versions"}],"."]}]}]]}]]}] 11d8:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11d9:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11da:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11db:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11dc:["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/merchant#cancel-order","target":"_blank","rel":"noreferrer","children":"Cancel the order"}] 11ea:["$","td","td-0",{"children":"Crypto merchants","className":"eowryt7","ref":"$undefined"}] 11eb:["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: crypto"}],"; ",["$","code","code-2",{"children":"customer.full_name"}],", ",["$","code","code-3",{"children":"customer.date_of_birth"}]],"className":"eowryt7","ref":"$undefined"}] 11ec:["$","tr","tr-5",{"children":[["$","td","td-0",{"children":"Financial institutions","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"customer.full_name"}],", ",["$","code","code-1",{"children":"customer.date_of_birth"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 11ed:["$","tr","tr-6",{"children":[["$","td","td-0",{"children":"Stored value / Wallets","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"customer.full_name"}],", ",["$","code","code-1",{"children":"customer.date_of_birth"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 11ee:["$","tr","tr-7",{"children":[["$","td","td-0",{"children":"Event ticket sellers","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: event"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 11ef:["$","tr","tr-8",{"children":[["$","td","td-0",{"children":"Marketplace merchants","className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"industry_data"}]," with ",["$","code","code-1",{"children":"type: marketplace"}]],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 11c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Each Merchant API request must contain an authorization header in the following format:"}],"\n","$L11f0","\n",["$","p","p-1",{"children":"To use this API, you need to generate API keys from your Revolut Business account. The Secret key is used in the authorization header for all server calls, while the Public key is provided with payment methods at checkout."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L58",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For detailed instructions on generating your API keys, see: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/merchant/get-started#generate-api-keys","target":"_blank","rel":"noreferrer","children":"Generate API keys"}],"."]}]}]]}]]}] 11f1:Tb6f,
{
  "amount": 1000,
  "currency": "EUR",
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "metadata": {
    "example_key": "example_value"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
fff:["$","div","request-application/json-example_update_order",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}"}]}]]}] 11f2:T15cb,
{
  "id": "651a941a-02ef-af6f-9b6c-458c652e2c6a",
  "token": "0aa685ee-8d86-441d-bedd-3f7fbf41731b",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-10-02T09:57:46.498026Z",
  "updated_at": "2023-10-02T11:54:46.648414Z",
  "amount": 1000,
  "currency": "EUR",
  "outstanding_amount": 1000,
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "P3D",
  "checkout_url": "https://checkout.revolut.com/payment-link/0aa685ee-8d86-441d-bedd-3f7fbf41731b",
  "metadata": {
    "example_key": "example_value"
  },
  "enforce_challenge": "automatic",
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
1000:["$","div","200-application/json-example_order_updated",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f2"}}]}]],"$L11f3"]}] 11f4:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1721049596461
}
1001:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 11f5:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
1002:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 11f6:T494,
{
  "code": "not_found",
  "message": "Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found",
  "timestamp": 1721050063886
}
1003:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"not_found\",\n \"message\": \"Order with id abfa5bbd-a20c-4a0e-be66-30e733454518 was not found\",\n \"timestamp\": 1721050063886\n}"}]}]]}] 11f7:T4b9,
{
  "code": "order_invalid_state",
  "message": "Operation cannot be performed because order is in completed state and expected is [pending]",
  "timestamp": 1721049952145
}
1004:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"order_invalid_state\",\n \"message\": \"Operation cannot be performed because order is in completed state and expected is [pending]\",\n \"timestamp\": 1721049952145\n}"}]}]]}] 11f3:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"651a941a-02ef-af6f-9b6c-458c652e2c6a\",\n \"token\": \"0aa685ee-8d86-441d-bedd-3f7fbf41731b\",\n \"type\": \"payment\",\n \"state\": \"pending\",\n \"created_at\": \"2023-10-02T09:57:46.498026Z\",\n \"updated_at\": \"2023-10-02T11:54:46.648414Z\",\n \"amount\": 1000,\n \"currency\": \"EUR\",\n \"outstanding_amount\": 1000,\n \"settlement_currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"P3D\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/0aa685ee-8d86-441d-bedd-3f7fbf41731b\",\n \"metadata\": {\n \"example_key\": \"example_value\"\n },\n \"enforce_challenge\": \"automatic\",\n \"merchant_order_data\": {\n \"url\": \"https://example.com/orders/12345\"\n },\n \"statement_descriptor_suffix\": \"12345\"\n}"}]}] 11a2:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] 11a3:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] 11a4:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] 11a5:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] 11a6:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] 11a7:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] 11a8:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] 11a9:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] 11aa:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] 11ab:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] 11ac:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] 11ad:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] 11c1:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}] 11c3:["$","div","request-application/json-example_order_min",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"amount\": 500,\n  \"currency\": \"GBP\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 500,\n \"currency\": \"GBP\"\n}"}]}]]}] 11f8:T16ec,
{
  "amount": 500,
  "currency": "GBP",
  "capture_mode": "manual",
  "cancel_authorised_after": "PT30M",
  "expire_pending_after": "PT15M",
  "customer": {
    "email": "example@example.com",
    "date_of_birth": "1990-01-01"
  },
  "description": "Example product",
  "shipping_address": {
    "street_line_1": "7 Westferry Circus",
    "city": "London",
    "country_code": "GB",
    "postcode": "E14 4HD"
  },
  "enforce_challenge": "forced",
  "metadata": {
    "product_type": "Example"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/orders/12345"
  },
  "redirect_url": "https://www.example.com/redirect",
  "statement_descriptor_suffix": "12345"
}
11c4:["$","div","request-application/json-example_order_additional",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11f8"}}]}]],"$L11f9"]}] 11fa:T7c0,
{
  "amount": 5000,
  "currency": "GBP",
  "capture_mode": "manual",
  "authorisation_type": "pre_authorisation",
  "description": "Hotel reservation deposit",
  "cancel_authorised_after": "PT72H"
}
11c5:["$","div","request-application/json-example_order_pre_auth",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11fa"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 5000,\n \"currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"authorisation_type\": \"pre_authorisation\",\n \"description\": \"Hotel reservation deposit\",\n \"cancel_authorised_after\": \"PT72H\"\n}"}]}]]}] 11fb:T47de,
{
  "amount": 500,
  "currency": "GBP",
  "settlement_currency": "EUR",
  "description": "Example order description",
  "customer": {
    "full_name": "Example Customer",
    "phone": "+441234567890",
    "email": "example@example.com"
  },
  "enforce_challenge": "forced",
  "capture_mode": "manual",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "airline",
    "booking_id": "unique-booking-id-12345",
    "fulfillment_date": "2023-07-10T14:00:00.069624Z",
    "ticket_type": "flexible",
    "crs_code": "DATS",
    "ticket_change_indicator": "new",
    "refundability": "refundable",
    "passengers": [
      {
        "first_name": "Example",
        "last_name": "Customer"
      },
      {
        "first_name": "John",
        "last_name": "Doe"
      }
    ],
    "journey_legs": [
      {
        "sequence": 1,
        "departure_airport_code": "FRA",
        "arrival_airport_code": "LHR",
        "flight_number": "670",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 2,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "DUB",
        "flight_number": "678",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T15:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 3,
        "departure_airport_code": "DUB",
        "arrival_airport_code": "LHR",
        "flight_number": "679",
        "fare_base_code": "F",
        "travel_date": "2023-07-15T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 4,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "FRA",
        "flight_number": "671",
        "fare_base_code": "F",
        "travel_date": "2023-07-10T14:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      }
    ],
    "booking_url": "https://example.com/bookings/1234"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/ticketnumber-12345",
    "reference": "example_airline_reference"
  },
  "redirect_url": "https://www.example.com/redirect"
}
11c6:["$","div","request-application/json-example_order_airline",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11fb"}}]}]],"$L11fc"]}] 11fd:T2833,
{
  "amount": 500,
  "currency": "GBP",
  "settlement_currency": "GBP",
  "description": "Example car rental order",
  "customer": {
    "full_name": "Example Customer",
    "phone": "+447700900000",
    "email": "example@example.com"
  },
  "enforce_challenge": "forced",
  "capture_mode": "manual",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "car_rental",
    "booking_id": "example_booking_id",
    "pick_up_date": "2026-03-01T11:00:00Z",
    "drop_off_date": "2026-03-05T16:30:00Z",
    "refundability": "partially_refundable",
    "pick_up_location": {
      "street_line_1": "1 Example Street",
      "city": "London",
      "country_code": "GB",
      "postcode": "SW1A 1AA"
    },
    "drop_off_location": {
      "street_line_1": "10 Another Road",
      "city": "Manchester",
      "country_code": "GB",
      "postcode": "M1 1AA"
    },
    "distance_limit": {
      "limit": 500,
      "unit": "miles",
      "additional_distance_cost": {
        "amount": 150,
        "currency": "GBP"
      }
    }
  },
  "merchant_order_data": {
    "url": "https://www.example.com/rental/example_booking_id",
    "reference": "example_car_rental_reference"
  },
  "redirect_url": "https://www.example.com/redirect"
}
11c7:["$","div","request-application/json-example_order_car_rental",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11fd"}}]}]],"$L11fe"]}] 11ff:T16fb,
{
  "amount": 26100,
  "currency": "EUR",
  "settlement_currency": "EUR",
  "description": "Customer wants to buy 0.01 BTC",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0"
  },
  "capture_mode": "manual",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "crypto",
    "transactions": [
      {
        "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b",
        "status": "pending",
        "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c"
      }
    ],
    "subseller_mcc": "1234",
    "subseller_url": "https://example.com"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/cryptotransactionnumber-12345",
    "reference": "example_crypto_reference"
  },
  "redirect_url": "https://www.example.com/redirect"
}
11c8:["$","div","request-application/json-example_order_crypto",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11ff"}}]}]],"$L1200"]}] 1201:T1385,
{
  "amount": 10000,
  "currency": "EUR",
  "industry_data": {
    "type": "marketplace",
    "subseller": {
      "id": "123-45-67",
      "name": "Example Subseller",
      "website": "https://example.com/123-45-67",
      "phone": "+441234567890",
      "address": {
        "street_line_1": "1 Canada Square",
        "street_line_2": "Revolut LTD, Level 39",
        "postcode": "E14 4HD",
        "country_code": "GB",
        "country_subdivision_code": "GB-LND",
        "city": "London",
        "region": "Greater London"
      }
    }
  }
}
11c9:["$","div","request-application/json-example_order_marketplace",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1201"}}]}]],"$L1202"]}] 1203:T2218,
{
  "amount": 100,
  "currency": "GBP",
  "industry_data": {
    "type": "event",
    "booking_id": "example_booking_123",
    "events": [
      {
        "start_date": "2025-03-04T14:00:00Z",
        "end_date": "2025-03-04T17:00:00Z",
        "supplier": "Example Supplier",
        "supplier_payment_date": "2025-03-03T14:00:15Z",
        "name": "Example Event",
        "location": {
          "street_line_1": "Example Street 123",
          "street_line_2": "II/123",
          "region": "London",
          "city": "London",
          "country_code": "GB",
          "postcode": "123456"
        },
        "category": "exhibition",
        "market": "primary",
        "tickets": [
          {
            "id": "example_ticket_1",
            "transferable": false,
            "refundability": "partially_refundable"
          },
          {
            "id": "example_ticket_2",
            "transferable": true,
            "refundability": "non_refundable"
          },
          {
            "id": "example_ticket_3"
          }
        ]
      }
    ]
  }
}
11ca:["$","div","request-application/json-example_order_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1203"}}]}]],"$L1204"]}] 1205:T1b16,
{
  "amount": 100,
  "currency": "GBP",
  "industry_data": {
    "type": "lodging",
    "booking_id": "example_booking_123",
    "check_in_date": "2025-05-01T15:00:00Z",
    "check_out_date": "2025-05-05T11:00:00Z",
    "supplier_payment_date": "2025-05-05T11:00:00Z",
    "category": "bed_and_breakfast",
    "booking_type": "flexible",
    "refundability": "partially_refundable",
    "location": {
      "street_line_1": "Example Street 123",
      "street_line_2": "II/123",
      "region": "London",
      "city": "London",
      "country_code": "GB",
      "postcode": "123456"
    },
    "guests": [
      {
        "first_name": "First",
        "last_name": "Guest"
      },
      {
        "first_name": "Second",
        "last_name": "Guest"
      }
    ]
  }
}
11cb:["$","div","request-application/json-example_order_lodging",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1205"}}]}]],"$L1206"]}] 1207:Tfc9,
{
  "id": "6516e61c-d279-a454-a837-bc52ce55ed49",
  "token": "0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T14:58:36.079398Z",
  "updated_at": "2023-09-29T14:58:36.079398Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "enforce_challenge": "automatic"
}
11cc:["$","div","201-application/json-example_order_min",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1207"}}]}]],"$L1208"]}] 1209:T214f,
{
  "id": "6516e6ec-c7f7-a0fb-a6d3-add05fa46d2f",
  "token": "1058031d-1e71-4d07-9f97-5ad388a1346c",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T15:02:04.083787Z",
  "updated_at": "2023-09-29T15:02:04.083787Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "capture_mode": "manual",
  "authorisation_type": "final",
  "cancel_authorised_after": "PT30M",
  "description": "Example product",
  "checkout_url": "https://checkout.revolut.com/payment-link/1058031d-1e71-4d07-9f97-5ad388a1346c",
  "redirect_url": "https://www.example.com/redirect",
  "shipping_address": {
    "street_line_1": "7 Westferry Circus",
    "city": "London",
    "country_code": "GB",
    "postcode": "E14 4HD"
  },
  "metadata": {
    "product_type": "Example"
  },
  "enforce_challenge": "forced",
  "customer": {
    "id": "467646d6-e452-4d1e-a401-703f09cd3818",
    "email": "example@example.com",
    "date_of_birth": "1990-01-01"
  },
  "merchant_order_data": {
    "url": "https://example.com/orders/12345"
  },
  "statement_descriptor_suffix": "12345"
}
11cd:["$","div","201-application/json-example_order_additional",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1209"}}]}]],"$L120a"]}] 120b:T31d6,
{
  "id": "6516e61c-d279-a454-a837-bc52ce55ed49",
  "token": "0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "type": "payment",
  "state": "authorised",
  "created_at": "2023-09-29T14:58:36.079398Z",
  "updated_at": "2023-09-29T14:58:36.079398Z",
  "amount": 5000,
  "currency": "GBP",
  "outstanding_amount": 5000,
  "capture_mode": "manual",
  "authorisation_type": "pre_authorisation",
  "cancel_authorised_after": "PT72H",
  "description": "Hotel reservation deposit",
  "checkout_url": "https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce",
  "enforce_challenge": "automatic",
  "payments": [
    {
      "id": "6516f38a-a12b-aca3-83f2-6ed16d6ed246",
      "state": "authorised",
      "created_at": "2023-09-29T14:55:54.579311Z",
      "updated_at": "2023-09-29T14:56:38.403232Z",
      "amount": 5000,
      "currency": "GBP",
      "settled_amount": 5000,
      "settled_currency": "GBP",
      "billing_address": {
        "country_code": "GB",
        "postcode": "SW1A 1AA"
      },
      "risk_level": "low",
      "fees": [],
      "payer": {
        "email": "example.payer@example.com",
        "phone": "+447911123456"
      },
      "payment_method": {
        "type": "card",
        "card_brand": "visa",
        "funding": "credit",
        "card_country_code": "GB",
        "card_bin": "411111",
        "card_last_four": "1111",
        "card_expiry": "12/25",
        "cardholder_name": "Example Holder",
        "capture_deadline": "2023-10-06T14:55:54.579311Z",
        "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=",
        "network_transaction_id": "1234567890123456"
      }
    }
  ]
}
11ce:["$","div","201-application/json-example_order_pre_auth",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$120b"}}]}]],"$L120c"]}] 120d:T539a,
{
  "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0",
  "token": "061f2c63-e36b-421e-9ece-5adfcd580886",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T15:28:12.114992Z",
  "updated_at": "2023-09-29T15:28:12.114992Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "settlement_currency": "EUR",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Example order description",
  "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886",
  "redirect_url": "https://www.example.com/redirect",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "airline",
    "booking_id": "unique-booking-id-12345",
    "fulfillment_date": "2023-07-10T14:00:00.069624Z",
    "ticket_type": "flexible",
    "crs_code": "DATS",
    "ticket_change_indicator": "new",
    "refundability": "refundable",
    "passengers": [
      {
        "first_name": "Example",
        "last_name": "Customer"
      },
      {
        "first_name": "John",
        "last_name": "Doe"
      }
    ],
    "journey_legs": [
      {
        "sequence": 1,
        "departure_airport_code": "FRA",
        "arrival_airport_code": "LHR",
        "flight_number": "670",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 2,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "DUB",
        "flight_number": "678",
        "fare_base_code": "J",
        "travel_date": "2023-07-10T15:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 3,
        "departure_airport_code": "DUB",
        "arrival_airport_code": "LHR",
        "flight_number": "679",
        "fare_base_code": "F",
        "travel_date": "2023-07-15T10:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      },
      {
        "sequence": 4,
        "departure_airport_code": "LHR",
        "arrival_airport_code": "FRA",
        "flight_number": "671",
        "fare_base_code": "F",
        "travel_date": "2023-07-10T14:00:00.069624Z",
        "airline_name": "AerLingus",
        "airline_code": "EI"
      }
    ],
    "booking_url": "https://example.com/bookings/1234"
  },
  "enforce_challenge": "forced",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+441234567890",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/ticketnumber-12345",
    "reference": "example_airline_reference"
  }
}
11cf:["$","div","201-application/json-example_order_airline",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$120d"}}]}]],"$L120e"]}] 120f:T33ef,
{
  "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0",
  "token": "061f2c63-e36b-421e-9ece-5adfcd580886",
  "type": "payment",
  "state": "pending",
  "created_at": "2025-01-29T15:28:12.114992Z",
  "updated_at": "2025-01-29T15:28:12.114992Z",
  "amount": 500,
  "currency": "GBP",
  "outstanding_amount": 500,
  "settlement_currency": "GBP",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Example car rental order",
  "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886",
  "redirect_url": "https://www.example.com/redirect",
  "cancel_authorised_after": "PT30M",
  "industry_data": {
    "type": "car_rental",
    "booking_id": "example_booking_id",
    "pick_up_date": "2026-03-01T11:00:00Z",
    "drop_off_date": "2026-03-05T16:30:00Z",
    "refundability": "partially_refundable",
    "pick_up_location": {
      "street_line_1": "1 Example Street",
      "city": "London",
      "country_code": "GB",
      "postcode": "SW1A 1AA"
    },
    "drop_off_location": {
      "street_line_1": "10 Another Road",
      "city": "Manchester",
      "country_code": "GB",
      "postcode": "M1 1AA"
    },
    "distance_limit": {
      "limit": 500,
      "unit": "miles",
      "additional_distance_cost": {
        "amount": 150,
        "currency": "GBP"
      }
    }
  },
  "enforce_challenge": "forced",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+447700900000",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/rental/example_booking_id",
    "reference": "example_car_rental_reference"
  }
}
11d0:["$","div","201-application/json-example_order_car_rental",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$120f"}}]}]],"$L1210"]}] 1211:T24df,
{
  "id": "6516edb9-74af-ae47-829b-1475e807a8d7",
  "token": "1e619c26-d954-4d45-94ab-aba1e407fcee",
  "type": "payment",
  "state": "pending",
  "created_at": "2023-09-29T15:31:05.746826Z",
  "updated_at": "2023-09-29T15:31:05.746826Z",
  "amount": 26100,
  "currency": "EUR",
  "outstanding_amount": 26100,
  "settlement_currency": "EUR",
  "capture_mode": "manual",
  "authorisation_type": "final",
  "description": "Customer wants to buy 0.01 BTC",
  "checkout_url": "https://checkout.revolut.com/payment-link/1e619c26-d954-4d45-94ab-aba1e407fcee",
  "redirect_url": "https://www.example.com/redirect",
  "industry_data": {
    "type": "crypto",
    "transactions": [
      {
        "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b",
        "status": "pending",
        "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c"
      }
    ],
    "subseller_mcc": "1234",
    "subseller_url": "https://example.com"
  },
  "enforce_challenge": "automatic",
  "customer": {
    "id": "db186257-3031-4726-98ea-f2260ea115f0",
    "email": "example@example.com",
    "phone": "+44123456789",
    "full_name": "Example Customer"
  },
  "merchant_order_data": {
    "url": "https://www.example.com/cryptotransactionnumber-12345",
    "reference": "example_crypto_reference"
  }
}
11d1:["$","div","201-application/json-example_order_crypto",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1211"}}]}]],"$L1212"]}] 1213:T1fa6,
{
  "id": "670920dc-d343-abf8-963a-68ae1bc8ae58",
  "token": "41aabe45-b444-45e6-8363-f0433452e138",
  "type": "payment",
  "state": "pending",
  "created_at": "2024-10-11T12:58:04.826974Z",
  "updated_at": "2024-10-11T12:58:04.826974Z",
  "amount": 10000,
  "currency": "EUR",
  "outstanding_amount": 10000,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138",
  "industry_data": {
    "type": "marketplace",
    "subseller": {
      "id": "123-45-67",
      "name": "Example Subseller",
      "address": {
        "street_line_1": "1 Canada Square",
        "street_line_2": "Revolut LTD, Level 39",
        "region": "Greater London",
        "city": "London",
        "country_code": "GB",
        "country_subdivision_code": "GB-LND",
        "postcode": "E14 4HD"
      },
      "website": "https://example.com/123-45-67",
      "phone": "+441234567890"
    }
  },
  "enforce_challenge": "automatic"
}
11d2:["$","div","201-application/json-example_order_marketplace",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1213"}}]}]],"$L1214"]}] 1215:T2e6f,
{
  "id": "67bf20c4-59a5-a7a9-81ad-052fda5f80eb",
  "token": "8737a497-9bae-4647-90bf-1abe2fd9162a",
  "type": "payment",
  "state": "pending",
  "created_at": "2025-02-26T14:10:12.804901Z",
  "updated_at": "2025-02-26T14:10:12.804901Z",
  "amount": 100,
  "currency": "GBP",
  "outstanding_amount": 100,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a",
  "industry_data": {
    "type": "event",
    "booking_id": "example_booking_123",
    "events": [
      {
        "start_date": "2025-03-04T14:00:00Z",
        "end_date": "2025-03-04T17:00:00Z",
        "supplier": "Example Supplier",
        "supplier_payment_date": "2025-03-03T14:00:15Z",
        "name": "Example Event",
        "location": {
          "street_line_1": "Example Street 123",
          "street_line_2": "II/123",
          "region": "London",
          "city": "London",
          "country_code": "GB",
          "postcode": "123456"
        },
        "category": "exhibition",
        "market": "primary",
        "tickets": [
          {
            "id": "example_ticket_1",
            "transferable": false,
            "refundability": "partially_refundable"
          },
          {
            "id": "example_ticket_2",
            "transferable": true,
            "refundability": "non_refundable"
          },
          {
            "id": "example_ticket_3"
          }
        ]
      }
    ]
  },
  "enforce_challenge": "automatic"
}
11d3:["$","div","201-application/json-example_order_event",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1215"}}]}]],"$L1216"]}] 1217:T2735,
{
  "id": "67c70d42-1545-a73d-a4a5-35b7ac49e1da",
  "token": "9effe2b6-8907-4954-9e9b-696f763f7e08",
  "type": "payment",
  "state": "pending",
  "created_at": "2025-03-04T14:25:06.099782Z",
  "updated_at": "2025-03-04T14:25:06.099782Z",
  "amount": 100,
  "currency": "GBP",
  "outstanding_amount": 100,
  "capture_mode": "automatic",
  "authorisation_type": "final",
  "checkout_url": "https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08",
  "industry_data": {
    "type": "lodging",
    "booking_id": "example_booking_123",
    "check_out_date": "2025-05-05T11:00:00Z",
    "booking_type": "flexible",
    "refundability": "partially_refundable",
    "location": {
      "street_line_1": "Example Street 123",
      "street_line_2": "II/123",
      "region": "London",
      "city": "London",
      "country_code": "GB",
      "postcode": "123456"
    },
    "guests": [
      {
        "first_name": "First",
        "last_name": "Guest"
      },
      {
        "first_name": "Second",
        "last_name": "Guest"
      }
    ],
    "check_in_date": "2025-05-01T15:00:00Z",
    "supplier_payment_date": "2025-05-05T11:00:00Z",
    "category": "bed_and_breakfast"
  },
  "enforce_challenge": "automatic"
}
11d4:["$","div","201-application/json-example_order_lodging",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1217"}}]}]],"$L1218"]}] 1219:T46a,
{
  "code": "bad_request",
  "message": "Could not parse JSON",
  "timestamp": 1721049596461
}
11d5:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1219"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"bad_request\",\n \"message\": \"Could not parse JSON\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 121a:T46f,
{
  "code": "unauthenticated",
  "message": "Authentication failed",
  "timestamp": 1721049596461
}
11d6:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$121a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"unauthenticated\",\n \"message\": \"Authentication failed\",\n \"timestamp\": 1721049596461\n}"}]}]]}] 121b:T44d,
{
  "code": "string",
  "message": "string",
  "timestamp": 123
}
11d7:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$121b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"code\": \"string\",\n \"message\": \"string\",\n \"timestamp\": 123\n}"}]}]]}] 11f9:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 500,\n \"currency\": \"GBP\",\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"PT30M\",\n \"expire_pending_after\": \"PT15M\",\n \"customer\": {\n \"email\": \"example@example.com\",\n \"date_of_birth\": \"1990-01-01\"\n },\n \"description\": \"Example product\",\n \"shipping_address\": {\n \"street_line_1\": \"7 Westferry Circus\",\n \"city\": \"London\",\n \"country_code\": \"GB\",\n \"postcode\": \"E14 4HD\"\n },\n \"enforce_challenge\": \"forced\",\n \"metadata\": {\n \"product_type\": \"Example\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://www.example.com/orders/12345\"\n },\n \"redirect_url\": \"https://www.example.com/redirect\",\n \"statement_descriptor_suffix\": \"12345\"\n}"}]}] 121c:T8ea,{ "amount": 500, "currency": "GBP", "settlement_currency": "EUR", "description": "Example order description", "customer": { "full_name": "Example Customer", "phone": "+441234567890", "email": "example@example.com" }, "enforce_challenge": "forced", "capture_mode": "manual", "cancel_authorised_after": "PT30M", "industry_data": { "type": "airline", "booking_id": "unique-booking-id-12345", "fulfillment_date": "2023-07-10T14:00:00.069624Z", "ticket_type": "flexible", "crs_code": "DATS", "ticket_change_indicator": "new", "refundability": "refundable", "passengers": [ { "first_name": "Example", "last_name": "Customer" }, { "first_name": "John", "last_name": "Doe" } ], "journey_legs": [ { "sequence": 1, "departure_airport_code": "FRA", "arrival_airport_code": "LHR", "flight_number": "670", "fare_base_code": "J", "travel_date": "2023-07-10T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 2, "departure_airport_code": "LHR", "arrival_airport_code": "DUB", "flight_number": "678", "fare_base_code": "J", "travel_date": "2023-07-10T15:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 3, "departure_airport_code": "DUB", "arrival_airport_code": "LHR", "flight_number": "679", "fare_base_code": "F", "travel_date": "2023-07-15T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 4, "departure_airport_code": "LHR", "arrival_airport_code": "FRA", "flight_number": "671", "fare_base_code": "F", "travel_date": "2023-07-10T14:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" } ], "booking_url": "https://example.com/bookings/1234" }, "merchant_order_data": { "url": "https://www.example.com/ticketnumber-12345", "reference": "example_airline_reference" }, "redirect_url": "https://www.example.com/redirect" }11fc:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$121c"}]}] 121d:T4dd,{ "amount": 500, "currency": "GBP", "settlement_currency": "GBP", "description": "Example car rental order", "customer": { "full_name": "Example Customer", "phone": "+447700900000", "email": "example@example.com" }, "enforce_challenge": "forced", "capture_mode": "manual", "cancel_authorised_after": "PT30M", "industry_data": { "type": "car_rental", "booking_id": "example_booking_id", "pick_up_date": "2026-03-01T11:00:00Z", "drop_off_date": "2026-03-05T16:30:00Z", "refundability": "partially_refundable", "pick_up_location": { "street_line_1": "1 Example Street", "city": "London", "country_code": "GB", "postcode": "SW1A 1AA" }, "drop_off_location": { "street_line_1": "10 Another Road", "city": "Manchester", "country_code": "GB", "postcode": "M1 1AA" }, "distance_limit": { "limit": 500, "unit": "miles", "additional_distance_cost": { "amount": 150, "currency": "GBP" } } }, "merchant_order_data": { "url": "https://www.example.com/rental/example_booking_id", "reference": "example_car_rental_reference" }, "redirect_url": "https://www.example.com/redirect" }11fe:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$121d"}]}] 1200:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 26100,\n \"currency\": \"EUR\",\n \"settlement_currency\": \"EUR\",\n \"description\": \"Customer wants to buy 0.01 BTC\",\n \"customer\": {\n \"id\": \"db186257-3031-4726-98ea-f2260ea115f0\"\n },\n \"capture_mode\": \"manual\",\n \"cancel_authorised_after\": \"PT30M\",\n \"industry_data\": {\n \"type\": \"crypto\",\n \"transactions\": [\n {\n \"id\": \"7b2a8ed4-5889-4c0c-a8cc-299aff1c881b\",\n \"status\": \"pending\",\n \"recipient_wallet_id\": \"64a6f159-0a60-a446-880e-e449a1f62f7c\"\n }\n ],\n \"subseller_mcc\": \"1234\",\n \"subseller_url\": \"https://example.com\"\n },\n \"merchant_order_data\": {\n \"url\": \"https://www.example.com/cryptotransactionnumber-12345\",\n \"reference\": \"example_crypto_reference\"\n },\n \"redirect_url\": \"https://www.example.com/redirect\"\n}"}]}] 1202:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 10000,\n \"currency\": \"EUR\",\n \"industry_data\": {\n \"type\": \"marketplace\",\n \"subseller\": {\n \"id\": \"123-45-67\",\n \"name\": \"Example Subseller\",\n \"website\": \"https://example.com/123-45-67\",\n \"phone\": \"+441234567890\",\n \"address\": {\n \"street_line_1\": \"1 Canada Square\",\n \"street_line_2\": \"Revolut LTD, Level 39\",\n \"postcode\": \"E14 4HD\",\n \"country_code\": \"GB\",\n \"country_subdivision_code\": \"GB-LND\",\n \"city\": \"London\",\n \"region\": \"Greater London\"\n }\n }\n }\n}"}]}] 121e:T432,{ "amount": 100, "currency": "GBP", "industry_data": { "type": "event", "booking_id": "example_booking_123", "events": [ { "start_date": "2025-03-04T14:00:00Z", "end_date": "2025-03-04T17:00:00Z", "supplier": "Example Supplier", "supplier_payment_date": "2025-03-03T14:00:15Z", "name": "Example Event", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "category": "exhibition", "market": "primary", "tickets": [ { "id": "example_ticket_1", "transferable": false, "refundability": "partially_refundable" }, { "id": "example_ticket_2", "transferable": true, "refundability": "non_refundable" }, { "id": "example_ticket_3" } ] } ] } }1204:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$121e"}]}] 1206:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"industry_data\": {\n \"type\": \"lodging\",\n \"booking_id\": \"example_booking_123\",\n \"check_in_date\": \"2025-05-01T15:00:00Z\",\n \"check_out_date\": \"2025-05-05T11:00:00Z\",\n \"supplier_payment_date\": \"2025-05-05T11:00:00Z\",\n \"category\": \"bed_and_breakfast\",\n \"booking_type\": \"flexible\",\n \"refundability\": \"partially_refundable\",\n \"location\": {\n \"street_line_1\": \"Example Street 123\",\n \"street_line_2\": \"II/123\",\n \"region\": \"London\",\n \"city\": \"London\",\n \"country_code\": \"GB\",\n \"postcode\": \"123456\"\n },\n \"guests\": [\n {\n \"first_name\": \"First\",\n \"last_name\": \"Guest\"\n },\n {\n \"first_name\": \"Second\",\n \"last_name\": \"Guest\"\n }\n ]\n }\n}"}]}] 1208:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"6516e61c-d279-a454-a837-bc52ce55ed49\",\n \"token\": \"0adc0e3c-ab44-4f33-bcc0-534ded7354ce\",\n \"type\": \"payment\",\n \"state\": \"pending\",\n \"created_at\": \"2023-09-29T14:58:36.079398Z\",\n \"updated_at\": \"2023-09-29T14:58:36.079398Z\",\n \"amount\": 500,\n \"currency\": \"GBP\",\n \"outstanding_amount\": 500,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce\",\n \"enforce_challenge\": \"automatic\"\n}"}]}] 121f:T43d,{ "id": "6516e6ec-c7f7-a0fb-a6d3-add05fa46d2f", "token": "1058031d-1e71-4d07-9f97-5ad388a1346c", "type": "payment", "state": "pending", "created_at": "2023-09-29T15:02:04.083787Z", "updated_at": "2023-09-29T15:02:04.083787Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "capture_mode": "manual", "authorisation_type": "final", "cancel_authorised_after": "PT30M", "description": "Example product", "checkout_url": "https://checkout.revolut.com/payment-link/1058031d-1e71-4d07-9f97-5ad388a1346c", "redirect_url": "https://www.example.com/redirect", "shipping_address": { "street_line_1": "7 Westferry Circus", "city": "London", "country_code": "GB", "postcode": "E14 4HD" }, "metadata": { "product_type": "Example" }, "enforce_challenge": "forced", "customer": { "id": "467646d6-e452-4d1e-a401-703f09cd3818", "email": "example@example.com", "date_of_birth": "1990-01-01" }, "merchant_order_data": { "url": "https://example.com/orders/12345" }, "statement_descriptor_suffix": "12345" }120a:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$121f"}]}] 1220:T674,{ "id": "6516e61c-d279-a454-a837-bc52ce55ed49", "token": "0adc0e3c-ab44-4f33-bcc0-534ded7354ce", "type": "payment", "state": "authorised", "created_at": "2023-09-29T14:58:36.079398Z", "updated_at": "2023-09-29T14:58:36.079398Z", "amount": 5000, "currency": "GBP", "outstanding_amount": 5000, "capture_mode": "manual", "authorisation_type": "pre_authorisation", "cancel_authorised_after": "PT72H", "description": "Hotel reservation deposit", "checkout_url": "https://checkout.revolut.com/payment-link/0adc0e3c-ab44-4f33-bcc0-534ded7354ce", "enforce_challenge": "automatic", "payments": [ { "id": "6516f38a-a12b-aca3-83f2-6ed16d6ed246", "state": "authorised", "created_at": "2023-09-29T14:55:54.579311Z", "updated_at": "2023-09-29T14:56:38.403232Z", "amount": 5000, "currency": "GBP", "settled_amount": 5000, "settled_currency": "GBP", "billing_address": { "country_code": "GB", "postcode": "SW1A 1AA" }, "risk_level": "low", "fees": [], "payer": { "email": "example.payer@example.com", "phone": "+447911123456" }, "payment_method": { "type": "card", "card_brand": "visa", "funding": "credit", "card_country_code": "GB", "card_bin": "411111", "card_last_four": "1111", "card_expiry": "12/25", "cardholder_name": "Example Holder", "capture_deadline": "2023-10-06T14:55:54.579311Z", "fingerprint": "1JAllfQY4POhBV8DaddAQ4LC5RbMP8LMLvUdJW4s5JY=", "network_transaction_id": "1234567890123456" } } ] }120c:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$1220"}]}] 1221:Taaa,{ "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0", "token": "061f2c63-e36b-421e-9ece-5adfcd580886", "type": "payment", "state": "pending", "created_at": "2023-09-29T15:28:12.114992Z", "updated_at": "2023-09-29T15:28:12.114992Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "settlement_currency": "EUR", "capture_mode": "manual", "authorisation_type": "final", "description": "Example order description", "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886", "redirect_url": "https://www.example.com/redirect", "cancel_authorised_after": "PT30M", "industry_data": { "type": "airline", "booking_id": "unique-booking-id-12345", "fulfillment_date": "2023-07-10T14:00:00.069624Z", "ticket_type": "flexible", "crs_code": "DATS", "ticket_change_indicator": "new", "refundability": "refundable", "passengers": [ { "first_name": "Example", "last_name": "Customer" }, { "first_name": "John", "last_name": "Doe" } ], "journey_legs": [ { "sequence": 1, "departure_airport_code": "FRA", "arrival_airport_code": "LHR", "flight_number": "670", "fare_base_code": "J", "travel_date": "2023-07-10T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 2, "departure_airport_code": "LHR", "arrival_airport_code": "DUB", "flight_number": "678", "fare_base_code": "J", "travel_date": "2023-07-10T15:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 3, "departure_airport_code": "DUB", "arrival_airport_code": "LHR", "flight_number": "679", "fare_base_code": "F", "travel_date": "2023-07-15T10:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" }, { "sequence": 4, "departure_airport_code": "LHR", "arrival_airport_code": "FRA", "flight_number": "671", "fare_base_code": "F", "travel_date": "2023-07-10T14:00:00.069624Z", "airline_name": "AerLingus", "airline_code": "EI" } ], "booking_url": "https://example.com/bookings/1234" }, "enforce_challenge": "forced", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+441234567890", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/ticketnumber-12345", "reference": "example_airline_reference" } }120e:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$1221"}]}] 1222:T69d,{ "id": "6516ed0c-098f-aa19-80e5-9d92f52b35e0", "token": "061f2c63-e36b-421e-9ece-5adfcd580886", "type": "payment", "state": "pending", "created_at": "2025-01-29T15:28:12.114992Z", "updated_at": "2025-01-29T15:28:12.114992Z", "amount": 500, "currency": "GBP", "outstanding_amount": 500, "settlement_currency": "GBP", "capture_mode": "manual", "authorisation_type": "final", "description": "Example car rental order", "checkout_url": "https://checkout.revolut.com/payment-link/061f2c63-e36b-421e-9ece-5adfcd580886", "redirect_url": "https://www.example.com/redirect", "cancel_authorised_after": "PT30M", "industry_data": { "type": "car_rental", "booking_id": "example_booking_id", "pick_up_date": "2026-03-01T11:00:00Z", "drop_off_date": "2026-03-05T16:30:00Z", "refundability": "partially_refundable", "pick_up_location": { "street_line_1": "1 Example Street", "city": "London", "country_code": "GB", "postcode": "SW1A 1AA" }, "drop_off_location": { "street_line_1": "10 Another Road", "city": "Manchester", "country_code": "GB", "postcode": "M1 1AA" }, "distance_limit": { "limit": 500, "unit": "miles", "additional_distance_cost": { "amount": 150, "currency": "GBP" } } }, "enforce_challenge": "forced", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+447700900000", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/rental/example_booking_id", "reference": "example_car_rental_reference" } }1210:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$1222"}]}] 1223:T4fd,{ "id": "6516edb9-74af-ae47-829b-1475e807a8d7", "token": "1e619c26-d954-4d45-94ab-aba1e407fcee", "type": "payment", "state": "pending", "created_at": "2023-09-29T15:31:05.746826Z", "updated_at": "2023-09-29T15:31:05.746826Z", "amount": 26100, "currency": "EUR", "outstanding_amount": 26100, "settlement_currency": "EUR", "capture_mode": "manual", "authorisation_type": "final", "description": "Customer wants to buy 0.01 BTC", "checkout_url": "https://checkout.revolut.com/payment-link/1e619c26-d954-4d45-94ab-aba1e407fcee", "redirect_url": "https://www.example.com/redirect", "industry_data": { "type": "crypto", "transactions": [ { "id": "7b2a8ed4-5889-4c0c-a8cc-299aff1c881b", "status": "pending", "recipient_wallet_id": "64a6f159-0a60-a446-880e-e449a1f62f7c" } ], "subseller_mcc": "1234", "subseller_url": "https://example.com" }, "enforce_challenge": "automatic", "customer": { "id": "db186257-3031-4726-98ea-f2260ea115f0", "email": "example@example.com", "phone": "+44123456789", "full_name": "Example Customer" }, "merchant_order_data": { "url": "https://www.example.com/cryptotransactionnumber-12345", "reference": "example_crypto_reference" } }1212:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$1223"}]}] 1214:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"{\n \"id\": \"670920dc-d343-abf8-963a-68ae1bc8ae58\",\n \"token\": \"41aabe45-b444-45e6-8363-f0433452e138\",\n \"type\": \"payment\",\n \"state\": \"pending\",\n \"created_at\": \"2024-10-11T12:58:04.826974Z\",\n \"updated_at\": \"2024-10-11T12:58:04.826974Z\",\n \"amount\": 10000,\n \"currency\": \"EUR\",\n \"outstanding_amount\": 10000,\n \"capture_mode\": \"automatic\",\n \"authorisation_type\": \"final\",\n \"checkout_url\": \"https://checkout.revolut.com/payment-link/41aabe45-b444-45e6-8363-f0433452e138\",\n \"industry_data\": {\n \"type\": \"marketplace\",\n \"subseller\": {\n \"id\": \"123-45-67\",\n \"name\": \"Example Subseller\",\n \"address\": {\n \"street_line_1\": \"1 Canada Square\",\n \"street_line_2\": \"Revolut LTD, Level 39\",\n \"region\": \"Greater London\",\n \"city\": \"London\",\n \"country_code\": \"GB\",\n \"country_subdivision_code\": \"GB-LND\",\n \"postcode\": \"E14 4HD\"\n },\n \"website\": \"https://example.com/123-45-67\",\n \"phone\": \"+441234567890\"\n }\n },\n \"enforce_challenge\": \"automatic\"\n}"}]}] 1224:T603,{ "id": "67bf20c4-59a5-a7a9-81ad-052fda5f80eb", "token": "8737a497-9bae-4647-90bf-1abe2fd9162a", "type": "payment", "state": "pending", "created_at": "2025-02-26T14:10:12.804901Z", "updated_at": "2025-02-26T14:10:12.804901Z", "amount": 100, "currency": "GBP", "outstanding_amount": 100, "capture_mode": "automatic", "authorisation_type": "final", "checkout_url": "https://checkout.revolut.com/payment-link/8737a497-9bae-4647-90bf-1abe2fd9162a", "industry_data": { "type": "event", "booking_id": "example_booking_123", "events": [ { "start_date": "2025-03-04T14:00:00Z", "end_date": "2025-03-04T17:00:00Z", "supplier": "Example Supplier", "supplier_payment_date": "2025-03-03T14:00:15Z", "name": "Example Event", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "category": "exhibition", "market": "primary", "tickets": [ { "id": "example_ticket_1", "transferable": false, "refundability": "partially_refundable" }, { "id": "example_ticket_2", "transferable": true, "refundability": "non_refundable" }, { "id": "example_ticket_3" } ] } ] }, "enforce_challenge": "automatic" }1216:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$1224"}]}] 1225:T4d5,{ "id": "67c70d42-1545-a73d-a4a5-35b7ac49e1da", "token": "9effe2b6-8907-4954-9e9b-696f763f7e08", "type": "payment", "state": "pending", "created_at": "2025-03-04T14:25:06.099782Z", "updated_at": "2025-03-04T14:25:06.099782Z", "amount": 100, "currency": "GBP", "outstanding_amount": 100, "capture_mode": "automatic", "authorisation_type": "final", "checkout_url": "https://checkout.revolut.com/payment-link/9effe2b6-8907-4954-9e9b-696f763f7e08", "industry_data": { "type": "lodging", "booking_id": "example_booking_123", "check_out_date": "2025-05-05T11:00:00Z", "booking_type": "flexible", "refundability": "partially_refundable", "location": { "street_line_1": "Example Street 123", "street_line_2": "II/123", "region": "London", "city": "London", "country_code": "GB", "postcode": "123456" }, "guests": [ { "first_name": "First", "last_name": "Guest" }, { "first_name": "Second", "last_name": "Guest" } ], "check_in_date": "2025-05-01T15:00:00Z", "supplier_payment_date": "2025-05-05T11:00:00Z", "category": "bed_and_breakfast" }, "enforce_challenge": "automatic" }1218:["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"$1225"}]}] 11dd:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] 11de:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] 11df:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] 11e0:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] 11e1:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] 11e2:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] 11e3:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"sequence,\ndeparture_airport_code,\narrival_airport_code,\nflight_number,\ntravel_date,\nairline_name,\nairline_code,\n"}]}]]}] 11e4:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
tickets_purchase,\njourney_legs,\nbooking_url
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"tickets_purchase,\njourney_legs,\nbooking_url\n"}]}]]}] 11e5:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"transactions[].id\ntransactions[].status\ntransactions[].recipient_wallet_id\nsubseller_mcc\nsubseller_url\ncustomer.full_name\ncustomer.date_of_birth\n"}]}]]}] 11e6:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
subseller.id\nsubseller.name\nsubseller.phone
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"subseller.id\nsubseller.name\nsubseller.phone\n"}]}]]}] 11e7:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\nevents[].start_date\nevents[].end_date\nevents[].supplier\nevents[].tickets[].id\n"}]}]]}] 11e8:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"booking_id\ncheck_in_date\ncheck_out_date\nsupplier_payment_date\n"}]}]]}] 11f0:["$","div","CodeBlock-0",{"className":"wzy01m0 _18b50nc0","children":[["$undefined",["$","$L5c",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
'Authorization: Bearer <yourSecretApiKey>'
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$L5d",null,{"code":"'Authorization: Bearer '\n"}]}]]}]