1:I["8f048adc2ca3",[],"StyleSheetProvider",1] 2:I["911c8e14a321",[],"RevpressProvider",1] 3:I["b0b3943575f9",[],"Link",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:T8c2,As a Revolut Business customer with a Business Account, you can use the Business API to automate your own business processes. Save time, reduce your costs, and avoid errors by using the Business API. :::tip[Before you get started] To learn more about the Business API and its features, check the [**user guides**](https://developer.revolut.com/docs/guides/manage-accounts/introduction). You can reach them at any time from the main navigation bar **→ Guides → Business**. ::: You can view accounts, manage counterparties, make payments or currency exchanges without manual effort in the Web UI: - Accounting: [Account management](https://developer.revolut.com/docs/api/business#get-account), [Accounting settings](https://developer.revolut.com/docs/api/business#tag-accounting), [Expense management](https://developer.revolut.com/docs/api/business#get-expense), [Transactions](https://developer.revolut.com/docs/api/business#get-transactions) - Payments: - [Counterparty management](https://developer.revolut.com/docs/api/business#get-counterparties) - Payment management: [Payment drafts](https://developer.revolut.com/docs/api/business#delete-payment-draft), [Payout links](https://developer.revolut.com/docs/api/business#get-payout-link), [Transfers](https://developer.revolut.com/docs/api/business#tag-transfers) - [Foreign exchange](https://developer.revolut.com/docs/api/business#tag-foreign-exchange) - Business team: [Card management](https://developer.revolut.com/docs/api/business#delete-card), [Card invitation management](https://developer.revolut.com/docs/api/business#update-card-invitation), [Team member management](https://developer.revolut.com/docs/api/business#delete-team-member) - Developer tools: [Sandbox simulations](https://developer.revolut.com/docs/api/business#tag-simulations), [Webhook management](https://developer.revolut.com/docs/api/business#tag-webhooks-v2) To see the reference for the specific endpoints and operations of this API, browse the menu on the left. ### Test the Business API You can test the Business 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:T8c2,As a Revolut Business customer with a Business Account, you can use the Business API to automate your own business processes. Save time, reduce your costs, and avoid errors by using the Business API. :::tip[Before you get started] To learn more about the Business API and its features, check the [**user guides**](https://developer.revolut.com/docs/guides/manage-accounts/introduction). You can reach them at any time from the main navigation bar **→ Guides → Business**. ::: You can view accounts, manage counterparties, make payments or currency exchanges without manual effort in the Web UI: - Accounting: [Account management](https://developer.revolut.com/docs/api/business#get-account), [Accounting settings](https://developer.revolut.com/docs/api/business#tag-accounting), [Expense management](https://developer.revolut.com/docs/api/business#get-expense), [Transactions](https://developer.revolut.com/docs/api/business#get-transactions) - Payments: - [Counterparty management](https://developer.revolut.com/docs/api/business#get-counterparties) - Payment management: [Payment drafts](https://developer.revolut.com/docs/api/business#delete-payment-draft), [Payout links](https://developer.revolut.com/docs/api/business#get-payout-link), [Transfers](https://developer.revolut.com/docs/api/business#tag-transfers) - [Foreign exchange](https://developer.revolut.com/docs/api/business#tag-foreign-exchange) - Business team: [Card management](https://developer.revolut.com/docs/api/business#delete-card), [Card invitation management](https://developer.revolut.com/docs/api/business#update-card-invitation), [Team member management](https://developer.revolut.com/docs/api/business#delete-team-member) - Developer tools: [Sandbox simulations](https://developer.revolut.com/docs/api/business#tag-simulations), [Webhook management](https://developer.revolut.com/docs/api/business#tag-webhooks-v2) To see the reference for the specific endpoints and operations of this API, browse the menu on the left. ### Test the Business API You can test the Business 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":"Business API | Developer"}],["$","meta",null,{"property":"og:title","content":"Business API | Developer"}],[["$","meta",null,{"name":"description","content":"$8"}],["$","meta",null,{"property":"og:description","content":"$9"}]],"$undefined","$La","$Lb","$Lc"] 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] a:["$","meta",null,{"property":"og:url","content":"https://developer.revolut.com/docs/api/business"}] b:[["$","meta",null,{"property":"og:image","content":"https://developer.revolut.com/_assets/og/docs/api/business.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"}]] 14:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)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/business-1",{"className":"e43y4a2","children":null}]]}]}],["$","div",null,{"className":"nizrjz0","children":[["$","h1",null,{"className":"nizrjz2","children":["Business API",["$","span",null,{"className":"ubxf1y0","children":["$","$L10",null,{"variant":"faded","color":"accent","children":"1.0"}]}]]}],["$","div",null,{"className":"nizrjz1","children":["$","$L11",null,{"color":"var(--rui-color-grey-tone-50)","className":"_107lvaj3","useIcon":"16/Code","use":"a","href":"/docs/api/business.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":{"AccessToken":{"type":"http","scheme":"bearer","description":"$14","descriptionNode":"$L15"}}}]]}],[["$","div","tag-accounting",{"children":[["$","div",null,{"className":"ezz1n30","children":["$L16","$undefined"]}],["$L17","$L18","$L19","$L1a","$L1b","$L1c","$L1d","$L1e","$L1f","$L20","$L21","$L22","$L23","$L24","$L25","$L26","$L27","$L28","$L29"]]}],"$L2a","$L2b","$L2c","$L2d","$L2e","$L2f","$L30","$L31","$L32","$L33","$L34","$L35","$L36","$L37"],"$L38"]}]]}],"$L39"]}]}] 3a:I["9083c63ad443",[],"CopyAnchor",1] 3b:I["741b00e3790d",[],"AIToolbar",1] 90:I["d4c6751a9c52",[],"HashObserver",1] 91:I["98d563c3c055",[],"ToastContainer",1] 16:["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"_107lvaj1","children":[["$","div",null,{"className":"_107lvaj2","children":[["$","h2",null,{"id":"tag-accounting","children":["Accounting",["$","$L3a",null,{"id":"tag-accounting"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-accounting.md"}]]}],"$L3c"]}]}] 2a:["$","div","tag-accounts",{"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-accounts","children":["Accounts",["$","$L3a",null,{"id":"tag-accounts"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-accounts.md"}]]}],"$L3d"]}]}],"$undefined"]}],["$L3e","$L3f","$L40"]]}] 2b:["$","div","tag-cards",{"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-cards","children":["Cards",["$","$L3a",null,{"id":"tag-cards"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-cards.md"}]]}],"$L41"]}]}],"$undefined"]}],["$L42","$L43","$L44","$L45","$L46","$L47","$L48","$L49","$L4a","$L4b","$L4c","$L4d"]]}] 2c:["$","div","tag-card-invitations",{"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-card-invitations","children":["Card invitations",["$","$L3a",null,{"id":"tag-card-invitations"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-card-invitations.md"}]]}],"$L4e"]}]}],"$undefined"]}],["$L4f","$L50","$L51","$L52","$L53"]]}] 2d:["$","div","tag-counterparties",{"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-counterparties","children":["Counterparties",["$","$L3a",null,{"id":"tag-counterparties"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-counterparties.md"}]]}],"$L54"]}]}],"$undefined"]}],["$L55","$L56","$L57","$L58","$L59","$L5a","$L5b","$L5c"]]}] 2e:["$","div","tag-expenses",{"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-expenses","children":["Expenses",["$","$L3a",null,{"id":"tag-expenses"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-expenses.md"}]]}],"$L5d"]}]}],"$undefined"]}],["$L5e","$L5f","$L60"]]}] 2f:["$","div","tag-foreign-exchange",{"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-foreign-exchange","children":["Foreign exchange",["$","$L3a",null,{"id":"tag-foreign-exchange"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-foreign-exchange.md"}]]}],"$L61"]}]}],"$undefined"]}],["$L62","$L63","$L64"]]}] 30:["$","div","tag-payment-drafts",{"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-drafts","children":["Payment drafts",["$","$L3a",null,{"id":"tag-payment-drafts"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-payment-drafts.md"}]]}],"$L65"]}]}],"$undefined"]}],["$L66","$L67","$L68","$L69","$L6a","$L6b","$L6c","$L6d"]]}] 31:["$","div","tag-payout-links",{"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-payout-links","children":["Payout links",["$","$L3a",null,{"id":"tag-payout-links"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-payout-links.md"}]]}],"$L6e"]}]}],"$undefined"]}],["$L6f","$L70","$L71","$L72"]]}] 32:["$","div","tag-simulations",{"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-simulations","children":["Simulations",["$","$L3a",null,{"id":"tag-simulations"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-simulations.md"}]]}],"$L73"]}]}],"$undefined"]}],["$L74","$L75"]]}] 33:["$","div","tag-team-members",{"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-team-members","children":["Team members",["$","$L3a",null,{"id":"tag-team-members"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-team-members.md"}]]}],"$L76"]}]}],"$undefined"]}],["$L77","$L78","$L79","$L7a"]]}] 34:["$","div","tag-transactions",{"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-transactions","children":["Transactions",["$","$L3a",null,{"id":"tag-transactions"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-transactions.md"}]]}],"$L7b"]}]}],"$undefined"]}],["$L7c","$L7d"]]}] 35:["$","div","tag-transfers",{"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-transfers","children":["Transfers",["$","$L3a",null,{"id":"tag-transfers"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-transfers.md"}]]}],"$L7e"]}]}],"$undefined"]}],["$L7f","$L80","$L81","$L82","$L83"]]}] 36:["$","div","tag-webhooks-v1-deprecated",{"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-v1-deprecated","children":["Webhooks (v1) (deprecated)",["$","$L3a",null,{"id":"tag-webhooks-v1-deprecated"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-webhooks-v1-deprecated.md"}]]}],"$L84"]}]}],"$undefined"]}],["$L85","$L86","$L87"]]}] 37:["$","div","tag-webhooks-v2",{"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-v2","children":["Webhooks (v2)",["$","$L3a",null,{"id":"tag-webhooks-v2"}]]}],["$","$L3b",null,{"url":"/docs/api/business/tags/tag-webhooks-v2.md"}]]}],"$L88"]}]}],"$undefined"]}],["$L89","$L8a","$L8b","$L8c","$L8d","$L8e","$L8f"]]}] 38:["$","$L90",null,{"sectionIds":["tag-accounting","create-accounting-category","get-accounting-categories","get-accounting-category","update-accounting-category","delete-accounting-category","create-label-group","get-label-groups","get-label-group","update-label-group","delete-label-group","create-label","get-labels","update-label","delete-label","create-tax-rate","get-tax-rates","get-tax-rate","update-tax-rate","delete-tax-rate","tag-accounts","get-accounts","get-account","get-account-details","tag-cards","get-cards","create-card","get-card","update-card","delete-card","update-card-contacts","update-card-references","freeze-card","unfreeze-card","lock-card","unlock-card","get-sensitive-card-details","tag-card-invitations","create-card-invitation","get-card-invitations","get-card-invitation","update-card-invitation","cancel-card-invitation","tag-counterparties","validate-account-name","get-counterparties","add-counterparty","get-counterparty-countries","get-counterparty-requirements","get-counterparty","delete-counterparty","update-counterparty-payment-method","tag-expenses","get-expenses","get-expense","get-expense-receipt","tag-foreign-exchange","get-rate","exchange-money","get-exchange-reasons","tag-payment-drafts","get-payment-drafts","create-payment-draft","get-payment-draft","delete-payment-draft","update-payment-draft","add-payment-draft-payment","update-payment-draft-payment","delete-payment-draft-payment","tag-payout-links","create-payout-link","get-payout-links","get-payout-link","cancel-payout-link","tag-simulations","simulate-transfer-state-update","simulate-top-up","tag-team-members","get-team-members","invite-team-member","delete-team-member","get-roles","tag-transactions","get-transactions","get-transaction","tag-transfers","create-payment","get-indicative-quote","get-payment-requirements","create-transfer","get-transfer-reasons","tag-webhooks-v1-deprecated","get-webhook-v1","set-up-webhook","delete-webhook-v1","tag-webhooks-v2","create-webhook","get-webhooks","get-webhook","update-webhook","delete-webhook","rotate-webhook-signing-secret","get-failed-webhook-events"]}] 39:["$","div",null,{"className":"wp3eky0","children":["$","$L91",null,{}]}] 92:I["98d563c3c055",[],"Icon",1] 15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L93","\n","$L94","\n"]}]]}] 93:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 94:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Manage ",["$","a","a-0",{"href":"https://business.revolut.com/settings/accounting","target":"_blank","rel":"noreferrer","children":"accounting settings"}]," for your business that can be assigned to your financial records such as ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","target":"_blank","rel":"noreferrer","children":"expenses"}]," or bills*."]}],"\n",["$","p","p-1",{"children":"Create, retrieve, update, and delete settings such as accounting categories, tax rates, and labels."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories","target":"_blank","rel":"noreferrer","children":"Manage accounting categories"}],", ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates","target":"_blank","rel":"noreferrer","children":"Manage tax rates"}]," and ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],", ."]}],"\n",["$","p","p-3",{"children":["See also the Revolut Help Centre: ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/managing-my-business/expenses/","target":"_blank","rel":"noreferrer","children":"Expenses"}]," and ",["$","a","a-1",{"href":"https://help.revolut.com/business/help/integrating-with-external-apps/introduction-to-billpay/","target":"_blank","rel":"noreferrer","children":"BillPay"}],"."]}],"\n",["$","p","p-4",{"children":["$","em","em-0",{"children":["*",["$","small","small-0",{"children":"Some settings are not supported for certain types of financial records.\nFor example, labels cannot be applied to bills.\nCheck the guides for details.\n"}]]}]}]]}] 3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the balances, full banking details, and other details of your business accounts."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","target":"_blank","rel":"noreferrer","children":"Get your account details"}],"."]}]]}] 41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Manage cards issued for your business, freeze, unfreeze, lock, unlock, terminate and update card settings, such as spending limits and merchant controls."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards for your business"}],"."]}],"\n",["$","div","inlinealert-1",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Card invitations for onboarding team members"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To prepare virtual cards for team members who have not completed onboarding yet, use ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-invitation","target":"_blank","rel":"noreferrer","children":"Card invitations"}]," instead."]}]}]]}]]}] 4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Use card invitations to pre-create cards for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members","target":"_blank","rel":"noreferrer","children":"team members"}]," who have not yet onboarded.\nOnce the team member completes onboarding, the card is automatically issued as per the configuration specified in the invitation.\nYou can also retrieve and update the invitations, or cancel them if they're no longer needed."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations","target":"_blank","rel":"noreferrer","children":"Manage card invitations"}],"."]}]]}] 54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Manage counterparties that you intend to transact with."}],"\n",["$","p","p-1",{"children":["Request and response examples can vary based on the account provider's location and type of the counterparty.\nFor more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/create-a-counterparty","target":"_blank","rel":"noreferrer","children":"Create a counterparty"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/retrieve-counterparties","target":"_blank","rel":"noreferrer","children":"Retrieve counterparties"}],", and ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/update-counterparty-payment-method","target":"_blank","rel":"noreferrer","children":"Update a counterparty's payment method"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["In the Sandbox environment, you cannot add real people and businesses as Revolut counterparties.\nTherefore, to help you simulate ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#add-counterparty","target":"_blank","rel":"noreferrer","children":"Create a counterparty"}]," requests, we have created some test accounts for counterparties of profile type ",["$","code","code-0",{"children":"personal"}],"."]}],["$","p","p-1",{"children":["To add a counterparty via Revtag, use one of these pairs for the ",["$","code","code-0",{"children":"name"}]," and ",["$","code","code-1",{"children":"revtag"}]," fields respectively:"]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"Test User 1"}]," & ",["$","code","code-1",{"children":"john1pvki"}]]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"Test User 2"}]," & ",["$","code","code-1",{"children":"john2pvki"}]]}],"\n",["$","li","li-2",{"children":"..."}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"Test User 9"}]," & ",["$","code","code-1",{"children":"john9pvki"}]]}],"\n"]}]]}]]}]]}] 5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the list of all the expenses, or use the filters to narrow down the results.\nYou can also get a specific expense, or get a receipt related to an expense by providing their respective IDs."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is not available in Sandbox."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","target":"_blank","rel":"noreferrer","children":"Retrieve expenses and receipts"}],"."]}]]}] 61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve information on exchange rates between currencies, buy and sell currencies."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/exchange-money","target":"_blank","rel":"noreferrer","children":"Exchange money"}],"."]}]]}] 65:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payment drafts let you prepare payments for future processing, prepare payments that require an approval, or prepare bulk or scheduled payments."}],"\n",["$","p","p-1",{"children":["Simply create a draft, and when you're ready, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#send-drafts-for-processing","target":"_blank","rel":"noreferrer","children":"send it for processing as payment"}],".\nIf you or the payment you're making is subject to an ",["$","a","a-1",{"href":"https://help.revolut.com/business/help/managing-my-business/users-and-employees/how-can-i-set-payment-approval-rules/","target":"_blank","rel":"noreferrer","children":"approval process"}],", another team member designated as an approver must approve it in the ",["$","a","a-2",{"href":"https://business.revolut.com/","target":"_blank","rel":"noreferrer","children":"Revolut Business app"}]," before the payment can be processed."]}],"\n",["$","p","p-2",{"children":"You can also retrieve or delete the drafts created with the API."}],"\n",["$","p","p-3",{"children":["For more information on use cases and other details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] 6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Use payout links to send money without having to request full banking details of the recipient.",["$","br","br-0",{}],"\nThe recipient must claim the money before the link expires."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is available in the UK, the EEA, AU, and SG."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links","target":"_blank","rel":"noreferrer","children":"Send money via payout link"}],"."]}]]}] 73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The Simulations API is only available in the Sandbox environment.\nIt lets you simulate certain events that are otherwise only possible in the production environment, such as your account's top-up and transfer state changes."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/api-usage-and-testing/test-flows-with-simulations","target":"_blank","rel":"noreferrer","children":"Test your flows with simulations (Sandbox only)"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To play around with Sandbox, ",["$","a","a-0",{"href":"https://sandbox-business.revolut.com/","target":"_blank","rel":"noreferrer","children":"create a Sandbox account"}],"."]}]}]]}]]}] 76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve information on existing team members of your organisation, delete team members, and invite new members."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members","target":"_blank","rel":"noreferrer","children":"Manage team members"}],"."]}]]}] 7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of your transactions."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"An incoming or outgoing payment is represented as a transaction."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions","target":"_blank","rel":"noreferrer","children":"Retrieve transactions"}],"."]}]]}] 7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Move funds in the same currency between accounts of your business, or make payments to your counterparties."}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/send-money","target":"_blank","rel":"noreferrer","children":"Send money"}],"."]}]]}] 84:["$","article",null,{"className":"_8qmzte0","children":[["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This is the v1 of the Webhooks API. This version is deprecated. For the latest version of the API, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#tag-webhooks-v2","target":"_blank","rel":"noreferrer","children":"Webhooks (v2)"}],"."]}]}]]}],"\n",["$","p","p-0",{"children":["A webhook (also called a web callback) allows your system to receive updates about your account to an HTTPS endpoint that you provide.\nWhen a supported event occurs, a notification is posted via HTTP ",["$","code","code-0",{"children":"POST"}]," method to the specified endpoint."]}],"\n",["$","p","p-1",{"children":"If the receiver returns an HTTP error response, Revolut will retry the webhook event two more times."}],"\n",["$","p","p-2",{"children":"The following events are supported:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"TransactionCreated"}]}],"\n",["$","li","li-1",{"children":["$","code","code-0",{"children":"TransactionStateChanged"}]}],"\n"]}],"\n",["$","p","p-3",{"children":"You cannot choose which event type to subscribe to. When you create a webhook, you automatically subscribe to all supported events."}]]}] 88:["$","article",null,{"className":"_8qmzte0","children":[["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This is the latest version of the Webhooks API, v2. For the previous version of the API, see ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#tag-webhooks-v1-deprecated","target":"_blank","rel":"noreferrer","children":"Webhooks (v1) (deprecated)"}],"."]}]}]]}],"\n",["$","p","p-0",{"children":["A webhook (also called a web callback) allows your system to receive updates about your account to an HTTPS endpoint that you provide.\nWhen a supported event occurs, a notification is posted via HTTP ",["$","code","code-0",{"children":"POST"}]," method to the specified endpoint."]}],"\n",["$","p","p-1",{"children":"If the receiver returns an HTTP error response, Revolut will retry the webhook event three more times, each with a 10-minute interval."}],"\n",["$","p","p-2",{"children":"The following events are supported:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"TransactionCreated"}]}],"\n",["$","li","li-1",{"children":["$","code","code-0",{"children":"TransactionStateChanged"}]}],"\n",["$","li","li-2",{"children":["$","code","code-0",{"children":"PayoutLinkCreated"}]}],"\n",["$","li","li-3",{"children":["$","code","code-0",{"children":"PayoutLinkStateChanged"}]}],"\n"]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] 12:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"As a Revolut Business customer with a Business Account, you can use the Business API to automate your own business processes.\nSave time, reduce your costs, and avoid errors by using the Business API."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Before you get started"}],["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["To learn more about the Business API and its features, check the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/introduction","target":"_blank","rel":"noreferrer","children":["$","strong","strong-0",{"children":"user guides"}]}],"."]}],["$","p","p-1",{"children":["You can reach them at any time from the main navigation bar ",["$","strong","strong-0",{"children":"→ Guides → Business"}],"."]}]]}]]}],"\n",["$","p","p-1",{"children":"You can view accounts, manage counterparties, make payments or currency exchanges without manual effort in the Web UI:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["Accounting: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-account","target":"_blank","rel":"noreferrer","children":"Account management"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#tag-accounting","target":"_blank","rel":"noreferrer","children":"Accounting settings"}],", ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/api/business#get-expense","target":"_blank","rel":"noreferrer","children":"Expense management"}],", ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/api/business#get-transactions","target":"_blank","rel":"noreferrer","children":"Transactions"}]]}],"\n",["$","li","li-1",{"children":["Payments:\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparties","target":"_blank","rel":"noreferrer","children":"Counterparty management"}]}],"\n",["$","li","li-1",{"children":["Payment management: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-payment-draft","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-payout-link","target":"_blank","rel":"noreferrer","children":"Payout links"}],", ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/api/business#tag-transfers","target":"_blank","rel":"noreferrer","children":"Transfers"}]]}],"\n",["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#tag-foreign-exchange","target":"_blank","rel":"noreferrer","children":"Foreign exchange"}]}],"\n"]}],"\n"]}],"\n",["$","li","li-2",{"children":["Business team: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-card","target":"_blank","rel":"noreferrer","children":"Card management"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#update-card-invitation","target":"_blank","rel":"noreferrer","children":"Card invitation management"}],", ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/api/business#delete-team-member","target":"_blank","rel":"noreferrer","children":"Team member management"}]]}],"\n",["$","li","li-3",{"children":["Developer tools: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#tag-simulations","target":"_blank","rel":"noreferrer","children":"Sandbox simulations"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#tag-webhooks-v2","target":"_blank","rel":"noreferrer","children":"Webhook management"}]]}],"\n"]}],"\n",["$","p","p-2",{"children":"To see the reference for the specific endpoints and operations of this API, browse the menu on the left."}],"\n",["$","h2","h2-0",{"children":"Test the Business API"}],"\n","$L95","\n","$L96"]}] 97:I["5a58dc8a966f",[],"Media",1] 95:["$","p","p-3",{"children":"You can test the Business API in Postman by forking this collection:"}] 96:["$","p","p-4",{"children":["$","a","a-0",{"href":"https://www.postman.com/revolut-api/workspace/revolut-developers/overview","target":"_blank","rel":"noreferrer","children":["$","$L97","img-0",{"src":"https://run.pstmn.io/button.svg","alt":"View in Postman"}]}]}] 98:"$Sreact.fragment" 99:I["18c949fc15ff",[],"ApiEndpointProvider",1] ac:I["fb6f11acc98a",[],"Request",1] b2:I["1ec75fa958bc",[],"Response",1] b3:I["f366e5914c23",[],"CodeSnippets",1] b4:T8ed,
fetch("https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
b5:Tdd5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
b7:T1579,
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://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
b9:T8f5,
fetch("https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
ba:Tddd,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
bc:T1581,
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-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
bd:T14a1,
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-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
62:["$","$98","get-rate",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The exchange rate information","content":{"application/json":{"schema":{"type":"object","properties":{"from":{"description":"The money to sell.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The amount of the transaction.","descriptionNode":"$L9a"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L9b"}},"descriptionNode":"$L9c"},"to":{"description":"The money to receive.","type":"object","properties":{"amount":"$62:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:from:properties:amount","currency":"$62:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:from:properties:currency"},"descriptionNode":"$L9d"},"rate":{"type":"number","format":"double","description":"The proposed exchange rate.","descriptionNode":"$L9e"},"fee":{"description":"The expected fee for the transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The fee amount.","descriptionNode":"$L9f"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$La0"}},"descriptionNode":"$La1"},"rate_date":{"type":"string","format":"date-time","description":"The date of the proposed exchange rate in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$La2"}},"required":["from","to","rate","fee","rate_date"]},"examples":{"default":{"value":{"from":{"amount":1,"currency":"EUR"},"to":{"amount":1,"currency":"USD"},"rate":1.0044090351,"fee":{"amount":0,"currency":"EUR"},"rate_date":"2022-08-31T17:30:34Z"}}}}},"descriptionNode":"$La3"},"404":{"description":"Not found\n\nReturned, for example, when the exchange rate is unknown","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$La4"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La5"}},"required":["code","message"]},"examples":{"default":{"value":{"message":"Exchange rate unknown","code":3472}}}}},"descriptionNode":"$La6"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$La7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La8"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$La9"}},"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":"get-rate","children":[["$Laa","$undefined"],["$","$L3a",null,{"id":"get-rate"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-rate.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lab",["$","$Lac",null,{"parameters":[{"name":"from","in":"query","required":true,"description":"The currency that you exchange from in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.","schema":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Lad"},"descriptionNode":"$Lae"},{"name":"amount","in":"query","required":false,"description":"The amount of the currency to exchange **from**. The default value is `1.00`.","schema":{"type":"number","format":"double","default":"1.00"},"descriptionNode":"$Laf"},{"name":"to","in":"query","required":true,"description":"The currency that you exchange to in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.","schema":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Lb0"},"descriptionNode":"$Lb1"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$62:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b4","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b5","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$b6","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"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://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"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://b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"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-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}},{"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-b2b.revolut.com/api/1.0/rate?from=__RP_TOK_0__&amount=__RP_TOK_1__&to=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"amount","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"string","query:amount":"1.00","query:to":"string"}}]},"method":"get","servers":["https://b2b.revolut.com/api/1.0","https://sandbox-b2b.revolut.com/api/1.0"],"path":"/rate","parameters":["$62:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$62:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1","$62:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:2"]}],"$Lbe"],"$Lbf","$Lc0"]}]]}]]}]}],false]}] d1:T719,
curl -X POST "https://b2b.revolut.com/api/1.0/sandbox/topup" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}'
d2:T11ca,
const payload = {
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
};
fetch("https://b2b.revolut.com/api/1.0/sandbox/topup", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
d3:T1611,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/sandbox/topup"
  jsonData := []byte(`
{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/sandbox/topup"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
d5:T1b78,
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 = """
{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/sandbox/topup"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/sandbox/topup"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""e042f1fe-f721-49cc-af82-db7a6c46944f"",
  ""amount"": 100,
  ""currency"": ""GBP"",
  ""reference"": ""Test Top-up"",
  ""state"": ""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);
}
d7:T721,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}'
d8:T11d2,
const payload = {
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
d9:T1619,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup"
  jsonData := []byte(`
{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
db:T1b80,
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 = """
{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
dc:T232c,
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-b2b.revolut.com/api/1.0/sandbox/topup"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""e042f1fe-f721-49cc-af82-db7a6c46944f"",
  ""amount"": 100,
  ""currency"": ""GBP"",
  ""reference"": ""Test Top-up"",
  ""state"": ""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);
}
75:["$","$98","simulate-top-up",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the top-up state","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the account that was topped up.","descriptionNode":"$Lc1"},"state":{"type":"string","description":"The state of the top-up transaction.","enum":["pending","completed","reverted","failed"],"descriptionNode":"$Lc2"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transaction was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Lc3"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transaction was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Lc4"}},"required":["id","state","created_at"]},"examples":{"default":{"value":{"id":"330953b8-b089-4cfd-9f03-e88173d64248","state":"completed","created_at":"2023-01-23T08:39:35.811005Z","completed_at":"2023-01-23T08:39:35.811005Z"}}}}},"descriptionNode":"$Lc5"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc7"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lc8"}},"requestBody":{"description":"Top-up details","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account that you want to top up.","descriptionNode":"$Lc9"},"amount":{"type":"number","format":"double","description":"The amount with which you want to top up the account.","maximum":10000,"descriptionNode":"$Lca"},"currency":{"description":"The currency of the account that you want to top up.","type":"string","pattern":"^[A-Z]{3}$","descriptionNode":"$Lcb"},"reference":{"type":"string","description":"A short description for your top up.","default":"Test Top-up","descriptionNode":"$Lcc"},"state":{"type":"string","description":"The state to which you want to set the top-up transaction.","enum":["pending","completed","reverted","failed"],"default":"completed","descriptionNode":"$Lcd"}},"required":["account_id","amount","currency"]},"examples":{"default":{"value":{"account_id":"e042f1fe-f721-49cc-af82-db7a6c46944f","amount":100,"currency":"GBP","reference":"Test Top-up","state":"completed"}}}}},"descriptionNode":"$Lce"},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"simulate-top-up","children":[["$Lcf","$undefined"],["$","$L3a",null,{"id":"simulate-top-up"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/simulate-top-up.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Ld0",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$75:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$75:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/sandbox/topup\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}'","templateHtml":"$d1","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/sandbox/topup\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$d2","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/sandbox/topup\"\n jsonData := []byte(`\n{\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$d3","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/sandbox/topup\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$d4","tokens":[],"defaults":{}},{"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 \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/sandbox/topup\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$d5","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/sandbox/topup\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"e042f1fe-f721-49cc-af82-db7a6c46944f\"\",\n \"\"amount\"\": 100,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"Test Top-up\"\",\n \"\"state\"\": \"\"completed\"\"\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":"$d6","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}'","templateHtml":"$d7","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$d8","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/sandbox/topup\"\n jsonData := []byte(`\n{\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$d9","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$da","tokens":[],"defaults":{}},{"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 \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/sandbox/topup\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$db","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/sandbox/topup\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"e042f1fe-f721-49cc-af82-db7a6c46944f\"\",\n \"\"amount\"\": 100,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"Test Top-up\"\",\n \"\"state\"\": \"\"completed\"\"\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":"$dc","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/sandbox/topup","parameters":[]}],"$Ldd"],"$Lde","$Ldf"]}]]}]]}]}],false]}] e7:T8b0,
fetch("https://b2b.revolut.com/api/1.0/webhook", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
e8:Td98,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhook"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/webhook"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
ea: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://b2b.revolut.com/api/1.0/webhook"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
eb: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://b2b.revolut.com/api/1.0/webhook"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
ec:T8b8,
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhook", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
ed:Tda0,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/webhook"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhook"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
ef: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-b2b.revolut.com/api/1.0/webhook"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
f0: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-b2b.revolut.com/api/1.0/webhook"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
85:["$","$98","get-webhook-v1",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The existing webhook","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$Le0"}},"required":["url"]},"examples":{"default":{"value":{"url":"https://www.revolut.com"}}}}},"descriptionNode":"$Le1"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Le4"}},"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":"get-webhook-v1","children":[["$Le5",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L3a",null,{"id":"get-webhook-v1"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-webhook-v1.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Le6",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$85:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/webhook\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/webhook\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/webhook\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$e7","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/webhook\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$e8","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhook\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$e9","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhook\"))\n .header(\"Authorization\", \"Bearer \")\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":"$ea","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhook\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$eb","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhook\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhook\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhook\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$ec","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/webhook\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$ed","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhook\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$ee","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhook\"))\n .header(\"Authorization\", \"Bearer \")\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":"$ef","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhook\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$f0","tokens":[],"defaults":{}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhook","parameters":[]}],"$Lf1"],"$Lf2","$Lf3"]}]]}]]}]}],false]}] fa:T8b3,
fetch("https://b2b.revolut.com/api/1.0/webhook", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
fb:Td9b,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhook"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/webhook"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
fd: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://b2b.revolut.com/api/1.0/webhook"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/webhook"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
ff:T8bb,
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhook", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
100:Tda3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/webhook"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhook"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
102: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-b2b.revolut.com/api/1.0/webhook"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
103:T1467,
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-b2b.revolut.com/api/1.0/webhook"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
87:["$","$98","delete-webhook-v1",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The webhook has been deleted","descriptionNode":"$Lf4"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lf5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lf6"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lf7"}},"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-v1","children":[["$Lf8",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L3a",null,{"id":"delete-webhook-v1"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-webhook-v1.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lf9",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$87:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/webhook\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/webhook\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/webhook\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$fa","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/webhook\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$fb","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhook\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$fc","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhook\"))\n .header(\"Authorization\", \"Bearer \")\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":"$fd","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhook\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$fe","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/webhook\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/webhook\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhook\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$ff","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/webhook\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$100","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhook\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$101","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhook\"))\n .header(\"Authorization\", \"Bearer \")\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":"$102","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhook\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$103","tokens":[],"defaults":{}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhook","parameters":[]}],"$L104"],"$L105","$L106"]}]]}]]}]}],false]}] 64:["$","$98","get-exchange-reasons",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of exchange reasons","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["code","name"],"properties":{"code":{"type":"string","enum":["business_expense_and_claims","fees_and_charges","fund_transfer_and_intracompany_payment","gifts_and_donations","government_services_and_tax","insurance","inventory","investment_dividend_and_interest","loan_and_loan_repayment","marketing","payment_for_goods_and_services","payroll","refund","rental_and_property","sales","service_provider_and_software","travel_and_transportation","utilities"],"description":"Category code of the reason for the exchange.","descriptionNode":"$L107"},"name":{"type":"string","description":"Category name of the reason for the exchange.","descriptionNode":"$L108"}}},"description":"The list of available exchange reasons.","examples":[[{"code":"business_expense_and_claims","name":"Business expense and claims"},{"code":"fees_and_charges","name":"Fees and charges"},{"code":"fund_transfer_and_intracompany_payment","name":"Fund transfer and intracompany payment"},{"code":"gifts_and_donations","name":"Gifts and donations"},{"code":"government_services_and_tax","name":"Government services and tax"},{"code":"insurance","name":"Insurance"},{"code":"inventory","name":"Inventory"},{"code":"investment_dividend_and_interest","name":"Investment, dividend and interest"},{"code":"loan_and_loan_repayment","name":"Loan and loan repayment"},{"code":"marketing","name":"Marketing"},{"code":"payment_for_goods_and_services","name":"Payment for goods and services"},{"code":"payroll","name":"Payroll"},{"code":"refund","name":"Refund"},{"code":"rental_and_property","name":"Rental and property"},{"code":"sales","name":"Sales"},{"code":"service_provider_and_software","name":"Service provider and software"},{"code":"travel_and_transportation","name":"Travel and transportation"},{"code":"utilities","name":"Utilities"}]],"descriptionNode":"$L109"},"examples":{"default":{"value":[{"code":"business_expense_and_claims","name":"Business expense and claims"},{"code":"fees_and_charges","name":"Fees and charges"},{"code":"fund_transfer_and_intracompany_payment","name":"Fund transfer and intracompany payment"},{"code":"gifts_and_donations","name":"Gifts and donations"},{"code":"government_services_and_tax","name":"Government services and tax"},{"code":"insurance","name":"Insurance"},{"code":"inventory","name":"Inventory"},{"code":"investment_dividend_and_interest","name":"Investment, dividend and interest"},{"code":"loan_and_loan_repayment","name":"Loan and loan repayment"},{"code":"marketing","name":"Marketing"},{"code":"payment_for_goods_and_services","name":"Payment for goods and services"},{"code":"payroll","name":"Payroll"},{"code":"refund","name":"Refund"},{"code":"rental_and_property","name":"Rental and property"},{"code":"sales","name":"Sales"},{"code":"service_provider_and_software","name":"Service provider and software"},{"code":"travel_and_transportation","name":"Travel and transportation"},{"code":"utilities","name":"Utilities"}]}}}},"descriptionNode":"$L10a"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L10b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L10c"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L10d"}},"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":"get-exchange-reasons","children":[["$L10e","$undefined"],["$","$L3a",null,{"id":"get-exchange-reasons"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-exchange-reasons.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L10f",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],"$L110"]}],"$L111"]}]]}]}],false]}] 124:T56b,
curl -X PATCH "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.example.com/"
}'
125:Td7c,
const payload = {
  "url": "https://www.example.com/"
};
fetch("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
126:T1463,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  jsonData := []byte(`
{
  "url": "https://www.example.com/"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "url": "https://www.example.com/"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
128:T19ca,
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://www.example.com/"
}
    """;

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

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://www.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);
}
12a:T573,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.example.com/"
}'
12b:Td84,
const payload = {
  "url": "https://www.example.com/"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
12c:T146b,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
  jsonData := []byte(`
{
  "url": "https://www.example.com/"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "url": "https://www.example.com/"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
12e:T19d2,
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://www.example.com/"
}
    """;

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

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
12f:T1c30,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://www.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);
}
8c:["$","$98","update-webhook",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The successfully updated webhook","content":{"application/json":{"schema":{"type":"object","required":["id","url","events"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L112"},"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$L113"},"events":{"type":"array","items":{"enum":["TransactionCreated","TransactionStateChanged","PayoutLinkCreated","PayoutLinkStateChanged"],"description":"The type of the webhook event to subscribe to.","descriptionNode":"$L114"},"description":"The list of event types that you are subscribed to.","descriptionNode":"$L115"}},"examples":[{"id":"6fc346be-5cb5-4c14-aadc-e8aba6a655d7","url":"https://www.example.com/","events":["TransactionCreated"]}]},"examples":{"default":{"value":{"id":"c6db947e-e9ce-41c2-b445-02e6eb741d21","url":"https://www.example.com","events":["TransactionCreated","PayoutLinkCreated"]}}}}},"descriptionNode":"$L116"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L117"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L118"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"url or events must be provided","code":3000}}}}},"descriptionNode":"$L119"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L11a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L11b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L11c"}},"requestBody":{"description":"The new webhook URL for the given webhook","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"description":"A valid webhook URL to which to send event notifications. The supported protocol is `https`.","type":"string","format":"uri","descriptionNode":"$L11d"},"events":{"description":"A list of event types to subscribe to.","type":"array","items":{"enum":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:events:items:enum","description":"The type of the webhook event to subscribe to.","descriptionNode":"$L11e"},"descriptionNode":"$L11f"}}},"examples":{"modify_url":{"summary":"Modify the URL","value":{"url":"https://www.example.com/"}},"modify_events":{"summary":"Modify the subscribed event types","value":{"events":["TransactionCreated","PayoutLinkCreated"]}},"modify_all":{"summary":"Modify both the URL and event types","value":{"url":"https://www.example.com/","events":["TransactionCreated","PayoutLinkCreated"]}}}}},"descriptionNode":"$L120"},"variantLabels":["Modify the URL","Modify the subscribed event types","Modify both the URL and event types"],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-webhook","children":[["$L121","$undefined"],["$","$L3a",null,{"id":"update-webhook"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-webhook.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L122",["$","$Lac",null,{"parameters":[{"name":"webhook_id","in":"path","required":true,"description":"The ID of the webhook to update.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L123"}],"requestBody":"$8c:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$8c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://www.example.com/\"\n}'","templateHtml":"$124","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://www.example.com/\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$125","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"url\": \"https://www.example.com/\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$126","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"url\": \"https://www.example.com/\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$127","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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\": \"https://www.example.com/\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$128","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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.Patch,\n RequestUri = new Uri(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://www.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":"$129","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://www.example.com/\"\n}'","templateHtml":"$12a","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://www.example.com/\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$12b","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"url\": \"https://www.example.com/\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$12c","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"url\": \"https://www.example.com/\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$12d","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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\": \"https://www.example.com/\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$12e","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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.Patch,\n RequestUri = new Uri(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://www.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":"$12f","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks/{webhook_id}","parameters":["$8c:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L130"],"$L131","$L132"]}]]}]]}]}],false]}] 140:T8be,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
141:Tda6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
143:T154a,
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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
145:T8c6,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
146:Tdae,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
148:T1552,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
149:T1472,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
46:["$","$98","delete-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Card successfully terminated","descriptionNode":"$L133"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L134"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L135"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":{"message":"Invalid path parameter 'id': expected UUID","code":2101}}}}},"descriptionNode":"$L136"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L137"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L138"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L139"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L13a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L13b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L13c"}},"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-card","children":[["$L13d","$undefined"],["$","$L3a",null,{"id":"delete-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-card.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L13e",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L13f"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$46:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$140","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\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":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$142","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$143","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$145","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$146","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$147","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$148","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$149","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}","parameters":["$46:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L14a"],"$L14b","$L14c"]}]]}]]}]}],false]}] 15d:T8c3,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
15e:Tdab,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
160:T154f,
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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
162:T8cb,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
163:Tdb3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
165:T1557,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
166:T1477,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
49:["$","$98","freeze-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Card successfully frozen","descriptionNode":"$L14d"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L14e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L14f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L150"},"403":{"description":"State of the card doesn't allow to freeze it","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L151"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L152"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"Card is locked"}}}}},"descriptionNode":"$L153"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L154"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L155"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L156"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L157"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L158"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L159"}},"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":"freeze-card","children":[["$L15a","$undefined"],["$","$L3a",null,{"id":"freeze-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/freeze-card.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L15b",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card to freeze.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L15c"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$49:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$15d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$15e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$15f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"))\n .header(\"Authorization\", \"Bearer \")\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":"$160","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$161","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$162","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$163","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$164","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"))\n .header(\"Authorization\", \"Bearer \")\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":"$165","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/freeze\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$166","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/freeze","parameters":["$49:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L167"],"$L168","$L169"]}]]}]]}]}],false]}] 17a:T8c5,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
17b:Tdad,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
17d:T1551,
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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
17f:T8cd,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
180:Tdb5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
182:T1559,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
183:T1479,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4a:["$","$98","unfreeze-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Card successfully unfrozen","descriptionNode":"$L16a"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L16b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L16c"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L16d"},"403":{"description":"State of the card doesn't allow to unfreeze it","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L16e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L16f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"Card is locked"}}}}},"descriptionNode":"$L170"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L171"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L172"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L173"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L174"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L175"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L176"}},"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":"unfreeze-card","children":[["$L177","$undefined"],["$","$L3a",null,{"id":"unfreeze-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/unfreeze-card.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L178",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card to unfreeze.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L179"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$4a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$17a","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$17b","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$17c","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"))\n .header(\"Authorization\", \"Bearer \")\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":"$17d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$17e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$17f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$180","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$181","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"))\n .header(\"Authorization\", \"Bearer \")\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":"$182","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unfreeze\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$183","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/unfreeze","parameters":["$4a:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L184"],"$L185","$L186"]}]]}]]}]}],false]}] 197:T8c1,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
198:Tda9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
19a:T154d,
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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
19c:T8c9,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
19d:Tdb1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
19f:T1555,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1a0:T1475,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4b:["$","$98","lock-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Card successfully locked","descriptionNode":"$L187"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L188"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L189"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L18a"},"403":{"description":"Action forbidden\n\nReturned, for example, when the request is valid, but the provided access token does not include the required scope for this action.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L18b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L18c"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$L18d"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L18e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L18f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L190"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L191"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L192"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L193"}},"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":"lock-card","children":[["$L194","$undefined"],["$","$L3a",null,{"id":"lock-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/lock-card.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L195",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card to lock.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L196"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$4b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$197","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\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":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$199","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"))\n .header(\"Authorization\", \"Bearer \")\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":"$19a","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$19c","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$19d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$19e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"))\n .header(\"Authorization\", \"Bearer \")\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":"$19f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/lock\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1a0","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/lock","parameters":["$4b:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L1a1"],"$L1a2","$L1a3"]}]]}]]}]}],false]}] 1b4:T8c3,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1b5:Tdab,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
1b7:T154f,
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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1b9:T8cb,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1ba:Tdb3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
1bc:T1557,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1bd:T1477,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4c:["$","$98","unlock-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Card successfully unlocked","descriptionNode":"$L1a4"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1a5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1a6"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L1a7"},"403":{"description":"Action forbidden\n\nReturned, for example, when the request is valid, but the provided access token does not include the required scope for this action.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1a8"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1a9"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$L1aa"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1ab"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1ac"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L1ad"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1ae"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1af"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1b0"}},"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":"unlock-card","children":[["$L1b1","$undefined"],["$","$L3a",null,{"id":"unlock-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/unlock-card.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1b2",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card to unlock.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L1b3"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$4c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1b4","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1b5","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$1b6","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$1bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/unlock\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/unlock","parameters":["$4c:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L1be"],"$L1bf","$L1c0"]}]]}]]}]}],false]}] 1c8:T8c5,
fetch("https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1c9:Tdad,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
1cb:T1551,
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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1cd:T8cd,
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1ce:Tdb5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
1d0:T1559,
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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1d1:T1479,
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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5b:["$","$98","delete-counterparty",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The counterparty deleted","descriptionNode":"$L1c1"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1c2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1c3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1c4"}},"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-counterparty","children":[["$L1c5","$undefined"],["$","$L3a",null,{"id":"delete-counterparty"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-counterparty.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1c6",["$","$Lac",null,{"parameters":[{"name":"counterparty_id","in":"path","required":true,"description":"The ID of the counterparty to delete.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L1c7"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$5b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1c8","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1c9","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$1ca","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1cb","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1cc","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1cd","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1ce","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$1cf","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1d0","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1d1","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparty/{counterparty_id}","parameters":["$5b:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L1d2"],"$L1d3","$L1d4"]}]]}]]}]}],false]}] 1e9:T8dc,
fetch("https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1ea:Tdc4,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1ec:T1568,
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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1ee:T8e4,
fetch("https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1ef:Tdcc,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1f1:T1570,
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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1f2:T1490,
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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
60:["$","$98","get-expense-receipt",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Receipt content. The exact format depends on the receipt.","content":{"*/*":{"schema":{"type":"string","contentMediaType":"application/octet-stream"},"examples":{"receipt_pdf":{"summary":"A PDF receipt","value":"@sample-receipt.pdf"}}}},"descriptionNode":"$L1d5"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1d6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1d7"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1d8"},"403":{"description":"Forbidden\n\nReturned, for example, when the access token is missing the required [scope](https://developer.revolut.com/docs/api/business#access-token) or if the Expenses API is disabled for the business.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1d9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1da"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"forbidden":{"summary":"Forbidden","value":{"message":"This action is forbidden","code":9002}},"api_disabled":{"summary":"Feature disabled","value":{"message":"Expenses API for business is disabled","code":9002}}}}},"descriptionNode":"$L1db"},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1dc"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1dd"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Receipt 'cea368fe-c757-44ce-b2cc-3da94b3d13a6' for expense '3e45f3d7-9919-46df-9793-300726c9fed1' not found","code":3006}}}}},"descriptionNode":"$L1de"},"422":{"description":"Unprocessable content\n\nReturned, for example, when the Expenses feature (not just the API) is disabled for the business.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1df"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1e0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Expenses feature is not enabled","code":3470}}}}},"descriptionNode":"$L1e1"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1e2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1e3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1e4"}},"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":"get-expense-receipt","children":[["$L1e5","$undefined"],["$","$L3a",null,{"id":"get-expense-receipt"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-expense-receipt.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1e6",["$","$Lac",null,{"parameters":[{"name":"expense_id","in":"path","required":true,"description":"The ID of the [expense](https://developer.revolut.com/docs/api/business#get-expense) to which the receipt is related.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L1e7"},{"name":"receipt_id","in":"path","required":true,"description":"The ID of the receipt to retrieve.\n\nTo find the ID of a receipt related to a specific expense, refer to the [expense's details](https://developer.revolut.com/docs/api/business#get-expense#response).\nThe IDs of receipts related to that expense are returned under `receipt_ids`.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L1e8"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$60:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1e9","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1ea","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1eb","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1ec","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1ed","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1ee","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1ef","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1f0","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1f1","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__/receipts/__RP_TOK_1__/content\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1f2","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"receipt_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000","path:receipt_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/expenses/{expense_id}/receipts/{receipt_id}/content","parameters":["$60:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$60:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L1f3"],"$L1f4","$L1f5"]}]]}]]}]}],false]}] 1f6:I["9e60c70d72c7",[],"Authorization",1] 1f9:I["48c2ae8093a4",[],"RequestSample",1] 1fa:I["b2446624eec0",[],"ResponseSample",1] 1f7:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)be:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1f7","descriptionNode":"$L1f8"}}}] bf:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] c0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$62:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L1fb"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$62:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L1fc"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1fd"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 1fe:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)dd:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1fe","descriptionNode":"$L1ff"}}}] de:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$75:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L200"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] df:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$75:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L201"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L202"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 203:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)f1:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$203","descriptionNode":"$L204"}}}] f2:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] f3:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$85:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L205"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L206"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 207:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)104:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$207","descriptionNode":"$L208"}}}] 105:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 106:["$","$L1fa",null,{"exampleBlocks":{"204":{},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L209"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 110:["$","$Lb2",null,{"responses":"$64:props:children:0:props:children:props:responses","headingAs":"h3"}] 20a:T8b9,
fetch("https://b2b.revolut.com/api/1.0/exchange-reasons", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
20b:Tda1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/exchange-reasons"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/exchange-reasons"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
20d: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://b2b.revolut.com/api/1.0/exchange-reasons"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
20e: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://b2b.revolut.com/api/1.0/exchange-reasons"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
20f:T8c1,
fetch("https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
210:Tda9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
212:T154d,
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-b2b.revolut.com/api/1.0/exchange-reasons"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
213:T146d,
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-b2b.revolut.com/api/1.0/exchange-reasons"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
111:["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/exchange-reasons\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/exchange-reasons\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/exchange-reasons\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$20a","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/exchange-reasons\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$20b","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/exchange-reasons\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$20c","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/exchange-reasons\"))\n .header(\"Authorization\", \"Bearer \")\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":"$20d","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/exchange-reasons\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$20e","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$20f","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$210","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/exchange-reasons\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$211","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/exchange-reasons\"))\n .header(\"Authorization\", \"Bearer \")\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":"$212","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/exchange-reasons\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$213","tokens":[],"defaults":{}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/exchange-reasons","parameters":[]}],"$L214"],"$L215","$L216"]}] 217:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)130:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$217","descriptionNode":"$L218"}}}] 131:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"modify_url","label":"Modify the URL","rawValue":"$8c:props:children:0:props:children:props:requestBody:content:application/json:examples:modify_url:value","block":"$L219"},{"key":"modify_events","label":"Modify the subscribed event types","rawValue":"$8c:props:children:0:props:children:props:requestBody:content:application/json:examples:modify_events:value","block":"$L21a"},{"key":"modify_all","label":"Modify both the URL and event types","rawValue":"$8c:props:children:0:props:children:props:requestBody:content:application/json:examples:modify_all:value","block":"$L21b"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 132:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8c:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L21c"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8c:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L21d"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L21e"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 21f:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)14a:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$21f","descriptionNode":"$L220"}}}] 14b:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 14c:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L221"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$46:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L222"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L223"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 224:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)167:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$224","descriptionNode":"$L225"}}}] 168:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 169:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L226"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$49:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L227"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$49:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L228"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L229"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 22a:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)184:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$22a","descriptionNode":"$L22b"}}}] 185:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 186:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L22c"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4a:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L22d"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4a:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L22e"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L22f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 230:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1a1:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$230","descriptionNode":"$L231"}}}] 1a2:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1a3:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L232"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L233"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4b:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L234"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L235"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 236:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1be:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$236","descriptionNode":"$L237"}}}] 1bf:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1c0:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L238"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4c:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L239"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4c:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L23a"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L23b"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 23c:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1d2:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$23c","descriptionNode":"$L23d"}}}] 1d3:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1d4:["$","$L1fa",null,{"exampleBlocks":{"204":{},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L23e"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 23f:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1f3:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$23f","descriptionNode":"$L240"}}}] 1f4:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1f5:["$","$L1fa",null,{"exampleBlocks":{"200":{"*/*":{"variants":[{"key":"receipt_pdf","label":"A PDF receipt","rawValue":"@sample-receipt.pdf","block":"$L241"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L242"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"forbidden","label":"Forbidden","rawValue":"$60:props:children:0:props:children:props:responses:403:content:application/json:examples:forbidden:value","block":"$L243"},{"key":"api_disabled","label":"Feature disabled","rawValue":"$60:props:children:0:props:children:props:responses:403:content:application/json:examples:api_disabled:value","block":"$L244"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$60:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L245"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$60:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$L246"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L247"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 252:T8ca,
fetch("https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
253:Tdb2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
255:T1556,
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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
257:T8d2,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
258:Tdba,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
25a: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://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
25b:T147e,
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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
72:["$","$98","cancel-payout-link",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Payout link has been cancelled","descriptionNode":"$L248"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L249"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L24a"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"forbidden":{"summary":"Action forbidden","value":{"message":"This action is forbidden","code":9002}}}}},"descriptionNode":"$L24b"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L24c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L24d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L24e"}},"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":"cancel-payout-link","children":[["$L24f","$undefined"],["$","$L3a",null,{"id":"cancel-payout-link"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/cancel-payout-link.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L250",["$","$Lac",null,{"parameters":[{"name":"payout_link_id","in":"path","required":true,"description":"The ID of the link to cancel.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L251"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$72:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$252","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$253","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$254","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"))\n .header(\"Authorization\", \"Bearer \")\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":"$255","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$256","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$257","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\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":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$259","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"))\n .header(\"Authorization\", \"Bearer \")\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":"$25a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__/cancel\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payout-links/{payout_link_id}/cancel","parameters":["$72:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L25c"],"$L25d","$L25e"]}]]}]]}]}],false]}] 272:T8c5,
fetch("https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
273:Tdad,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
275:T1551,
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://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
277:T8cd,
fetch("https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
278:Tdb5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
27a:T1559,
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-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
27b:T1479,
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-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
79:["$","$98","delete-team-member",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Team member was deleted","descriptionNode":"$L25f"},"401":{"description":"Unauthorized\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L260"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L261"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":401,"message":"The request should be authorized."}}}}},"descriptionNode":"$L262"},"403":{"description":"Action forbidden\n\nReturned, for example, when you don't have permissions necessary to delete team members","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L263"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L264"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$L265"},"404":{"description":"Not found\n\nReturned when the team member that you're trying to delete doesn't exist.\nThis can happen when, for example, the team member has already been deleted, or the provided team member ID is incorrect.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L266"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L267"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3006,"message":"Resource not found"}}}}},"descriptionNode":"$L268"},"422":{"description":"Cannot modify owner","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L269"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L26a"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3547,"message":"Cannot modify owner"}}}}},"descriptionNode":"$L26b"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L26c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L26d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L26e"}},"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-team-member","children":[["$L26f","$undefined"],["$","$L3a",null,{"id":"delete-team-member"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-team-member.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L270",["$","$Lac",null,{"parameters":[{"name":"team_member_id","description":"The ID of the team member to delete.","in":"path","required":true,"schema":{"type":"string","format":"uuid","examples":["76969b71-a123-42dc-b874-a34688d7bba4"]},"descriptionNode":"$L271"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$79:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:team_member_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$272","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_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://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$273","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$274","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_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://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$275","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_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://b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$276","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:team_member_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$277","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_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-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$278","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$279","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_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-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$27a","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_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-b2b.revolut.com/api/1.0/team-members/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$27b","tokens":[{"marker":"__RP_TOK_0__","paramName":"team_member_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:team_member_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/team-members/{team_member_id}","parameters":["$79:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L27c"],"$L27d","$L27e"]}]]}]]}]}],false]}] 289:T8c1,
fetch("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
28a:Tda9,
package main

import (
  "fmt"
  "net/http"
)

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

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

url = "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
28c:T154d,
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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

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

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
28e:T8c9,
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
28f:Tdb1,
package main

import (
  "fmt"
  "net/http"
)

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

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
291:T1555,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
292:T1475,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8d:["$","$98","delete-webhook",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The webhook has been deleted","descriptionNode":"$L27f"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L280"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L281"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Webhook not found","code":3040}}}}},"descriptionNode":"$L282"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L283"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L284"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L285"}},"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","children":[["$L286","$undefined"],["$","$L3a",null,{"id":"delete-webhook"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-webhook.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L287",["$","$Lac",null,{"parameters":[{"name":"webhook_id","in":"path","required":true,"description":"The ID of the webhook to delete.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L288"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$8d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$289","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$28a","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$28b","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$28c","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$28d","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$28e","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$28f","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$290","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$291","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$292","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks/{webhook_id}","parameters":["$8d:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L293"],"$L294","$L295"]}]]}]]}]}],false]}] 59:["$","$98","get-counterparty-requirements",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The applicable and conditionally required fields for creating the counterparty","content":{"application/json":{"schema":{"type":"object","description":"The response containing applicable counterparty fields and their validation rules.","properties":{"fields":{"type":"array","description":"A list of applicable and conditionally required fields for the specific counterparty context.","items":{"type":"object","description":"Represents a contextual field and its rules.","properties":{"name":{"type":"string","description":"The name of the field to be provided in the [Create a counterparty endpoint](https://developer.revolut.com/docs/api/business#add-counterparty) request body. \nMatches the field names in the Create a counterparty endpoint exactly (e.g. `first_name`, `last_name`, `tax_id`, `route`, `account_type`).","descriptionNode":"$L296"},"required":{"type":"boolean","description":"Indicates whether this field must be provided when creating the counterparty.","descriptionNode":"$L297"},"regex":{"type":"object","description":"Regular expression validation rules.","properties":{"pattern":{"type":"string","description":"The regex pattern the field value must match.","descriptionNode":"$L298"},"description":{"type":"string","description":"A human-readable description of the regex constraint.","descriptionNode":"$L299"}},"required":["pattern","description"],"descriptionNode":"$L29a"},"options":{"type":"array","description":"A list of allowed values for the field (enum).\nIf provided, the field value must be one of these options.","items":{"type":"object","description":"An allowed value option for the field.","properties":{"value":{"type":"string","description":"The accepted value to be passed to the API.","descriptionNode":"$L29b"},"default":{"type":"boolean","description":"Indicates the default option for the field if there is one.","descriptionNode":"$L29c"}},"required":["value"],"descriptionNode":"$L29d"},"descriptionNode":"$L29e"}},"required":["name","required"],"descriptionNode":"$L29f"},"descriptionNode":"$L2a0"}},"required":["fields"],"descriptionNode":"$L2a1"},"examples":{"gb_counterparty":{"summary":"GB personal counterparty","value":{"fields":[{"name":"first_name","required":true,"regex":{"pattern":"^[-'\\p{L} ]{1,40}$","description":"Letters, hyphens and apostrophes only, up to 40 characters"}},{"name":"last_name","required":true,"regex":{"pattern":"^[-'\\p{L} ]{1,40}$","description":"Letters, hyphens and apostrophes only, up to 40 characters"}},{"name":"sort_code","required":true,"regex":{"pattern":"^\\d{6}$","description":"6-digit number"}},{"name":"account_no","required":true,"regex":{"pattern":"^\\d{8}$","description":"8-digit number"}},{"name":"address","required":true}]}},"us_counterparty":{"summary":"US business counterparty","value":{"fields":[{"name":"company_name","required":true,"regex":{"pattern":"^.{1,140}$","description":"Up to 140 characters"}},{"name":"route","required":true,"options":[{"value":"ach","default":true},{"value":"fedwire"}]},{"name":"routing_number","required":true,"regex":{"pattern":"^\\d{9}$","description":"9-digit number"}},{"name":"account_no","required":true,"regex":{"pattern":"^\\d{6,17}$","description":"6 to 17 digits"}},{"name":"address","required":true}]}}}}},"descriptionNode":"$L2a2"},"400":{"description":"Bad request\n\nFor example:\n- missing or invalid query parameters\n- unsupported recipient type for country/currency combination","content":{"application/json":{"schema":{"required":["code","message","error_id"],"type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2a3"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2a4"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2a5"}}},"examples":{"invalid_request":{"summary":"Invalid request","value":{"error_id":"40626b34-365b-43d0-b148-04dcbaeaf4df","code":2101,"message":"Invalid request (missing or invalid query parameters)"}},"unsupported_recipient":{"summary":"Unsupported recipient type","value":{"error_id":"015c2e86-30a5-404b-aa25-b68c25d97e69","code":3081,"message":"Recipient type is not supported for the given country and currency"}}}}},"descriptionNode":"$L2a6"},"404":{"description":"Not found","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2a7"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2a8"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2a9"}}},"examples":{"not_found":{"summary":"Resource not found","value":{"error_id":"a29241ce-1f37-4ffb-8249-d09faec81aed","code":3006,"message":"Resource not found"}}}}},"descriptionNode":"$L2aa"},"422":{"description":"Unprocessable entity\n\nFor example:\n- currency not supported for the given country","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2ab"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2ac"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2ad"}}},"examples":{"unsupported_currency":{"summary":"Unsupported currency","value":{"error_id":"2cd5330c-c4a9-45ce-88d3-8cbdaeba887c","code":4030,"message":"Currency for country is not supported"}}}}},"descriptionNode":"$L2ae"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2af"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2b0"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2b1"}}}}},"descriptionNode":"$L2b2"}},"requestBody":"$undefined","variantLabels":["GB personal counterparty","US business counterparty"],"children":["$L2b3","$L2b4"]}]}],false]}] 2b5:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)214:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$2b5","descriptionNode":"$L2b6"}}}] 215:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 216:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$64:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L2b7"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L2b8"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2b9:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)25c:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$2b9","descriptionNode":"$L2ba"}}}] 25d:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 25e:["$","$L1fa",null,{"exampleBlocks":{"204":{},"403":{"application/json":{"variants":[{"key":"forbidden","label":"Action forbidden","rawValue":"$72:props:children:0:props:children:props:responses:403:content:application/json:examples:forbidden:value","block":"$L2bb"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L2bc"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2bd:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)27c:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$2bd","descriptionNode":"$L2be"}}}] 27d:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 27e:["$","$L1fa",null,{"exampleBlocks":{"204":{},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$79:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L2bf"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$79:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L2c0"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$79:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L2c1"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$79:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$L2c2"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L2c3"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2c4:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)293:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$2c4","descriptionNode":"$L2c5"}}}] 294:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 295:["$","$L1fa",null,{"exampleBlocks":{"204":{},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8d:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L2c6"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L2c7"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2b3:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-counterparty-requirements","children":[["$L2c8","$undefined"],["$","$L3a",null,{"id":"get-counterparty-requirements"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-counterparty-requirements.md"}]]}]}],"$undefined"]}] 2d0:T927,
fetch("https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2d1:Te0f,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
2d3:T15b3,
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://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2d5:T92f,
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
2d6:Te17,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
2d8:T15bb,
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-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
2d9:T14db,
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-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2b4:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L2c9",["$","$Lac",null,{"parameters":[{"name":"country","in":"query","required":true,"description":"The country where the counterparty's bank account is located.","schema":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":["GB"],"descriptionNode":"$L2ca"},"descriptionNode":"$L2cb"},{"name":"currency","in":"query","required":true,"description":"The currency of the counterparty's bank account.","schema":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L2cc"},"descriptionNode":"$L2cd"},{"name":"recipient_type","in":"query","required":true,"description":"The type of the counterparty profile.\nIndicates whether the counterparty is a personal or business account.","schema":{"type":"string","enum":["personal","business"]},"descriptionNode":"$L2ce"},{"name":"route","in":"query","required":false,"description":"The routing method for the corridor. \nWhen omitted, the response includes fields for the default route.\nFor example, for USD to US, the default is `ach`.","schema":{"type":"string"},"descriptionNode":"$L2cf"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$59:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2d0","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2d1","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$2d2","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"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://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$2d3","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"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://b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$2d4","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__&currency=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$2d5","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$2d6","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$2d7","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"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-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$2d8","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}},{"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-b2b.revolut.com/api/1.0/counterparties/fields?country=__RP_TOK_0__¤cy=__RP_TOK_1__&recipient_type=__RP_TOK_2__&route=__RP_TOK_3__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$2d9","tokens":[{"marker":"__RP_TOK_0__","paramName":"country","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"currency","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"recipient_type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"route","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:country":"string","query:currency":"string","query:recipient_type":"business","query:route":"string"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparties/fields","parameters":["$2b4:props:children:0:props:children:1:props:parameters:0","$2b4:props:children:0:props:children:1:props:parameters:1","$2b4:props:children:0:props:children:1:props:parameters:2","$2b4:props:children:0:props:children:1:props:parameters:3"]}],"$L2da"],"$L2db","$L2dc"]}]]}] 82:["$","$98","create-transfer",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about the transfer created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the transaction created.","descriptionNode":"$L2dd"},"state":{"enum":["created","pending","completed","declined","failed","reverted"],"description":"Indicates the transaction state. Possible values:\n - `created`: The transaction has been created and is either processed asynchronously or scheduled for a later time.\n - `pending`: The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly.\n - `completed`: The transaction was successful.\n - `declined`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc.\n - `failed`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.\n - `reverted`: The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible.","type":"string","descriptionNode":"$L2de"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transaction was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L2df"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transaction was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L2e0"}},"required":["id","state","created_at"]},"examples":{"default":{"value":{"id":"630f95f7-a3f9-abf2-b4e4-3f65281234dc","state":"completed","created_at":"2020-11-23T08:39:35.811005Z","completed_at":"2020-11-23T08:39:35.811005Z"}}}}},"descriptionNode":"$L2e1"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2e2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2e3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L2e4"}},"requestBody":{"description":"Create a transfer","required":true,"content":{"application/json":{"schema":{"type":"object","description":"Transfer the funds between accounts of the business in the same currency.","properties":{"request_id":{"type":"string","description":"The ID of the request, provided by you.\nIt helps you identify the transaction in your system.\n\n:::warning\nTo ensure that a transfer is not processed multiple times if there are network or system errors,\nthe same `request_id` should be used for requests related to the same transfer.\n:::","maxLength":40,"descriptionNode":"$L2e5"},"source_account_id":{"type":"string","format":"uuid","description":"The ID of the source account that you transfer the funds from.","descriptionNode":"$L2e6"},"target_account_id":{"type":"string","format":"uuid","description":"The ID of the target account that you transfer the funds to.","descriptionNode":"$L2e7"},"amount":{"type":"number","format":"double","description":"The amount of the funds to be transferred.","descriptionNode":"$L2e8"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L2e9"},"reference":{"type":"string","description":"The reference for the funds transfer.","descriptionNode":"$L2ea"}},"required":["request_id","source_account_id","target_account_id","amount","currency"],"descriptionNode":"$L2eb"},"examples":{"default":{"value":{"request_id":"129999","source_account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234","target_account_id":"ae2e1241-81dd-498d-868e-075484785678","amount":10,"currency":"GBP","reference":"John's transfer"}}}}},"descriptionNode":"$L2ec"},"variantLabels":[],"children":["$L2ed","$L2ee"]}]}],false]}] 1b:["$","$98","delete-accounting-category",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Accounting category deleted","descriptionNode":"$L2ef"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2f0"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2f1"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2f2"}}},"examples":{"bad_param_format":{"summary":"Incorrect path parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L2f3"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2f4"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2f5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2f6"}}},"examples":{"access_token_invalid_or_expired":{"summary":"Access token invalid or expired","value":{"error_id":"9d66499d-3fc5-45e9-92f6-3ddcad4793c6","code":1000,"message":"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."}},"invalid_token":{"summary":"Invalid token","value":{"error_id":"7835beae-98ed-42dc-b993-95f4ded951a1","code":1000,"message":"Invalid token. The authorization header must follow the 'Bearer ' format."}}}}},"descriptionNode":"$L2f7"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2f8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2f9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2fa"}}},"examples":{"default":{"value":{"error_id":"c5deadcc-1934-4438-818a-3c7ca1e6c01c","code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$L2fb"},"404":{"description":"Not found\n\nReturned when the accounting category that you're trying to delete doesn't exist.\nThis can happen when, for example, the accounting category has already been deleted, or the provided category ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L2fc"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L2fd"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L2fe"}}},"examples":{"default":{"value":{"error_id":"69bca351a-22a7-ac4d-af05-21032f9080ec","code":3006,"message":"Accounting category with id d6c034a8-b302-4741-b66f-cc0f0a19642e not found"}}}}},"descriptionNode":"$L2ff"},"422":{"description":"Unprocessable entity - accounting category cannot be deleted due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and accounting category are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L300"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L301"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L302"}}},"examples":{"cannot_delete_externally_managed_resource":{"summary":"Accounting categories managed by integration, cannot be deleted","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Accounting categories are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L303"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L304"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L305"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L306"}}},"examples":{"rateLimitExceededNoRetryAfter":{"summary":"Rate limit exceeded (no Retry-After)","value":{"error_id":"06153eec-c5cd-4db8-8898-7ae96b9d89ab","code":3162,"message":"Request rate limit has been reached. Try again later."}},"rateLimitExceededWithRetryAfter":{"summary":"Rate limit exceeded (with Retry-After)","value":{"error_id":"06153eec-c5cd-4db8-8898-7ae96b9d89ab","code":3162,"message":"Request rate limit has been reached. Try again after 30 seconds."}}}}},"descriptionNode":"$L307"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L308"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L309"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L30a"}}},"examples":{"default":{"value":{"error_id":"7f96652e-7518-4229-872b-4e4c867fb4da","code":5000,"message":"An unexpected error occurred while processing your request. If the issue persists, please contact support"}}}}},"descriptionNode":"$L30b"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L30c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L30d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L30e"}}},"examples":{"service_unavailable":{"summary":"System temporarily unavailable","value":{"error_id":"201768bc-c5cd-4db8-8898-7ae96b9d89ab","code":5003,"message":"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"}}}}},"descriptionNode":"$L30f"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L310"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L311"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L312"}}}}},"descriptionNode":"$L313"}},"requestBody":"$undefined","variantLabels":[],"children":["$L314","$L315"]}]}],false]}] 20:["$","$98","delete-label-group",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Label group deleted","descriptionNode":"$L316"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L317"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L318"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L319"}}},"examples":{"bad_param_format":{"summary":"Incorrect path parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L31a"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L31b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L31c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L31d"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L31e"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L31f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L320"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L321"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L322"},"404":{"description":"Not found\n\nReturned when the label group that you're trying to delete cannot be found.\nThis can happen, for example, when the label group doesn't exist, or the provided label group ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L323"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L324"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L325"}}},"examples":{"default":{"value":{"error_id":"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0","code":3006,"message":"Label group with id be6c9d90-df25-458a-b559-be61896c94b8 not found"}}}}},"descriptionNode":"$L326"},"422":{"description":"Unprocessable entity - label group cannot be deleted due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and label groups are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L327"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L328"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L329"}}},"examples":{"cannot_delete_externally_managed_resource":{"summary":"Labels and label groups are managed by integration, cannot be deleted","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Labels are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L32a"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L32b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L32c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L32d"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L32e"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L32f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L330"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L331"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L332"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L333"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L334"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L335"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L336"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L337"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L338"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L339"}}}}},"descriptionNode":"$L33a"}},"requestBody":"$undefined","variantLabels":[],"children":["$L33b","$L33c"]}]}],false]}] 24:["$","$98","delete-label",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Label deleted","descriptionNode":"$L33d"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L33e"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L33f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L340"}}},"examples":{"bad_param_format":{"summary":"Incorrect path parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L341"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L342"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L343"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L344"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L345"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L346"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L347"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L348"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L349"},"404":{"description":"Not found\n\nReturned when the label that you're trying to delete cannot be found.\nThis can happen, for example, when the label doesn't exist, or the provided label ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L34a"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L34b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L34c"}}},"examples":{"default":{"value":{"error_id":"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0","code":3006,"message":"Label with id be6c9d90-df25-458a-b559-be61896c94b8 not found"}}}}},"descriptionNode":"$L34d"},"422":{"description":"Unprocessable entity - label cannot be deleted due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L34e"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L34f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L350"}}},"examples":{"cannot_delete_externally_managed_resource":{"summary":"Labels and label groups are managed by integration, cannot be deleted","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Labels are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L351"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L352"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L353"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L354"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L355"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L356"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L357"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L358"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L359"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L35a"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L35b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L35c"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L35d"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L35e"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L35f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L360"}}}}},"descriptionNode":"$L361"}},"requestBody":"$undefined","variantLabels":[],"children":["$L362","$L363"]}]}],false]}] 29:["$","$98","delete-tax-rate",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Tax rate deleted","descriptionNode":"$L364"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L365"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L366"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L367"}}},"examples":{"bad_param_format":{"summary":"Incorrect path parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L368"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L369"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L36a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L36b"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L36c"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L36d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L36e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L36f"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L370"},"404":{"description":"Not found\n\nReturned when the tax rate that you're trying to delete cannot be found.\nThis can happen, for example, when the tax rate doesn't exist, or the provided tax rate ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L371"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L372"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L373"}}},"examples":{"default":{"value":{"error_id":"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0","code":3006,"message":"Tax rate with id be6c9d90-df25-458a-b559-be61896c94b8 not found"}}}}},"descriptionNode":"$L374"},"422":{"description":"Unprocessable entity - tax rate cannot be deleted due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and tax rates are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L375"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L376"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L377"}}},"examples":{"cannot_delete_externally_managed_resource":{"summary":"Tax rate managed by integration, cannot be deleted","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Tax rates are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L378"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L379"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L37a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L37b"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L37c"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L37d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L37e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L37f"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L380"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L381"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L382"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L383"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L384"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L385"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L386"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L387"}}}}},"descriptionNode":"$L388"}},"requestBody":"$undefined","variantLabels":[],"children":["$L389","$L38a"]}]}],false]}] 39e:T8cd,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
39f:Tdb5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
3a1:T1559,
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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3a3:T8d5,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
3a4:Tdbd,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
3a6:T1561,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3a7:T1481,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4d:["$","$98","get-sensitive-card-details",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Sensitive details of the card","content":{"application/json":{"schema":{"type":"object","properties":{"pan":{"type":"string","description":"The PAN (Primary Account Number) of the card.","descriptionNode":"$L38b"},"cvv":{"type":"string","description":"The CVV (Card Verification Value) of the card.","descriptionNode":"$L38c"},"expiry":{"type":"string","description":"The card expiration date.","format":"DD/MMMM","pattern":"^[0-9]{2}/[0-9]{4}$","descriptionNode":"$L38d"}},"required":["pan","cvv","expiry"]},"examples":{"default":{"value":{"pan":"4111111111111111","cvv":"123","expiry":"06/2030"}}}}},"descriptionNode":"$L38e"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L38f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L390"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L391"},"403":{"description":"Action forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L392"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L393"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$L394"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L395"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L396"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L397"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L398"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L399"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L39a"}},"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":"get-sensitive-card-details","children":[["$L39b","$undefined"],["$","$L3a",null,{"id":"get-sensitive-card-details"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-sensitive-card-details.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L39c",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card for which to retrieve the sensitive details.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L39d"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$4d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$39e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$39f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$3a0","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"))\n .header(\"Authorization\", \"Bearer \")\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":"$3a1","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$3a2","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3a3","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3a4","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$3a5","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"))\n .header(\"Authorization\", \"Bearer \")\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":"$3a6","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/sensitive-details\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$3a7","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/sensitive-details","parameters":["$4d:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L3a8"],"$L3a9","$L3aa"]}]]}]]}]}],false]}] 53:["$","$98","cancel-card-invitation",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Card invitation successfully cancelled","descriptionNode":"$L3ab"},"400":{"description":"Bad request\n\nReturned, for example, when the format of the invitation ID you provided is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L3ac"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L3ad"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L3ae"},"401":{"description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","content":{"application/json":{"schema":{"type":"object","description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","allOf":[{"type":"object","description":"Error returning a status instead of code.","properties":{"status":{"type":"integer","description":"The error code.","descriptionNode":"$L3af"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L3b0"}},"required":["status","message"],"descriptionNode":"$L3b1"}],"descriptionNode":"$L3b2"},"examples":{"unauthorized":{"summary":"Unauthorized","value":{"status":401,"message":"The request should be authorized."}}}}},"descriptionNode":"$L3b3"},"404":{"description":"Card invitation doesn't exist\n\nThe card invitation you wish to cancel does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L3b4"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L3b5"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3088,"message":"Card invitation '10a2069f-fc11-4d5f-82b4-29c4ecc3a62e' not found"}}}}},"descriptionNode":"$L3b6"},"422":{"description":"Unprocessable entity\n\nReturned, for example, when you try to cancel a card invitation that's not in state `created`.\nSuch an invitation is no longer active and therefore cannot be cancelled.","content":{"application/json":{"schema":{"type":"object","description":"Unprocessable entity\n\nReturned, for example, when you try to modify a resource which is not a in state that would allow for modifications, e.g. a card invitation in state `failed`.","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L3b7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L3b8"}},"required":["message"],"descriptionNode":"$L3b9"},"examples":{"unsupported_card_invitation_state":{"summary":"Card invitation is not in state 'created'","value":{"message":"Unable to cancel card invitation with state=redeemed"}}}}},"descriptionNode":"$L3ba"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L3bb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L3bc"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L3bd"}},"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":"cancel-card-invitation","children":[["$L3be","$undefined"],["$","$L3a",null,{"id":"cancel-card-invitation"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/cancel-card-invitation.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L3bf",["$","$Lac",null,{"parameters":[{"name":"card_invitation_id","in":"path","required":true,"description":"The ID of the card invitation to cancel.","schema":{"type":"string","format":"uuid"},"examples":{"default":{"value":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd"}},"descriptionNode":"$L3c0"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],"$L3c1"]}],"$L3c2"]}]]}]}],false]}] 3d0:T8c1,
fetch("https://b2b.revolut.com/api/1.0/counterparties/countries", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
3d1:Tda9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparties/countries"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/counterparties/countries"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
3d3:T154d,
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://b2b.revolut.com/api/1.0/counterparties/countries"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparties/countries"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3d5:T8c9,
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
3d6:Tdb1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
3d8:T1555,
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-b2b.revolut.com/api/1.0/counterparties/countries"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3d9:T1475,
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-b2b.revolut.com/api/1.0/counterparties/countries"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
58:["$","$98","get-counterparty-countries",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The list of supported bank countries and their available currencies","content":{"application/json":{"schema":{"type":"object","description":"The response containing supported bank countries and their available currencies.","properties":{"countries":{"type":"array","description":"A list of supported bank countries.","items":{"type":"object","description":"A supported bank country with its available currencies.","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$2b4:props:children:0:props:children:1:props:parameters:0:schema:examples","descriptionNode":"$L3c3"},"currencies":{"type":"array","description":"The currencies available for counterparty creation in this country.","items":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L3c4"},"descriptionNode":"$L3c5"}},"required":["country","currencies"],"descriptionNode":"$L3c6"},"descriptionNode":"$L3c7"}},"required":["countries"],"descriptionNode":"$L3c8"},"examples":{"default":{"value":{"countries":[{"country":"GB","currencies":["GBP"]},{"country":"US","currencies":["USD"]},{"country":"DE","currencies":["EUR"]}]}}}}},"descriptionNode":"$L3c9"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L3ca"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L3cb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L3cc"}}}}},"descriptionNode":"$L3cd"}},"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":"get-counterparty-countries","children":[["$L3ce","$undefined"],["$","$L3a",null,{"id":"get-counterparty-countries"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-counterparty-countries.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L3cf",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$58:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/counterparties/countries\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/counterparties/countries\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/counterparties/countries\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3d0","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/counterparties/countries\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3d1","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/counterparties/countries\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$3d2","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/counterparties/countries\"))\n .header(\"Authorization\", \"Bearer \")\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":"$3d3","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/counterparties/countries\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$3d4","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3d5","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3d6","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/countries\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$3d7","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/counterparties/countries\"))\n .header(\"Authorization\", \"Bearer \")\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":"$3d8","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/counterparties/countries\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$3d9","tokens":[],"defaults":{}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparties/countries","parameters":[]}],"$L3da"],"$L3db","$L3dc"]}]]}]]}]}],false]}] aa:"Get an exchange rate" 3dd:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)2da:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$3dd","descriptionNode":"$L3de"}}}] 2db:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 2dc:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"gb_counterparty","label":"GB personal counterparty","rawValue":"$59:props:children:0:props:children:props:responses:200:content:application/json:examples:gb_counterparty:value","block":"$L3df"},{"key":"us_counterparty","label":"US business counterparty","rawValue":"$59:props:children:0:props:children:props:responses:200:content:application/json:examples:us_counterparty:value","block":"$L3e0"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_request","label":"Invalid request","rawValue":"$59:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_request:value","block":"$L3e1"},{"key":"unsupported_recipient","label":"Unsupported recipient type","rawValue":"$59:props:children:0:props:children:props:responses:400:content:application/json:examples:unsupported_recipient:value","block":"$L3e2"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"not_found","label":"Resource not found","rawValue":"$59:props:children:0:props:children:props:responses:404:content:application/json:examples:not_found:value","block":"$L3e3"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"unsupported_currency","label":"Unsupported currency","rawValue":"$59:props:children:0:props:children:props:responses:422:content:application/json:examples:unsupported_currency:value","block":"$L3e4"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L3e5"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 2ed:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-transfer","children":[["$L3e6","$undefined"],["$","$L3a",null,{"id":"create-transfer"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-transfer.md"}]]}]}],"$undefined"]}] 3e8:T824,
curl -X POST "https://b2b.revolut.com/api/1.0/transfer" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John'\''s transfer"
}'
3e9:T130a,
const payload = {
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
};
fetch("https://b2b.revolut.com/api/1.0/transfer", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
3ea:T16a9,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/transfer"
  jsonData := []byte(`
{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/transfer"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
3ec:T1c10,
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 = """
{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/transfer"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/transfer"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""129999"",
  ""source_account_id"": ""2e6de1bf-97ad-478d-aad1-9d7a3cdf1234"",
  ""target_account_id"": ""ae2e1241-81dd-498d-868e-075484785678"",
  ""amount"": 10,
  ""currency"": ""GBP"",
  ""reference"": ""John's transfer""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3ee:T82c,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/transfer" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John'\''s transfer"
}'
3ef:T1312,
const payload = {
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/transfer", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
3f0:T16b1,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/transfer"
  jsonData := []byte(`
{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/transfer"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
3f2:T1c18,
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 = """
{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/transfer"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
3f3:T2550,
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-b2b.revolut.com/api/1.0/transfer"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""129999"",
  ""source_account_id"": ""2e6de1bf-97ad-478d-aad1-9d7a3cdf1234"",
  ""target_account_id"": ""ae2e1241-81dd-498d-868e-075484785678"",
  ""amount"": 10,
  ""currency"": ""GBP"",
  ""reference"": ""John's transfer""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
2ee:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L3e7",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$82:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$82:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/transfer\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John'\\''s transfer\"\n}'","templateHtml":"$3e8","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/transfer\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3e9","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/transfer\"\n jsonData := []byte(`\n{\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3ea","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/transfer\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$3eb","tokens":[],"defaults":{}},{"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 \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/transfer\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$3ec","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/transfer\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"request_id\"\": \"\"129999\"\",\n \"\"source_account_id\"\": \"\"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\"\",\n \"\"target_account_id\"\": \"\"ae2e1241-81dd-498d-868e-075484785678\"\",\n \"\"amount\"\": 10,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"John's transfer\"\"\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":"$3ed","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/transfer\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John'\\''s transfer\"\n}'","templateHtml":"$3ee","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/transfer\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3ef","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/transfer\"\n jsonData := []byte(`\n{\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3f0","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/transfer\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$3f1","tokens":[],"defaults":{}},{"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 \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/transfer\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$3f2","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/transfer\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"request_id\"\": \"\"129999\"\",\n \"\"source_account_id\"\": \"\"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\"\",\n \"\"target_account_id\"\": \"\"ae2e1241-81dd-498d-868e-075484785678\"\",\n \"\"amount\"\": 10,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"John's transfer\"\"\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":"$3f3","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/transfer","parameters":[]}],"$L3f4"],"$L3f5","$L3f6"]}]]}] 314:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-accounting-category","children":[["$L3f7","$undefined"],["$","$L3a",null,{"id":"delete-accounting-category"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-accounting-category.md"}]]}]}],"$undefined"]}] 3fa:T8ce,
fetch("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
3fb:Tdb6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
3fd:T155a,
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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3ff:T8d6,
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
400:Tdbe,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
402:T1562,
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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
403:T1482,
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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
315:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L3f8",["$","$Lac",null,{"parameters":[{"name":"accounting_category_id","in":"path","required":true,"description":"The ID of the accounting category to delete.","schema":{"type":"string","format":"uuid","examples":["64a2d310-e2a0-43c2-872f-969098141ebb"]},"descriptionNode":"$L3f9"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$1b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3fa","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$3fb","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$3fc","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$3fd","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$3fe","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$3ff","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$400","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$401","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$402","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$403","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounting-categories/{accounting_category_id}","parameters":["$315:props:children:0:props:children:1:props:parameters:0"]}],"$L404"],"$L405","$L406"]}]]}] 33b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-label-group","children":[["$L407","$undefined"],["$","$L3a",null,{"id":"delete-label-group"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-label-group.md"}]]}]}],"$undefined"]}] 40a:T8c5,
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
40b:Tdad,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
40d:T1551,
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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
40f:T8cd,
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
410:Tdb5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
412:T1559,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
413:T1479,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
33c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L408",["$","$Lac",null,{"parameters":[{"name":"group_id","description":"The ID of the label group to delete.","in":"path","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L409"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$20:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$40a","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$40b","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$40c","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$40d","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$40e","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$40f","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$410","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$411","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$412","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$413","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}","parameters":["$33c:props:children:0:props:children:1:props:parameters:0"]}],"$L414"],"$L415","$L416"]}]]}] 362:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-label","children":[["$L417","$undefined"],["$","$L3a",null,{"id":"delete-label"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-label.md"}]]}]}],"$undefined"]}] 41b:T8d9,
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
41c:Tdc1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
41e:T1565,
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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
420:T8e1,
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
421:Tdc9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
423:T156d,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
424:T148d,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
363:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L418",["$","$Lac",null,{"parameters":[{"name":"group_id","in":"path","description":"The ID of the label group to which the label belongs.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L419"},{"name":"label_id","in":"path","description":"The ID of the label to delete.","required":true,"schema":{"type":"string","format":"uuid","examples":["33279b4f-97ac-4a6f-8932-c6a3b0974060"]},"descriptionNode":"$L41a"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$24:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$41b","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$41c","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$41d","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$41e","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$41f","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$420","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$421","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$422","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$423","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$424","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}/labels/{label_id}","parameters":["$363:props:children:0:props:children:1:props:parameters:0","$363:props:children:0:props:children:1:props:parameters:1"]}],"$L425"],"$L426","$L427"]}]]}] 389:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"delete-tax-rate","children":[["$L428","$undefined"],["$","$L3a",null,{"id":"delete-tax-rate"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-tax-rate.md"}]]}]}],"$undefined"]}] 42b:T8c2,
fetch("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
42c:Tdaa,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
42e:T154e,
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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
430:T8ca,
fetch("https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
431:Tdb2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
433:T1556,
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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
434:T1476,
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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
38a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L429",["$","$Lac",null,{"parameters":[{"name":"tax_rate_id","description":"The ID of the tax rate to delete.","in":"path","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L42a"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$29:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$42b","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$42c","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$42d","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$42e","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$42f","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$430","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$431","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$432","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$433","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$434","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/tax-rates/{tax_rate_id}","parameters":["$38a:props:children:0:props:children:1:props:parameters:0"]}],"$L435"],"$L436","$L437"]}]]}] 438:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)3a8:["$","$L1f6",null,{"security":[{"AccessToken":["READ_SENSITIVE_CARD_DATA"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$438","descriptionNode":"$L439"}}}] 3a9:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 3aa:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4d:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L43a"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L43b"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4d:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L43c"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4d:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L43d"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L43e"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 3c1:["$","$Lb2",null,{"responses":"$53:props:children:0:props:children:props:responses","headingAs":"h3"}] 43f:T8d4,
fetch("https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
440:Tdbc,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
442:T1560,
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://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
444:T8dc,
fetch("https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
445:Tdc4,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
447:T1568,
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-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
448:T1488,
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-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3c2:["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$43f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$440","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$441","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"))\n .header(\"Authorization\", \"Bearer \")\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":"$442","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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://b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$443","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$444","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$445","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$446","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"))\n .header(\"Authorization\", \"Bearer \")\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":"$447","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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-b2b.revolut.com/api/1.0/card-invitations/{cardInvitationId}/cancel\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$448","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/card-invitations/{cardInvitationId}/cancel","parameters":["$53:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L449"],"$L44a","$L44b"]}] 44c:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)3da:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$44c","descriptionNode":"$L44d"}}}] 3db:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 3dc:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$58:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L44e"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L44f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] cf:"Simulate an account top-up (Sandbox only)" e5:"Retrieve a webhook" f8:"Delete a webhook" 10e:"Get exchange reasons" 121:"Update a webhook" 13d:"Terminate a card" 15a:"Freeze a card" 177:"Unfreeze a card" 194:"Lock a card" 1b1:"Unlock a card" 1c5:"Delete a counterparty" 1e5:"Retrieve a receipt related to an expense" 458:T8c7,
fetch("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
459:Tdaf,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
45b:T1553,
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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
45d:T8cf,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
45e:Tdb7,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
460: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://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
461:T147b,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
69:["$","$98","delete-payment-draft",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The payment draft was successfully deleted","descriptionNode":"$L450"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L451"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L452"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L453"}}}}},"descriptionNode":"$L454"}},"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-draft","children":[["$L455","$undefined"],["$","$L3a",null,{"id":"delete-payment-draft"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-payment-draft.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L456",["$","$Lac",null,{"parameters":[{"name":"payment_draft_id","in":"path","required":true,"description":"The ID of the payment draft to delete.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L457"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$69:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$458","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$459","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$45a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$45b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$45c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$45d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$45e","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$45f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$460","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$461","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts/{payment_draft_id}","parameters":["$69:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L462"],"$L463","$L464"]}]]}]]}]}],false]}] 476:T8dd,
fetch("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
477:Tdc5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
479: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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Delete,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
47b:T8e5,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
47c:Tdcd,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
  req, _ := http.NewRequest("DELETE", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.delete(url, headers=headers)
print(response.json())
47e: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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .DELETE(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
47f:T1491,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
6d:["$","$98","delete-payment-draft-payment",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The payment was successfully removed from the draft","descriptionNode":"$L465"},"404":{"description":"The specified payment draft or payment was not found.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L466"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L467"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L468"}}},"examples":{"not_found":{"summary":"Payment draft or payment not found","value":{"code":3006,"message":"The specified payment draft or payment was not found"}}}}},"descriptionNode":"$L469"},"422":{"description":"Unprocessable Entity\n\nReturned when the payment draft cannot be modified.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L46a"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L46b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L46c"}}},"examples":{"created_by_other_source":{"summary":"Draft created by other source cannot be modified","value":{"code":3100,"message":"Payment draft was created via Partner API and cannot be updated"}},"already_processed":{"summary":"Draft is already processed","value":{"code":3417,"message":"Payment draft is already processed"}}}}},"descriptionNode":"$L46d"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L46e"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L46f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L470"}}}}},"descriptionNode":"$L471"}},"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-draft-payment","children":[["$L472","$undefined"],["$","$L3a",null,{"id":"delete-payment-draft-payment"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/delete-payment-draft-payment.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L473",["$","$Lac",null,{"parameters":[{"name":"payment_draft_id","in":"path","required":true,"description":"The ID of the payment draft that contains the payment.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L474"},{"name":"payment_id","in":"path","required":true,"description":"The ID of the payment to delete.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L475"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$6d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$476","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$477","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$478","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$479","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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.Delete,\n RequestUri = new Uri(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$47a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X DELETE \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\", {\n method: \"DELETE\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$47b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"DELETE\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$47c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.delete(url, headers=headers)\nprint(response.json())","templateHtml":"$47d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$47e","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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.Delete,\n RequestUri = new Uri(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$47f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"delete","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts/{payment_draft_id}/payments/{payment_id}","parameters":["$6d:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$6d:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L480"],"$L481","$L482"]}]]}]]}]}],false]}] 48d:T8b9,
fetch("https://b2b.revolut.com/api/1.0/transfer-reasons", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
48e:Tda1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/transfer-reasons"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/transfer-reasons"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
490: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://b2b.revolut.com/api/1.0/transfer-reasons"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
491: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://b2b.revolut.com/api/1.0/transfer-reasons"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
492:T8c1,
fetch("https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
493:Tda9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
495:T154d,
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-b2b.revolut.com/api/1.0/transfer-reasons"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
496:T146d,
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-b2b.revolut.com/api/1.0/transfer-reasons"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
83:["$","$98","get-transfer-reasons",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of transfer reasons","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The counterparty's bank country, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L483"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L484"},"code":{"type":"string","description":"Category name of the transfer reason.","enum":["advertising","advisor_fees","business_insurance","construction","delivery","education","family","fund_investment","goods","homesend","hotel","exports","insurance_claims","insurance_premium","loan_repayment","medical","office","other_fees","personal_transfer","property_purchase","property_rental","royalties","services","share_investment","tax","transfer","transportation","travel","utilities"],"descriptionNode":"$L485"},"description":{"type":"string","description":"The description of the given transfer reason.","descriptionNode":"$L486"}},"required":["country","currency","code","description"]}},"examples":{"default":{"value":[{"country":"IN","currency":"INR","code":"advertising","description":"Advertising"},{"country":"IN","currency":"INR","code":"advisor_fees","description":"Advisor fees"},{"country":"IN","currency":"INR","code":"construction","description":"Construction"},{"country":"IN","currency":"INR","code":"delivery","description":"Delivery"}]}}}},"descriptionNode":"$L487"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L488"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L489"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L48a"}},"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":"get-transfer-reasons","children":[["$L48b","$undefined"],["$","$L3a",null,{"id":"get-transfer-reasons"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-transfer-reasons.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L48c",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$83:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/transfer-reasons\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/transfer-reasons\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/transfer-reasons\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$48d","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/transfer-reasons\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$48e","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/transfer-reasons\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$48f","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/transfer-reasons\"))\n .header(\"Authorization\", \"Bearer \")\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":"$490","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/transfer-reasons\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$491","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$492","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$493","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/transfer-reasons\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$494","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/transfer-reasons\"))\n .header(\"Authorization\", \"Bearer \")\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":"$495","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/transfer-reasons\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$496","tokens":[],"defaults":{}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/transfer-reasons","parameters":[]}],"$L497"],"$L498","$L499"]}]]}]]}]}],false]}] 4a4:T8b1,
fetch("https://b2b.revolut.com/api/1.0/webhooks", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
4a5:Td99,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhooks"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/webhooks"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
4a7: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://b2b.revolut.com/api/1.0/webhooks"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
4a8: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://b2b.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
4a9:T8b9,
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
4aa:Tda1,
package main

import (
  "fmt"
  "net/http"
)

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

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
4ac: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-b2b.revolut.com/api/1.0/webhooks"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
4ad: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-b2b.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8a:["$","$98","get-webhooks",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The list of all your existing webhooks","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L49a"},"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$L49b"},"events":{"type":"array","items":{"enum":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:events:items:enum","description":"The type of the webhook event to subscribe to.","descriptionNode":"$L49c"},"description":"The list of event types that you are subscribed to.","descriptionNode":"$L49d"}},"examples":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:examples"}},"examples":{"default":{"value":[{"id":"c6db947e-e9ce-41c2-b445-02e6eb741d21","url":"https://www.example.com","events":["TransactionCreated","PayoutLinkCreated"]},{"id":"9f9919a2-932d-498f-a088-3a01b9080c4a","url":"https://www.revolut.com","events":["TransactionCreated","TransactionStateChanged","PayoutLinkCreated","PayoutLinkStateChanged"]}]}}}},"descriptionNode":"$L49e"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L49f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L4a0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L4a1"}},"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":"get-webhooks","children":[["$L4a2","$undefined"],["$","$L3a",null,{"id":"get-webhooks"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-webhooks.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L4a3",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$8a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/webhooks\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/webhooks\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/webhooks\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$4a4","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/webhooks\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$4a5","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$4a6","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhooks\"))\n .header(\"Authorization\", \"Bearer \")\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":"$4a7","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$4a8","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhooks\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhooks\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$4a9","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/webhooks\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$4aa","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$4ab","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhooks\"))\n .header(\"Authorization\", \"Bearer \")\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":"$4ac","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$4ad","tokens":[],"defaults":{}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks","parameters":[]}],"$L4ae"],"$L4af","$L4b0"]}]]}]]}]}],false]}] 4b1:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)3f4:["$","$L1f6",null,{"security":[{"AccessToken":["READ","PAY"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4b1","descriptionNode":"$L4b2"}}}] 3f5:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$82:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L4b3"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 3f6:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$82:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L4b4"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L4b5"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4b6:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)404:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4b6","descriptionNode":"$L4b7"}}}] 405:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 406:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"bad_param_format","label":"Incorrect path parameter format","rawValue":"$1b:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L4b8"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L4b9"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L4ba"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L4bb"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L4bc"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_delete_externally_managed_resource","label":"Accounting categories managed by integration, cannot be deleted","rawValue":"$1b:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_delete_externally_managed_resource:value","block":"$L4bd"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L4be"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L4bf"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L4c0"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L4c1"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L4c2"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4c3:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)414:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4c3","descriptionNode":"$L4c4"}}}] 415:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 416:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"bad_param_format","label":"Incorrect path parameter format","rawValue":"$20:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L4c5"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L4c6"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L4c7"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L4c8"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$20:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L4c9"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_delete_externally_managed_resource","label":"Labels and label groups are managed by integration, cannot be deleted","rawValue":"$20:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_delete_externally_managed_resource:value","block":"$L4ca"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L4cb"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L4cc"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L4cd"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L4ce"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L4cf"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4d0:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)425:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4d0","descriptionNode":"$L4d1"}}}] 426:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 427:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"bad_param_format","label":"Incorrect path parameter format","rawValue":"$24:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L4d2"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L4d3"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L4d4"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L4d5"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$24:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L4d6"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_delete_externally_managed_resource","label":"Labels and label groups are managed by integration, cannot be deleted","rawValue":"$24:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_delete_externally_managed_resource:value","block":"$L4d7"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L4d8"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L4d9"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L4da"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L4db"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L4dc"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4dd:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)435:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4dd","descriptionNode":"$L4de"}}}] 436:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 437:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"bad_param_format","label":"Incorrect path parameter format","rawValue":"$29:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L4df"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L4e0"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L4e1"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L4e2"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$29:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L4e3"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_delete_externally_managed_resource","label":"Tax rate managed by integration, cannot be deleted","rawValue":"$29:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_delete_externally_managed_resource:value","block":"$L4e4"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L4e5"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L4e6"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L4e7"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L4e8"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L4e9"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4ea:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)449:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4ea","descriptionNode":"$L4eb"}}}] 44a:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 44b:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L4ec"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"unauthorized","label":"Unauthorized","rawValue":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value","block":"$L4ed"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$53:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L4ee"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"unsupported_card_invitation_state","label":"Card invitation is not in state 'created'","rawValue":"$53:props:children:0:props:children:props:responses:422:content:application/json:examples:unsupported_card_invitation_state:value","block":"$L4ef"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L4f0"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4f1:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)462:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4f1","descriptionNode":"$L4f2"}}}] 463:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 464:["$","$L1fa",null,{"exampleBlocks":{"204":{},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L4f3"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4f4:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)480:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4f4","descriptionNode":"$L4f5"}}}] 481:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 482:["$","$L1fa",null,{"exampleBlocks":{"204":{},"404":{"application/json":{"variants":[{"key":"not_found","label":"Payment draft or payment not found","rawValue":"$6d:props:children:0:props:children:props:responses:404:content:application/json:examples:not_found:value","block":"$L4f6"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"created_by_other_source","label":"Draft created by other source cannot be modified","rawValue":"$6d:props:children:0:props:children:props:responses:422:content:application/json:examples:created_by_other_source:value","block":"$L4f7"},{"key":"already_processed","label":"Draft is already processed","rawValue":"$6d:props:children:0:props:children:props:responses:422:content:application/json:examples:already_processed:value","block":"$L4f8"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L4f9"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4fa:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)497:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4fa","descriptionNode":"$L4fb"}}}] 498:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 499:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$83:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L4fc"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L4fd"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4fe:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)4ae:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$4fe","descriptionNode":"$L4ff"}}}] 4af:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 4b0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8a:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L500"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L501"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 24f:"Cancel a payout link" 26f:"Delete a team member" 286:"Delete a webhook" 1e:["$","$98","get-label-group",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Label group details","content":{"application/json":{"schema":{"type":"object","required":["id","name","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the label group.","readOnly":true,"descriptionNode":"$L502"},"name":{"type":"string","description":"The name of the label group.","minLength":1,"maxLength":100,"descriptionNode":"$L503"},"created_at":{"type":"string","format":"date-time","description":"The date and time the label group was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L504"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the label group was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L505"}}},"examples":{"default":{"value":{"id":"09ad1ad3-a1c0-4c09-b8f8-24b439e72690","name":"Department","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z"}}}}},"descriptionNode":"$L506"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L507"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L508"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L509"}}},"examples":{"bad_param_format":{"summary":"Incorrect path parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L50a"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L50b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L50c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L50d"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L50e"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L50f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L510"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L511"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L512"},"404":{"description":"Not found\n\nReturned when the label group that you're trying to retrieve cannot be found.\nThis can happen, for example, when the label group has been deleted, or the provided label group ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L513"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L514"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L515"}}},"examples":{"default":{"value":{"error_id":"cbb15721-5f51-4588-a959-7494bb7ba827","code":3006,"message":"Label group with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found"}}}}},"descriptionNode":"$L516"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L517"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L518"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L519"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L51a"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L51b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L51c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L51d"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L51e"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L51f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L520"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L521"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L522"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L523"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L524"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L525"}}}}},"descriptionNode":"$L526"}},"requestBody":"$undefined","variantLabels":[],"children":["$L527","$L528"]}]}],false]}] 9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the transaction."}]]}] 9b:["$","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."]}]]}] 9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The money to sell."}]]}] 9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The money to receive."}]]}] 9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The proposed exchange rate."}]]}] 9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fee amount."}]]}] a0:["$","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."]}]]}] a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expected fee for the transaction."}]]}] a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date of the proposed exchange rate in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The exchange rate information"}]]}] a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the exchange rate is unknown"}]]}] a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the sell exchange rate between two currencies."}],"\n",["$","p","p-1",{"children":["You can check the ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/receiving-payments/currency-exchanges/which-currencies-can-i-exchange-and-keep-in-my-account/","target":"_blank","rel":"noreferrer","children":"currencies supported in Production"}]," in the Revolut Help Centre.\nSome of these currencies might not be available in Sandbox."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/exchange-money","target":"_blank","rel":"noreferrer","children":"Exchange money"}],"."]}]]}] ad:["$","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."]}]]}] ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency that you exchange from in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," format."]}]]}] af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of the currency to exchange ",["$","strong","strong-0",{"children":"from"}],". The default value is ",["$","code","code-0",{"children":"1.00"}],"."]}]]}] b0:["$","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."]}]]}] b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency that you exchange to in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," format."]}]]}] 2c8:"Check counterparty field requirements" 527:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-label-group","children":[["$L529","$undefined"],["$","$L3a",null,{"id":"get-label-group"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-label-group.md"}]]}]}],"$undefined"]}] 52c:T8c2,
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
52d:Tdaa,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
52f:T154e,
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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
531:T8ca,
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
532:Tdb2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
534:T1556,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
535:T1476,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
528:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L52a",["$","$Lac",null,{"parameters":[{"name":"group_id","in":"path","description":"The ID of the label group to retrieve.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L52b"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$1e:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$52c","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$52d","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$52e","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$52f","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$530","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$531","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$532","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$533","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$534","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$535","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}","parameters":["$528:props:children:0:props:children:1:props:parameters:0"]}],"$L536"],"$L537","$L538"]}]]}] 39b:"Retrieve sensitive card details" 3be:"Cancel a card invitation" 3ce:"Check supported countries and currencies" c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account that was topped up."}]]}] c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state of the top-up transaction."}]]}] c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the top-up state"}]]}] c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account that you want to top up."}]]}] ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount with which you want to top up the account."}]]}] cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currency of the account that you want to top up."}]]}] cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A short description for your top up."}]]}] cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state to which you want to set the top-up transaction."}]]}] ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Top-up details"}]]}] d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Simulate a top-up of your account in the Sandbox environment."}],"\n",["$","p","p-1",{"children":"This is useful during testing, when you run out of money in your test account and need to add more."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/api-usage-and-testing/test-flows-with-simulations","target":"_blank","rel":"noreferrer","children":"Test your flows with simulations (Sandbox only)"}],"."]}]]}] e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The existing webhook"}]]}] e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get your webhook URL."}]]}] f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The webhook has been deleted"}]]}] f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a webhook so that events are not sent to the specified URL any more."}]]}] 107:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Category code of the reason for the exchange."}]]}] 108:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Category name of the reason for the exchange."}]]}] 109:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of available exchange reasons."}]]}] 10a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of exchange reasons"}]]}] 10b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 10c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 10d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 10f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Depending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason.\nWith this endpoint, you can retrieve all exchange reasons available to your business account."}],"\n",["$","p","p-1",{"children":["After you retrieve the results, use the appropriate reason code in the ",["$","code","code-0",{"children":"exchange_reason_code"}]," field when ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#exchange-money","target":"_blank","rel":"noreferrer","children":"exchanging money"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":"making a payment"}]," that involves foreign currency exchange."]}]]}] 112:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 113:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] 114:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] 115:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of event types that you are subscribed to."}]]}] 116:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The successfully updated webhook"}]]}] 117:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 118:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 119:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 11a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 11b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 11c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 11d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A valid webhook URL to which to send event notifications. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] 11e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] 11f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of event types to subscribe to."}]]}] 120:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new webhook URL for the given webhook"}]]}] 122:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update an existing webhook. Change the URL to which event notifications are sent or the list of event types to be notified about."}],"\n",["$","p","p-1",{"children":"You must specify at least one of these two. The fields that you don't specify are not updated."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#update-a-webhook","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] 123:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook to update."}]]}] 133:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card successfully terminated"}]]}] 134:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 135:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 136:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 137:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 138:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 139:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 13a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 13b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 13c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 13e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Terminate a specific card, based on its ID."}],"\n",["$","p","p-1",{"children":["Once the card is terminated, its state changes to ",["$","code","code-0",{"children":"terminated"}],".\nTerminated cards are not returned when listing cards, but you can still retrieve a terminated card by its ID using the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /cards/{card_id}"}]," endpoint"]}],"."]}],"\n",["$","p","p-2",{"children":"A successful response does not get any content in return."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 13f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 14d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card successfully frozen"}]]}] 14e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 14f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 150:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 151:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 152:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 153:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of the card doesn't allow to freeze it"}]]}] 154:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 155:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 156:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 157:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 158:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 159:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 15b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Freeze a card to make it temporarily unavailable for spending.\nYou can only freeze a card that is in the state ",["$","code","code-0",{"children":"active"}],"."]}],"\n",["$","p","p-1",{"children":["A successful freeze changes the card's state to ",["$","code","code-0",{"children":"frozen"}],", and no content is returned in the response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 15c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card to freeze."}]]}] 16a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card successfully unfrozen"}]]}] 16b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 16c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 16d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 16e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 16f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 170:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"State of the card doesn't allow to unfreeze it"}]]}] 171:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 172:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 173:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 174:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 175:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 176:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 178:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Unfreeze a card to re-enable spending for that card.\nYou can only unfreeze a card that is in the state ",["$","code","code-0",{"children":"frozen"}],"."]}],"\n",["$","p","p-1",{"children":["A successful unfreeze changes the card's state back to ",["$","code","code-0",{"children":"active"}],", and no content is returned in the response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 179:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card to unfreeze."}]]}] 187:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card successfully locked"}]]}] 188:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 189:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 18a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 18b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 18c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 18d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the request is valid, but the provided access token does not include the required scope for this action."}]]}] 18e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 18f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 190:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 191:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 192:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 193:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 195:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Apply an admin lock to a card to make it temporarily unavailable for spending."}],"\n",["$","p","p-1",{"children":["A successful lock changes the card's state to ",["$","code","code-0",{"children":"locked"}],", and no content is returned in the response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 196:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card to lock."}]]}] 1a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card successfully unlocked"}]]}] 1a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 1a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the request is valid, but the provided access token does not include the required scope for this action."}]]}] 1ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 1ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unlock a card locked with an admin lock or spending period settings to make it available for spending again."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If a card has a ",["$","code","code-0",{"children":"spending_period"}]," set and is locked due to being outside of that period, unlocking the card removes this spending period completely, including the end date."]}],["$","p","p-1",{"children":"If you want to unlock such a card but keep its spending period end date:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":[["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card","target":"_blank","rel":"noreferrer","children":"Fetch"}]," the card's details."]}],"\n",["$","li","li-1",{"children":["Save the ",["$","code","code-0",{"children":"spending_period.end_date"}]," and ",["$","code","code-1",{"children":"spending_period.end_date_action"}]," settings."]}],"\n",["$","li","li-2",{"children":[["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"Unlock"}]," the card."]}],"\n",["$","li","li-3",{"children":[["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card","target":"_blank","rel":"noreferrer","children":"Update"}]," the card's ",["$","code","code-0",{"children":"spending_period"}]," by re-adding the saved settings."]}],"\n"]}],["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If both start and end dates for the spending period are provided, and the card is locked due to those dates, to unlock such a card, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card","target":"_blank","rel":"noreferrer","children":"update"}]," its ",["$","code","code-0",{"children":"spending_period"}]," settings instead."]}]}]]}]]}]]}],"\n",["$","p","p-1",{"children":["A successful unlock changes the card's state to ",["$","code","code-0",{"children":"active"}],", and no content is returned in the response."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 1b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card to unlock."}]]}] 1c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The counterparty deleted"}]]}] 1c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a counterparty with the given ID. When a counterparty is deleted, you cannot make any payments to the counterparty."}]]}] 1c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty to delete."}]]}] 1d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Receipt content. The exact format depends on the receipt."}]]}] 1d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}]]}] 1d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the access token is missing the required ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#access-token","target":"_blank","rel":"noreferrer","children":"scope"}]," or if the Expenses API is disabled for the business."]}]]}] 1dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}]]}] 1df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable content"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the Expenses feature (not just the API) is disabled for the business."}]]}] 1e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the receipt related to an expense by providing the receipt's ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is not available in Sandbox."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","target":"_blank","rel":"noreferrer","children":"Retrieve expenses and receipts"}],"."]}]]}] 1e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-expense","target":"_blank","rel":"noreferrer","children":"expense"}]," to which the receipt is related."]}]]}] 1e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receipt to retrieve."}],"\n",["$","p","p-1",{"children":["To find the ID of a receipt related to a specific expense, refer to the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-expense#response","target":"_blank","rel":"noreferrer","children":"expense's details"}],".\nThe IDs of receipts related to that expense are returned under ",["$","code","code-0",{"children":"receipt_ids"}],"."]}]]}] 546:T8d8,
fetch("https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
547:Tdc0,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
549:T1564,
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://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
54b:T8e0,
fetch("https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
54c:Tdc8,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"
  req, _ := http.NewRequest("POST", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.post(url, headers=headers)
print(response.json())
54e:T156c,
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-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .POST(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
54f:T148c,
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-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
74:["$","$98","simulate-transfer-state-update",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the updated transfer state","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the transfer whose state was updated.","descriptionNode":"$L539"},"state":{"type":"string","enum":["completed","reverted","declined","failed"],"description":"Indicates the simulated transaction state. Possible values:\n- `completed` - Transaction was successfully processed.\n- `reverted` - Transaction was reverted by the system or company, but not the user. This can happen for a variety of reasons, for example, the receiver being inaccessible.\n- `declined` - Transaction was declined to the user for a good reason, such as insufficient account balance, wrong receiver information, etc.\n- `failed` - Transaction failed during initiation or completion. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.","descriptionNode":"$L53a"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transfer was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L53b"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transfer was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L53c"}},"required":["id","state","created_at"]},"examples":{"default":{"value":{"id":"a6ea39d7-62c9-481c-8ba6-8a887a44c486","state":"completed","created_at":"2023-01-23T08:39:35.811005Z","completed_at":"2023-01-23T08:39:35.811005Z"}}}}},"descriptionNode":"$L53d"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L53e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L53f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L540"}},"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":"simulate-transfer-state-update","children":[["$L541","$undefined"],["$","$L3a",null,{"id":"simulate-transfer-state-update"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/simulate-transfer-state-update.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L542",["$","$Lac",null,{"parameters":[{"name":"id","in":"path","schema":{"type":"string","format":"uuid"},"description":"The ID of the transfer whose state you want to update.","required":true,"descriptionNode":"$L543"},{"name":"action","in":"path","schema":{"type":"string","enum":["complete","revert","decline","fail"],"description":"Indicates the transaction state update. Possible values:\n- `complete` - Transaction is successfully processed.\n- `revert` - Transaction is reverted by the system or company, but not the user. This can happen for a variety of reasons, for example, the receiver being inaccessible.\n- `decline` - Transaction is declined to the user for a good reason, such as insufficient account balance, wrong receiver information, etc.\n- `fail` - Transaction fails during initiation or completion. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.","descriptionNode":"$L544"},"required":true,"descriptionNode":"$L545"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$74:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$546","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$547","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$548","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"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://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$549","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"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://b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$54a","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$54b","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"\n req, _ := http.NewRequest(\"POST\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$54c","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.post(url, headers=headers)\nprint(response.json())","templateHtml":"$54d","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"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-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$54e","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}},{"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-b2b.revolut.com/api/1.0/sandbox/transactions/__RP_TOK_0__/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$54f","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"action","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:id":"123e4567-e89b-12d3-a456-426614174000","path:action":"fail"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/sandbox/transactions/{id}/{action}","parameters":["$74:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$74:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L550"],"$L551","$L552"]}]]}]]}]}],false]}] 55b:T55b,
curl -X POST "https://b2b.revolut.com/api/1.0/webhook" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.revolut.com"
}'
55c:Td6c,
const payload = {
  "url": "https://www.revolut.com"
};
fetch("https://b2b.revolut.com/api/1.0/webhook", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
55d:T1453,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhook"
  jsonData := []byte(`
{
  "url": "https://www.revolut.com"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/webhook"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "url": "https://www.revolut.com"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
55f:T19ba,
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://www.revolut.com"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/webhook"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/webhook"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://www.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);
}
561:T563,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/webhook" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.revolut.com"
}'
562:Td74,
const payload = {
  "url": "https://www.revolut.com"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhook", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
563:T145b,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/webhook"
  jsonData := []byte(`
{
  "url": "https://www.revolut.com"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhook"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "url": "https://www.revolut.com"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
565:T19c2,
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://www.revolut.com"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/webhook"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
566:T1c20,
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-b2b.revolut.com/api/1.0/webhook"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://www.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);
}
86:["$","$98","set-up-webhook",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The webhook has been set up","descriptionNode":"$L553"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L554"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L555"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L556"}},"requestBody":{"description":"URL to set up as a webhook","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$L557"}},"required":"$85:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"default":{"value":{"url":"https://www.revolut.com"}}}}},"descriptionNode":"$L558"},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"set-up-webhook","children":[["$L559",["$","span",null,{"className":"y9a0do2","children":"deprecated"}]],["$","$L3a",null,{"id":"set-up-webhook"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/set-up-webhook.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L55a",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$86:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$86:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/webhook\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://www.revolut.com\"\n}'","templateHtml":"$55b","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://www.revolut.com\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/webhook\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$55c","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhook\"\n jsonData := []byte(`\n{\n \"url\": \"https://www.revolut.com\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$55d","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhook\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"url\": \"https://www.revolut.com\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$55e","tokens":[],"defaults":{}},{"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://www.revolut.com\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/webhook\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhook\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://www.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":"$560","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/webhook\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://www.revolut.com\"\n}'","templateHtml":"$561","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://www.revolut.com\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhook\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$562","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhook\"\n jsonData := []byte(`\n{\n \"url\": \"https://www.revolut.com\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$563","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhook\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"url\": \"https://www.revolut.com\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$564","tokens":[],"defaults":{}},{"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://www.revolut.com\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/webhook\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$565","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhook\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://www.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":"$566","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhook","parameters":[]}],"$L567"],"$L568","$L569"]}]]}]]}]}],false]}] 57c:T7f6,
curl -X PATCH "https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}'
57d:T12df,
const payload = {
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
};
fetch("https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
57e:T16ee,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  jsonData := []byte(`
{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
580:T1c55,
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 = """
{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}
    """;

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

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""address"": {
    ""country"": ""GB"",
    ""street_line1"": ""7 Revolut Street"",
    ""street_line2"": ""Floor 3"",
    ""city"": ""London"",
    ""postcode"": ""EC2V 8PH""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
582:T7fe,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}'
583:T12e7,
const payload = {
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
584:T16f6,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
  jsonData := []byte(`
{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
586:T1c5d,
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 = """
{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}
    """;

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

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
587:T2595,
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-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""address"": {
    ""country"": ""GB"",
    ""street_line1"": ""7 Revolut Street"",
    ""street_line2"": ""Floor 3"",
    ""city"": ""London"",
    ""postcode"": ""EC2V 8PH""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5c:["$","$98","update-counterparty-payment-method",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The address was updated","descriptionNode":"$L56a"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L56b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L56c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L56d"}}}}},"descriptionNode":"$L56e"}},"requestBody":{"description":"The updated address details.","required":true,"content":{"application/json":{"schema":{"type":"object","description":"The request body for updating a counterparty's payment method address.","required":["address"],"properties":{"address":{"type":"object","description":"The updated address for the counterparty's payment method. All required fields must be provided.","properties":{"street_line1":{"type":"string","maxLength":100,"description":"Street line 1 information.","examples":["7 Revolut Street"],"descriptionNode":"$L56f"},"street_line2":{"type":"string","maxLength":100,"description":"Street line 2 information.","examples":["Floor 3"],"descriptionNode":"$L570"},"region":{"type":"string","maxLength":50,"description":"The name of the region (state or province), for example, Ontario for Canada.","examples":["Greater London"],"descriptionNode":"$L571"},"city":{"type":"string","maxLength":50,"description":"The name of the city.","examples":["London"],"descriptionNode":"$L572"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the counterparty, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":["GB"],"descriptionNode":"$L573"},"postcode":{"type":"string","maxLength":15,"description":"The postcode of the counterparty address.","examples":["EC2V 8PH"],"descriptionNode":"$L574"}},"required":["country","street_line1","city","postcode"],"descriptionNode":"$L575"}},"descriptionNode":"$L576"},"examples":{"update_address":{"summary":"Update a counterparty's address","value":{"address":{"country":"GB","street_line1":"7 Revolut Street","street_line2":"Floor 3","city":"London","postcode":"EC2V 8PH"}}}}}},"descriptionNode":"$L577"},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-counterparty-payment-method","children":[["$L578","$undefined"],["$","$L3a",null,{"id":"update-counterparty-payment-method"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-counterparty-payment-method.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L579",["$","$Lac",null,{"parameters":[{"name":"counterparty_id","in":"path","required":true,"description":"The ID of the counterparty.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L57a"},{"name":"payment_method_id","in":"path","required":true,"description":"The ID of the payment method to update. To get the `payment_method_id` for the bank account, [retrieve the counterparty](https://developer.revolut.com/docs/api/business#get-counterparty) and use the `id` from the `accounts` array in the response.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L57b"}],"requestBody":"$5c:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$5c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}'","templateHtml":"$57c","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n};\nfetch(\"https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$57d","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$57e","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$57f","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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 \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$580","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"address\"\": {\n \"\"country\"\": \"\"GB\"\",\n \"\"street_line1\"\": \"\"7 Revolut Street\"\",\n \"\"street_line2\"\": \"\"Floor 3\"\",\n \"\"city\"\": \"\"London\"\",\n \"\"postcode\"\": \"\"EC2V 8PH\"\"\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":"$581","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}'","templateHtml":"$582","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$583","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$584","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$585","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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 \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$586","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparties/__RP_TOK_0__/payment-methods/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"address\"\": {\n \"\"country\"\": \"\"GB\"\",\n \"\"street_line1\"\": \"\"7 Revolut Street\"\",\n \"\"street_line2\"\": \"\"Floor 3\"\",\n \"\"city\"\": \"\"London\"\",\n \"\"postcode\"\": \"\"EC2V 8PH\"\"\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":"$587","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_method_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_method_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparties/{counterparty_id}/payment-methods/{payment_method_id}","parameters":["$5c:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$5c:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L588"],"$L589","$L58a"]}]]}]]}]}],false]}] 1f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L58b","\n","$L58c","\n"]}]]}] 1ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L58d","\n","$L58e","\n"]}]]}] 204:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L58f","\n","$L590","\n"]}]]}] 208:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L591","\n","$L592","\n"]}]]}] 3e6:"Move money between your accounts" 593:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)536:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$593","descriptionNode":"$L594"}}}] 537:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 538:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1e:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L595"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_param_format","label":"Incorrect path parameter format","rawValue":"$1e:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L596"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L597"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L598"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L599"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1e:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L59a"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L59b"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L59c"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L59d"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L59e"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L59f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 5a0:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)550:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$5a0","descriptionNode":"$L5a1"}}}] 551:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 552:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$74:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L5a2"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L5a3"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 5a4:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)567:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$5a4","descriptionNode":"$L5a5"}}}] 568:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$86:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L5a6"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 569:["$","$L1fa",null,{"exampleBlocks":{"204":{},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L5a7"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 5a8:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)588:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$5a8","descriptionNode":"$L5a9"}}}] 589:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"update_address","label":"Update a counterparty's address","rawValue":"$5c:props:children:0:props:children:props:requestBody:content:application/json:examples:update_address:value","block":"$L5aa"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 58a:["$","$L1fa",null,{"exampleBlocks":{"204":{},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L5ab"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 58b:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 58c:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 58d:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 58e:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 58f:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 590:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 591:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 592:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 3f7:"Delete an accounting category" 407:"Delete a label group" 417:"Delete a label" 428:"Delete a tax rate" 455:"Delete a payment draft" 472:"Delete a payment from a payment draft" 48b:"Get transfer reasons" 4a2:"Retrieve a list of webhooks" 218:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5ac","\n","$L5ad","\n"]}]]}] 220:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5ae","\n","$L5af","\n"]}]]}] 225:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5b0","\n","$L5b1","\n"]}]]}] 22b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5b2","\n","$L5b3","\n"]}]]}] 231:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5b4","\n","$L5b5","\n"]}]]}] 237:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5b6","\n","$L5b7","\n"]}]]}] 23d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5b8","\n","$L5b9","\n"]}]]}] 240:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5ba","\n","$L5bb","\n"]}]]}] 248:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payout link has been cancelled"}]]}] 249:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 24a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 24b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}]]}] 24c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 24d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 24e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 250:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cancel a payout link. You can only cancel a link that hasn't been claimed yet.\nA successful request does not get any content in response."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is available in the UK, the EEA, AU, and SG."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links","target":"_blank","rel":"noreferrer","children":"Send money via payout link"}],"."]}]]}] 251:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the link to cancel."}]]}] 25f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Team member was deleted"}]]}] 260:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 261:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 262:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided"}]]}] 263:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 264:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 265:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to delete team members"}]]}] 266:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 267:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 268:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the team member that you're trying to delete doesn't exist.\nThis can happen when, for example, the team member has already been deleted, or the provided team member ID is incorrect."}]]}] 269:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 26a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 26b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cannot modify owner"}]]}] 26c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 26d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 26e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 270:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific member of your team."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This action does not delete the person’s Revolut Business user account – it only removes them from your team.\nThey will lose access to your Revolut Business account and team but can still log in to Revolut Business.\nTheir user account will remain linked to any other teams and accounts it’s associated with."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members","target":"_blank","rel":"noreferrer","children":"Manage team members"}],"."]}]]}] 271:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member to delete."}]]}] 27f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The webhook has been deleted"}]]}] 280:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 281:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 282:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 283:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 284:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 285:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 287:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific webhook."}],"\n",["$","p","p-1",{"children":"A successful response does not get any content in return."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#delete-a-webhook","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] 288:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook to delete."}]]}] 296:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the field to be provided in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#add-counterparty","target":"_blank","rel":"noreferrer","children":"Create a counterparty endpoint"}]," request body.\nMatches the field names in the Create a counterparty endpoint exactly (e.g. ",["$","code","code-0",{"children":"first_name"}],", ",["$","code","code-1",{"children":"last_name"}],", ",["$","code","code-2",{"children":"tax_id"}],", ",["$","code","code-3",{"children":"route"}],", ",["$","code","code-4",{"children":"account_type"}],")."]}]]}] 297:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether this field must be provided when creating the counterparty."}]]}] 298:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The regex pattern the field value must match."}]]}] 299:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A human-readable description of the regex constraint."}]]}] 29a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Regular expression validation rules."}]]}] 29b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The accepted value to be passed to the API."}]]}] 29c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the default option for the field if there is one."}]]}] 29d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An allowed value option for the field."}]]}] 29e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of allowed values for the field (enum).\nIf provided, the field value must be one of these options."}]]}] 29f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a contextual field and its rules."}]]}] 2a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of applicable and conditionally required fields for the specific counterparty context."}]]}] 2a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The response containing applicable counterparty fields and their validation rules."}]]}] 2a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The applicable and conditionally required fields for creating the counterparty"}]]}] 2a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 27:["$","$98","get-tax-rate",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Tax rate details","content":{"application/json":{"schema":{"type":"object","required":["id","name","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the tax rate.","readOnly":true,"descriptionNode":"$L5bc"},"name":{"type":"string","description":"The name of the tax.","minLength":1,"maxLength":20,"descriptionNode":"$L5bd"},"created_at":{"type":"string","format":"date-time","description":"The date and time the tax rate was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L5be"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the tax rate was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L5bf"},"percentage":{"type":"number","format":"double","description":"The tax rate percentage applied to the taxable amount. For example, `23` for 23%.\n\n:::note\nYou cannot create negative tax rates manually. \nHowever, negative tax rates might be synced from your accounting software, if integrated. \n:::","minimum":-100,"maximum":100,"descriptionNode":"$L5c0"}}},"examples":{"default":{"value":{"id":"09ad1ad3-a1c0-4c09-b8f8-24b439e72690","name":"20% (VAT on Expenses)","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z","percentage":20}}}}},"descriptionNode":"$L5c1"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5c2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5c3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5c4"}}},"examples":{"bad_param_format":{"summary":"Incorrect path parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L5c5"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5c6"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5c7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5c8"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L5c9"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5ca"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5cb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5cc"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L5cd"},"404":{"description":"Not found\n\nReturned when the tax rate that you're trying to retrieve cannot be found.\nThis can happen, for example, when the tax rate has been deleted, or the provided tax rate ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5ce"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5cf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5d0"}}},"examples":{"default":{"value":{"error_id":"cbb15721-5f51-4588-a959-7494bb7ba827","code":3006,"message":"Tax rate with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found"}}}}},"descriptionNode":"$L5d1"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5d2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5d3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5d4"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L5d5"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5d6"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5d7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5d8"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L5d9"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5da"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5db"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5dc"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L5dd"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L5de"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L5df"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L5e0"}}}}},"descriptionNode":"$L5e1"}},"requestBody":"$undefined","variantLabels":[],"children":["$L5e2","$L5e3"]}]}],false]}] 2b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5e4","\n","$L5e5","\n"]}]]}] 2ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5e6","\n","$L5e7","\n"]}]]}] 2be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5e8","\n","$L5e9","\n"]}]]}] 2c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L5ea","\n","$L5eb","\n"]}]]}] 2a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"For example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"missing or invalid query parameters"}],"\n",["$","li","li-1",{"children":"unsupported recipient type for country/currency combination"}],"\n"]}]]}] 2a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}]]}] 2ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":"For example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"currency not supported for the given country"}],"\n"]}]]}] 2af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 2c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the list of conditionally required or applicable fields for creating a counterparty together with their constraints."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Note"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is not available in Sandbox."}]}]]}],"\n",["$","p","p-1",{"children":["When creating a counterparty via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#add-counterparty","target":"_blank","rel":"noreferrer","children":"Create a counterparty endpoint"}],", certain fields (such as ",["$","code","code-0",{"children":"first_name"}],", ",["$","code","code-1",{"children":"last_name"}],", ",["$","code","code-2",{"children":"company_name"}],", ",["$","code","code-3",{"children":"tax_id"}],", ",["$","code","code-4",{"children":"route"}],", or ",["$","code","code-5",{"children":"account_type"}],") become required depending on the counterparty's bank country, currency, and profile type.\nThis read-only endpoint allows you to discover these contextual fields dynamically, along with their validation rules and available options."]}],"\n",["$","p","p-2",{"children":["Only the fields relevant to the specific context are returned.\nThe input parameters (",["$","code","code-0",{"children":"country"}],", ",["$","code","code-1",{"children":"currency"}],", and ",["$","code","code-2",{"children":"recipient_type"}],") are intentionally excluded from the response."]}],"\n",["$","p","p-3",{"children":["For more details, see the guide: ",["$","strong","strong-0",{"children":"Check counterparty field requirements"}]," section in ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/create-a-counterparty#check-counterparty-field-requirements","target":"_blank","rel":"noreferrer","children":"Create a counterparty"}],"."]}]]}] 2ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 2cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The country where the counterparty's bank account is located."}]]}] 2cc:["$","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."]}]]}] 2cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currency of the counterparty's bank account."}]]}] 2ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the counterparty profile.\nIndicates whether the counterparty is a personal or business account."}]]}] 2cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The routing method for the corridor.\nWhen omitted, the response includes fields for the default route.\nFor example, for USD to US, the default is ",["$","code","code-0",{"children":"ach"}],"."]}]]}] 5ac:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5ad:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5ae:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5af:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5b0:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5b1:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5b2:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5b3:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5b4:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5b5:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5b6:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5b7:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5b8:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5b9:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5ba:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5bb:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5e2:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-tax-rate","children":[["$L5ec","$undefined"],["$","$L3a",null,{"id":"get-tax-rate"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-tax-rate.md"}]]}]}],"$undefined"]}] 5ef:T8bf,
fetch("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
5f0:Tda7,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
5f2:T154b,
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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5f4:T8c7,
fetch("https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
5f5:Tdaf,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
5f7:T1553,
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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
5f8:T1473,
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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
5e3:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L5ed",["$","$Lac",null,{"parameters":[{"name":"tax_rate_id","in":"path","description":"The ID of the tax rate to retrieve.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L5ee"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$27:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$5ef","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$5f0","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$5f1","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$5f2","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$5f3","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$5f4","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$5f5","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$5f6","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$5f7","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$5f8","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/tax-rates/{tax_rate_id}","parameters":["$5e3:props:children:0:props:children:1:props:parameters:0"]}],"$L5f9"],"$L5fa","$L5fb"]}]]}] 5e4:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5e5:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5e6:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5e7:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5e8:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5e9:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 5ea:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 5eb:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 2dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the transaction created."}]]}] 2de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The transaction has been created and is either processed asynchronously or scheduled for a later time."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"pending"}],": The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"completed"}],": The transaction was successful."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"declined"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"failed"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"reverted"}],": The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n"]}]]}] 2df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 2e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 2e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about the transfer created"}]]}] 2e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 2e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the request, provided by you.\nIt helps you identify the transaction in your system."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To ensure that a transfer is not processed multiple times if there are network or system errors,\nthe same ",["$","code","code-0",{"children":"request_id"}]," should be used for requests related to the same transfer."]}]}]]}]]}] 2e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the source account that you transfer the funds from."}]]}] 2e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the target account that you transfer the funds to."}]]}] 2e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the funds to be transferred."}]]}] 2e9:["$","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."]}]]}] 2ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the funds transfer."}]]}] 2eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Transfer the funds between accounts of the business in the same currency."}]]}] 2ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Accounting category deleted"}]]}] 2f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 2f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 2f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 2fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 2fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 2fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 2ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the accounting category that you're trying to delete doesn't exist.\nThis can happen when, for example, the accounting category has already been deleted, or the provided category ID is incorrect."}]]}] 316:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Label group deleted"}]]}] 317:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 318:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 319:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 31a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 31b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 31c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 31d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 31e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 31f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 320:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 321:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 322:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 323:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 324:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 325:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 326:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the label group that you're trying to delete cannot be found.\nThis can happen, for example, when the label group doesn't exist, or the provided label group ID is incorrect."}]]}] 327:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 328:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 329:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 33d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Label deleted"}]]}] 33e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 33f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 340:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 341:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 342:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 343:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 344:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 345:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 346:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 347:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 348:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 349:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 34a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 34b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 34c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 34d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the label that you're trying to delete cannot be found.\nThis can happen, for example, when the label doesn't exist, or the provided label ID is incorrect."}]]}] 34e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 34f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 350:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 364:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tax rate deleted"}]]}] 365:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 366:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 367:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 368:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 369:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 36a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 36b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 36c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 36d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 36e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 36f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 370:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 371:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 372:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 373:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 374:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the tax rate that you're trying to delete cannot be found.\nThis can happen, for example, when the tax rate doesn't exist, or the provided tax rate ID is incorrect."}]]}] 375:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 376:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 377:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 38b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The PAN (Primary Account Number) of the card."}]]}] 38c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The CVV (Card Verification Value) of the card."}]]}] 38d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card expiration date."}]]}] 38e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Sensitive details of the card"}]]}] 38f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 390:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 391:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 392:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 393:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 394:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}]]}] 395:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 396:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 397:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 398:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 399:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 39a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 39c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get sensitive details of a specific card, based on its ID."}],"\n",["$","p","p-1",{"children":["Requires the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," token scope. For more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 39d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card for which to retrieve the sensitive details."}]]}] 3ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card invitation successfully cancelled"}]]}] 3ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 3ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 3ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the format of the invitation ID you provided is invalid."}]]}] 3af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 3b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 3b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Error returning a status instead of code."}]]}] 3b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 3b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 3b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 3b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 3b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card invitation doesn't exist"}],"\n",["$","p","p-1",{"children":"The card invitation you wish to cancel does not exist."}]]}] 3b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 3b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 3b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to modify a resource which is not a in state that would allow for modifications, e.g. a card invitation in state ",["$","code","code-0",{"children":"failed"}],"."]}]]}] 3ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to cancel a card invitation that's not in state ",["$","code","code-0",{"children":"created"}],".\nSuch an invitation is no longer active and therefore cannot be cancelled."]}]]}] 3bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 3bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 3bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 3bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cancel a specific card invitation, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["You can cancel successfully created invitations that have not been claimed yet (",["$","code","code-0",{"children":"state=created"}],")."]}],"\n",["$","p","p-2",{"children":"Once the card invitation is cancelled, it cannot be claimed or reactivated."}],"\n",["$","p","p-3",{"children":"A successful response does not get any content in return."}],"\n",["$","p","p-4",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations","target":"_blank","rel":"noreferrer","children":"Manage card invitations"}],"."]}]]}] 3c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 3c4:["$","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."]}]]}] 3c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The currencies available for counterparty creation in this country."}]]}] 3c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A supported bank country with its available currencies."}]]}] 3c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of supported bank countries."}]]}] 3c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The response containing supported bank countries and their available currencies."}]]}] 3c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of supported bank countries and their available currencies"}]]}] 3ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 3cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 3cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 3cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 3cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve all supported bank countries and their available currencies for counterparty creation."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Note"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is not available in Sandbox."}]}]]}],"\n",["$","p","p-1",{"children":["Use this endpoint to discover which country and currency combinations are supported before checking field requirements with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty-requirements","target":"_blank","rel":"noreferrer","children":"Check counterparty field requirements endpoint"}],"."]}],"\n",["$","p","p-2",{"children":["For more details, see the guide: ",["$","strong","strong-0",{"children":"Check supported counterparty countries and currencies"}]," section in ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/create-a-counterparty#check-supported-counterparty-countries-and-currencies","target":"_blank","rel":"noreferrer","children":"Create a counterparty"}],"."]}]]}] 7a:["$","$98","get-roles",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about roles of the business","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the role. This can be a UUID or other default role such as `OWNER`.","descriptionNode":"$L5fc"},"name":{"type":"string","description":"The name of the role.","descriptionNode":"$L5fd"},"created_at":{"type":"string","description":"The date and time the role was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L5fe"},"updated_at":{"type":"string","description":"The date and time the role was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L5ff"}},"required":["id","name","created_at","updated_at"]}},"examples":{"default":{"value":[{"id":"owner","name":"Owner","created_at":"2023-09-07T09:21:12.962303Z","updated_at":"2023-09-07T09:21:12.962303Z"},{"id":"member","name":"Member","created_at":"2023-09-07T09:21:12.962303Z","updated_at":"2023-09-07T09:21:12.962303Z"},{"id":"viewer","name":"Viewer","created_at":"2023-09-07T09:21:12.962303Z","updated_at":"2023-09-07T09:21:12.962303Z"},{"id":"a40b6121-350b-4d2e-9ba1-9dab61a18d46","name":"Example custom role","created_at":"2023-09-07T09:21:12.963143Z","updated_at":"2023-09-07T09:21:12.963143Z"}]}}}},"descriptionNode":"$L600"},"400":{"description":"Bad pagination parameters","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L601"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L602"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":"2101","message":"Parameter limit must be a valid integer in range: [1, 1000]."}}}}},"descriptionNode":"$L603"},"401":{"description":"Unauthorized\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L604"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L605"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":401,"message":"The request should be authorized."}}}}},"descriptionNode":"$L606"},"403":{"description":"Action forbidden\n\nReturned, for example, when you don't have permissions necessary to retrieve roles","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L607"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L608"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$L609"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L60a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L60b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L60c"}},"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":"get-roles","children":[["$L60d","$undefined"],["$","$L3a",null,{"id":"get-roles"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-roles.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L60e",["$","$Lac",null,{"parameters":[{"in":"query","name":"created_before","schema":{"type":"string","format":"date-time","default":"the date-time at which the request is made"},"description":"Retrieves roles with `created_at` < `created_before`.\nThe default value is the current date and time at which you are calling the endpoint.\n\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L60f"},{"name":"limit","in":"query","required":false,"description":"The maximum number of roles returned per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last role returned in the previous response as the value for `created_before`.","schema":{"type":"number","format":"integer","default":100,"maximum":1000,"minimum":1},"descriptionNode":"$L610"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],"$L611"]}],"$L612"]}]]}]}],false]}] 625:T8be,
fetch("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
626:Tda6,
package main

import (
  "fmt"
  "net/http"
)

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

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

url = "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
628:T154a,
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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

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

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
62a:T8c6,
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
62b:Tdae,
package main

import (
  "fmt"
  "net/http"
)

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

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
62d:T1552,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
62e:T1472,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8b:["$","$98","get-webhook",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about the webhook","content":{"application/json":{"schema":{"type":"object","required":["id","url","events","signing_secret"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$L613"},"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$L614"},"events":{"type":"array","items":{"enum":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:events:items:enum","description":"The type of the webhook event to subscribe to.","descriptionNode":"$L615"},"description":"The list of event types that you are subscribed to.","descriptionNode":"$L616"},"signing_secret":{"type":"string","description":"The signing secret for the webhook.","descriptionNode":"$L617"}},"examples":[{"id":"6fc346be-5cb5-4c14-aadc-e8aba6a655d7","url":"https://www.example.com/","events":["TransactionCreated"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"}]},"examples":{"default":{"value":{"id":"c6db947e-e9ce-41c2-b445-02e6eb741d21","url":"https://www.example.com","events":["TransactionCreated","PayoutLinkCreated"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"}}}}},"descriptionNode":"$L618"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L619"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L61a"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Something went wrong","code":2101}}}}},"descriptionNode":"$L61b"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L61c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L61d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Webhook not found","code":3040}}}}},"descriptionNode":"$L61e"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L61f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L620"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L621"}},"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":"get-webhook","children":[["$L622","$undefined"],["$","$L3a",null,{"id":"get-webhook"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-webhook.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L623",["$","$Lac",null,{"parameters":[{"name":"webhook_id","in":"path","required":true,"description":"The ID of the webhook to retrieve.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L624"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$8b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$625","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$626","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$627","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$628","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$629","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$62a","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$62b","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$62c","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$62d","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$62e","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks/{webhook_id}","parameters":["$8b:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L62f"],"$L630","$L631"]}]]}]]}]}],false]}] 3de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L632","\n","$L633","\n"]}]]}] 2ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Create a transfer"}]]}] 3e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Move money between the Revolut accounts of the business in the same currency."}],"\n",["$","p","p-1",{"children":["The resulting transaction has the type ",["$","code","code-0",{"children":"transfer"}],"."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/send-money","target":"_blank","rel":"noreferrer","children":"Send money"}],"."]}]]}] 529:"Retrieve label group details" 634:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)5f9:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$634","descriptionNode":"$L635"}}}] 5fa:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 5fb:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$27:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L636"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_param_format","label":"Incorrect path parameter format","rawValue":"$27:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L637"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L638"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L639"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L63a"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$27:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L63b"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L63c"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L63d"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L63e"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L63f"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L640"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 611:["$","$Lb2",null,{"responses":"$7a:props:children:0:props:children:props:responses","headingAs":"h3"}] 641:T8e2,
fetch("https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
642:Tdca,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
644:T156e,
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://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
646:T8ea,
fetch("https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
647:Tdd2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
649:T1576,
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-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
64a:T1496,
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-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
612:["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$641","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$642","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$643","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$644","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$645","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$646","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$647","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$648","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$649","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/roles?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$64a","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/roles","parameters":["$7a:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0","$7a:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:1"]}],"$L64b"],"$L64c","$L64d"]}] 64e:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)62f:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$64e","descriptionNode":"$L64f"}}}] 630:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 631:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8b:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L650"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8b:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L651"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8b:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L652"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L653"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 632:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 633:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 541:"Simulate a transfer state update (Sandbox only)" 559:"Set a webhook" 578:"Update a counterparty's payment method" 300:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 301:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 302:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 303:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - accounting category cannot be deleted due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and accounting category are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 304:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 305:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 306:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 307:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 308:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 309:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 30a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 30b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 30c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 30d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 30e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 30f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 310:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 311:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 312:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 313:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 3f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific accounting category, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed accounting categories"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":"Once the accounting category is deleted, it will not be returned by the API or in the Revolut Business app, and:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"You will not be able to assign it to new financial records (e.g. expenses)."}],"\n",["$","li","li-1",{"children":"Existing records assigned to this category that have not been completed will be marked as invalid, and you'll need to reassign them to another category."}],"\n",["$","li","li-2",{"children":"Completed records will not be affected by the change."}],"\n"]}],"\n",["$","p","p-2",{"children":"A successful response does not get any content in return."}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories","target":"_blank","rel":"noreferrer","children":"Manage accounting categories"}],"."]}]]}] 3f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the accounting category to delete."}]]}] 32a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - label group cannot be deleted due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and label groups are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 32b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 32c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 32d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 32e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 32f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 330:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 331:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 332:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 333:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 334:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 335:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 336:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 337:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 338:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 339:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 33a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 408:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific label group, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed label groups"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":"Once the label group is deleted, it will not be returned by the API or in the Revolut Business app, and:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"You will not be able to apply labels from the group to new financial records (e.g. expenses)."}],"\n",["$","li","li-1",{"children":"Existing records that have not been completed and that contain labels from this group will be marked as invalid, and you'll need to update them to use different labels."}],"\n",["$","li","li-2",{"children":"Completed records will not be affected by the change."}],"\n"]}],"\n",["$","p","p-2",{"children":"A successful response does not get any content in return."}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 409:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group to delete."}]]}] 351:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - label cannot be deleted due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 352:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 353:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 354:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 355:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 356:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 357:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 358:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 359:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 35a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 35b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 35c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 35d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 35e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 35f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 360:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 361:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 418:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific label, based on the IDs of the label and its label group."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed labels"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":"Once the label is deleted, it will not be returned by the API or in the Revolut Business app, and:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"You will not be able to apply it to new financial records (e.g. expenses)."}],"\n",["$","li","li-1",{"children":"Existing records with this label that have not been completed will be marked as invalid, and you'll need to update them to use a different label."}],"\n",["$","li","li-2",{"children":"Completed records will not be affected by the change."}],"\n"]}],"\n",["$","p","p-2",{"children":"A successful response does not get any content in return."}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 419:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group to which the label belongs."}]]}] 41a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label to delete."}]]}] 378:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - tax rate cannot be deleted due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and tax rates are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 379:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 37a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 37b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 37c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 37d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 37e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 37f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 380:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 381:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 382:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 383:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 384:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 385:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 386:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 387:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 388:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 429:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a specific tax rate, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed tax rates"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":"Once the tax rate is deleted, it will not be returned by the API or in the Revolut Business app, and:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"You will not be able to apply it to new financial records (e.g. expenses)."}],"\n",["$","li","li-1",{"children":"Existing records with this tax rate that have not been completed will be marked as invalid, and you'll need to update them to use a different tax rate."}],"\n",["$","li","li-2",{"children":"Completed records will not be affected by the change."}],"\n"]}],"\n",["$","p","p-2",{"children":"A successful response does not get any content in return."}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates","target":"_blank","rel":"noreferrer","children":"Manage tax rates"}],"."]}]]}] 42a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the tax rate to delete."}]]}] 439:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L654","\n","$L655","\n"]}]]}] 3c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation to cancel."}]]}] 44d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L656","\n","$L657","\n"]}]]}] 450:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment draft was successfully deleted"}]]}] 451:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 452:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 453:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 454:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 456:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a payment draft with the given ID."}],"\n",["$","p","p-1",{"children":["You can delete a payment draft only if it hasn't been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#send-drafts-for-processing","target":"_blank","rel":"noreferrer","children":"sent for processing"}],"."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] 457:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft to delete."}]]}] 465:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment was successfully removed from the draft"}]]}] 466:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 467:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 468:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 469:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The specified payment draft or payment was not found."}]]}] 46a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 46b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 46c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 46d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}],"\n",["$","p","p-1",{"children":"Returned when the payment draft cannot be modified."}]]}] 46e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 46f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 470:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 471:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 473:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Delete a single payment from a payment draft. Other payments in the draft are unaffected."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"You can delete payments from drafts created with the API or via the Revolut Business app."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] 474:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft that contains the payment."}]]}] 475:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment to delete."}]]}] 483:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty's bank country, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 484:["$","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."]}]]}] 485:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Category name of the transfer reason."}]]}] 486:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the given transfer reason."}]]}] 487:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of transfer reasons"}]]}] 488:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 489:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 48a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 48c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"In order to initiate a transfer in certain currencies and countries, you must provide a transfer reason.\nWith this endpoint you can retrieve all transfer reasons available to your business account per country and currency."}],"\n",["$","p","p-1",{"children":["After you retrieve the results, use the appropriate reason code in the ",["$","code","code-0",{"children":"transfer_reason_code"}]," field when ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":"making a transfer to a counterparty"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#create-payout-link","target":"_blank","rel":"noreferrer","children":"creating a payout link"}],"."]}]]}] 49a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 49b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] 49c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] 49d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of event types that you are subscribed to."}]]}] 49e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of all your existing webhooks"}]]}] 49f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 4a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 4a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 4a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the list of all your existing webhooks and their details."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#retrieve-a-list-of-webhooks","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] 19:["$","$98","get-accounting-category",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Accounting category details","content":{"application/json":{"schema":{"type":"object","required":["id","name","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the accounting category.","examples":["8d831292-f950-4c5a-83f9-030df8cacd3f"],"descriptionNode":"$L658"},"name":{"type":"string","description":"The name of the accounting category.","examples":["Transportation"],"descriptionNode":"$L659"},"code":{"type":"string","description":"The code of the accounting category.","examples":["305"],"descriptionNode":"$L65a"},"created_at":{"type":"string","format":"date-time","description":"The date and time the accounting category was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","examples":["2025-10-20T15:09:24Z"],"descriptionNode":"$L65b"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the accounting category was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","examples":["2025-10-20T15:09:24Z"],"descriptionNode":"$L65c"},"default_tax_rate_id":{"type":"string","format":"uuid","description":"The ID of the default [tax rate](https://developer.revolut.com/docs/api/business#get-tax-rate) applied to items in this accounting category unless overridden for a specific item.","examples":["2a3520af-e6f7-416c-821e-0e83ffac1dfa"],"descriptionNode":"$L65d"}}},"examples":{"category_with_default_tax_rate":{"summary":"Accounting category with default tax rate","value":{"id":"8d831292-f950-4c5a-83f9-030df8cacd3f","name":"Transportation","code":"400","created_at":"2026-03-11T17:03:25.570942Z","updated_at":"2026-03-11T17:03:25.570942Z","default_tax_rate_id":"e6b84ddb-a127-466b-9a0a-501bda07773f"}},"category_without_default_tax_rate":{"summary":"Accounting category without default tax rate","value":{"id":"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa","name":"Office supplies","code":"410","created_at":"2026-03-11T17:03:25.570942Z","updated_at":"2026-03-11T17:03:25.570942Z"}}}}},"descriptionNode":"$L65e"},"400":{"description":"Bad Request\n\nReturned, for example, when the required path parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L65f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L660"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L661"}}},"examples":{"default":{"value":{"error_id":"36e1a581-b05e-4018-b202-6b371092a19a","code":2101,"message":"Path parameter 'id' must be a valid UUID"}}}}},"descriptionNode":"$L662"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L663"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L664"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L665"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L666"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L667"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L668"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L669"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L66a"},"404":{"description":"Not found\n\nReturned when the accounting category that you're trying to retrieve cannot be found.\nThis can happen, for example, when the accounting category doesn't exist, or the provided accounting category ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L66b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L66c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L66d"}}},"examples":{"default":{"value":{"error_id":"cbb15721-5f51-4588-a959-7494bb7ba827","code":3006,"message":"Accounting category with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found"}}}}},"descriptionNode":"$L66e"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L66f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L670"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L671"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L672"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L673"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L674"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L675"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L676"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L677"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L678"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L679"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L67a"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L67b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L67c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L67d"}}}}},"descriptionNode":"$L67e"}},"requestBody":"$undefined","variantLabels":["Accounting category with default tax rate","Accounting category without default tax rate"],"children":["$L67f","$L680"]}]}],false]}] 47:["$","$98","update-card-contacts",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Updated list of contacts","content":{"application/json":{"schema":{"description":"The list of contacts for a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"One of the card's contacts.","type":"string","format":"uuid","descriptionNode":"$L681"},"descriptionNode":"$L682"},"examples":{"list_of_contacts":{"summary":"Company card contacts (max.5)","value":["3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9","02b969cb-b984-4a70-873d-f93220805e5e","36d9604d-4821-45fc-bf1a-a2881f6336c0"]}}}},"descriptionNode":"$L683"},"400":{"description":"Bad Request\n\nReturned, for example, when the provided list of contacts is empty or too many contacts are provided, or when it's malformed or contains incorrect values.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L684"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L685"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"wrong_size":{"summary":"Wrong number of contacts","value":{"code":2101,"message":"Card contacts size must be between 1 and 5"}},"incorrect_values":{"summary":"Incorrect value(s)","value":{"code":3000,"message":"Value of field '[0]' is not in correct format"}},"invalid_json":{"summary":"Incorrect request format","value":{"code":3000,"message":"Cannot parse request: invalid JSON"}},"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L686"},"404":{"description":"Card not found\n\nThe card for which you wish to update contacts does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L687"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L688"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L689"},"422":{"description":"Unprocessable Content\n\nReturned, for example, when you try to update contacts for a card other than a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L68a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L68b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":33011,"message":"Card contacts are not supported for the card=23a8befd-7b7b-4922-a00f-188b0153730b"}}}}},"descriptionNode":"$L68c"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L68d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L68e"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L68f"}},"requestBody":{"required":true,"description":"New contacts for the card.\n:::warning\nThis will **override** the existing list of contacts.\n:::","content":{"application/json":{"schema":{"description":"The list of contacts for a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"One of the card's contacts.","type":"string","format":"uuid","descriptionNode":"$L690"},"descriptionNode":"$L691"},"examples":{"list_of_contacts":{"summary":"Company card contacts (max.5)","value":"$47:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_contacts:value"}}}},"descriptionNode":"$L692"},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-card-contacts","children":[["$L693","$undefined"],["$","$L3a",null,{"id":"update-card-contacts"}]]}],"$L694"]}]}],"$undefined"]}],"$L695"]}]}],false]}] 4b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L696","\n","$L697","\n"]}]]}] 4b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L698","\n","$L699","\n"]}]]}] 4c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L69a","\n","$L69b","\n"]}]]}] 4d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L69c","\n","$L69d","\n"]}]]}] 4de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L69e","\n","$L69f","\n"]}]]}] 4eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L6a0","\n","$L6a1","\n"]}]]}] 4f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L6a2","\n","$L6a3","\n"]}]]}] 4f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L6a4","\n","$L6a5","\n"]}]]}] 4fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L6a6","\n","$L6a7","\n"]}]]}] 4ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L6a8","\n","$L6a9","\n"]}]]}] 502:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the label group."}]]}] 503:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the label group."}]]}] 504:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the label group was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 505:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the label group was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 506:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Label group details"}]]}] 507:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 508:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 509:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 50a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 50b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 50c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 50d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 50e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 50f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 510:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 511:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 512:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 513:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 514:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 515:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 516:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the label group that you're trying to retrieve cannot be found.\nThis can happen, for example, when the label group has been deleted, or the provided label group ID is incorrect."}]]}] 6aa:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)64b:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$6aa","descriptionNode":"$L6ab"}}}] 64c:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 64d:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$7a:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L6ac"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$7a:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L6ad"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$7a:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L6ae"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$7a:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L6af"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L6b0"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 654:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 655:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 656:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 657:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 67f:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-accounting-category","children":[["$L6b1","$undefined"],["$","$L3a",null,{"id":"get-accounting-category"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-accounting-category.md"}]]}]}],"$undefined"]}] 6b4:T8cb,
fetch("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
6b5:Tdb3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
6b7:T1557,
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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
6b9:T8d3,
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
6ba:Tdbb,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
6bc:T155f,
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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
6bd:T147f,
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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
680:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L6b2",["$","$Lac",null,{"parameters":[{"name":"accounting_category_id","in":"path","required":true,"description":"The ID of the accounting category to retrieve.","schema":{"type":"string","format":"uuid","examples":["64a2d310-e2a0-43c2-872f-969098141ebb"]},"descriptionNode":"$L6b3"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$19:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6b4","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6b5","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$6b6","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$6b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$6b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$6bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$6bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$6bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounting-categories/{accounting_category_id}","parameters":["$680:props:children:0:props:children:1:props:parameters:0"]}],"$L6be"],"$L6bf","$L6c0"]}]]}] 694:["$","$L3b",null,{"url":"/docs/api/business/operations/update-card-contacts.md"}] 6c3:T66c,
curl -X PUT "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '[
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]'
6c4:Te7d,
const payload = [
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
];
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts", {
  method: "PUT",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
6c5:T1564,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"
  jsonData := []byte(`
[
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]
  `)
  req, _ := http.NewRequest("PUT", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = [
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]

response = requests.put(url, headers=headers, json=payload)
print(response.json())
6c7:T1acb,
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 = """
[
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PUT(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Put,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"[
  ""3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9"",
  ""02b969cb-b984-4a70-873d-f93220805e5e"",
  ""36d9604d-4821-45fc-bf1a-a2881f6336c0""
]")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
6c9:T674,
curl -X PUT "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '[
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]'
6ca:Te85,
const payload = [
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
];
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts", {
  method: "PUT",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
6cb:T156c,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"
  jsonData := []byte(`
[
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]
  `)
  req, _ := http.NewRequest("PUT", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = [
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]

response = requests.put(url, headers=headers, json=payload)
print(response.json())
6cd:T1ad3,
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 = """
[
  "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
  "02b969cb-b984-4a70-873d-f93220805e5e",
  "36d9604d-4821-45fc-bf1a-a2881f6336c0"
]
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PUT(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
6ce:T1da3,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"[
  ""3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9"",
  ""02b969cb-b984-4a70-873d-f93220805e5e"",
  ""36d9604d-4821-45fc-bf1a-a2881f6336c0""
]")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
695:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L6c1",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card whose contacts should be updated.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L6c2"}],"requestBody":"$47:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$47:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PUT \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '[\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]'","templateHtml":"$6c3","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n];\nfetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\", {\n method: \"PUT\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6c4","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"\n jsonData := []byte(`\n[\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]\n `)\n req, _ := http.NewRequest(\"PUT\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6c5","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]\n\nresponse = requests.put(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$6c6","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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 \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$6c7","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"[\n \"\"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\"\",\n \"\"02b969cb-b984-4a70-873d-f93220805e5e\"\",\n \"\"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\"\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":"$6c8","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PUT \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '[\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]'","templateHtml":"$6c9","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n];\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\", {\n method: \"PUT\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$6ca","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"\n jsonData := []byte(`\n[\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]\n `)\n req, _ := http.NewRequest(\"PUT\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$6cb","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]\n\nresponse = requests.put(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$6cc","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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 \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$6cd","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/contacts\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"[\n \"\"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\"\",\n \"\"02b969cb-b984-4a70-873d-f93220805e5e\"\",\n \"\"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\"\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":"$6ce","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"put","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/contacts","parameters":["$695:props:children:0:props:children:1:props:parameters:0"]}],"$L6cf"],"$L6d0","$L6d1"]}]]}] 696:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 697:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 698:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 699:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 69a:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 69b:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 69c:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 69d:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 69e:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 69f:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 6a0:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 6a1:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 6a2:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 6a3:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 6a4:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 6a5:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 6a6:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 6a7:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 6a8:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 6a9:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 517:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 518:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 519:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 51a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 51b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 51c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 51d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 51e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 51f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 520:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 521:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 522:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 523:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 524:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 525:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 526:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 52a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of a specific label group based on the label group ID."}],"\n",["$","p","p-1",{"children":"The details include the label group name, as well as when the label group was added to your settings, and when it was last updated."}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 52b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group to retrieve."}]]}] 5ec:"Retrieve tax rate details" 6d2:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)6be:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$6d2","descriptionNode":"$L6d3"}}}] 6bf:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 6c0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"category_with_default_tax_rate","label":"Accounting category with default tax rate","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:category_with_default_tax_rate:value","block":"$L6d4"},{"key":"category_without_default_tax_rate","label":"Accounting category without default tax rate","rawValue":"$19:props:children:0:props:children:props:responses:200:content:application/json:examples:category_without_default_tax_rate:value","block":"$L6d5"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$19:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L6d6"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L6d7"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L6d8"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L6d9"}],"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":"$L6da"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L6db"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L6dc"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L6dd"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L6de"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L6df"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 6e0:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)6cf:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$6e0","descriptionNode":"$L6e1"}}}] 6d0:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"list_of_contacts","label":"Company card contacts (max.5)","rawValue":"$47:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_contacts:value","block":"$L6e2"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 6d1:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_contacts","label":"Company card contacts (max.5)","rawValue":"$47:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_contacts:value","block":"$L6e3"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"wrong_size","label":"Wrong number of contacts","rawValue":"$47:props:children:0:props:children:props:responses:400:content:application/json:examples:wrong_size:value","block":"$L6e4"},{"key":"incorrect_values","label":"Incorrect value(s)","rawValue":"$47:props:children:0:props:children:props:responses:400:content:application/json:examples:incorrect_values:value","block":"$L6e5"},{"key":"invalid_json","label":"Incorrect request format","rawValue":"$47:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L6e6"},{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L6e7"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$47:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L6e8"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$47:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$L6e9"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L6ea"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 60d:"Retrieve team roles" 622:"Retrieve a webhook" 539:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the transfer whose state was updated."}]]}] 53a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the simulated transaction state. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"completed"}]," - Transaction was successfully processed."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"reverted"}]," - Transaction was reverted by the system or company, but not the user. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"declined"}]," - Transaction was declined to the user for a good reason, such as insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"failed"}]," - Transaction failed during initiation or completion. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n"]}]]}] 53b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transfer was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 53c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transfer was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 53d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the updated transfer state"}]]}] 53e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 53f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 540:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 542:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Simulate a transfer state change in the Sandbox environment."}],"\n",["$","p","p-1",{"children":["For example, after you make a transfer in Sandbox, you can change its state to ",["$","code","code-0",{"children":"completed"}],". The resulting state is final and cannot be changed."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/api-usage-and-testing/test-flows-with-simulations","target":"_blank","rel":"noreferrer","children":"Test your flows with simulations (Sandbox only)"}],"."]}]]}] 543:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the transfer whose state you want to update."}]]}] 544:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state update. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"complete"}]," - Transaction is successfully processed."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"revert"}]," - Transaction is reverted by the system or company, but not the user. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"decline"}]," - Transaction is declined to the user for a good reason, such as insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"fail"}]," - Transaction fails during initiation or completion. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n"]}]]}] 545:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state update. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"complete"}]," - Transaction is successfully processed."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"revert"}]," - Transaction is reverted by the system or company, but not the user. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"decline"}]," - Transaction is declined to the user for a good reason, such as insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"fail"}]," - Transaction fails during initiation or completion. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n"]}]]}] 553:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The webhook has been set up"}]]}] 554:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 555:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 556:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 557:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] 558:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"URL to set up as a webhook"}]]}] 55a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Set up a webhook URL so that event notifications are pushed to the specified URL. Only HTTPS URLs are supported."}]]}] 56a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address was updated"}]]}] 56b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 56c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 56d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 56e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 56f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 570:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 571:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the region (state or province), for example, Ontario for Canada."}]]}] 572:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the city."}]]}] 573:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the counterparty, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 574:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode of the counterparty address."}]]}] 575:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The updated address for the counterparty's payment method. All required fields must be provided."}]]}] 576:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The request body for updating a counterparty's payment method address."}]]}] 577:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The updated address details."}]]}] 579:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update the ",["$","strong","strong-0",{"children":"address"}]," of a counterparty's payment method."]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"What is a payment method?"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["A payment method is an individual account or card linked to a counterparty. When you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty","target":"_blank","rel":"noreferrer","children":"retrieve a counterparty"}],", the response includes an ",["$","code","code-0",{"children":"accounts"}]," array and a ",["$","code","code-1",{"children":"cards"}]," array — each entry in these arrays is a payment method with its own ",["$","code","code-2",{"children":"id"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":"As only bank account payment methods have an address, you can use this endpoint to update the address of a counterparty's bank account."}],"\n",["$","p","p-2",{"children":["To get the ",["$","code","code-0",{"children":"payment_method_id"}]," for the bank account, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty","target":"_blank","rel":"noreferrer","children":"retrieve the counterparty"}]," and use the ",["$","code","code-1",{"children":"id"}]," from the ",["$","code","code-2",{"children":"accounts"}]," array in the response."]}],"\n",["$","p","p-3",{"children":"You must provide the full address object — all required address fields must be present in the request.\nOmitted optional fields will retain their existing values."}],"\n",["$","p","p-4",{"children":["For more information, see the guide: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/update-counterparty-payment-method","target":"_blank","rel":"noreferrer","children":"Update a counterparty's payment method"}],"."]}]]}] 57a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty."}]]}] 57b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the payment method to update. To get the ",["$","code","code-0",{"children":"payment_method_id"}]," for the bank account, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty","target":"_blank","rel":"noreferrer","children":"retrieve the counterparty"}]," and use the ",["$","code","code-1",{"children":"id"}]," from the ",["$","code","code-2",{"children":"accounts"}]," array in the response."]}]]}] 6c:["$","$98","update-payment-draft-payment",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The payment was successfully updated","descriptionNode":"$L6eb"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L6ec"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L6ed"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L6ee"}}}}},"descriptionNode":"$L6ef"},"404":{"description":"The specified payment draft or payment was not found.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L6f0"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L6f1"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L6f2"}}},"examples":{"not_found":{"summary":"Payment draft or payment not found","value":{"code":3006,"message":"The specified payment draft or payment was not found"}}}}},"descriptionNode":"$L6f3"},"422":{"description":"Unprocessable Entity\n\nReturned when the payment draft cannot be modified.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L6f4"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L6f5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L6f6"}}},"examples":{"created_by_other_source":{"summary":"Draft created by other source cannot be modified","value":{"code":3100,"message":"Payment draft was created via Partner API and cannot be updated"}},"already_processed":{"summary":"Draft is already processed","value":{"code":3417,"message":"Payment draft is already processed"}}}}},"descriptionNode":"$L6f7"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L6f8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L6f9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L6fa"}}}}},"descriptionNode":"$L6fb"}},"requestBody":{"description":"The fields to update on the payment.","required":true,"content":{"application/json":{"schema":{"type":"object","description":"The updated details of a single payment in a payment draft.","minProperties":1,"properties":{"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$L6fc"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$L6fd"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$L6fe"}},"required":["counterparty_id"],"descriptionNode":"$L6ff"},"amount":{"type":"number","format":"double","exclusiveMinimum":0,"description":"The amount of the payment.","descriptionNode":"$L700"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L701"},"reference":{"type":"string","minLength":1,"maxLength":255,"description":"The reference for the payment.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes.","descriptionNode":"$L702"},"charge_bearer":{"type":["string","null"],"description":"The party that should bear the transaction fees related to the selected transaction route if applied.\nPossible options are:\n- `shared`: Also known as **SHA**. The transaction route fees are split between the sender and the recipient.\n- `debtor`: Also known as **OUR**. The sender pays all explicit transaction fees.","enum":["shared","debtor"],"descriptionNode":"$L703"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":["property_rental"],"descriptionNode":"$L704"}},"descriptionNode":"$L705"},"examples":{"update_amount":{"summary":"Update the payment amount","value":{"amount":200}},"update_reference":{"summary":"Update the payment reference","value":{"reference":"Updated reference"}},"update_receiver":{"summary":"Update the receiver","value":{"receiver":{"counterparty_id":"f3107ecc-d368-48f3-8120-92b7d612f949"}}}}}},"descriptionNode":"$L706"},"variantLabels":["Update the payment amount","Update the payment reference","Update the receiver"],"children":["$L707","$L708"]}]}],false]}] 17:["$","$98","create-accounting-category",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"Resource created\n\nOn successful creation, the response returns only the ID of the new resource (i.e. the accounting category), even if the resource has more properties.\nTo get all the details of the accounting category, use the returned resource ID with a [GET request](https://developer.revolut.com/docs/api/business#get-accounting-category).","content":{"application/json":{"schema":{"description":"Successfully created resource.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the created resource.","descriptionNode":"$L709"}},"descriptionNode":"$L70a"},"examples":{"resource_created":{"summary":"Resource created","value":{"id":"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa"}}}}},"descriptionNode":"$L70b"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L70c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L70d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L70e"}}},"examples":{"param_required":{"summary":"Required parameter(s) missing","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18","code":2101,"message":"'code' is required, 'name' is required"}},"bad_param_type":{"summary":"Incorrect parameter type","value":{"error_id":"29146977-8042-446f-b362-675e2921d71c","code":2101,"message":"'code' must be a string, 'name' must be a string"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"df7b76b2-1313-42f0-8c0b-3673c665f135","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"7acc6073-5290-45f8-8956-c79d487ef1e5","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"'name' must be at most 60 characters"}},"bad_param_format":{"summary":"Incorrect parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"'default_tax_rate_id' must be a valid UUID"}}}}},"descriptionNode":"$L70f"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L710"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L711"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L712"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L713"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L714"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L715"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L716"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L717"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when an accounting category with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L718"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L719"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L71a"}}},"examples":{"category_with_name_exists":{"summary":"Name must be unique","value":{"error_id":"8c08b656-ab6e-4768-4e57-f281da25aa2b","code":3503,"message":"Category with name My Unique Accounting Category already exists"}},"category_with_code_exists":{"summary":"Code must be unique","value":{"error_id":"8c08b656-ab6e-4768-4e57-f281da25aa2b","code":3504,"message":"Category with code MUAC already exists"}}}}},"descriptionNode":"$L71b"},"422":{"description":"Unprocessable entity - accounting category cannot be created due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and accounting categories are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L71c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L71d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L71e"}}},"examples":{"cannot_modify_externally_managed_resource":{"summary":"Accounting categories are managed by integration, cannot be created manually","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Accounting categories are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L71f"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L720"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L721"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L722"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L723"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L724"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L725"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L726"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L727"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L728"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L729"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L72a"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L72b"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L72c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L72d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L72e"}}}}},"descriptionNode":"$L72f"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The accounting category to create.","required":["name","code"],"properties":{"name":{"type":"string","description":"The full name for the accounting category.","minLength":1,"maxLength":60,"examples":["Work From Home equipment"],"descriptionNode":"$L730"},"code":{"type":"string","description":"The code name for the accounting category.","minLength":1,"maxLength":50,"examples":["WFH"],"descriptionNode":"$L731"},"default_tax_rate_id":{"type":"string","format":"uuid","description":"The ID of the default [tax rate](https://developer.revolut.com/docs/api/business#get-tax-rate) that should be applied to items in this accounting category unless overridden for a specific item.","examples":["f93f6c3e-bf95-4b58-bfcd-e642c4fc098e"],"descriptionNode":"$L732"}},"descriptionNode":"$L733"},"examples":{"category_with_default_tax_rate":{"summary":"Accounting category with default tax rate","value":{"name":"Transportation","code":"400","default_tax_rate_id":"e6b84ddb-a127-466b-9a0a-501bda07773f"}},"category_without_default_tax_rate":{"summary":"Accounting category without default tax rate","value":{"name":"Office supplies","code":"410"}}}}}},"variantLabels":["Accounting category with default tax rate","Accounting category without default tax rate"],"children":["$L734","$L735"]}]}],false]}] 1d:["$","$98","get-label-groups",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of label groups","content":{"application/json":{"schema":{"type":"object","properties":{"next_page_token":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":["MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA"],"descriptionNode":"$L736"},"label_groups":{"description":"List of label groups.","type":"array","items":{"type":"object","required":"$1e:props:children:0:props:children:props:responses:200:content:application/json:schema:required","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the label group.","readOnly":true,"descriptionNode":"$L737"},"name":{"type":"string","description":"The name of the label group.","minLength":1,"maxLength":100,"descriptionNode":"$L738"},"created_at":{"type":"string","format":"date-time","description":"The date and time the label group was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L739"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the label group was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L73a"}}},"descriptionNode":"$L73b"}},"required":["label_groups"]},"examples":{"results_with_next_page":{"summary":"Results exceed page size (when limit=5) & next page available","value":{"next_page_token":"MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA","label_groups":[{"id":"f0e1d2c3-b4a5-4678-9012-3456789abcde","name":"Department","created_at":"2026-03-19T07:15:00.000000Z","updated_at":"2026-03-19T08:45:22.111444Z"},{"id":"f09ad1ad3-a1c0-4c09-b8f8-24b439e72690","name":"Employee","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z"},{"id":"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d","name":"Project","created_at":"2026-02-01T08:00:00.000000Z","updated_at":"2026-02-01T08:00:00.000000Z"},{"id":"5f4e3d2c-1b0a-4987-8765-43210fedcba9","name":"Location","created_at":"2026-01-15T10:20:30.123456Z","updated_at":"2026-03-10T14:45:12.987654Z"},{"id":"98765432-abcd-ef01-2345-67890abcdef0","name":"Task","created_at":"2025-12-20T11:11:11.000Z","updated_at":"2026-03-15T09:30:00.555222Z"}]}},"results_single_page":{"summary":"Results fit within page size, no more pages available","value":{"label_groups":[{"id":"f0e1d2c3-b4a5-4678-9012-3456789abcde","name":"Department","created_at":"2026-03-19T07:15:00.000000Z","updated_at":"2026-03-19T08:45:22.111444Z"},{"id":"f09ad1ad3-a1c0-4c09-b8f8-24b439e72690","name":"Employee","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z"},{"id":"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d","name":"Project","created_at":"2026-02-01T08:00:00.000000Z","updated_at":"2026-02-01T08:00:00.000000Z"},{"id":"5f4e3d2c-1b0a-4987-8765-43210fedcba9","name":"Location","created_at":"2026-01-15T10:20:30.123456Z","updated_at":"2026-03-10T14:45:12.987654Z"},{"id":"98765432-abcd-ef01-2345-67890abcdef0","name":"Task","created_at":"2025-12-20T11:11:11.000Z","updated_at":"2026-03-15T09:30:00.555222Z"}]}}}}},"descriptionNode":"$L73c"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L73d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L73e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L73f"}}},"examples":{"bad_param_type":{"summary":"Incorrect query parameter type","value":{"error_id":"29146977-8042-446f-b362-af224b14c830","code":2101,"message":"Query parameter 'limit' must be an integer"}},"param_value_too_low":{"summary":"Query parameter value too low","value":{"error_id":"b5a51cd1-9d0f-4074-adae-675e2921d71c","code":2101,"message":"Query parameter 'limit' must be at least 1"}},"param_value_too_high":{"summary":"Query parameter value too high","value":{"error_id":"fa12f45e-4633-4f78-8d40-42dadc380511","code":2101,"message":"Query parameter 'limit' must be at most 500"}},"multiple_values_not_allowed":{"summary":"Multiple values provided for a single-value query parameter","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"Query parameter 'limit' must have a single value"}},"param_cannot_be_empty":{"summary":"Query parameter provided without a value","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-3673c665f135","code":2101,"message":"Query parameter 'limit' must not be empty"}}}}},"descriptionNode":"$L740"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L741"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L742"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L743"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L744"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L745"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L746"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L747"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L748"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L749"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L74a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L74b"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L74c"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L74d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L74e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L74f"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L750"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L751"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L752"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L753"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L754"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L755"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L756"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L757"}}}}},"descriptionNode":"$L758"}},"requestBody":"$undefined","variantLabels":["Results exceed page size (when limit=5) & next page available","Results fit within page size, no more pages available"],"children":["$L759","$L75a"]}]}],false]}] 1f:["$","$98","update-label-group",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Label group updated","descriptionNode":"$L75b"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L75c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L75d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L75e"}}},"examples":{"param_required":{"summary":"Body is empty","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":2101,"message":"Request body must not be empty"}},"bad_param_format":{"summary":"Incorrect parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"36f3cec5-b4b9-431f-9c28-afd3899bc64f","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"32fd0697-2f3f-4308-b25d-c9230f99c589","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8","code":2101,"message":"'name' must be at most 20 characters"}}}}},"descriptionNode":"$L75f"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L760"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L761"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L762"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L763"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L764"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L765"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L766"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L767"},"404":{"description":"Not found\n\nReturned when the label group that you're trying to update cannot be found.\nThis can happen, for example, when the label group doesn't exist, or the provided label group ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L768"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L769"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L76a"}}},"examples":{"default":{"value":{"error_id":"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0","code":3006,"message":"Label group with id be6c9d90-df25-458a-b559-be61896c94b8 not found"}}}}},"descriptionNode":"$L76b"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when a label group with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L76c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L76d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L76e"}}},"examples":{"default":{"value":{"error_id":"8c08b656-4e57-4768-ab6e-f281da25aa2b","code":3506,"message":"Label group with name 'My Unique Label Group' already exists"}}}}},"descriptionNode":"$L76f"},"422":{"description":"Unprocessable entity - label group cannot be updated due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and label groups are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L770"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L771"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L772"}}},"examples":{"cannot_update_externally_managed_resource":{"summary":"Labels and label groups are managed by integration, cannot be updated","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Labels are managed by your connected accounting integration and cannot be modified manually"}},"state_mismatch":{"summary":"Label group is no longer available","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":3100,"message":"Invalid request"}}}}},"descriptionNode":"$L773"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L774"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L775"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L776"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L777"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L778"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L779"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L77a"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L77b"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L77c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L77d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L77e"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L77f"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L780"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L781"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L782"}}}}},"descriptionNode":"$L783"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The new name for the label group.","required":["name"],"properties":{"name":{"description":"The new name for the label group.","type":"string","minLength":1,"maxLength":100,"descriptionNode":"$L784"}},"descriptionNode":"$L785"},"examples":{"default":{"value":{"name":"20% VAT"}}}}}},"variantLabels":[],"children":["$L786","$L787"]}]}],false]}] 21:["$","$98","create-label",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"Resource created\n\nOn successful creation, the response returns only the ID of the new resource (i.e. the label), even if the resource has more properties.\nTo get more details, use the ID of the parent label group to [get all the labels from the label group](https://developer.revolut.com/docs/api/business#get-labels).","content":{"application/json":{"schema":{"description":"Successfully created resource.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the created resource.","descriptionNode":"$L788"}},"descriptionNode":"$L789"},"examples":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples"}},"descriptionNode":"$L78a"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L78b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L78c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L78d"}}},"examples":{"param_required":{"summary":"Required parameter is missing","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18","code":2101,"message":"'name' is required"}},"bad_param_type":{"summary":"Incorrect parameter type","value":{"error_id":"29146977-8042-446f-b362-675e2921d71c","code":2101,"message":"'name' must be a string"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"df7b76b2-1313-42f0-8c0b-3673c665f135","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"7acc6073-5290-45f8-8956-c79d487ef1e5","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"'name' must be at most 100 characters"}}}}},"descriptionNode":"$L78e"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L78f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L790"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L791"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L792"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L793"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L794"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L795"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L796"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when a label with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L797"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L798"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L799"}}},"examples":{"default":{"value":{"error_id":"8c08b656-4e57-4768-ab6e-f281da25aa2b","code":3506,"message":"Label with name 'My Unique Label' already exists"}}}}},"descriptionNode":"$L79a"},"422":{"description":"Unprocessable entity - label cannot be created due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L79b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L79c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L79d"}}},"examples":{"cannot_modify_externally_managed_resource":{"summary":"Labels and label groups are managed by integration, cannot be created manually","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Labels are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L79e"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L79f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7a0"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7a1"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L7a2"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7a3"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7a4"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7a5"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L7a6"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7a7"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7a8"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7a9"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L7aa"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7ab"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7ac"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7ad"}}}}},"descriptionNode":"$L7ae"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"description":"The name for the new label.","type":"string","minLength":1,"maxLength":100,"descriptionNode":"$L7af"}}},"examples":{"default":{"value":{"name":"Communications"}}}}}},"variantLabels":[],"children":["$L7b0","$L7b1"]}]}],false]}] 22:["$","$98","get-labels",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of labels","content":{"application/json":{"schema":{"type":"object","properties":{"next_page_token":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$L7b2"},"labels":{"description":"List of labels in the specified group","type":"array","items":{"type":"object","required":["id","name","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the label.","readOnly":true,"descriptionNode":"$L7b3"},"name":{"type":"string","description":"The name of the label.","minLength":1,"maxLength":100,"descriptionNode":"$L7b4"},"created_at":{"type":"string","format":"date-time","description":"The date and time the label was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L7b5"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the label was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$L7b6"}}},"descriptionNode":"$L7b7"}},"required":["labels"]},"examples":{"results_with_next_page":{"summary":"Results exceed page size (when limit=5) & next page available","value":{"next_page_token":"MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA","labels":[{"id":"f0e1d2c3-b4a5-4678-9012-3456789abcde","name":"Consultants","created_at":"2026-03-19T07:15:00.000000Z","updated_at":"2026-03-19T08:45:22.111444Z"},{"id":"f09ad1ad-a1c0-4c09-b8f8-24b439e72690","name":"IT & Tech Support","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z"},{"id":"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d","name":"HR & Facility","created_at":"2026-02-01T08:00:00.000000Z","updated_at":"2026-02-01T08:00:00.000000Z"},{"id":"c3b2a1d0-e9f8-47a6-9d8c-7b6a5f4e3d2c","name":"Finance & Legal","created_at":"2026-01-22T09:10:15.555000Z","updated_at":"2026-01-23T11:00:45.123456Z"},{"id":"d9e8f7a6-b5c4-4321-8765-43210fedcba9","name":"Sales & Marketing","created_at":"2026-01-20T14:20:00.000000Z","updated_at":"2026-01-20T14:20:00.000000Z"}]}},"results_single_page":{"summary":"Results fit within page size, no more pages available","value":{"labels":[{"id":"f0e1d2c3-b4a5-4678-9012-3456789abcde","name":"Consultants","created_at":"2026-03-19T07:15:00.000000Z","updated_at":"2026-03-19T08:45:22.111444Z"},{"id":"f09ad1ad-a1c0-4c09-b8f8-24b439e72690","name":"IT & Tech Support","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z"},{"id":"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d","name":"HR & Facility","created_at":"2026-02-01T08:00:00.000000Z","updated_at":"2026-02-01T08:00:00.000000Z"}]}}}}},"descriptionNode":"$L7b8"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7b9"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7ba"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7bb"}}},"examples":{"bad_param_type":{"summary":"Incorrect query parameter type","value":{"error_id":"29146977-8042-446f-b362-af224b14c830","code":2101,"message":"Query parameter 'limit' must be an integer"}},"param_value_too_low":{"summary":"Query parameter value too low","value":{"error_id":"b5a51cd1-9d0f-4074-adae-675e2921d71c","code":2101,"message":"Query parameter 'limit' must be at least 1"}},"param_value_too_high":{"summary":"Query parameter value too high","value":{"error_id":"fa12f45e-4633-4f78-8d40-42dadc380511","code":2101,"message":"Query parameter 'limit' must be at most 500"}},"multiple_values_not_allowed":{"summary":"Multiple values provided for a single-value query parameter","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"Query parameter 'limit' must have a single value"}},"param_cannot_be_empty":{"summary":"Query parameter provided without a value","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-3673c665f135","code":2101,"message":"Query parameter 'limit' must not be empty"}}}}},"descriptionNode":"$L7bc"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7bd"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7be"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7bf"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L7c0"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7c1"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7c2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7c3"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L7c4"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7c5"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7c6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7c7"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L7c8"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7c9"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7ca"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7cb"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L7cc"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7cd"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7ce"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7cf"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L7d0"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7d1"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7d2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7d3"}}}}},"descriptionNode":"$L7d4"}},"requestBody":"$undefined","variantLabels":["Results exceed page size (when limit=5) & next page available","Results fit within page size, no more pages available"],"children":["$L7d5","$L7d6"]}]}],false]}] 23:["$","$98","update-label",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Label updated","descriptionNode":"$L7d7"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7d8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7d9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7da"}}},"examples":{"param_required":{"summary":"Body is empty","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":2101,"message":"Request body must not be empty"}},"bad_param_format":{"summary":"Incorrect parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"36f3cec5-b4b9-431f-9c28-afd3899bc64f","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"32fd0697-2f3f-4308-b25d-c9230f99c589","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8","code":2101,"message":"'name' must be at most 100 characters"}}}}},"descriptionNode":"$L7db"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7dc"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7dd"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7de"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L7df"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7e0"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7e1"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7e2"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L7e3"},"404":{"description":"Not found\n\nReturned when the label that you're trying to update cannot be found.\nThis can happen, for example, when the label or corresponding label group doesn't exist, or the provided ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7e4"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7e5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7e6"}}},"examples":{"default":{"value":{"error_id":"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0","code":3006,"message":"Label with id be6c9d90-df25-458a-b559-be61896c94b8 not found"}}}}},"descriptionNode":"$L7e7"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when a label with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7e8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7e9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7ea"}}},"examples":{"default":{"value":{"error_id":"8c08b656-4e57-4768-ab6e-f281da25aa2b","code":3506,"message":"Label with name 'My Unique Label' already exists"}}}}},"descriptionNode":"$L7eb"},"422":{"description":"Unprocessable entity - label cannot be updated due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7ec"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7ed"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7ee"}}},"examples":{"cannot_update_externally_managed_resource":{"summary":"Labels and label groups are managed by integration, cannot be updated","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Labels are managed by your connected accounting integration and cannot be modified manually"}},"state_mismatch":{"summary":"Label is no longer available","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":3100,"message":"Invalid request"}}}}},"descriptionNode":"$L7ef"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7f0"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7f1"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7f2"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L7f3"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7f4"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7f5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7f6"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L7f7"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7f8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7f9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7fa"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L7fb"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L7fc"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L7fd"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L7fe"}}}}},"descriptionNode":"$L7ff"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The new name for the label.","required":["name"],"properties":{"name":{"description":"The new name for the label.","type":"string","minLength":1,"maxLength":100,"descriptionNode":"$L800"}},"descriptionNode":"$L801"},"examples":{"default":{"value":{"name":"20% VAT"}}}}}},"variantLabels":[],"children":["$L802","$L803"]}]}],false]}] 28:["$","$98","update-tax-rate",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Tax rate updated","descriptionNode":"$L804"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L805"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L806"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L807"}}},"examples":{"param_required":{"summary":"Body is empty","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":2101,"message":"Request body must not be empty"}},"bad_param_format":{"summary":"Incorrect parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"36f3cec5-b4b9-431f-9c28-afd3899bc64f","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"32fd0697-2f3f-4308-b25d-c9230f99c589","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8","code":2101,"message":"'name' must be at most 20 characters"}}}}},"descriptionNode":"$L808"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L809"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L80a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L80b"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L80c"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L80d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L80e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L80f"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L810"},"404":{"description":"Not found\n\nReturned when the tax rate that you're trying to update cannot be found.\nThis can happen, for example, when the tax rate doesn't exist, or the provided tax rate ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L811"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L812"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L813"}}},"examples":{"default":{"value":{"error_id":"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0","code":3006,"message":"Tax rate with id be6c9d90-df25-458a-b559-be61896c94b8 not found"}}}}},"descriptionNode":"$L814"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when a tax rate with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L815"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L816"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L817"}}},"examples":{"default":{"value":{"error_id":"8c08b656-4e57-4768-ab6e-f281da25aa2b","code":3505,"message":"Tax rate with name My Unique Rate already exists"}}}}},"descriptionNode":"$L818"},"422":{"description":"Unprocessable entity - tax rate cannot be updated due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and tax rates are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L819"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L81a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L81b"}}},"examples":{"cannot_update_externally_managed_resource":{"summary":"Tax rate managed by integration, cannot be updated","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Tax rates are managed by your connected accounting integration and cannot be modified manually"}},"state_mismatch":{"summary":"Tax rate is no longer available","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":3100,"message":"Invalid request"}}}}},"descriptionNode":"$L81c"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L81d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L81e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L81f"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L820"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L821"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L822"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L823"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L824"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L825"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L826"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L827"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L828"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L829"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L82a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L82b"}}}}},"descriptionNode":"$L82c"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The new setting for the tax rate.","minProperties":1,"properties":{"name":{"description":"The new name for the tax rate.","type":"string","minLength":1,"maxLength":20,"descriptionNode":"$L82d"}},"descriptionNode":"$L82e"},"examples":{"default":{"value":{"name":"20% VAT"}}}}}},"variantLabels":[],"children":["$L82f","$L830"]}]}],false]}] 83f:T8b1,
fetch("https://b2b.revolut.com/api/1.0/accounts", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
840:Td99,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounts"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/accounts"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
842: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://b2b.revolut.com/api/1.0/accounts"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
843: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://b2b.revolut.com/api/1.0/accounts"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
844:T8b9,
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounts", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
845:Tda1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounts"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounts"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
847: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-b2b.revolut.com/api/1.0/accounts"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
848: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-b2b.revolut.com/api/1.0/accounts"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3e:["$","$98","get-accounts",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of business accounts","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","description":"","properties":{"id":{"type":"string","format":"uuid","description":"The account ID.","descriptionNode":"$L831"},"name":{"type":"string","description":"The account name.","descriptionNode":"$L832"},"balance":{"type":"number","format":"double","description":"The current balance on the account.","descriptionNode":"$L833"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L834"},"state":{"type":"string","enum":["active","inactive"],"description":"Indicates the state of the account.","descriptionNode":"$L835"},"public":{"type":"boolean","description":"Indicates whether the account is visible to other businesses on Revolut.","descriptionNode":"$L836"},"created_at":{"type":"string","format":"date-time","description":"The date and time the account was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L837"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the account was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L838"}},"required":["id","balance","currency","state","public","created_at","updated_at"]}},"examples":{"default":{"value":[{"id":"b7ec67d3-5af1-42c8-bece-3d28nlmo894d","name":"International account","balance":3171.89,"currency":"GBP","state":"active","public":false,"created_at":"2022-08-05T14:29:22.215785Z","updated_at":"2022-08-05T14:29:22.215785Z"},{"id":"bssc67d3-5afd-42c2-bece-3d28nlmo894d","name":"International account 2","balance":411561.89,"currency":"EUR","state":"active","public":true,"created_at":"2022-08-25T14:29:22.215785Z","updated_at":"2022-08-30T14:29:22.215785Z"}]}}}},"descriptionNode":"$L839"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L83a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L83b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L83c"}},"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":"get-accounts","children":[["$L83d","$undefined"],["$","$L3a",null,{"id":"get-accounts"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-accounts.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L83e",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$3e:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/accounts\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/accounts\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/accounts\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$83f","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/accounts\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$840","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounts\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$841","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/accounts\"))\n .header(\"Authorization\", \"Bearer \")\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":"$842","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/accounts\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$843","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounts\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounts\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounts\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$844","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/accounts\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$845","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounts\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$846","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/accounts\"))\n .header(\"Authorization\", \"Bearer \")\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":"$847","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/accounts\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$848","tokens":[],"defaults":{}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounts","parameters":[]}],"$L849"],"$L84a","$L84b"]}]]}]]}]}],false]}] 594:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L84c","\n","$L84d","\n"]}]]}] 5a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L84e","\n","$L84f","\n"]}]]}] 5a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L850","\n","$L851","\n"]}]]}] 5a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L852","\n","$L853","\n"]}]]}] 707:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-payment-draft-payment","children":[["$L854","$undefined"],["$","$L3a",null,{"id":"update-payment-draft-payment"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-payment-draft-payment.md"}]]}]}],"$undefined"]}] 858:T573,
curl -X PATCH "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 200
}'
859:Td84,
const payload = {
  "amount": 200
};
fetch("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
85a:T146b,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
  jsonData := []byte(`
{
  "amount": 200
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "amount": 200
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
85c:T19d2,
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": 200
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""amount"": 200
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
85e:T57b,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": 200
}'
85f:Td8c,
const payload = {
  "amount": 200
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
860:T1473,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
  jsonData := []byte(`
{
  "amount": 200
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "amount": 200
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
862:T19da,
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": 200
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
863:T1b8e,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""amount"": 200
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
708:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L855",["$","$Lac",null,{"parameters":[{"name":"payment_draft_id","in":"path","required":true,"description":"The ID of the payment draft that contains the payment.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L856"},{"name":"payment_id","in":"path","required":true,"description":"The ID of the payment to update.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L857"}],"requestBody":"$6c:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$6c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"amount\": 200\n}'","templateHtml":"$858","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 200\n};\nfetch(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$859","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"amount\": 200\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$85a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"amount\": 200\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$85b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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 String body = \"\"\"\n{\n \"amount\": 200\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$85c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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.Patch,\n RequestUri = new Uri(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 200\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":"$85d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"amount\": 200\n}'","templateHtml":"$85e","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"amount\": 200\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$85f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"amount\": 200\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$860","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"amount\": 200\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$861","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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 String body = \"\"\"\n{\n \"amount\": 200\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$862","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","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.Patch,\n RequestUri = new Uri(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"amount\"\": 200\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":"$863","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"payment_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000","path:payment_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts/{payment_draft_id}/payments/{payment_id}","parameters":["$708:props:children:0:props:children:1:props:parameters:0","$708:props:children:0:props:children:1:props:parameters:1"]}],"$L864"],"$L865","$L866"]}]]}] 734:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-accounting-category","children":[["$L867","$undefined"],["$","$L3a",null,{"id":"create-accounting-category"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-accounting-category.md"}]]}]}],"$undefined"]}] 869:T657,
curl -X POST "https://b2b.revolut.com/api/1.0/accounting-categories" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}'
86a:Tfb8,
const payload = {
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
};
fetch("https://b2b.revolut.com/api/1.0/accounting-categories", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
86b:T154f,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounting-categories"
  jsonData := []byte(`
{
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/accounting-categories"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
86d:T1ab6,
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": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/accounting-categories"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounting-categories"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Transportation"",
  ""code"": ""400"",
  ""default_tax_rate_id"": ""e6b84ddb-a127-466b-9a0a-501bda07773f""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
86f:T65f,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}'
870:Tfc0,
const payload = {
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
871:T1557,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories"
  jsonData := []byte(`
{
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
873:T1abe,
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": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
874:T2034,
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-b2b.revolut.com/api/1.0/accounting-categories"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Transportation"",
  ""code"": ""400"",
  ""default_tax_rate_id"": ""e6b84ddb-a127-466b-9a0a-501bda07773f""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
735:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L868",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$17:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$17:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/accounting-categories\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}'","templateHtml":"$869","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/accounting-categories\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$86a","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/accounting-categories\"\n jsonData := []byte(`\n{\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$86b","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounting-categories\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$86c","tokens":[],"defaults":{}},{"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\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/accounting-categories\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$86d","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/accounting-categories\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Transportation\"\",\n \"\"code\"\": \"\"400\"\",\n \"\"default_tax_rate_id\"\": \"\"e6b84ddb-a127-466b-9a0a-501bda07773f\"\"\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":"$86e","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}'","templateHtml":"$86f","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$870","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/accounting-categories\"\n jsonData := []byte(`\n{\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$871","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$872","tokens":[],"defaults":{}},{"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\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$873","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/accounting-categories\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Transportation\"\",\n \"\"code\"\": \"\"400\"\",\n \"\"default_tax_rate_id\"\": \"\"e6b84ddb-a127-466b-9a0a-501bda07773f\"\"\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":"$874","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounting-categories","parameters":[]}],"$L875"],"$L876","$L877"]}]]}] 759:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-label-groups","children":[["$L878","$undefined"],["$","$L3a",null,{"id":"get-label-groups"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-label-groups.md"}]]}]}],"$undefined"]}] 87d:T8e5,
fetch("https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
87e:Tdcd,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
880: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://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
881: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://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
882:T8ed,
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
883:Tdd5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
885:T1579,
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-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
886:T1499,
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-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
75a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L879",["$","$Lac",null,{"parameters":[{"name":"limit","in":"query","required":false,"description":"The page size, that is, the maximum number of label groups to return per page.\n\nTo get the next page of results, use `page_token`.","schema":{"type":"integer","minimum":1,"maximum":500,"default":100,"examples":[10]},"descriptionNode":"$L87a"},{"in":"query","name":"page_token","required":false,"schema":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$L87b"},"descriptionNode":"$L87c"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$1d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$87d","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$87e","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$87f","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$880","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$881","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$882","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$883","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$884","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$885","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/label-groups?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$886","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups","parameters":["$75a:props:children:0:props:children:1:props:parameters:0","$75a:props:children:0:props:children:1:props:parameters:1"]}],"$L887"],"$L888","$L889"]}]]}] 786:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-label-group","children":[["$L88a","$undefined"],["$","$L3a",null,{"id":"update-label-group"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-label-group.md"}]]}]}],"$undefined"]}] 88d:T55f,
curl -X PATCH "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% VAT"
}'
88e:Td70,
const payload = {
  "name": "20% VAT"
};
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
88f:T1457,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "20% VAT"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% VAT"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
891:T19be,
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": "20% VAT"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% VAT""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
893:T567,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% VAT"
}'
894:Td78,
const payload = {
  "name": "20% VAT"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
895:T145f,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "20% VAT"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% VAT"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
897:T19c6,
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": "20% VAT"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
898:T1c24,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% VAT""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
787:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L88b",["$","$Lac",null,{"parameters":[{"name":"group_id","in":"path","description":"The ID of the label group to update.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L88c"}],"requestBody":"$1f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$1f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% VAT\"\n}'","templateHtml":"$88d","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% VAT\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$88e","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"20% VAT\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$88f","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% VAT\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$890","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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\": \"20% VAT\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$891","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% VAT\"\"\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":"$892","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% VAT\"\n}'","templateHtml":"$893","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% VAT\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$894","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"20% VAT\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$895","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% VAT\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$896","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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\": \"20% VAT\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$897","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% VAT\"\"\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":"$898","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}","parameters":["$787:props:children:0:props:children:1:props:parameters:0"]}],"$L899"],"$L89a","$L89b"]}]]}] 7b0:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-label","children":[["$L89c","$undefined"],["$","$L3a",null,{"id":"create-label"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-label.md"}]]}]}],"$undefined"]}] 89f:T56c,
curl -X POST "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Communications"
}'
8a0:Td7d,
const payload = {
  "name": "Communications"
};
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8a1:T1464,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"
  jsonData := []byte(`
{
  "name": "Communications"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Communications"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
8a3:T19cb,
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": "Communications"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Communications""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8a5:T574,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Communications"
}'
8a6:Td85,
const payload = {
  "name": "Communications"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8a7:T146c,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"
  jsonData := []byte(`
{
  "name": "Communications"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Communications"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
8a9:T19d3,
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": "Communications"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8aa:T1c31,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Communications""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
7b1:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L89d",["$","$Lac",null,{"parameters":[{"name":"group_id","in":"path","description":"The ID of the label group to which to add the new label.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L89e"}],"requestBody":"$21:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$21:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Communications\"\n}'","templateHtml":"$89f","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Communications\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8a0","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"\n jsonData := []byte(`\n{\n \"name\": \"Communications\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8a1","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Communications\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8a2","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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\": \"Communications\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$8a3","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Communications\"\"\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":"$8a4","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Communications\"\n}'","templateHtml":"$8a5","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Communications\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8a6","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"\n jsonData := []byte(`\n{\n \"name\": \"Communications\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8a7","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Communications\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8a8","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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\": \"Communications\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$8a9","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Communications\"\"\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":"$8aa","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}/labels","parameters":["$7b1:props:children:0:props:children:1:props:parameters:0"]}],"$L8ab"],"$L8ac","$L8ad"]}]]}] 7d5:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-labels","children":[["$L8ae","$undefined"],["$","$L3a",null,{"id":"get-labels"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-labels.md"}]]}]}],"$undefined"]}] 8b4:T8f9,
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
8b5:Tde1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
8b7:T1585,
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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8b9:T901,
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
8ba:Tde9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
8bc:T158d,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8bd:T14ad,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
7d6:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L8af",["$","$Lac",null,{"parameters":[{"name":"group_id","in":"path","description":"The ID of the label group from which to retrieve labels.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L8b0"},{"name":"limit","in":"query","required":false,"description":"The page size, that is, the maximum number of labels to return per page.\n\nTo get the next page of results, use `page_token`.","schema":{"type":"integer","minimum":1,"maximum":500,"default":100,"examples":[10]},"descriptionNode":"$L8b1"},{"in":"query","name":"page_token","required":false,"schema":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$L8b2"},"descriptionNode":"$L8b3"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$22:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8b4","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8b5","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$8b6","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$8b7","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$8b8","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8b9","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8ba","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$8bb","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$8bc","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels?limit=__RP_TOK_1__&page_token=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$8bd","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:page_token":"string"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}/labels","parameters":["$7d6:props:children:0:props:children:1:props:parameters:0","$7d6:props:children:0:props:children:1:props:parameters:1","$7d6:props:children:0:props:children:1:props:parameters:2"]}],"$L8be"],"$L8bf","$L8c0"]}]]}] 802:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-label","children":[["$L8c1","$undefined"],["$","$L3a",null,{"id":"update-label"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-label.md"}]]}]}],"$undefined"]}] 8c5:T573,
curl -X PATCH "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% VAT"
}'
8c6:Td84,
const payload = {
  "name": "20% VAT"
};
fetch("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8c7:T146b,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
  jsonData := []byte(`
{
  "name": "20% VAT"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% VAT"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
8c9:T19d2,
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": "20% VAT"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% VAT""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8cb:T57b,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% VAT"
}'
8cc:Td8c,
const payload = {
  "name": "20% VAT"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8cd:T1473,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
  jsonData := []byte(`
{
  "name": "20% VAT"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% VAT"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
8cf:T19da,
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": "20% VAT"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8d0:T1c38,
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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% VAT""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
803:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L8c2",["$","$Lac",null,{"parameters":[{"name":"group_id","in":"path","description":"The ID of the label group to which the label belongs.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L8c3"},{"name":"label_id","in":"path","description":"The ID of the label to update.","required":true,"schema":{"type":"string","format":"uuid","examples":["33279b4f-97ac-4a6f-8932-c6a3b0974060"]},"descriptionNode":"$L8c4"}],"requestBody":"$23:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$23:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% VAT\"\n}'","templateHtml":"$8c5","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% VAT\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8c6","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"name\": \"20% VAT\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8c7","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% VAT\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8c8","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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\": \"20% VAT\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$8c9","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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://b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% VAT\"\"\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":"$8ca","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% VAT\"\n}'","templateHtml":"$8cb","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% VAT\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8cc","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\n jsonData := []byte(`\n{\n \"name\": \"20% VAT\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8cd","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% VAT\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8ce","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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\": \"20% VAT\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$8cf","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_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-b2b.revolut.com/api/1.0/label-groups/__RP_TOK_0__/labels/__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% VAT\"\"\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":"$8d0","tokens":[{"marker":"__RP_TOK_0__","paramName":"group_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"label_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:group_id":"123e4567-e89b-12d3-a456-426614174000","path:label_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups/{group_id}/labels/{label_id}","parameters":["$803:props:children:0:props:children:1:props:parameters:0","$803:props:children:0:props:children:1:props:parameters:1"]}],"$L8d1"],"$L8d2","$L8d3"]}]]}] 82f:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-tax-rate","children":[["$L8d4","$undefined"],["$","$L3a",null,{"id":"update-tax-rate"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-tax-rate.md"}]]}]}],"$undefined"]}] 8d7:T55c,
curl -X PATCH "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% VAT"
}'
8d8:Td6d,
const payload = {
  "name": "20% VAT"
};
fetch("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8d9:T1454,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "20% VAT"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% VAT"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
8db: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 = """
{
  "name": "20% VAT"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% VAT""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8dd:T564,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% VAT"
}'
8de:Td75,
const payload = {
  "name": "20% VAT"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
8df:T145c,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "20% VAT"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% VAT"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
8e1:T19c3,
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": "20% VAT"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
8e2:T1c21,
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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% VAT""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
830:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L8d5",["$","$Lac",null,{"parameters":[{"name":"tax_rate_id","in":"path","description":"The ID of the tax rate to update.","required":true,"schema":{"type":"string","format":"uuid","examples":["09ad1ad3-a1c0-4c09-b8f8-24b439e72690"]},"descriptionNode":"$L8d6"}],"requestBody":"$28:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$28:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% VAT\"\n}'","templateHtml":"$8d7","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% VAT\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8d8","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"20% VAT\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8d9","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% VAT\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8da","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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\": \"20% VAT\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$8db","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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://b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% VAT\"\"\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":"$8dc","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% VAT\"\n}'","templateHtml":"$8dd","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% VAT\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8de","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"20% VAT\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8df","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% VAT\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$8e0","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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\": \"20% VAT\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$8e1","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_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-b2b.revolut.com/api/1.0/tax-rates/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% VAT\"\"\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":"$8e2","tokens":[{"marker":"__RP_TOK_0__","paramName":"tax_rate_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:tax_rate_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/tax-rates/{tax_rate_id}","parameters":["$830:props:children:0:props:children:1:props:parameters:0"]}],"$L8e3"],"$L8e4","$L8e5"]}]]}] 8e6:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)849:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$8e6","descriptionNode":"$L8e7"}}}] 84a:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 84b:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$3e:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L8e8"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L8e9"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 84c:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 84d:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 84e:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 84f:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 850:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 851:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 852:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 853:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 693:"Update card contacts" 5bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the tax rate."}]]}] 5bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the tax."}]]}] 5be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the tax rate was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 5bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the tax rate was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 5c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The tax rate percentage applied to the taxable amount. For example, ",["$","code","code-0",{"children":"23"}]," for 23%."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 negative tax rates manually.\nHowever, negative tax rates might be synced from your accounting software, if integrated."}]}]]}]]}] 5c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tax rate details"}]]}] 5c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 5c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 5ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 5ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 8f9:T8cb,
fetch("https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
8fa:Tdb3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
8fc:T1557,
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://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
8fe:T8d3,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
8ff:Tdbb,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
901:T155f,
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-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
902:T147f,
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-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
66:["$","$98","get-payment-drafts",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of payment drafts","content":{"application/json":{"schema":{"type":"object","required":["payment_orders"],"properties":{"payment_orders":{"type":"array","description":"The list of payment drafts that haven't been sent for processing.","items":{"type":"object","description":"A list of payments.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment draft.","descriptionNode":"$L8ea"},"scheduled_for":{"type":"string","format":"date","description":"The scheduled date of the payment draft in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L8eb"},"title":{"type":"string","description":"The title of the payment draft.","descriptionNode":"$L8ec"},"payments_count":{"type":"integer","description":"The number of payments in the payment draft.","descriptionNode":"$L8ed"},"source":{"type":"string","description":"The source from which the payment draft was created.","enum":["api","integration","email","business_app"],"descriptionNode":"$L8ee"}},"required":["id","payments_count"],"descriptionNode":"$L8ef"},"descriptionNode":"$L8f0"}}},"examples":{"default":{"value":{"payment_orders":[{"id":"e7e54cb2-861a-aaaa-80e9-3e6600f3db10","scheduled_for":"2026-06-24","title":"Draft Payment through API","payments_count":1,"source":"api"}]}}}}},"descriptionNode":"$L8f1"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L8f2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L8f3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L8f4"}}}}},"descriptionNode":"$L8f5"}},"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":"get-payment-drafts","children":[["$L8f6","$undefined"],["$","$L3a",null,{"id":"get-payment-drafts"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-payment-drafts.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L8f7",["$","$Lac",null,{"parameters":[{"name":"source","in":"query","required":false,"description":"Filter payment drafts by the source from which they were created.\n\n- `api`: Only drafts created with the API (excluding the [Draft payment](https://developer.revolut.com/docs/api/open-banking#tag-draft-payment) endpoints).\n- `integration`: Drafts created via integrations (e.g., Xero) and [Draft payment](https://developer.revolut.com/docs/api/open-banking#tag-draft-payment) endpoints.\n- `email`: Only drafts created via email.\n- `all`: All payment drafts, **including drafts created in the Revolut Business app**.","schema":{"type":"string","enum":["api","integration","email","all"]},"descriptionNode":"$L8f8"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$66:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:source":"api"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8f9","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8fa","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$8fb","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"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://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$8fc","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"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://b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$8fd","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:source":"api"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$8fe","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$8ff","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$900","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"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-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$901","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}},{"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-b2b.revolut.com/api/1.0/payment-drafts?source=__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$902","tokens":[{"marker":"__RP_TOK_0__","paramName":"source","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:source":"api"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts","parameters":["$66:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$L903"],"$L904","$L905"]}]]}]]}]}],false]}] 5d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the tax rate that you're trying to retrieve cannot be found.\nThis can happen, for example, when the tax rate has been deleted, or the provided tax rate ID is incorrect."}]]}] 5d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 5d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 5da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 5de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 5df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 5e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 5e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 5ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of a specific tax rate based on the tax rate ID."}],"\n",["$","p","p-1",{"children":"The details include the tax rate name and percentage, as well as when the tax rate was added to your settings, and when it was last updated."}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates","target":"_blank","rel":"noreferrer","children":"Manage tax rates"}],"."]}]]}] 5ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the tax rate to retrieve."}]]}] 6b1:"Retrieve accounting category details" 906:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)864:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$906","descriptionNode":"$L907"}}}] 865:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"update_amount","label":"Update the payment amount","rawValue":"$6c:props:children:0:props:children:props:requestBody:content:application/json:examples:update_amount:value","block":"$L908"},{"key":"update_reference","label":"Update the payment reference","rawValue":"$6c:props:children:0:props:children:props:requestBody:content:application/json:examples:update_reference:value","block":"$L909"},{"key":"update_receiver","label":"Update the receiver","rawValue":"$6c:props:children:0:props:children:props:requestBody:content:application/json:examples:update_receiver:value","block":"$L90a"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 866:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L90b"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"not_found","label":"Payment draft or payment not found","rawValue":"$6c:props:children:0:props:children:props:responses:404:content:application/json:examples:not_found:value","block":"$L90c"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"created_by_other_source","label":"Draft created by other source cannot be modified","rawValue":"$6c:props:children:0:props:children:props:responses:422:content:application/json:examples:created_by_other_source:value","block":"$L90d"},{"key":"already_processed","label":"Draft is already processed","rawValue":"$6c:props:children:0:props:children:props:responses:422:content:application/json:examples:already_processed:value","block":"$L90e"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L90f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 910:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)875:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$910","descriptionNode":"$L911"}}}] 876:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"category_with_default_tax_rate","label":"Accounting category with default tax rate","rawValue":"$17:props:children:0:props:children:props:requestBody:content:application/json:examples:category_with_default_tax_rate:value","block":"$L912"},{"key":"category_without_default_tax_rate","label":"Accounting category without default tax rate","rawValue":"$17:props:children:0:props:children:props:requestBody:content:application/json:examples:category_without_default_tax_rate:value","block":"$L913"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 877:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"resource_created","label":"Resource created","rawValue":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples:resource_created:value","block":"$L914"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"param_required","label":"Required parameter(s) missing","rawValue":"$17:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$L915"},{"key":"bad_param_type","label":"Incorrect parameter type","rawValue":"$17:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$L916"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$17:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L917"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$17:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$L918"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$17:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$L919"},{"key":"bad_param_format","label":"Incorrect parameter format","rawValue":"$17:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L91a"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L91b"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L91c"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L91d"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"category_with_name_exists","label":"Name must be unique","rawValue":"$17:props:children:0:props:children:props:responses:409:content:application/json:examples:category_with_name_exists:value","block":"$L91e"},{"key":"category_with_code_exists","label":"Code must be unique","rawValue":"$17:props:children:0:props:children:props:responses:409:content:application/json:examples:category_with_code_exists:value","block":"$L91f"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_modify_externally_managed_resource","label":"Accounting categories are managed by integration, cannot be created manually","rawValue":"$17:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_modify_externally_managed_resource:value","block":"$L920"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L921"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L922"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L923"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L924"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L925"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 926:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)887:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$926","descriptionNode":"$L927"}}}] 888:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 889:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"results_with_next_page","label":"Results exceed page size (when limit=5) & next page available","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:results_with_next_page:value","block":"$L928"},{"key":"results_single_page","label":"Results fit within page size, no more pages available","rawValue":"$1d:props:children:0:props:children:props:responses:200:content:application/json:examples:results_single_page:value","block":"$L929"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_param_type","label":"Incorrect query parameter type","rawValue":"$1d:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$L92a"},{"key":"param_value_too_low","label":"Query parameter value too low","rawValue":"$1d:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_low:value","block":"$L92b"},{"key":"param_value_too_high","label":"Query parameter value too high","rawValue":"$1d:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_high:value","block":"$L92c"},{"key":"multiple_values_not_allowed","label":"Multiple values provided for a single-value query parameter","rawValue":"$1d:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_values_not_allowed:value","block":"$L92d"},{"key":"param_cannot_be_empty","label":"Query parameter provided without a value","rawValue":"$1d:props:children:0:props:children:props:responses:400:content:application/json:examples:param_cannot_be_empty:value","block":"$L92e"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L92f"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L930"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L931"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L932"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L933"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L934"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L935"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L936"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 937:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)899:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$937","descriptionNode":"$L938"}}}] 89a:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1f:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L939"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 89b:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"param_required","label":"Body is empty","rawValue":"$1f:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$L93a"},{"key":"bad_param_format","label":"Incorrect parameter format","rawValue":"$1f:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L93b"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$1f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L93c"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$1f:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$L93d"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$1f:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$L93e"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L93f"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L940"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L941"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1f:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L942"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1f:props:children:0:props:children:props:responses:409:content:application/json:examples:default:value","block":"$L943"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_update_externally_managed_resource","label":"Labels and label groups are managed by integration, cannot be updated","rawValue":"$1f:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_update_externally_managed_resource:value","block":"$L944"},{"key":"state_mismatch","label":"Label group is no longer available","rawValue":"$1f:props:children:0:props:children:props:responses:422:content:application/json:examples:state_mismatch:value","block":"$L945"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L946"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L947"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L948"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L949"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L94a"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 94b:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)8ab:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$94b","descriptionNode":"$L94c"}}}] 8ac:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$21:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L94d"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 8ad:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"resource_created","label":"Resource created","rawValue":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples:resource_created:value","block":"$L94e"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"param_required","label":"Required parameter is missing","rawValue":"$21:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$L94f"},{"key":"bad_param_type","label":"Incorrect parameter type","rawValue":"$21:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$L950"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$21:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L951"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$21:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$L952"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$21:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$L953"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L954"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L955"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L956"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$21:props:children:0:props:children:props:responses:409:content:application/json:examples:default:value","block":"$L957"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_modify_externally_managed_resource","label":"Labels and label groups are managed by integration, cannot be created manually","rawValue":"$21:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_modify_externally_managed_resource:value","block":"$L958"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L959"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L95a"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L95b"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L95c"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L95d"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 95e:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)8be:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$95e","descriptionNode":"$L95f"}}}] 8bf:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 8c0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"results_with_next_page","label":"Results exceed page size (when limit=5) & next page available","rawValue":"$22:props:children:0:props:children:props:responses:200:content:application/json:examples:results_with_next_page:value","block":"$L960"},{"key":"results_single_page","label":"Results fit within page size, no more pages available","rawValue":"$22:props:children:0:props:children:props:responses:200:content:application/json:examples:results_single_page:value","block":"$L961"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_param_type","label":"Incorrect query parameter type","rawValue":"$22:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$L962"},{"key":"param_value_too_low","label":"Query parameter value too low","rawValue":"$22:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_low:value","block":"$L963"},{"key":"param_value_too_high","label":"Query parameter value too high","rawValue":"$22:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_high:value","block":"$L964"},{"key":"multiple_values_not_allowed","label":"Multiple values provided for a single-value query parameter","rawValue":"$22:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_values_not_allowed:value","block":"$L965"},{"key":"param_cannot_be_empty","label":"Query parameter provided without a value","rawValue":"$22:props:children:0:props:children:props:responses:400:content:application/json:examples:param_cannot_be_empty:value","block":"$L966"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L967"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L968"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L969"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L96a"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L96b"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L96c"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L96d"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L96e"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 96f:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)8d1:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$96f","descriptionNode":"$L970"}}}] 8d2:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$23:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L971"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 8d3:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"param_required","label":"Body is empty","rawValue":"$23:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$L972"},{"key":"bad_param_format","label":"Incorrect parameter format","rawValue":"$23:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L973"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$23:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L974"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$23:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$L975"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$23:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$L976"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L977"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L978"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L979"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$23:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L97a"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$23:props:children:0:props:children:props:responses:409:content:application/json:examples:default:value","block":"$L97b"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_update_externally_managed_resource","label":"Labels and label groups are managed by integration, cannot be updated","rawValue":"$23:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_update_externally_managed_resource:value","block":"$L97c"},{"key":"state_mismatch","label":"Label is no longer available","rawValue":"$23:props:children:0:props:children:props:responses:422:content:application/json:examples:state_mismatch:value","block":"$L97d"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L97e"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L97f"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L980"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L981"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L982"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 983:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)8e3:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$983","descriptionNode":"$L984"}}}] 8e4:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$28:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$L985"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 8e5:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"param_required","label":"Body is empty","rawValue":"$28:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$L986"},{"key":"bad_param_format","label":"Incorrect parameter format","rawValue":"$28:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$L987"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$28:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L988"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$28:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$L989"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$28:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$L98a"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$L98b"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$L98c"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L98d"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$28:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L98e"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$28:props:children:0:props:children:props:responses:409:content:application/json:examples:default:value","block":"$L98f"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_update_externally_managed_resource","label":"Tax rate managed by integration, cannot be updated","rawValue":"$28:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_update_externally_managed_resource:value","block":"$L990"},{"key":"state_mismatch","label":"Tax rate is no longer available","rawValue":"$28:props:children:0:props:children:props:responses:422:content:application/json:examples:state_mismatch:value","block":"$L991"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$L992"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$L993"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$L994"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$L995"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L996"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 997:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)903:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$997","descriptionNode":"$L998"}}}] 904:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 905:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$66:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L999"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L99a"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 5fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the role. This can be a UUID or other default role such as ",["$","code","code-0",{"children":"OWNER"}],"."]}]]}] 5fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the role."}]]}] 5fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the role was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 5ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the role was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 600:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about roles of the business"}]]}] 601:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 602:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 603:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad pagination parameters"}]]}] 604:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 605:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 606:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided"}]]}] 607:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 608:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 609:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to retrieve roles"}]]}] 60a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 60b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 60c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 60e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the list of roles for your business."}],"\n",["$","p","p-1",{"children":["The results are paginated and sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members","target":"_blank","rel":"noreferrer","children":"Manage team members"}],"."]}]]}] 60f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves roles with ",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],".\nThe default value is the current date and time at which you are calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Provided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 613:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] 614:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] 615:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] 616:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of event types that you are subscribed to."}]]}] 617:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The signing secret for the webhook."}]]}] 618:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about the webhook"}]]}] 619:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 61a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 61b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 61c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 61d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 61e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] 61f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 620:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 621:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 623:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the information about a specific webhook by ID."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#retrieve-a-specific-webhook","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] 624:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook to retrieve."}]]}] 6b:["$","$98","add-payment-draft-payment",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"The ID of the payment that was added to the draft","content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment added to the draft.","descriptionNode":"$L99b"}}},"examples":{"default":{"value":{"id":"a1b2c3d4-0000-0000-0000-000000000002"}}}}},"descriptionNode":"$L99c"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L99d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L99e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L99f"}}}}},"descriptionNode":"$L9a0"},"404":{"description":"The specified payment draft was not found.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9a1"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9a2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9a3"}}},"examples":{"draft_not_found":{"summary":"Payment draft not found","value":{"code":3006,"message":"The specified payment draft was not found"}}}}},"descriptionNode":"$L9a4"},"422":{"description":"Unprocessable Entity\n\nReturned when the payment draft cannot be modified.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9a5"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9a6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9a7"}}},"examples":{"created_by_other_source":{"summary":"Draft created by other source cannot be modified","value":{"code":3100,"message":"Payment draft was created via Partner API and cannot be updated"}},"already_processed":{"summary":"Draft is already processed","value":{"code":3417,"message":"Payment draft is already processed"}}}}},"descriptionNode":"$L9a8"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9a9"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9aa"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9ab"}}}}},"descriptionNode":"$L9ac"}},"requestBody":{"description":"The payment to add to the draft.","required":true,"content":{"application/json":{"schema":{"type":"object","description":"The details of the draft payment.","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account to pay from. \n\n:::note\nYou can specify only one account ID for multiple payments in the same payment draft.\n:::","descriptionNode":"$L9ad"},"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$L9ae"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$L9af"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$L9b0"}},"required":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:receiver:required","descriptionNode":"$L9b1"},"amount":{"type":"number","format":"double","exclusiveMinimum":0,"description":"The amount of the payment.","descriptionNode":"$L9b2"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L9b3"},"reference":{"type":"string","maxLength":255,"description":"The reference for the payment.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes.\n\nYou might include an invoice number, account or transaction ID, or any other reference meaningful to you.","descriptionNode":"$L9b4"},"charge_bearer":{"type":"string","description":"The party that should bear the transaction fees related to the selected transaction route if applied.\nPossible options are: \n- `shared`: Also known as **SHA**. The transaction route fees are split between the sender and the recipient. \n The sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks.\n- `debtor`: Also known as **OUR**. The sender pays all explicit transaction fees.\n\n:::note\n- This field is not supported for [bulk payments](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#use-cases). \n- Some transactions with fees might not support charge bearer selection.\n If this is the case, the request will return an error.\n To proceed with the default fee handling, remove this field from your request and try again.\n:::","enum":["shared","debtor"],"descriptionNode":"$L9b5"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$L9b6"}},"required":["account_id","receiver","amount","currency","reference"],"descriptionNode":"$L9b7"},"examples":{"simple_payment":{"summary":"Add a simple payment to a draft","value":{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"a15bcac4-dd42-45ed-a828-6806ccc8bb7e","account_id":"2bf609f4-9825-4401-b6f7-960c61f8bee0"},"amount":50,"currency":"GBP","reference":"Payment #456"}}}}},"descriptionNode":"$L9b8"},"variantLabels":[],"children":["$L9b9","$L9ba"]}]}],false]}] 1c:["$","$98","create-label-group",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"Resource created\n\nOn successful creation, the response returns only the ID of the new resource (i.e. the label group), even if the resource has more properties.\nTo get all the details of the label group, use the returned resource ID with a [GET request](https://developer.revolut.com/docs/api/business#get-label-group).","content":{"application/json":{"schema":{"description":"Successfully created resource.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the created resource.","descriptionNode":"$L9bb"}},"descriptionNode":"$L9bc"},"examples":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples"}},"descriptionNode":"$L9bd"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9be"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9bf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9c0"}}},"examples":{"param_required":{"summary":"Required parameter is missing","value":{"error_id":"69bc43d4-0ebf-4f7c-88e0-ebb7a1441a18","code":2101,"message":"'labels' is required"}},"bad_param_type":{"summary":"Incorrect parameter type","value":{"error_id":"69bc4467-8042-446f-b362-675e2921d71c","code":2101,"message":"'labels' must be an array"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"69bc1985-1313-42f0-8c0b-3673c665f135","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"7acc6073-5290-45f8-8956-c79d487ef1e5","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"'name' must be at most 100 characters"}},"param_value_missing":{"summary":"Parameter value too long","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"'labels' must not be empty"}}}}},"descriptionNode":"$L9c1"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9c2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9c3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9c4"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L9c5"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9c6"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9c7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9c8"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L9c9"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when a label group with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9ca"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9cb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9cc"}}},"examples":{"default":{"value":{"error_id":"69bc49bc-4e57-4768-ab6e-f281da25aa2b","code":3506,"message":"Label group with name 'My Unique Label Group' already exists"}}}}},"descriptionNode":"$L9cd"},"422":{"description":"Unprocessable entity - label group cannot be created due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9ce"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9cf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9d0"}}},"examples":{"cannot_modify_externally_managed_resource":{"summary":"Labels and label groups are managed by integration, cannot be created manually","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Labels are managed by your connected accounting integration and cannot be modified manually"}},"group_limit_exceeded":{"summary":"Label groups limit exceeded","value":{"error_id":"69bc3507-cfd6-4e04-bd79-2d57a3951774","code":3591,"message":"Maximum of 5 label groups per business reached"}}}}},"descriptionNode":"$L9d1"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9d2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9d3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9d4"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$L9d5"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9d6"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9d7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9d8"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$L9d9"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9da"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9db"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9dc"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$L9dd"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9de"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9df"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9e0"}}}}},"descriptionNode":"$L9e1"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","labels"],"properties":{"name":{"description":"The name for the new label group.","type":"string","minLength":1,"maxLength":100,"descriptionNode":"$L9e2"},"labels":{"description":"The labels to create in the new group.\n\nThe maximum number of labels you can create for a new group is 200.\nIf you need to add more, you can add them later by [creating new labels individually](https://developer.revolut.com/docs/api/business#create-label).","type":"array","minItems":1,"maxItems":200,"items":{"type":"object","required":"$21:props:children:0:props:children:props:requestBody:content:application/json:schema:required","properties":{"name":{"description":"The name for the new label.","type":"string","minLength":1,"maxLength":100,"descriptionNode":"$L9e3"}}},"descriptionNode":"$L9e4"}}},"examples":{"department_labels":{"summary":"Label group for Department","value":{"name":"Department","labels":[{"name":"Sales & Account Management"},{"name":"Product Management"},{"name":"Design & UX"},{"name":"Customer Success"},{"name":"Engineering"},{"name":"Research & Development"},{"name":"Operations"},{"name":"Quality Assurance"},{"name":"Data Science & Analytics"},{"name":"Executive & Leadership"}]}},"team_labels":{"summary":"Label group for Team","value":{"name":"Team","labels":[{"name":"Brand Design & Creative Services"},{"name":"Enterprise Sales (Europe)"},{"name":"Cloud Infrastructure & DevOps"},{"name":"Growth & Performance Marketing"},{"name":"Mobile App Development"}]}}}}}},"variantLabels":["Label group for Department","Label group for Team"],"children":["$L9e5","$L9e6"]}]}],false]}] 25:["$","$98","create-tax-rate",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"Resource created\n\nOn successful creation, the response returns only the ID of the new resource (i.e. the tax rate), even if the resource has more properties.\nTo get all the details of the tax rate, use the returned resource ID with a [GET request](https://developer.revolut.com/docs/api/business#get-tax-rate).","content":{"application/json":{"schema":{"description":"Successfully created resource.","type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the created resource.","descriptionNode":"$L9e7"}},"descriptionNode":"$L9e8"},"examples":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples"}},"descriptionNode":"$L9e9"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9ea"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9eb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9ec"}}},"examples":{"param_required":{"summary":"Required parameter is missing","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18","code":2101,"message":"'percentage' is required"}},"bad_param_type":{"summary":"Incorrect parameter type","value":{"error_id":"29146977-8042-446f-b362-675e2921d71c","code":2101,"message":"'percentage' must be a number"}},"param_value_too_low":{"summary":"Parameter value too low","value":{"error_id":"b5a51cd1-9d0f-4074-adae-af224b14c830","code":2101,"message":"'percentage' must be at least 0"}},"param_value_too_high":{"summary":"Parameter value too high","value":{"error_id":"89ceb92e-4633-4f78-8d40-42dadc380511","code":2101,"message":"'percentage' must be at most 100"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"df7b76b2-1313-42f0-8c0b-3673c665f135","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"7acc6073-5290-45f8-8956-c79d487ef1e5","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"'name' must be at most 20 characters"}}}}},"descriptionNode":"$L9ed"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9ee"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9ef"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9f0"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$L9f1"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9f2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9f3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9f4"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$L9f5"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when a tax rate with the provided name already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9f6"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9f7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9f8"}}},"examples":{"default":{"value":{"error_id":"8c08b656-4e57-4768-ab6e-f281da25aa2b","code":3505,"message":"Tax rate with name My Unique Rate already exists"}}}}},"descriptionNode":"$L9f9"},"422":{"description":"Unprocessable entity - tax rate cannot be created due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and tax rates are managed by that integration.\n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9fa"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9fb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L9fc"}}},"examples":{"cannot_modify_externally_managed_resource":{"summary":"Tax rates are managed by integration, cannot be created manually","value":{"error_id":"e950c41e-cfd6-4e04-bd79-2d57a3951774","code":3514,"message":"Tax rates are managed by your connected accounting integration and cannot be modified manually"}}}}},"descriptionNode":"$L9fd"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L9fe"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L9ff"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La00"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$La01"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La02"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La03"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La04"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$La05"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La06"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La07"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La08"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$La09"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La0a"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La0b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La0c"}}}}},"descriptionNode":"$La0d"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","description":"The tax rate that can be applied to financial records, such as expenses.","required":["name"],"properties":{"name":{"type":"string","description":"The name of the tax.","minLength":1,"maxLength":20,"descriptionNode":"$La0e"},"percentage":{"type":"number","format":"double","minimum":0,"maximum":100,"description":"The tax rate percentage applied to the taxable amount. For example, `23` for 23%.","descriptionNode":"$La0f"}},"descriptionNode":"$La10"},{"description":"The tax rate to create.","required":["name","percentage"],"descriptionNode":"$La11"}]},"examples":{"default":{"value":{"name":"20% (VAT on Expenses)","percentage":20}}}}}},"variantLabels":[],"children":["$La12","$La13"]}]}],false]}] 26:["$","$98","get-tax-rates",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of tax rates","content":{"application/json":{"schema":{"type":"object","properties":{"next_page_token":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$La14"},"tax_rates":{"type":"array","items":{"type":"object","required":"$27:props:children:0:props:children:props:responses:200:content:application/json:schema:required","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the tax rate.","readOnly":true,"descriptionNode":"$La15"},"name":{"type":"string","description":"The name of the tax.","minLength":1,"maxLength":20,"descriptionNode":"$La16"},"created_at":{"type":"string","format":"date-time","description":"The date and time the tax rate was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$La17"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the tax rate was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","readOnly":true,"descriptionNode":"$La18"},"percentage":{"type":"number","format":"double","description":"The tax rate percentage applied to the taxable amount. For example, `23` for 23%.\n\n:::note\nYou cannot create negative tax rates manually. \nHowever, negative tax rates might be synced from your accounting software, if integrated. \n:::","minimum":-100,"maximum":100,"descriptionNode":"$La19"}}}}},"required":["tax_rates"]},"examples":{"results_with_next_page":{"summary":"Results exceed page size (when limit=5) & next page available","value":{"next_page_token":"MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA","tax_rates":[{"id":"f0e1d2c3-b4a5-4678-9012-3456789abcde","name":"Import Duty Surcharge","created_at":"2026-03-19T07:15:00.000000Z","updated_at":"2026-03-19T08:45:22.111444Z","percentage":12.75},{"id":"f09ad1ad3-a1c0-4c09-b8f8-24b439e72690","name":"20% (VAT on Expenses)","created_at":"2026-03-11T10:33:51.121090Z","updated_at":"2026-03-11T10:33:51.121090Z","percentage":20},{"id":"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d","name":"Reduced Rate Food & Beverage","created_at":"2026-02-01T08:00:00.000000Z","updated_at":"2026-02-01T08:00:00.000000Z","percentage":5.5},{"id":"5f4e3d2c-1b0a-4987-8765-43210fedcba9","name":"Standard Output Tax (High)","created_at":"2026-01-15T10:20:30.123456Z","updated_at":"2026-03-10T14:45:12.987654Z","percentage":20},{"id":"98765432-abcd-ef01-2345-67890abcdef0","name":"Exempt Financial Services","created_at":"2025-12-20T11:11:11.000Z","updated_at":"2026-03-15T09:30:00.555222Z","percentage":0}]}},"results_single_page":{"summary":"Results fit within page size, no more pages available","value":{"tax_rates":[{"id":"7e6d5c4b-3a2b-1c0d-9e8f-7a6b5c4d3e2f","name":"Luxury Goods Tax","created_at":"2026-03-23T14:30:00.000000Z","updated_at":"2026-03-23T14:30:00.000000Z","percentage":25},{"id":"8a7b6c5d-4e3f-2g1h-0i9j-8k7l6m5n4o3p","name":"Environmental Levy","created_at":"2026-03-22T09:15:22.000000Z","updated_at":"2026-03-22T10:00:00.000000Z","percentage":3.5},{"id":"1f2e3d4c-5b6a-7988-7766-554433221100","name":"Digital Services Tax","created_at":"2026-03-21T11:45:00.000000Z","updated_at":"2026-03-21T11:45:00.000000Z","percentage":7}]}}}}},"descriptionNode":"$La1a"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La1b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La1c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La1d"}}},"examples":{"bad_param_type":{"summary":"Incorrect query parameter type","value":{"error_id":"29146977-8042-446f-b362-af224b14c830","code":2101,"message":"Query parameter 'limit' must be an integer"}},"param_value_too_low":{"summary":"Query parameter value too low","value":{"error_id":"b5a51cd1-9d0f-4074-adae-675e2921d71c","code":2101,"message":"Query parameter 'limit' must be at least 1"}},"param_value_too_high":{"summary":"Query parameter value too high","value":{"error_id":"fa12f45e-4633-4f78-8d40-42dadc380511","code":2101,"message":"Query parameter 'limit' must be at most 500"}},"multiple_values_not_allowed":{"summary":"Multiple values provided for a single-value query parameter","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"Query parameter 'limit' must have a single value"}},"param_cannot_be_empty":{"summary":"Query parameter provided without a value","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-3673c665f135","code":2101,"message":"Query parameter 'limit' must not be empty"}}}}},"descriptionNode":"$La1e"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La1f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La20"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La21"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$La22"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La23"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La24"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La25"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$La26"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La27"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La28"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La29"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$La2a"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La2b"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La2c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La2d"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$La2e"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La2f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La30"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La31"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$La32"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$La33"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$La34"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La35"}}}}},"descriptionNode":"$La36"}},"requestBody":"$undefined","variantLabels":["Results exceed page size (when limit=5) & next page available","Results fit within page size, no more pages available"],"children":["$La37","$La38"]}]}],false]}] a48:T8be,
fetch("https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a49:Tda6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
a4b:T154a,
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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a4d:T8c6,
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a4e:Tdae,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
a50:T1552,
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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a51:T1472,
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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
3f:["$","$98","get-account",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about a specific account","content":{"application/json":{"schema":{"type":"object","description":"","properties":{"id":{"type":"string","format":"uuid","description":"The account ID.","descriptionNode":"$La39"},"name":{"type":"string","description":"The account name.","descriptionNode":"$La3a"},"balance":{"type":"number","format":"double","description":"The current balance on the account.","descriptionNode":"$La3b"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$La3c"},"state":{"type":"string","enum":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:state:enum","description":"Indicates the state of the account.","descriptionNode":"$La3d"},"public":{"type":"boolean","description":"Indicates whether the account is visible to other businesses on Revolut.","descriptionNode":"$La3e"},"created_at":{"type":"string","format":"date-time","description":"The date and time the account was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$La3f"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the account was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$La40"}},"required":"$3e:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required"},"examples":{"default":{"value":{"id":"b7ec67d3-5af1-42c8-bece-3d28nlmo894d","name":"International account","balance":3171.89,"currency":"GBP","state":"active","public":false,"created_at":"2022-08-05T14:29:22.215785Z","updated_at":"2022-08-05T14:29:22.215785Z"}}}}},"descriptionNode":"$La41"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$La42"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$La43"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$La44"}},"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":"get-account","children":[["$La45","$undefined"],["$","$L3a",null,{"id":"get-account"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-account.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$La46",["$","$Lac",null,{"parameters":[{"name":"account_id","in":"path","required":true,"description":"The ID of the account to retrieve.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$La47"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$3f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a48","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a49","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$a4a","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$a4b","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$a4c","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a4d","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a4e","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$a4f","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$a50","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$a51","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounts/{account_id}","parameters":["$3f:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$La52"],"$La53","$La54"]}]]}]]}]}],false]}] 635:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$La55","\n","$La56","\n"]}]]}] 610:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of roles returned per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last role returned in the previous response as the value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] aed:I["50460d952402",[],"ScrollArea",1] af0:I["669a0b877249",[],"CopyButton",1] 9b9:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"add-payment-draft-payment","children":[["$La57","$undefined"],["$","$L3a",null,{"id":"add-payment-draft-payment"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/add-payment-draft-payment.md"}]]}]}],"$undefined"]}] a5a:T89b,
curl -X POST "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}'
a5b:T13f4,
const payload = {
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
};
fetch("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
a5c:T1793,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"
  jsonData := []byte(`
{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
a5e:T407,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 = """ { "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb", "receiver": { "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e", "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0" }, "amount": 50, "currency": "GBP", "reference": "Payment #456" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }a5f:T1cfa,
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 = """
{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb"",
  ""receiver"": {
    ""counterparty_id"": ""a15bcac4-dd42-45ed-a828-6806ccc8bb7e"",
    ""account_id"": ""2bf609f4-9825-4401-b6f7-960c61f8bee0""
  },
  ""amount"": 50,
  ""currency"": ""GBP"",
  ""reference"": ""Payment #456""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a61:T8a3,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}'
a62:T13fc,
const payload = {
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
a63:T179b,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"
  jsonData := []byte(`
{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
a65:T40f,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 = """ { "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb", "receiver": { "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e", "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0" }, "amount": 50, "currency": "GBP", "reference": "Payment #456" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }a66:T1d02,
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 = """
{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a67:T26ac,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb"",
  ""receiver"": {
    ""counterparty_id"": ""a15bcac4-dd42-45ed-a828-6806ccc8bb7e"",
    ""account_id"": ""2bf609f4-9825-4401-b6f7-960c61f8bee0""
  },
  ""amount"": 50,
  ""currency"": ""GBP"",
  ""reference"": ""Payment #456""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
9ba:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$La58",["$","$Lac",null,{"parameters":[{"name":"payment_draft_id","in":"path","required":true,"description":"The ID of the payment draft to add the payment to.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$La59"}],"requestBody":"$6b:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$6b:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}'","templateHtml":"$a5a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a5b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\"\n jsonData := []byte(`\n{\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a5c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$a5d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$a5e","templateHtml":"$a5f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\"\",\n \"\"account_id\"\": \"\"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\"\n },\n \"\"amount\"\": 50,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"Payment #456\"\"\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":"$a60","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}'","templateHtml":"$a61","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a62","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\"\n jsonData := []byte(`\n{\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a63","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$a64","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$a65","templateHtml":"$a66","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__/payments\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\"\",\n \"\"account_id\"\": \"\"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\"\n },\n \"\"amount\"\": 50,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"Payment #456\"\"\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":"$a67","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts/{payment_draft_id}/payments","parameters":["$9ba:props:children:0:props:children:1:props:parameters:0"]}],"$La68"],"$La69","$La6a"]}]]}] 9e5:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-label-group","children":[["$La6b","$undefined"],["$","$L3a",null,{"id":"create-label-group"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-label-group.md"}]]}]}],"$undefined"]}] a6d:T119c,
curl -X POST "https://b2b.revolut.com/api/1.0/label-groups" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}'
a6e:T1e7d,
const payload = {
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
};
fetch("https://b2b.revolut.com/api/1.0/label-groups", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
a6f:T2094,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/label-groups"
  jsonData := []byte(`
{
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/label-groups"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
a71:T4ed,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": "Department", "labels": [ { "name": "Sales & Account Management" }, { "name": "Product Management" }, { "name": "Design & UX" }, { "name": "Customer Success" }, { "name": "Engineering" }, { "name": "Research & Development" }, { "name": "Operations" }, { "name": "Quality Assurance" }, { "name": "Data Science & Analytics" }, { "name": "Executive & Leadership" } ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/label-groups")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }a72:T25fb,
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": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/label-groups"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a73:T4a1,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""name"": ""Department"", ""labels"": [ { ""name"": ""Sales & Account Management"" }, { ""name"": ""Product Management"" }, { ""name"": ""Design & UX"" }, { ""name"": ""Customer Success"" }, { ""name"": ""Engineering"" }, { ""name"": ""Research & Development"" }, { ""name"": ""Operations"" }, { ""name"": ""Quality Assurance"" }, { ""name"": ""Data Science & Analytics"" }, { ""name"": ""Executive & Leadership"" } ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }a74:T3683,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/label-groups"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Department"",
  ""labels"": [
    {
      ""name"": ""Sales & Account Management""
    },
    {
      ""name"": ""Product Management""
    },
    {
      ""name"": ""Design & UX""
    },
    {
      ""name"": ""Customer Success""
    },
    {
      ""name"": ""Engineering""
    },
    {
      ""name"": ""Research & Development""
    },
    {
      ""name"": ""Operations""
    },
    {
      ""name"": ""Quality Assurance""
    },
    {
      ""name"": ""Data Science & Analytics""
    },
    {
      ""name"": ""Executive & Leadership""
    }
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a75:T11a4,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/label-groups" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}'
a76:T1e85,
const payload = {
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/label-groups", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
a77:T209c,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/label-groups"
  jsonData := []byte(`
{
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/label-groups"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
a79:T4f5,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": "Department", "labels": [ { "name": "Sales & Account Management" }, { "name": "Product Management" }, { "name": "Design & UX" }, { "name": "Customer Success" }, { "name": "Engineering" }, { "name": "Research & Development" }, { "name": "Operations" }, { "name": "Quality Assurance" }, { "name": "Data Science & Analytics" }, { "name": "Executive & Leadership" } ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/label-groups")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }a7a:T2603,
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": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/label-groups"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a7b:T4a9,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-b2b.revolut.com/api/1.0/label-groups"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""name"": ""Department"", ""labels"": [ { ""name"": ""Sales & Account Management"" }, { ""name"": ""Product Management"" }, { ""name"": ""Design & UX"" }, { ""name"": ""Customer Success"" }, { ""name"": ""Engineering"" }, { ""name"": ""Research & Development"" }, { ""name"": ""Operations"" }, { ""name"": ""Quality Assurance"" }, { ""name"": ""Data Science & Analytics"" }, { ""name"": ""Executive & Leadership"" } ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }a7c:T368b,
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-b2b.revolut.com/api/1.0/label-groups"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Department"",
  ""labels"": [
    {
      ""name"": ""Sales & Account Management""
    },
    {
      ""name"": ""Product Management""
    },
    {
      ""name"": ""Design & UX""
    },
    {
      ""name"": ""Customer Success""
    },
    {
      ""name"": ""Engineering""
    },
    {
      ""name"": ""Research & Development""
    },
    {
      ""name"": ""Operations""
    },
    {
      ""name"": ""Quality Assurance""
    },
    {
      ""name"": ""Data Science & Analytics""
    },
    {
      ""name"": ""Executive & Leadership""
    }
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
9e6:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$La6c",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$1c:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$1c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/label-groups\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}'","templateHtml":"$a6d","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n};\nfetch(\"https://b2b.revolut.com/api/1.0/label-groups\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a6e","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/label-groups\"\n jsonData := []byte(`\n{\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a6f","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/label-groups\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$a70","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$a71","templateHtml":"$a72","tokens":[],"defaults":{}},{"id":"csharp","label":"C#","templateCode":"$a73","templateHtml":"$a74","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/label-groups\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}'","templateHtml":"$a75","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/label-groups\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a76","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/label-groups\"\n jsonData := []byte(`\n{\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a77","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/label-groups\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$a78","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$a79","templateHtml":"$a7a","tokens":[],"defaults":{}},{"id":"csharp","label":"C#","templateCode":"$a7b","templateHtml":"$a7c","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/label-groups","parameters":[]}],"$La7d"],"$La7e","$La7f"]}]]}] a12:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-tax-rate","children":[["$La80","$undefined"],["$","$L3a",null,{"id":"create-tax-rate"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-tax-rate.md"}]]}]}],"$undefined"]}] a82:T5c2,
curl -X POST "https://b2b.revolut.com/api/1.0/tax-rates" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% (VAT on Expenses)",
  "percentage": 20
}'
a83:Te7b,
const payload = {
  "name": "20% (VAT on Expenses)",
  "percentage": 20
};
fetch("https://b2b.revolut.com/api/1.0/tax-rates", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
a84:T14ba,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/tax-rates"
  jsonData := []byte(`
{
  "name": "20% (VAT on Expenses)",
  "percentage": 20
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/tax-rates"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% (VAT on Expenses)",
  "percentage": 20
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
a86:T1a21,
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": "20% (VAT on Expenses)",
  "percentage": 20
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/tax-rates"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/tax-rates"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% (VAT on Expenses)"",
  ""percentage"": 20
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a88:T5ca,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/tax-rates" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "20% (VAT on Expenses)",
  "percentage": 20
}'
a89:Te83,
const payload = {
  "name": "20% (VAT on Expenses)",
  "percentage": 20
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/tax-rates", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
a8a:T14c2,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/tax-rates"
  jsonData := []byte(`
{
  "name": "20% (VAT on Expenses)",
  "percentage": 20
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/tax-rates"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "20% (VAT on Expenses)",
  "percentage": 20
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
a8c:T1a29,
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": "20% (VAT on Expenses)",
  "percentage": 20
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/tax-rates"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a8d:T1d69,
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-b2b.revolut.com/api/1.0/tax-rates"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""20% (VAT on Expenses)"",
  ""percentage"": 20
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a13:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$La81",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$25:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$25:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/tax-rates\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}'","templateHtml":"$a82","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n};\nfetch(\"https://b2b.revolut.com/api/1.0/tax-rates\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a83","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/tax-rates\"\n jsonData := []byte(`\n{\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a84","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/tax-rates\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$a85","tokens":[],"defaults":{}},{"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\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/tax-rates\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$a86","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/tax-rates\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% (VAT on Expenses)\"\",\n \"\"percentage\"\": 20\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":"$a87","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}'","templateHtml":"$a88","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a89","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/tax-rates\"\n jsonData := []byte(`\n{\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a8a","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$a8b","tokens":[],"defaults":{}},{"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\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$a8c","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/tax-rates\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"20% (VAT on Expenses)\"\",\n \"\"percentage\"\": 20\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":"$a8d","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/tax-rates","parameters":[]}],"$La8e"],"$La8f","$La90"]}]]}] a37:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-tax-rates","children":[["$La91","$undefined"],["$","$L3a",null,{"id":"get-tax-rates"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-tax-rates.md"}]]}]}],"$undefined"]}] a96:T8e2,
fetch("https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a97:Tdca,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
a99:T156e,
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://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a9b:T8ea,
fetch("https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
a9c:Tdd2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
a9e:T1576,
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-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
a9f:T1496,
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-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
a38:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$La92",["$","$Lac",null,{"parameters":[{"name":"limit","in":"query","required":false,"description":"The page size, that is, the maximum number of tax rates to return per page.\n\nTo get the next page of results, use `page_token`.","schema":{"type":"integer","minimum":1,"maximum":500,"default":100,"examples":[10]},"descriptionNode":"$La93"},{"in":"query","name":"page_token","required":false,"schema":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$La94"},"descriptionNode":"$La95"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$26:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a96","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a97","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$a98","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$a99","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$a9a","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$a9b","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$a9c","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$a9d","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$a9e","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/tax-rates?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$a9f","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/tax-rates","parameters":["$a38:props:children:0:props:children:1:props:parameters:0","$a38:props:children:0:props:children:1:props:parameters:1"]}],"$Laa0"],"$Laa1","$Laa2"]}]]}] aa3:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)a52:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$aa3","descriptionNode":"$Laa4"}}}] a53:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] a54:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$3f:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Laa5"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Laa6"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] a55:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] a56:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 83d:"Retrieve all accounts" 64f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Laa7","\n","$Laa8","\n"]}]]}] 658:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the accounting category."}]]}] 659:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the accounting category."}]]}] 65a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the accounting category."}]]}] 65b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the accounting category was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 65c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the accounting category was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 65d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the default ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-tax-rate","target":"_blank","rel":"noreferrer","children":"tax rate"}]," applied to items in this accounting category unless overridden for a specific item."]}]]}] 65e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Accounting category details"}]]}] 65f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 660:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 661:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 662:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the required path parameter is missing or malformatted."}]]}] 663:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 664:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 665:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 666:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 667:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 668:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 681:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"One of the card's contacts."}]]}] 682:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of contacts for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 683:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Updated list of contacts"}]]}] 684:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 685:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 686:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the provided list of contacts is empty or too many contacts are provided, or when it's malformed or contains incorrect values."}]]}] 687:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 688:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 689:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card not found"}],"\n",["$","p","p-1",{"children":"The card for which you wish to update contacts does not exist."}]]}] 68a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 68b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 68c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Content"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to update contacts for a card other than a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 68d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 68e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 68f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 690:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"One of the card's contacts."}]]}] 691:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of contacts for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 692:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"New contacts for the card."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This will ",["$","strong","strong-0",{"children":"override"}]," the existing list of contacts."]}]}]]}]]}] 6a:["$","$98","update-payment-draft",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"The payment draft was successfully updated","descriptionNode":"$Laa9"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Laaa"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Laab"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Laac"}}}}},"descriptionNode":"$Laad"},"404":{"description":"The specified payment draft was not found.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Laae"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Laaf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lab0"}}},"examples":{"draft_not_found":{"summary":"Payment draft not found","value":{"code":3006,"message":"The specified payment draft was not found"}}}}},"descriptionNode":"$Lab1"},"422":{"description":"Unprocessable Entity\n\nReturned when the payment draft cannot be modified.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lab2"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lab3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lab4"}}},"examples":{"created_by_other_source":{"summary":"Draft created by other source cannot be modified","value":{"code":3100,"message":"Payment draft was created via Partner API and cannot be updated"}},"already_processed":{"summary":"Draft is already processed","value":{"code":3417,"message":"Payment draft is already processed"}}}}},"descriptionNode":"$Lab5"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lab6"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lab7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lab8"}}}}},"descriptionNode":"$Lab9"}},"requestBody":{"description":"The fields to update on the payment draft.","required":true,"content":{"application/json":{"schema":{"type":"object","description":"The updated metadata of a payment draft.","minProperties":1,"properties":{"title":{"type":["string","null"],"minLength":1,"maxLength":255,"description":"The title of the payment draft. To clear the title, provide `null`.","descriptionNode":"$Laba"},"schedule_for":{"type":["string","null"],"format":"date","description":"The scheduled date of the payment draft in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n\n:::note\nThe date must be in the future.\n:::\n\nTo clear the scheduled date, provide `null`.","descriptionNode":"$Labb"}},"descriptionNode":"$Labc"},"examples":{"update_title":{"summary":"Update the draft title","value":{"title":"Updated Draft Title"}},"update_schedule":{"summary":"Update the scheduled date","value":{"schedule_for":"2026-07-01"}},"update_both":{"summary":"Update both title and scheduled date","value":{"title":"Updated Draft Title","schedule_for":"2026-07-01"}}}}},"descriptionNode":"$Labd"},"variantLabels":["Update the draft title","Update the scheduled date","Update both title and scheduled date"],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-payment-draft","children":[["$Labe","$undefined"],["$","$L3a",null,{"id":"update-payment-draft"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-payment-draft.md"}]]}]}],"$undefined"]}],"$Labf"]}]}],false]}] 78:["$","$98","invite-team-member",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"Information about the new member","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the invited member.","format":"email","descriptionNode":"$Lac0"},"id":{"type":"string","description":"The ID of the invited member.","descriptionNode":"$Lac1"},"role_id":{"type":"string","description":"The ID of the [role](https://developer.revolut.com/docs/api/business#get-roles) assigned to the member.","descriptionNode":"$Lac2"},"created_at":{"type":"string","format":"date-time","description":"The date and time when the member was created.","descriptionNode":"$Lac3"},"updated_at":{"type":"string","format":"date-time","description":"The date and time when the member was last updated.","descriptionNode":"$Lac4"}},"required":["email","id","role_id","created_at","updated_at"]},"examples":{"default":{"value":{"email":"john.smith@example.com","id":"76969b71-a123-42dc-b874-a34688d7bba4","role_id":"0098ac28-b92f-435e-a3a2-2829d3918dfb","created_at":"2022-09-07T09:19:31.592368Z","updated_at":"2022-09-07T09:21:24.346670Z"}}}}},"descriptionNode":"$Lac5"},"400":{"description":"Bad request, for example, invalid role ID or invalid email address provided","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lac6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lac7"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_role_id_uuid":{"summary":"Invalid role ID (UUID)","value":{"code":3053,"message":"Business role 0098ac28-b92f-435e-a3a2-2829d3918dfb not found"}},"invalid_role_id_default":{"summary":"Invalid role ID (non-UUID)","value":{"code":3402,"message":"Invalid role: nonexistent_role_id"}},"invalid_email":{"summary":"Invalid email address","value":{"code":3000,"message":"Invalid email address: (masked) ****.*******.*******.***"}}}}},"descriptionNode":"$Lac8"},"401":{"description":"Unauthorized\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lac9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Laca"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":401,"message":"The request should be authorized."}}}}},"descriptionNode":"$Lacb"},"403":{"description":"Action forbidden\n\nReturned, for example, when you don't have permissions necessary to invite team members","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lacc"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lacd"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$Lace"},"422":{"description":"Team member with the given email cannot be invited","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lacf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lad0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"user_already_invited":{"summary":"Team member already invited","value":{"code":33005,"message":"Team member with given email has already been invited."}},"user_is_member_of_another_business":{"summary":"Team member cannot be invited","value":{"code":33008,"message":"Team member with given email cannot be invited."}}}}},"descriptionNode":"$Lad1"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lad2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lad3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lad4"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","description":"The email address of the invited member.","format":"email","descriptionNode":"$Lad5"},"role_id":{"type":"string","description":"The ID of the [role](https://developer.revolut.com/docs/api/business#get-roles) to assign to the new member.","descriptionNode":"$Lad6"}},"required":["email","role_id"]},"examples":{"default":{"value":{"email":"john.smith@example.com","role_id":"0098ac28-b92f-435e-a3a2-2829d3918dfb"}}}}}},"variantLabels":[],"children":["$Lad7","$Lad8"]}]}],false]}] 8f:["$","$98","get-failed-webhook-events",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The list of all your existing failed webhook events","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["id","created_at","updated_at","webhook_id","webhook_url","payload"],"description":"A webhook event","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook event.","descriptionNode":"$Lad9"},"created_at":{"type":"string","format":"date-time","description":"The date and time the event was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Lada"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the event was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ladb"},"webhook_id":{"type":"string","format":"uuid","description":"The ID of the webhook for which the event failed.","descriptionNode":"$Ladc"},"webhook_url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$Ladd"},"payload":{"type":"object","description":"The details of the failed event.","descriptionNode":"$Lade"},"last_sent_date":{"type":"string","format":"date-time","description":"The date and time the last attempt at the event delivery occurred in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ladf"}},"descriptionNode":"$Lae0"}},"examples":{"default":{"value":[{"id":"d6d04ec2-2a48-4825-8fba-3603cdacdba7","created_at":"2023-01-26T16:22:21.297570Z","updated_at":"2023-01-26T16:22:21.534872Z","webhook_id":"c8083529-fb91-4de0-a66d-9fc3ccc1da10","webhook_url":"https://www.example.com","payload":{"data":{"id":"63d2a8bd-8b67-a2de-b1d2-b58ee21d7073","legs":[{"fee":0.2,"amount":-10,"leg_id":"63d2a8bd-8b67-a2de-0000-b58ee21d7073","currency":"GBP","account_id":"05018b0d-e67c-4fec-bea6-415e9da9432c","description":"To Acme Corp","counterparty":{"id":"7e18625a-3e6c-4d4f-8429-216c25309a5f","account_id":"ff29e658-f07f-4d81-bc0f-7ad0ff141357","account_type":"external"}}],"type":"transfer","state":"pending","reference":"To John Doe","created_at":"2023-01-26T16:22:21.232551Z","request_id":"6a8b2ad9-d8b9-4348-9207-1c5737ccf11b","updated_at":"2023-01-26T16:22:21.232551Z"},"event":"TransactionCreated","timestamp":"2023-01-26T16:22:21.230599Z"},"last_sent_date":"2023-01-26T16:52:21.534798Z"},{"id":"d6d04ec2-2a48-4825-8fba-3603cdacdba7","created_at":"2023-07-22T11:52:21.297570Z","updated_at":"2023-07-22T11:52:21.534872Z","webhook_id":"c8083529-fb91-4de0-a66d-9fc3ccc1da10","webhook_url":"https://www.example.com","payload":{"data":{"id":"0e1a8d4b-1d1e-457d-9f10-3e7007a82ea8","request_id":"2e2837f5-828d-473f-85e8-5614afd3f8e8","old_state":"active","new_state":"processed"},"event":"PayoutLinkStateChanged","timestamp":"2023-07-22T12:31:18.534798Z"},"last_sent_date":"2023-07-22T12:52:21.534798Z"}]}}}},"descriptionNode":"$Lae1"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lae2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lae3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"bad_limit":{"summary":"Bad limit","value":{"message":"limit must be between 1 and 1000","code":2101}},"bad_created_before":{"summary":"Bad created_before","value":{"message":"created_before must be after 2023-07-11T13:11:39.623178Z, but is: 2023-07-10T16:22:21.297570Z","code":2101}}}}},"descriptionNode":"$Lae4"},"404":{"description":"Webhook not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lae5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lae6"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Webhook not found","code":3040}}}}},"descriptionNode":"$Lae7"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lae8"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lae9"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Laea"}},"requestBody":"$undefined","variantLabels":[],"children":["$Laeb","$Laec"]}]}],false]}] aee:Tbc0,
{
  "from": {
    "amount": 1,
    "currency": "EUR"
  },
  "to": {
    "amount": 1,
    "currency": "USD"
  },
  "rate": 1.0044090351,
  "fee": {
    "amount": 0,
    "currency": "EUR"
  },
  "rate_date": "2022-08-31T17:30:34Z"
}
1fb:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$aee"}}]}]],["$","div",null,{"className":"wzy01m1","children":"$Laef"}]]}] 1fc:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Exchange rate unknown\",\n  \"code\": 3472\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Exchange rate unknown\",\n \"code\": 3472\n}"}]}]]}] 1fd:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] af1:T696,
{
  "account_id": "e042f1fe-f721-49cc-af82-db7a6c46944f",
  "amount": 100,
  "currency": "GBP",
  "reference": "Test Top-up",
  "state": "completed"
}
200:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$af1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_id\": \"e042f1fe-f721-49cc-af82-db7a6c46944f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"reference\": \"Test Top-up\",\n \"state\": \"completed\"\n}"}]}]]}] af2:T5b0,
{
  "id": "330953b8-b089-4cfd-9f03-e88173d64248",
  "state": "completed",
  "created_at": "2023-01-23T08:39:35.811005Z",
  "completed_at": "2023-01-23T08:39:35.811005Z"
}
201:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$af2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"330953b8-b089-4cfd-9f03-e88173d64248\",\n \"state\": \"completed\",\n \"created_at\": \"2023-01-23T08:39:35.811005Z\",\n \"completed_at\": \"2023-01-23T08:39:35.811005Z\"\n}"}]}]]}] 202:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 205:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"url\": \"https://www.revolut.com\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"url\": \"https://www.revolut.com\"\n}"}]}]]}] 206:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 209:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 6ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Laf3","\n","$Laf4","\n"]}]]}] 669:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 66a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 66b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 66c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 66d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 66e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the accounting category that you're trying to retrieve cannot be found.\nThis can happen, for example, when the accounting category doesn't exist, or the provided accounting category ID is incorrect."}]]}] 66f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 670:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 671:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 672:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 673:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 674:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 675:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 676:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 677:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 678:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 679:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 67a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 67b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 67c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 67d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 67e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 6b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of a specific accounting category based on its ID."}],"\n",["$","p","p-1",{"children":"The details include the accounting category name, code, and default tax rate, as well as when the accounting category was added to your settings, and when it was last updated."}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories","target":"_blank","rel":"noreferrer","children":"Manage accounting categories"}],"."]}]]}] 6b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the accounting category to retrieve."}]]}] 854:"Update a payment in a payment draft" af5:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)a68:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$af5","descriptionNode":"$Laf6"}}}] a69:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"simple_payment","label":"Add a simple payment to a draft","rawValue":"$6b:props:children:0:props:children:props:requestBody:content:application/json:examples:simple_payment:value","block":"$Laf7"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] a6a:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$6b:props:children:0:props:children:props:responses:201:content:application/json:examples:default:value","block":"$Laf8"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Laf9"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"draft_not_found","label":"Payment draft not found","rawValue":"$6b:props:children:0:props:children:props:responses:404:content:application/json:examples:draft_not_found:value","block":"$Lafa"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"created_by_other_source","label":"Draft created by other source cannot be modified","rawValue":"$6b:props:children:0:props:children:props:responses:422:content:application/json:examples:created_by_other_source:value","block":"$Lafb"},{"key":"already_processed","label":"Draft is already processed","rawValue":"$6b:props:children:0:props:children:props:responses:422:content:application/json:examples:already_processed:value","block":"$Lafc"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lafd"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] afe:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)a7d:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$afe","descriptionNode":"$Laff"}}}] a7e:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"department_labels","label":"Label group for Department","rawValue":"$1c:props:children:0:props:children:props:requestBody:content:application/json:examples:department_labels:value","block":"$Lb00"},{"key":"team_labels","label":"Label group for Team","rawValue":"$1c:props:children:0:props:children:props:requestBody:content:application/json:examples:team_labels:value","block":"$Lb01"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] a7f:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"resource_created","label":"Resource created","rawValue":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples:resource_created:value","block":"$Lb02"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"param_required","label":"Required parameter is missing","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$Lb03"},{"key":"bad_param_type","label":"Incorrect parameter type","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$Lb04"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$Lb05"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$Lb06"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$Lb07"},{"key":"param_value_missing","label":"Parameter value too long","rawValue":"$1c:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_missing:value","block":"$Lb08"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$Lb09"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$Lb0a"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Lb0b"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1c:props:children:0:props:children:props:responses:409:content:application/json:examples:default:value","block":"$Lb0c"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_modify_externally_managed_resource","label":"Labels and label groups are managed by integration, cannot be created manually","rawValue":"$1c:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_modify_externally_managed_resource:value","block":"$Lb0d"},{"key":"group_limit_exceeded","label":"Label groups limit exceeded","rawValue":"$1c:props:children:0:props:children:props:responses:422:content:application/json:examples:group_limit_exceeded:value","block":"$Lb0e"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$Lb0f"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$Lb10"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$Lb11"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$Lb12"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lb13"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] b14:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)a8e:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$b14","descriptionNode":"$Lb15"}}}] a8f:["$","$L1f9",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":"$Lb16"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] a90:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"resource_created","label":"Resource created","rawValue":"$17:props:children:0:props:children:props:responses:201:content:application/json:examples:resource_created:value","block":"$Lb17"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"param_required","label":"Required parameter is missing","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$Lb18"},{"key":"bad_param_type","label":"Incorrect parameter type","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$Lb19"},{"key":"param_value_too_low","label":"Parameter value too low","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_low:value","block":"$Lb1a"},{"key":"param_value_too_high","label":"Parameter value too high","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_high:value","block":"$Lb1b"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$Lb1c"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$Lb1d"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$25:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$Lb1e"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$Lb1f"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$Lb20"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Lb21"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$25:props:children:0:props:children:props:responses:409:content:application/json:examples:default:value","block":"$Lb22"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_modify_externally_managed_resource","label":"Tax rates are managed by integration, cannot be created manually","rawValue":"$25:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_modify_externally_managed_resource:value","block":"$Lb23"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$Lb24"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$Lb25"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$Lb26"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$Lb27"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lb28"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] b29:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)aa0:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$b29","descriptionNode":"$Lb2a"}}}] aa1:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] aa2:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"results_with_next_page","label":"Results exceed page size (when limit=5) & next page available","rawValue":"$26:props:children:0:props:children:props:responses:200:content:application/json:examples:results_with_next_page:value","block":"$Lb2b"},{"key":"results_single_page","label":"Results fit within page size, no more pages available","rawValue":"$26:props:children:0:props:children:props:responses:200:content:application/json:examples:results_single_page:value","block":"$Lb2c"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_param_type","label":"Incorrect query parameter type","rawValue":"$26:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$Lb2d"},{"key":"param_value_too_low","label":"Query parameter value too low","rawValue":"$26:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_low:value","block":"$Lb2e"},{"key":"param_value_too_high","label":"Query parameter value too high","rawValue":"$26:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_high:value","block":"$Lb2f"},{"key":"multiple_values_not_allowed","label":"Multiple values provided for a single-value query parameter","rawValue":"$26:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_values_not_allowed:value","block":"$Lb30"},{"key":"param_cannot_be_empty","label":"Query parameter provided without a value","rawValue":"$26:props:children:0:props:children:props:responses:400:content:application/json:examples:param_cannot_be_empty:value","block":"$Lb31"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$Lb32"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$Lb33"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Lb34"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$Lb35"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$Lb36"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$Lb37"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$Lb38"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lb39"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] aa7:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] aa8:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] b3c:T56e,
curl -X PATCH "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Updated Draft Title"
}'
b3d:Td7f,
const payload = {
  "title": "Updated Draft Title"
};
fetch("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
b3e:T1466,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
  jsonData := []byte(`
{
  "title": "Updated Draft Title"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "title": "Updated Draft Title"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
b40:T19cd,
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 = """
{
  "title": "Updated Draft Title"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""title"": ""Updated Draft Title""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
b42:T576,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Updated Draft Title"
}'
b43:Td87,
const payload = {
  "title": "Updated Draft Title"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
b44:T146e,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
  jsonData := []byte(`
{
  "title": "Updated Draft Title"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "title": "Updated Draft Title"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
b46:T19d5,
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 = """
{
  "title": "Updated Draft Title"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
b47:T1c33,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""title"": ""Updated Draft Title""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
abf:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lb3a",["$","$Lac",null,{"parameters":[{"name":"payment_draft_id","in":"path","required":true,"description":"The ID of the payment draft to update.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$Lb3b"}],"requestBody":"$6a:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$6a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"title\": \"Updated Draft Title\"\n}'","templateHtml":"$b3c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"title\": \"Updated Draft Title\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b3d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"title\": \"Updated Draft Title\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b3e","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"title\": \"Updated Draft Title\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$b3f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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 \"title\": \"Updated Draft Title\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$b40","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"title\"\": \"\"Updated Draft Title\"\"\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":"$b41","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"title\": \"Updated Draft Title\"\n}'","templateHtml":"$b42","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"title\": \"Updated Draft Title\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b43","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"title\": \"Updated Draft Title\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b44","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"title\": \"Updated Draft Title\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$b45","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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 \"title\": \"Updated Draft Title\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$b46","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"title\"\": \"\"Updated Draft Title\"\"\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":"$b47","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts/{payment_draft_id}","parameters":["$abf:props:children:0:props:children:1:props:parameters:0"]}],"$Lb48"],"$Lb49","$Lb4a"]}]]}] ad7:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"invite-team-member","children":[["$Lb4b","$undefined"],["$","$L3a",null,{"id":"invite-team-member"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/invite-team-member.md"}]]}]}],"$undefined"]}] b4d:T5e8,
curl -X POST "https://b2b.revolut.com/api/1.0/team-members" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}'
b4e:Tea1,
const payload = {
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
};
fetch("https://b2b.revolut.com/api/1.0/team-members", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
b4f:T14e0,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/team-members"
  jsonData := []byte(`
{
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/team-members"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
b51:T1a47,
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": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/team-members"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/team-members"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""email"": ""john.smith@example.com"",
  ""role_id"": ""0098ac28-b92f-435e-a3a2-2829d3918dfb""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
b53:T5f0,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/team-members" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}'
b54:Tea9,
const payload = {
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/team-members", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
b55:T14e8,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/team-members"
  jsonData := []byte(`
{
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/team-members"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "email": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
b57:T1a4f,
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": "john.smith@example.com",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/team-members"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
b58:T1e39,
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-b2b.revolut.com/api/1.0/team-members"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""email"": ""john.smith@example.com"",
  ""role_id"": ""0098ac28-b92f-435e-a3a2-2829d3918dfb""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
ad8:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lb4c",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$78:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$78:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/team-members\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}'","templateHtml":"$b4d","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/team-members\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b4e","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/team-members\"\n jsonData := []byte(`\n{\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b4f","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/team-members\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$b50","tokens":[],"defaults":{}},{"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\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/team-members\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$b51","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/team-members\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"email\"\": \"\"john.smith@example.com\"\",\n \"\"role_id\"\": \"\"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\"\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":"$b52","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/team-members\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}'","templateHtml":"$b53","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/team-members\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b54","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/team-members\"\n jsonData := []byte(`\n{\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b55","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/team-members\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$b56","tokens":[],"defaults":{}},{"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\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/team-members\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$b57","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/team-members\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"email\"\": \"\"john.smith@example.com\"\",\n \"\"role_id\"\": \"\"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\"\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":"$b58","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/team-members","parameters":[]}],"$Lb59"],"$Lb5a","$Lb5b"]}]]}] aeb:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-failed-webhook-events","children":[["$Lb5c","$undefined"],["$","$L3a",null,{"id":"get-failed-webhook-events"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-failed-webhook-events.md"}]]}]}],"$undefined"]}] b61:T900,
fetch("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
b62:Tde8,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
b64:T158c,
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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
b66:T908,
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
b67:Tdf0,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
b69:T1594,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
b6a:T14b4,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
aec:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lb5d",["$","$Lac",null,{"parameters":[{"name":"webhook_id","in":"path","required":true,"description":"The ID of the webhook for which to get the failed events.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$Lb5e"},{"name":"limit","in":"query","description":"The maximum number of events returned per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last event returned in the previous response as value for `created_before`.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100},"descriptionNode":"$Lb5f"},{"name":"created_before","in":"query","description":"Retrieves events with `created_at` < `created_before`. \nCannot be older than the current date minus 21 days. \nThe default value is the current date and time at which you are calling the endpoint.\n\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","schema":{"type":"string","format":"date-time or date","minimum":"'created_at' - 21 days","default":"the date-time at which the request is made"},"descriptionNode":"$Lb60"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$8f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b61","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b62","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$b63","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$b64","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$b65","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$b66","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$b67","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$b68","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$b69","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}},{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/failed-events?limit=__RP_TOK_1__&created_before=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$b6a","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000","query:limit":"100","query:created_before":"the date-time at which the request is made"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks/{webhook_id}/failed-events","parameters":["$aec:props:children:0:props:children:1:props:parameters:0","$aec:props:children:0:props:children:1:props:parameters:1","$aec:props:children:0:props:children:1:props:parameters:2"]}],"$Lb6b"],"$Lb6c","$Lb6d"]}]]}] aef:["$","$Laf0",null,{"code":"{\n \"from\": {\n \"amount\": 1,\n \"currency\": \"EUR\"\n },\n \"to\": {\n \"amount\": 1,\n \"currency\": \"USD\"\n },\n \"rate\": 1.0044090351,\n \"fee\": {\n \"amount\": 0,\n \"currency\": \"EUR\"\n },\n \"rate_date\": \"2022-08-31T17:30:34Z\"\n}"}] af3:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] af4:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 867:"Create an accounting category" 878:"Retrieve a list of label groups" 88a:"Update label group settings" 89c:"Create a new label" 8ae:"Retrieve a list of labels from a label group" 8c1:"Update a label" 8d4:"Update tax rate settings" 8f6:"Retrieve a list of payment drafts" 6c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update the list of card contacts (",["$","code","code-0",{"children":"contact_ids"}],") for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":"You can only update cards with existing contacts.\nIf a card does not have any contacts assigned, this operation is not allowed."}],"\n",["$","p","p-2",{"children":"On success, the updated list of contacts is returned."}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This operation ",["$","strong","strong-0",{"children":"overrides"}]," the existing contacts.\nThis means that it removes the current list completely, and replaces it with the new one provided in this request."]}],["$","p","p-1",{"children":["If you want to add new contacts for the card instead of replacing the existing ones, make sure that you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card","target":"_blank","rel":"noreferrer","children":"fetch"}]," the existing contacts first, and include them in your request."]}]]}]]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 6c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card whose contacts should be updated."}]]}] 219:["$","div","request-application/json-modify_url",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"url\": \"https://www.example.com/\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"url\": \"https://www.example.com/\"\n}"}]}]]}] 21a:["$","div","request-application/json-modify_events",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"events\": [\n    \"TransactionCreated\",\n    \"PayoutLinkCreated\"\n  ]\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}"}]}]]}] b6e:T474,
{
  "url": "https://www.example.com/",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
21b:["$","div","request-application/json-modify_all",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$b6e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"url\": \"https://www.example.com/\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}"}]}]]}] b6f:T59d,
{
  "id": "c6db947e-e9ce-41c2-b445-02e6eb741d21",
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
21c:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$b6f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"c6db947e-e9ce-41c2-b445-02e6eb741d21\",\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}"}]}]]}] 21d:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"url or events must be provided\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"url or events must be provided\",\n \"code\": 3000\n}"}]}]]}] 21e:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 221:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 222:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 223:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 226:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 227:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"Card is locked\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"Card is locked\"\n}"}]}]]}] 228:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 229:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 22c:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 22d:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"Card is locked\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"Card is locked\"\n}"}]}]]}] 22e:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 22f:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 232:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 233:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] 234:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 235:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 238:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 239:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] 23a:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 23b:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 23e:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 242:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 243:["$","div","403-application/json-forbidden",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"This action is forbidden\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This action is forbidden\",\n \"code\": 9002\n}"}]}]]}] 244:["$","div","403-application/json-api_disabled",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expenses API for business is disabled\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expenses API for business is disabled\",\n \"code\": 9002\n}"}]}]]}] 245:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Receipt 'cea368fe-c757-44ce-b2cc-3da94b3d13a6' for expense '3e45f3d7-9919-46df-9793-300726c9fed1' not found\",\n  \"code\": 3006\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Receipt 'cea368fe-c757-44ce-b2cc-3da94b3d13a6' for expense '3e45f3d7-9919-46df-9793-300726c9fed1' not found\",\n \"code\": 3006\n}"}]}]]}] 246:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expenses feature is not enabled\",\n  \"code\": 3470\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expenses feature is not enabled\",\n \"code\": 3470\n}"}]}]]}] 247:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 18:["$","$98","get-accounting-categories",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of accounting categories and the next page token if the number of results exceeds the page size","content":{"application/json":{"schema":{"type":"object","properties":{"next_page_token":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$Lb70"},"accounting_categories":{"type":"array","description":"The list of accounting categories.","items":{"type":"object","required":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:required","properties":{"id":{"type":"string","format":"uuid","description":"The unique ID of the accounting category.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:id:examples","descriptionNode":"$Lb71"},"name":{"type":"string","description":"The name of the accounting category.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:name:examples","descriptionNode":"$Lb72"},"code":{"type":"string","description":"The code of the accounting category.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:code:examples","descriptionNode":"$Lb73"},"created_at":{"type":"string","format":"date-time","description":"The date and time the accounting category was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:created_at:examples","descriptionNode":"$Lb74"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the accounting category was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:updated_at:examples","descriptionNode":"$Lb75"},"default_tax_rate_id":{"type":"string","format":"uuid","description":"The ID of the default [tax rate](https://developer.revolut.com/docs/api/business#get-tax-rate) applied to items in this accounting category unless overridden for a specific item.","examples":"$19:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:default_tax_rate_id:examples","descriptionNode":"$Lb76"}}},"descriptionNode":"$Lb77"}},"required":["accounting_categories"]},"examples":{"results_with_next_page":{"summary":"Results exceed page size (when limit=5) & next page available","value":{"next_page_token":"MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA","accounting_categories":[{"id":"8d831292-f950-4c5a-83f9-030df8cacd3f","name":"Transportation","code":"400","created_at":"2026-03-11T17:03:25.570942Z","updated_at":"2026-03-11T17:03:25.570942Z","default_tax_rate_id":"d8f6bf6c-5b70-4c16-9549-5943e67ab009"},{"id":"8d749b93-4a2e-4f28-8b5b-9d64fe2e1d62","name":"Office Supplies","code":"410","created_at":"2026-03-11T17:03:25.570940Z","updated_at":"2026-03-11T17:03:25.570940Z","default_tax_rate_id":"2a3520af-e6f7-416c-821e-0e83ffac1dfa"},{"id":"3726661e-0e93-4822-8bda-4d1a4c6e7dff","name":"Software & Subscriptions","code":"420","created_at":"2026-03-11T17:03:25.570937Z","updated_at":"2026-03-11T17:03:25.570937Z","default_tax_rate_id":"6a83d8d8-f5a5-405d-aafd-729786569c2d"},{"id":"b37c42c8-1d42-4ee1-aa7e-348dd06ea69f","name":"General Expenses","code":"429","created_at":"2026-03-11T17:03:25.570927Z","updated_at":"2026-03-11T17:03:25.570927Z","default_tax_rate_id":"5781063b-d140-4c72-bde9-b8b21e64e3e0"},{"id":"c729ea95-3ae7-4d21-91f7-1a69844175f2","name":"Travel & Lodging","code":"460","created_at":"2026-03-11T17:03:25.570924Z","updated_at":"2026-03-11T17:03:25.570924Z","default_tax_rate_id":"f2519604-b04a-4a82-9b01-68235c4ad000"}]}},"results_single_page":{"summary":"Results fit within page size, no more pages available","value":{"accounting_categories":[{"id":"8d831292-f950-4c5a-83f9-030df8cacd3f","name":"Transportation","code":"400","created_at":"2026-03-11T17:03:25.570942Z","updated_at":"2026-03-11T17:03:25.570942Z","default_tax_rate_id":"d8f6bf6c-5b70-4c16-9549-5943e67ab009"},{"id":"8d749b93-4a2e-4f28-8b5b-9d64fe2e1d62","name":"Office Supplies","code":"410","created_at":"2026-03-11T17:03:25.570940Z","updated_at":"2026-03-11T17:03:25.570940Z","default_tax_rate_id":"2a3520af-e6f7-416c-821e-0e83ffac1dfa"},{"id":"3726661e-0e93-4822-8bda-4d1a4c6e7dff","name":"Software & Subscriptions","code":"420","created_at":"2026-03-11T17:03:25.570937Z","updated_at":"2026-03-11T17:03:25.570937Z","default_tax_rate_id":"6a83d8d8-f5a5-405d-aafd-729786569c2d"},{"id":"b37c42c8-1d42-4ee1-aa7e-348dd06ea69f","name":"General Expenses","code":"429","created_at":"2026-03-11T17:03:25.570927Z","updated_at":"2026-03-11T17:03:25.570927Z","default_tax_rate_id":"5781063b-d140-4c72-bde9-b8b21e64e3e0"},{"id":"c729ea95-3ae7-4d21-91f7-1a69844175f2","name":"Travel & Lodging","code":"460","created_at":"2026-03-11T17:03:25.570924Z","updated_at":"2026-03-11T17:03:25.570924Z","default_tax_rate_id":"f2519604-b04a-4a82-9b01-68235c4ad000"},{"id":"846b4cad-462d-4b4e-b96c-fc4e14de564d","name":"Utilities","code":"499","created_at":"2026-03-11T17:03:25.570919Z","updated_at":"2026-03-11T17:03:25.570919Z","default_tax_rate_id":"fa95a4ae-a7d2-4ea6-bf42-2af1aead8ca4"},{"id":"2f76152a-2b14-4390-aa32-bbab02a1e98c","name":"Meals & Entertainment","code":"500","created_at":"2026-03-11T17:03:25.570919Z","updated_at":"2026-03-11T17:03:25.570919Zs"}]}}}}},"descriptionNode":"$Lb78"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb79"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb7a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb7b"}}},"examples":{"bad_param_type":{"summary":"Incorrect query parameter type","value":{"error_id":"29146977-8042-0ebf-b362-af224b14c830","code":2101,"message":"Query parameter 'limit' must be an integer"}},"param_value_too_low":{"summary":"Query parameter value too low","value":{"error_id":"b5a51cd1-4f78-4074-adae-675e2921d71c","code":2101,"message":"Query parameter 'limit' must be at least 1"}},"param_value_too_high":{"summary":"Query parameter value too high","value":{"error_id":"fa12f45e-4633-446f-8d40-42dadc380511","code":2101,"message":"Query parameter 'limit' must be at most 500"}},"multiple_values_not_allowed":{"summary":"Multiple values provided for a single-value query parameter","value":{"error_id":"c4da2d3c-1cd8-4bbc-ac43-233575e471b7","code":2101,"message":"Query parameter 'limit' must have a single value"}},"param_cannot_be_empty":{"summary":"Query parameter provided without a value","value":{"error_id":"fa12f45e-0ebf-4f7c-88e0-3673c665f135","code":2101,"message":"Query parameter 'limit' must not be empty, Query parameter 'page_token' must not be empty"}},"bad_page_token":{"summary":"Incorrect page token","value":{"error_id":"69772914-8042-0ebf-b362-14c830af224b","code":2101,"message":"Query parameter 'page_token' is invalid. Use a value from a previous response's next_page_token field."}}}}},"descriptionNode":"$Lb7c"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb7d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb7e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb7f"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$Lb80"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb81"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb82"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb83"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$Lb84"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb85"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb86"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb87"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$Lb88"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb89"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb8a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb8b"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$Lb8c"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb8d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb8e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb8f"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$Lb90"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb91"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb92"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb93"}}}}},"descriptionNode":"$Lb94"}},"requestBody":"$undefined","variantLabels":["Results exceed page size (when limit=5) & next page available","Results fit within page size, no more pages available"],"children":["$Lb95","$Lb96"]}]}],false]}] 1a:["$","$98","update-accounting-category",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"204":{"description":"Accounting category updated","descriptionNode":"$Lb97"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb98"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb99"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb9a"}}},"examples":{"param_required":{"summary":"Body is empty","value":{"error_id":"f1059c4b-4278-45d3-a17f-bd433ab33c15","code":2101,"message":"Request body must not be empty"}},"bad_param_type":{"summary":"Incorrect parameter format","value":{"error_id":"a79a73ea-7dk4-41f8-a106-1656ab5f1234","code":2101,"message":"'name' must be a string"}},"bad_param_format":{"summary":"Incorrect parameter format","value":{"error_id":"f70973ea-c939-41f8-a106-1656ab5fae2f","code":2101,"message":"Path parameter 'id' must be a valid UUID"}},"invalid_json":{"summary":"Invalid JSON","value":{"error_id":"36f3cec5-b4b9-431f-9c28-afd3899bc64f","code":2101,"message":"Request body is not valid JSON"}},"param_value_too_short":{"summary":"Parameter value too short","value":{"error_id":"32fd0697-2f3f-4308-b25d-c9230f99c589","code":2101,"message":"'name' must be at least 1 character"}},"param_value_too_long":{"summary":"Parameter value too long","value":{"error_id":"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8","code":2101,"message":"'name' must be at most 60 characters"}},"param_value_too_long2":{"summary":"Parameter value too long","value":{"error_id":"b4d919b5-d667-4058-9bb3-17b6f7bcdd03","code":2101,"message":"'code' must be at most 50 characters"}}}}},"descriptionNode":"$Lb9b"},"401":{"description":"Unauthorized – authentication credentials are missing or invalid\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lb9c"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lb9d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lb9e"}}},"examples":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples"}},"descriptionNode":"$Lb9f"},"403":{"description":"Action forbidden - insufficient permissions to perform this action\n\nReturned, for example, when you don't have permissions necessary to perform this action.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lba0"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lba1"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lba2"}}},"examples":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples"}},"descriptionNode":"$Lba3"},"404":{"description":"Not found\n\nReturned when the accounting category that you're trying to modify cannot be found.\nThis can happen, for example, when the accounting category doesn't exist, or the provided category ID is incorrect.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lba4"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lba5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lba6"}}},"examples":{"default":{"value":{"error_id":"be6c9d90-df25-458a-b559-be61896c94b8","code":3006,"message":"Accounting category with id b656d8a4-a5cb-4f03-9a95-f281da25aa2b not found"}}}}},"descriptionNode":"$Lba7"},"409":{"description":"Conflict\n\nRequest conflicts with the current state of the resource.\nReturned, for example, when an accounting category with the provided name and/or code already exists.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lba8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lba9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbaa"}}},"examples":{"category_with_name_exists":{"summary":"Name must be unique","value":{"error_id":"8c08b656-ab6e-4768-4e57-f281da25aa2b","code":3503,"message":"Category with name My Unique Accounting Category already exists"}},"category_with_code_exists":{"summary":"Code must be unique","value":{"error_id":"d8a48c08-4e57-4768-ab6e-4d53aa1731b0","code":3504,"message":"Category with code MUAC already exists"}}}}},"descriptionNode":"$Lbab"},"422":{"description":"Unprocessable entity - accounting category cannot be updated due to business rules \n\nReturned, for example, when you have an accounting software integration connected to your Revolut Business account, and accounting categories are managed by that integration.\nMay also be returned if you try to modify a category that has already been deleted, or when you try to clear `name` and/or `code` values using `null`. \n\nThe request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lbac"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbad"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbae"}}},"examples":{"cannot_update_externally_managed_resource":{"summary":"Accounting category managed by integration, cannot be updated","value":{"error_id":"9c4be950c-cfd6-4e04-bd79-bd433ab33c15","code":3514,"message":"Accounting categories are managed by your connected accounting integration and cannot be modified manually"}},"state_mismatch":{"summary":"Accounting category is no longer available","value":{"error_id":"41ef105-4278-cfd6-a17f-2d57a3951774","code":3100,"message":"Invalid request"}},"null_name":{"summary":"Name cannot be null","value":{"error_id":"41ef105-4278-cfd6-a17f-2d57a3951774","code":3100,"message":"Invalid request"}},"null_code":{"summary":"Code cannot be null","value":{"error_id":"41ef105-4278-cfd6-a17f-2d57a3951774","code":3100,"message":"Invalid request"}},"null_name_and_code":{"summary":"Name or code cannot be null","value":{"error_id":"41ef105-4278-cfd6-a17f-2d57a3951774","code":3100,"message":"Invalid request"}}}}},"descriptionNode":"$Lbaf"},"429":{"description":"Too many requests\n\nReturned, for example, when the rate limit has been exceeded.\nIf the response includes the `Retry-After` instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lbb0"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbb1"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbb2"}}},"examples":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples"}},"descriptionNode":"$Lbb3"},"500":{"description":"Internal server error\n\nAn unexpected application error occurred.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lbb4"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbb5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbb6"}}},"examples":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples"}},"descriptionNode":"$Lbb7"},"503":{"description":"Service Unavailable\n\nThe system is temporarily unavailable.\nIf the response includes the `Retry-After` header instruction, please respect it and refrain from earlier retry attempts.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lbb8"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbb9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbba"}}},"examples":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples"}},"descriptionNode":"$Lbbb"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Lbbc"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbbd"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbbe"}}}}},"descriptionNode":"$Lbbf"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The new settings for the accounting category.","minProperties":1,"properties":{"name":{"type":"string","description":"The new full name for the accounting category.","minLength":1,"maxLength":60,"examples":["Work From Home equipment"],"descriptionNode":"$Lbc0"},"code":{"type":"string","description":"The new code name for the accounting category.","minLength":1,"maxLength":50,"examples":["WFH"],"descriptionNode":"$Lbc1"},"default_tax_rate_id":{"type":"string","format":"uuid","description":"The ID of the new default [tax rate](https://developer.revolut.com/docs/api/business#get-tax-rate) that should be applied to items in this accounting category unless overridden for a specific item.","examples":["f93f6c3e-bf95-4b58-bfcd-e642c4fc098e"],"descriptionNode":"$Lbc2"}},"descriptionNode":"$Lbc3"},"examples":{"update_all_props":{"summary":"Update all properties","value":{"name":"Custom with tax rate","code":"998","default_tax_rate_id":"e6b84ddb-a127-466b-9a0a-501bda07773f"}},"update_category_name":{"summary":"Update accounting category name","value":{"name":"Marketing"}},"update_category_code":{"summary":"Update accounting category code","value":{"code":"998"}},"update_default_tax_rate":{"summary":"Update default tax rate","value":{"default_tax_rate_id":"6a6399c3-4a3b-4b21-b710-57aa03aae58f"}}}}}},"variantLabels":["Update all properties","Update accounting category name","Update accounting category code","Update default tax rate"],"children":["$Lbc4","$Lbc5"]}]}],false]}] bc6:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::bd8:T4be,References for the card. Up to 5 name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, they will only be applied to future transactions. Existing transaction are not affected. :::bd9:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::48:["$","$98","update-card-references",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Updated list of references. \nUp to 5 name-value pairs assigned to the card for tracking.","content":{"application/json":{"schema":{"description":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking.\n\nThe names must be unique.\nThe references can be amended up to 10 times.","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$bc6","type":"object","required":["name","value"],"properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$Lbc7"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$Lbc8"}},"examples":[{"name":"PNR","value":"RT12345"}],"descriptionNode":"$Lbc9"},"examples":[[{"name":"PNR","value":"RT12345"},{"name":"Traveller","value":"John Smith"}]],"descriptionNode":"$Lbca"},"examples":{"list_of_references":{"summary":"References for the card (max.5)","value":[{"name":"Budget","value":"Engagement"},{"name":"Department","value":"Business"}]}}}},"descriptionNode":"$Lbcb"},"400":{"description":"Bad Request\n\nReturned, for example, when you provide duplicate reference names, too many references, the reference names or values are too long, or your request is malformed.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbcc"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbcd"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"duplicate_names":{"summary":"Duplicate names","value":{"code":2101,"message":"Reference names must be unique"}},"too_long_names":{"summary":"Too long reference name(s)","value":{"code":3000,"message":"name cannot be longer than 30"}},"too_long_values":{"summary":"Too long reference value(s)","value":{"code":3000,"message":"value cannot be longer than 30"}},"wrong_size":{"summary":"Too many references","value":{"code":3000,"message":"references size must be not greater than 5"}},"invalid_json":{"summary":"Incorrect request format","value":{"code":3000,"message":"Cannot parse request: invalid JSON"}},"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$Lbce"},"404":{"description":"Card not found\n\nThe card for which you wish to update references does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbcf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbd0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$Lbd1"},"422":{"description":"Unprocessable Content\n\nReturned, for example, when you try to amend references more than 10 times, or when you try to add them to a card that does not support references, like a card with a `holder_id` present.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbd2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbd3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"update_limit_exceeded":{"summary":"References can be amended up to 10 times","value":{"code":3549,"message":"Card references update limit exceeded"}},"unsupported_card":{"summary":"References can't be assigned to cards with holder_id","value":{"code":33012,"message":"Card references are not supported for the card=a5c697d1-84ae-40b2-879a-a17aab3362bb"}}}}},"descriptionNode":"$Lbd4"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lbd5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lbd6"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lbd7"}},"requestBody":{"required":true,"description":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking.\n:::warning\nThis will **override** the existing references.\n:::","content":{"application/json":{"schema":{"description":"$bd8","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$bd9","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$Lbda"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$Lbdb"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$Lbdc"},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:examples","descriptionNode":"$Lbdd"},"examples":{"list_of_references":{"summary":"References for the card (max.5)","value":"$48:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_references:value"}}}},"descriptionNode":"$Lbde"},"variantLabels":[],"children":["$Lbdf","$Lbe0"]}]}],false]}] be1:T318f,
[
  {
    "code": "business_expense_and_claims",
    "name": "Business expense and claims"
  },
  {
    "code": "fees_and_charges",
    "name": "Fees and charges"
  },
  {
    "code": "fund_transfer_and_intracompany_payment",
    "name": "Fund transfer and intracompany payment"
  },
  {
    "code": "gifts_and_donations",
    "name": "Gifts and donations"
  },
  {
    "code": "government_services_and_tax",
    "name": "Government services and tax"
  },
  {
    "code": "insurance",
    "name": "Insurance"
  },
  {
    "code": "inventory",
    "name": "Inventory"
  },
  {
    "code": "investment_dividend_and_interest",
    "name": "Investment, dividend and interest"
  },
  {
    "code": "loan_and_loan_repayment",
    "name": "Loan and loan repayment"
  },
  {
    "code": "marketing",
    "name": "Marketing"
  },
  {
    "code": "payment_for_goods_and_services",
    "name": "Payment for goods and services"
  },
  {
    "code": "payroll",
    "name": "Payroll"
  },
  {
    "code": "refund",
    "name": "Refund"
  },
  {
    "code": "rental_and_property",
    "name": "Rental and property"
  },
  {
    "code": "sales",
    "name": "Sales"
  },
  {
    "code": "service_provider_and_software",
    "name": "Service provider and software"
  },
  {
    "code": "travel_and_transportation",
    "name": "Travel and transportation"
  },
  {
    "code": "utilities",
    "name": "Utilities"
  }
]
2b7:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$be1"}}]}]],"$Lbe2"]}] 2b8:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 2bb:["$","div","403-application/json-forbidden",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"This action is forbidden\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This action is forbidden\",\n \"code\": 9002\n}"}]}]]}] 2bc:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 2bf:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 2c0:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] 2c1:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"Resource not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"Resource not found\"\n}"}]}]]}] 2c2:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3547,\n  \"message\": \"Cannot modify owner\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3547,\n \"message\": \"Cannot modify owner\"\n}"}]}]]}] 2c3:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 2c6:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Webhook not found\",\n  \"code\": 3040\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Webhook not found\",\n \"code\": 3040\n}"}]}]]}] 2c7:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 6d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Lbe3","\n","$Lbe4","\n"]}]]}] 6e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Lbe5","\n","$Lbe6","\n"]}]]}] 6eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment was successfully updated"}]]}] 6ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 6ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 6ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 6ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 6f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 6f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 6f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 6f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The specified payment draft or payment was not found."}]]}] 6f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 6f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 6f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 6f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}],"\n",["$","p","p-1",{"children":"Returned when the payment draft cannot be modified."}]]}] 6f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 6f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 6fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 6fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 6fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] 6fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] 6fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] 6ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] be7:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)b48:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$be7","descriptionNode":"$Lbe8"}}}] b49:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"update_title","label":"Update the draft title","rawValue":"$6a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_title:value","block":"$Lbe9"},{"key":"update_schedule","label":"Update the scheduled date","rawValue":"$6a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_schedule:value","block":"$Lbea"},{"key":"update_both","label":"Update both title and scheduled date","rawValue":"$6a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_both:value","block":"$Lbeb"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] b4a:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lbec"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"draft_not_found","label":"Payment draft not found","rawValue":"$6a:props:children:0:props:children:props:responses:404:content:application/json:examples:draft_not_found:value","block":"$Lbed"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"created_by_other_source","label":"Draft created by other source cannot be modified","rawValue":"$6a:props:children:0:props:children:props:responses:422:content:application/json:examples:created_by_other_source:value","block":"$Lbee"},{"key":"already_processed","label":"Draft is already processed","rawValue":"$6a:props:children:0:props:children:props:responses:422:content:application/json:examples:already_processed:value","block":"$Lbef"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lbf0"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] bf1:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)b59:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$bf1","descriptionNode":"$Lbf2"}}}] b5a:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$78:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$Lbf3"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] b5b:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$78:props:children:0:props:children:props:responses:201:content:application/json:examples:default:value","block":"$Lbf4"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_role_id_uuid","label":"Invalid role ID (UUID)","rawValue":"$78:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_role_id_uuid:value","block":"$Lbf5"},{"key":"invalid_role_id_default","label":"Invalid role ID (non-UUID)","rawValue":"$78:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_role_id_default:value","block":"$Lbf6"},{"key":"invalid_email","label":"Invalid email address","rawValue":"$78:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_email:value","block":"$Lbf7"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$78:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$Lbf8"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$78:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Lbf9"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"user_already_invited","label":"Team member already invited","rawValue":"$78:props:children:0:props:children:props:responses:422:content:application/json:examples:user_already_invited:value","block":"$Lbfa"},{"key":"user_is_member_of_another_business","label":"Team member cannot be invited","rawValue":"$78:props:children:0:props:children:props:responses:422:content:application/json:examples:user_is_member_of_another_business:value","block":"$Lbfb"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lbfc"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] bfd:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)b6b:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$bfd","descriptionNode":"$Lbfe"}}}] b6c:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] b6d:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8f:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Lbff"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_limit","label":"Bad limit","rawValue":"$8f:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_limit:value","block":"$Lc00"},{"key":"bad_created_before","label":"Bad created_before","rawValue":"$8f:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_created_before:value","block":"$Lc01"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8f:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Lc02"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lc03"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] b95:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-accounting-categories","children":[["$Lc04","$undefined"],["$","$L3a",null,{"id":"get-accounting-categories"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-accounting-categories.md"}]]}]}],"$undefined"]}] c09:T8ee,
fetch("https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c0a:Tdd6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
c0c:T157a,
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://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c0e:T8f6,
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
c0f:Tdde,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
c11:T1582,
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-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c12:T14a2,
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-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
b96:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc05",["$","$Lac",null,{"parameters":[{"name":"limit","in":"query","required":false,"description":"The page size, that is, the maximum number of accounting categories to return per page.\n\nTo get the next page of results, use `page_token`.","schema":{"type":"integer","minimum":1,"maximum":500,"default":100,"examples":[10]},"descriptionNode":"$Lc06"},{"in":"query","name":"page_token","required":false,"schema":{"type":"string","description":"Cursor for the next page. \nUsed for pagination when the total number of results exceeds the maximum number per page.\n\nTo get the next page of results, make a new request and set `page_token` to the `next_page_token` value returned in the previous response.\n:::note\nIf there are no more results to fetch, `next_page_token` is not returned in the response.\n:::","examples":"$1d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:next_page_token:examples","descriptionNode":"$Lc07"},"descriptionNode":"$Lc08"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$18:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c09","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c0a","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$c0b","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$c0c","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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://b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$c0d","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c0e","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c0f","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$c10","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$c11","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}},{"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-b2b.revolut.com/api/1.0/accounting-categories?limit=__RP_TOK_0__&page_token=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$c12","tokens":[{"marker":"__RP_TOK_0__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"page_token","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:limit":"100","query:page_token":"string"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounting-categories","parameters":["$b96:props:children:0:props:children:1:props:parameters:0","$b96:props:children:0:props:children:1:props:parameters:1"]}],"$Lc13"],"$Lc14","$Lc15"]}]]}] bc4:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-accounting-category","children":[["$Lc16","$undefined"],["$","$L3a",null,{"id":"update-accounting-category"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-accounting-category.md"}]]}]}],"$undefined"]}] c19:T66b,
curl -X PATCH "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}'
c1a:Tfcc,
const payload = {
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
};
fetch("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
c1b:T1563,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
c1d:T1aca,
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": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Custom with tax rate"",
  ""code"": ""998"",
  ""default_tax_rate_id"": ""e6b84ddb-a127-466b-9a0a-501bda07773f""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c1f:T673,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}'
c20:Tfd4,
const payload = {
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
c21:T156b,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
  jsonData := []byte(`
{
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
c23:T1ad2,
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": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c24:T2048,
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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""name"": ""Custom with tax rate"",
  ""code"": ""998"",
  ""default_tax_rate_id"": ""e6b84ddb-a127-466b-9a0a-501bda07773f""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
bc5:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc17",["$","$Lac",null,{"parameters":[{"name":"accounting_category_id","in":"path","required":true,"description":"The ID of the accounting category to update.","schema":{"type":"string","format":"uuid","examples":["64a2d310-e2a0-43c2-872f-969098141ebb"]},"descriptionNode":"$Lc18"}],"requestBody":"$1a:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$1a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}'","templateHtml":"$c19","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c1a","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c1b","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$c1c","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$c1d","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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://b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Custom with tax rate\"\",\n \"\"code\"\": \"\"998\"\",\n \"\"default_tax_rate_id\"\": \"\"e6b84ddb-a127-466b-9a0a-501bda07773f\"\"\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":"$c1e","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}'","templateHtml":"$c1f","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\", {\n method: \"PATCH\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c20","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\n jsonData := []byte(`\n{\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n `)\n req, _ := http.NewRequest(\"PATCH\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c21","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n\nresponse = requests.patch(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$c22","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$c23","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_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-b2b.revolut.com/api/1.0/accounting-categories/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"name\"\": \"\"Custom with tax rate\"\",\n \"\"code\"\": \"\"998\"\",\n \"\"default_tax_rate_id\"\": \"\"e6b84ddb-a127-466b-9a0a-501bda07773f\"\"\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":"$c24","tokens":[{"marker":"__RP_TOK_0__","paramName":"accounting_category_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:accounting_category_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounting-categories/{accounting_category_id}","parameters":["$bc5:props:children:0:props:children:1:props:parameters:0"]}],"$Lc25"],"$Lc26","$Lc27"]}]]}] bdf:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-card-references","children":[["$Lc28","$undefined"],["$","$L3a",null,{"id":"update-card-references"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-card-references.md"}]]}]}],"$undefined"]}] c2b:T7fe,
curl -X PUT "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '[
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]'
c2c:T11cf,
const payload = [
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
];
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references", {
  method: "PUT",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
c2d:T16f6,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"
  jsonData := []byte(`
[
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]
  `)
  req, _ := http.NewRequest("PUT", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = [
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]

response = requests.put(url, headers=headers, json=payload)
print(response.json())
c2f:T1c5d,
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": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PUT(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Put,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"[
  {
    ""name"": ""Budget"",
    ""value"": ""Engagement""
  },
  {
    ""name"": ""Department"",
    ""value"": ""Business""
  }
]")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c31:T806,
curl -X PUT "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '[
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]'
c32:T11d7,
const payload = [
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
];
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references", {
  method: "PUT",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
c33:T16fe,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"
  jsonData := []byte(`
[
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]
  `)
  req, _ := http.NewRequest("PUT", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = [
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]

response = requests.put(url, headers=headers, json=payload)
print(response.json())
c35:T1c65,
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": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PUT(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c36:T232f,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"[
  {
    ""name"": ""Budget"",
    ""value"": ""Engagement""
  },
  {
    ""name"": ""Department"",
    ""value"": ""Business""
  }
]")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
be0:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc29",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card whose references should be amended.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$Lc2a"}],"requestBody":"$48:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$48:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PUT \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '[\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]'","templateHtml":"$c2b","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = [\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n];\nfetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\", {\n method: \"PUT\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c2c","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"\n jsonData := []byte(`\n[\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]\n `)\n req, _ := http.NewRequest(\"PUT\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c2d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = [\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]\n\nresponse = requests.put(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$c2e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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 {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$c2f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"[\n {\n \"\"name\"\": \"\"Budget\"\",\n \"\"value\"\": \"\"Engagement\"\"\n },\n {\n \"\"name\"\": \"\"Department\"\",\n \"\"value\"\": \"\"Business\"\"\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":"$c30","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PUT \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '[\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]'","templateHtml":"$c31","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = [\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n];\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\", {\n method: \"PUT\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c32","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"\n jsonData := []byte(`\n[\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]\n `)\n req, _ := http.NewRequest(\"PUT\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c33","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = [\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]\n\nresponse = requests.put(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$c34","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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 {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$c35","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__/references\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"[\n {\n \"\"name\"\": \"\"Budget\"\",\n \"\"value\"\": \"\"Engagement\"\"\n },\n {\n \"\"name\"\": \"\"Department\"\",\n \"\"value\"\": \"\"Business\"\"\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":"$c36","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"put","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}/references","parameters":["$be0:props:children:0:props:children:1:props:parameters:0"]}],"$Lc37"],"$Lc38","$Lc39"]}]]}] c3a:T579,[ { "code": "business_expense_and_claims", "name": "Business expense and claims" }, { "code": "fees_and_charges", "name": "Fees and charges" }, { "code": "fund_transfer_and_intracompany_payment", "name": "Fund transfer and intracompany payment" }, { "code": "gifts_and_donations", "name": "Gifts and donations" }, { "code": "government_services_and_tax", "name": "Government services and tax" }, { "code": "insurance", "name": "Insurance" }, { "code": "inventory", "name": "Inventory" }, { "code": "investment_dividend_and_interest", "name": "Investment, dividend and interest" }, { "code": "loan_and_loan_repayment", "name": "Loan and loan repayment" }, { "code": "marketing", "name": "Marketing" }, { "code": "payment_for_goods_and_services", "name": "Payment for goods and services" }, { "code": "payroll", "name": "Payroll" }, { "code": "refund", "name": "Refund" }, { "code": "rental_and_property", "name": "Rental and property" }, { "code": "sales", "name": "Sales" }, { "code": "service_provider_and_software", "name": "Service provider and software" }, { "code": "travel_and_transportation", "name": "Travel and transportation" }, { "code": "utilities", "name": "Utilities" } ]be2:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$c3a"}]}] be3:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] be4:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] be5:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] be6:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] a45:"Retrieve an account" 709:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created resource."}]]}] 70a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Successfully created resource."}]]}] 70b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Resource created"}],"\n",["$","p","p-1",{"children":["On successful creation, the response returns only the ID of the new resource (i.e. the accounting category), even if the resource has more properties.\nTo get all the details of the accounting category, use the returned resource ID with a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-accounting-category","target":"_blank","rel":"noreferrer","children":"GET request"}],"."]}]]}] 70c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 70d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 70e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 70f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 710:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 711:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 712:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 713:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 714:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 715:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 716:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 717:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 736:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] 737:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the label group."}]]}] 738:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the label group."}]]}] 739:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the label group was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 73a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the label group was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 73b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of label groups."}]]}] 73c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of label groups"}]]}] 73d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 75b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Label group updated"}]]}] 75c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 75d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 75e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 75f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 760:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 761:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 762:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 763:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 764:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 765:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 766:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 767:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 768:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 769:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 76a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 76b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the label group that you're trying to update cannot be found.\nThis can happen, for example, when the label group doesn't exist, or the provided label group ID is incorrect."}]]}] 788:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created resource."}]]}] 789:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Successfully created resource."}]]}] 78a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Resource created"}],"\n",["$","p","p-1",{"children":["On successful creation, the response returns only the ID of the new resource (i.e. the label), even if the resource has more properties.\nTo get more details, use the ID of the parent label group to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-labels","target":"_blank","rel":"noreferrer","children":"get all the labels from the label group"}],"."]}]]}] 78b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 78c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 78d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 78e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 78f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 790:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 791:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 792:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 793:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 794:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 795:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 796:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 797:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 798:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 799:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] 7b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the label."}]]}] 7b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the label."}]]}] 7b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the label was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 7b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the label was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 7b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of labels in the specified group"}]]}] 7b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of labels"}]]}] 7b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Label updated"}]]}] 7d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 7dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 7e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 7e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the label that you're trying to update cannot be found.\nThis can happen, for example, when the label or corresponding label group doesn't exist, or the provided ID is incorrect."}]]}] 7e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 804:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tax rate updated"}]]}] 805:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 806:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 807:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 808:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 809:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 80a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 80b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 80c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 80d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 80e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 80f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 810:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 811:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 812:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 813:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 814:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the tax rate that you're trying to update cannot be found.\nThis can happen, for example, when the tax rate doesn't exist, or the provided tax rate ID is incorrect."}]]}] 815:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 831:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account ID."}]]}] 832:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account name."}]]}] 833:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current balance on the account."}]]}] 834:["$","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."]}]]}] 835:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the account."}]]}] 836:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the account is visible to other businesses on Revolut."}]]}] 837:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the account was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 838:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the account was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 839:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of business accounts"}]]}] 83a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 83b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 83c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 83e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get a list of all your accounts."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","target":"_blank","rel":"noreferrer","children":"Get your account details"}],"."]}]]}] 241:["$","div","200-*/*-receipt_pdf",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
@sample-receipt.pdf
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"@sample-receipt.pdf"}]}]]}] 77:["$","$98","get-team-members",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about team members of the business","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the team member.","format":"uuid","descriptionNode":"$Lc3b"},"email":{"type":"string","description":"The email of the team member.","format":"email","descriptionNode":"$Lc3c"},"first_name":{"type":"string","description":"The team member's first name.","descriptionNode":"$Lc3d"},"last_name":{"type":"string","description":"The team member's last name.","descriptionNode":"$Lc3e"},"state":{"description":"The state that the team member is in.","enum":["created","confirmed","waiting","active","locked","disabled"],"type":"string","descriptionNode":"$Lc3f"},"role_id":{"type":"string","description":"The ID of the team member's [role](https://developer.revolut.com/docs/api/business#get-roles). This can be a UUID or other default role such as `Owner`.","descriptionNode":"$Lc40"},"created_at":{"type":"string","description":"The date and time the team member was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$Lc41"},"updated_at":{"type":"string","description":"The date and time the team member was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$Lc42"}},"required":["id","email","state","role_id","created_at","updated_at"]}},"examples":{"default":{"value":[{"email":"john.doe@example.com","id":"76969b71-a123-42dc-b874-a34688d7bba4","role_id":"owner","state":"active","first_name":"John","last_name":"Doe","created_at":"2022-09-07T09:19:31.592368Z","updated_at":"2022-09-07T09:21:24.346670Z"},{"email":"john.smith@example.com","id":"168922e1-594f-4ca0-93b2-56b742f3936b","role_id":"024abb3d-06da-4701-9254-dfcc3da38385","state":"active","created_at":"2022-09-07T09:19:32.592368Z","updated_at":"2022-09-07T09:21:25.346670Z"}]}}}},"descriptionNode":"$Lc43"},"400":{"description":"Bad pagination parameters","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc44"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc45"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":2101,"message":"Parameter limit must be a valid integer in range: [1, 1000]."}}}}},"descriptionNode":"$Lc46"},"401":{"description":"Unauthorized\n\nReturned when the request was not fulfilled because authentication has failed or has not been provided","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc47"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc48"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":401,"message":"The request should be authorized."}}}}},"descriptionNode":"$Lc49"},"403":{"description":"Action forbidden\n\nReturned, for example, when you don't have permissions necessary to retrieve team members","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc4a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc4b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":9002,"message":"This action is forbidden"}}}}},"descriptionNode":"$Lc4c"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc4d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc4e"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lc4f"}},"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":"get-team-members","children":[["$Lc50","$undefined"],["$","$L3a",null,{"id":"get-team-members"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-team-members.md"}]]}]}],"$undefined"]}],"$Lc51"]}]}],false]}] c67:T6e9,
curl -X POST "https://b2b.revolut.com/api/1.0/webhooks" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}'
c68:Tfa2,
const payload = {
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
};
fetch("https://b2b.revolut.com/api/1.0/webhooks", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
c69:T15e1,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/webhooks"
  jsonData := []byte(`
{
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/webhooks"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
c6b:T1b48,
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://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
    """;

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

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://www.example.com"",
  ""events"": [
    ""TransactionCreated"",
    ""PayoutLinkCreated""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c6d:T6f1,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/webhooks" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}'
c6e:Tfaa,
const payload = {
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
c6f:T15e9,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/webhooks"
  jsonData := []byte(`
{
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
c71:T1b50,
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://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
    """;

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

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
c72:T1fac,
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-b2b.revolut.com/api/1.0/webhooks"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""url"": ""https://www.example.com"",
  ""events"": [
    ""TransactionCreated"",
    ""PayoutLinkCreated""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
89:["$","$98","create-webhook",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"The successfully created webhook","content":{"application/json":{"schema":{"type":"object","required":"$8b:props:children:0:props:children:props:responses:200:content:application/json:schema:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$Lc52"},"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$Lc53"},"events":{"type":"array","items":{"enum":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:events:items:enum","description":"The type of the webhook event to subscribe to.","descriptionNode":"$Lc54"},"description":"The list of event types that you are subscribed to.","descriptionNode":"$Lc55"},"signing_secret":{"type":"string","description":"The signing secret for the webhook.","descriptionNode":"$Lc56"}},"examples":"$8b:props:children:0:props:children:props:responses:200:content:application/json:schema:examples"},"examples":{"default":{"value":{"id":"c6db947e-e9ce-41c2-b445-02e6eb741d21","url":"https://www.example.com","events":["TransactionCreated","PayoutLinkCreated"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"}}}}},"descriptionNode":"$Lc57"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc58"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc59"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Required 'url' is missing","code":3000}}}}},"descriptionNode":"$Lc5a"},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc5b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc5c"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Owner [ownerId=a3e64c3f-eedd-4487-9ab3-246e23c9ec3e,ownerType=BUSINESS] already has 10 webhooks. Only 10 are allowed.","code":3352}}}}},"descriptionNode":"$Lc5d"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc5e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc5f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lc60"}},"requestBody":{"description":"The webhook to create.","required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"description":"A valid webhook URL to which to send event notifications. The supported protocol is `https`.","type":"string","format":"uri","descriptionNode":"$Lc61"},"events":{"description":"A list of event types to subscribe to.\nIf you don't provide it, you're automatically subscribed to the [default event types](https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks#default-event-types).","type":"array","items":{"enum":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:events:items:enum","description":"The type of the webhook event to subscribe to.","descriptionNode":"$Lc62"},"default":["TransactionCreated","TransactionStateChanged"],"descriptionNode":"$Lc63"}}},"examples":{"default":{"value":{"url":"https://www.example.com","events":["TransactionCreated","PayoutLinkCreated"]}}}}},"descriptionNode":"$Lc64"},"variantLabels":[],"children":[["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-webhook","children":[["$Lc65","$undefined"],["$","$L3a",null,{"id":"create-webhook"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-webhook.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc66",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$89:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$89:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/webhooks\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}'","templateHtml":"$c67","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n};\nfetch(\"https://b2b.revolut.com/api/1.0/webhooks\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c68","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhooks\"\n jsonData := []byte(`\n{\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c69","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$c6a","tokens":[],"defaults":{}},{"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://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/webhooks\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$c6b","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://www.example.com\"\",\n \"\"events\"\": [\n \"\"TransactionCreated\"\",\n \"\"PayoutLinkCreated\"\"\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":"$c6c","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/webhooks\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}'","templateHtml":"$c6d","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$c6e","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhooks\"\n jsonData := []byte(`\n{\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$c6f","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$c70","tokens":[],"defaults":{}},{"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://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$c71","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/webhooks\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"url\"\": \"\"https://www.example.com\"\",\n \"\"events\"\": [\n \"\"TransactionCreated\"\",\n \"\"PayoutLinkCreated\"\"\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":"$c72","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks","parameters":[]}],"$Lc73"],"$Lc74","$Lc75"]}]]}]]}]}],false]}] 8e:["$","$98","rotate-webhook-signing-secret",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The details of the webhook for which you rotated the signing secret","content":{"application/json":{"schema":{"type":"object","required":"$8b:props:children:0:props:children:props:responses:200:content:application/json:schema:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the webhook.","descriptionNode":"$Lc76"},"url":{"type":"string","format":"uri","description":"The valid webhook URL that event notifications are sent to. The supported protocol is `https`.","descriptionNode":"$Lc77"},"events":{"type":"array","items":{"enum":"$8c:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:events:items:enum","description":"The type of the webhook event to subscribe to.","descriptionNode":"$Lc78"},"description":"The list of event types that you are subscribed to.","descriptionNode":"$Lc79"},"signing_secret":{"type":"string","description":"The signing secret for the webhook.","descriptionNode":"$Lc7a"}},"examples":"$8b:props:children:0:props:children:props:responses:200:content:application/json:schema:examples"},"examples":{"default":{"value":{"id":"c6db947e-e9ce-41c2-b445-02e6eb741d21","url":"https://www.example.com","events":["TransactionCreated","PayoutLinkCreated"],"signing_secret":"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"}}}}},"descriptionNode":"$Lc7b"},"400":{"description":"Bad Request\n\nReturned, for example, for an incorrect expiration period provided.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc7c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc7d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Something went wrong","code":2101}}}}},"descriptionNode":"$Lc7e"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc7f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc80"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Webhook not found","code":3040}}}}},"descriptionNode":"$Lc81"},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc82"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc83"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Webhook bf6c61eb-a4b0-4e0d-afb1-d6d2f3d27a9e can't have more than 3 active signing keys","code":3355}}}}},"descriptionNode":"$Lc84"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lc85"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lc86"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lc87"}},"requestBody":{"description":"Webhook signing secret rotation request","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expiration_period":{"type":"string","format":"duration","description":"The expiration period for the signing secret in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601#Durations). If set, when you rotate the secret, it continues to be valid until the expiration period has passed. Otherwise, on rotation, the secret is invalidated immediately. The maximum value is 7 days.","maximum":"P7D","default":"P0D","examples":["PT5H30M"],"descriptionNode":"$Lc88"}}}}},"descriptionNode":"$Lc89"},"variantLabels":[],"children":[["$","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","children":[["$Lc8a","$undefined"],["$","$L3a",null,{"id":"rotate-webhook-signing-secret"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/rotate-webhook-signing-secret.md"}]]}]}],"$undefined"]}],["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lc8b",["$","$Lac",null,{"parameters":[{"name":"webhook_id","in":"path","required":true,"description":"The ID of the webhook for which to rotate the secret.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$Lc8c"}],"requestBody":"$8e:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],"$Lc8d"]}],"$Lc8e"]}]]}]}],false]}] c8f:T1e53,
{
  "fields": [
    {
      "name": "first_name",
      "required": true,
      "regex": {
        "pattern": "^[-'\\p{L} ]{1,40}$",
        "description": "Letters, hyphens and apostrophes only, up to 40 characters"
      }
    },
    {
      "name": "last_name",
      "required": true,
      "regex": {
        "pattern": "^[-'\\p{L} ]{1,40}$",
        "description": "Letters, hyphens and apostrophes only, up to 40 characters"
      }
    },
    {
      "name": "sort_code",
      "required": true,
      "regex": {
        "pattern": "^\\d{6}$",
        "description": "6-digit number"
      }
    },
    {
      "name": "account_no",
      "required": true,
      "regex": {
        "pattern": "^\\d{8}$",
        "description": "8-digit number"
      }
    },
    {
      "name": "address",
      "required": true
    }
  ]
}
3df:["$","div","200-application/json-gb_counterparty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c8f"}}]}]],"$Lc90"]}] c91:T1f52,
{
  "fields": [
    {
      "name": "company_name",
      "required": true,
      "regex": {
        "pattern": "^.{1,140}$",
        "description": "Up to 140 characters"
      }
    },
    {
      "name": "route",
      "required": true,
      "options": [
        {
          "value": "ach",
          "default": true
        },
        {
          "value": "fedwire"
        }
      ]
    },
    {
      "name": "routing_number",
      "required": true,
      "regex": {
        "pattern": "^\\d{9}$",
        "description": "9-digit number"
      }
    },
    {
      "name": "account_no",
      "required": true,
      "regex": {
        "pattern": "^\\d{6,17}$",
        "description": "6 to 17 digits"
      }
    },
    {
      "name": "address",
      "required": true
    }
  ]
}
3e0:["$","div","200-application/json-us_counterparty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c91"}}]}]],"$Lc92"]}] c93:T49a,
{
  "error_id": "40626b34-365b-43d0-b148-04dcbaeaf4df",
  "code": 2101,
  "message": "Invalid request (missing or invalid query parameters)"
}
3e1:["$","div","400-application/json-invalid_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c93"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"40626b34-365b-43d0-b148-04dcbaeaf4df\",\n \"code\": 2101,\n \"message\": \"Invalid request (missing or invalid query parameters)\"\n}"}]}]]}] c94:T4a7,
{
  "error_id": "015c2e86-30a5-404b-aa25-b68c25d97e69",
  "code": 3081,
  "message": "Recipient type is not supported for the given country and currency"
}
3e2:["$","div","400-application/json-unsupported_recipient",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c94"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"015c2e86-30a5-404b-aa25-b68c25d97e69\",\n \"code\": 3081,\n \"message\": \"Recipient type is not supported for the given country and currency\"\n}"}]}]]}] c95:T477,
{
  "error_id": "a29241ce-1f37-4ffb-8249-d09faec81aed",
  "code": 3006,
  "message": "Resource not found"
}
3e3:["$","div","404-application/json-not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c95"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"a29241ce-1f37-4ffb-8249-d09faec81aed\",\n \"code\": 3006,\n \"message\": \"Resource not found\"\n}"}]}]]}] c96:T48a,
{
  "error_id": "2cd5330c-c4a9-45ce-88d3-8cbdaeba887c",
  "code": 4030,
  "message": "Currency for country is not supported"
}
3e4:["$","div","422-application/json-unsupported_currency",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c96"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"2cd5330c-c4a9-45ce-88d3-8cbdaeba887c\",\n \"code\": 4030,\n \"message\": \"Currency for country is not supported\"\n}"}]}]]}] c97:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
3e5:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$c97"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 700:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the payment."}]]}] 701:["$","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."]}]]}] 702:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payment.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes."}]]}] 703:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The party that should bear the transaction fees related to the selected transaction route if applied.\nPossible options are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"shared"}],": Also known as ",["$","strong","strong-0",{"children":"SHA"}],". The transaction route fees are split between the sender and the recipient."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"debtor"}],": Also known as ",["$","strong","strong-0",{"children":"OUR"}],". The sender pays all explicit transaction fees."]}],"\n"]}]]}] 704:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] 705:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The updated details of a single payment in a payment draft."}]]}] 706:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fields to update on the payment."}]]}] 855:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update the fields of a single payment within a payment draft."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"You can update payments in drafts created with the API or via the Revolut Business app."}]}]]}],"\n",["$","p","p-1",{"children":"All fields are optional — omit what should not change. Other payments in the draft are unaffected."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] 856:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft that contains the payment."}]]}] 857:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment to update."}]]}] a57:"Add a payment to a payment draft" c98:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)c13:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$c98","descriptionNode":"$Lc99"}}}] c14:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] c15:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"results_with_next_page","label":"Results exceed page size (when limit=5) & next page available","rawValue":"$18:props:children:0:props:children:props:responses:200:content:application/json:examples:results_with_next_page:value","block":"$Lc9a"},{"key":"results_single_page","label":"Results fit within page size, no more pages available","rawValue":"$18:props:children:0:props:children:props:responses:200:content:application/json:examples:results_single_page:value","block":"$Lc9b"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_param_type","label":"Incorrect query parameter type","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$Lc9c"},{"key":"param_value_too_low","label":"Query parameter value too low","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_low:value","block":"$Lc9d"},{"key":"param_value_too_high","label":"Query parameter value too high","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_high:value","block":"$Lc9e"},{"key":"multiple_values_not_allowed","label":"Multiple values provided for a single-value query parameter","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_values_not_allowed:value","block":"$Lc9f"},{"key":"param_cannot_be_empty","label":"Query parameter provided without a value","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:param_cannot_be_empty:value","block":"$Lca0"},{"key":"bad_page_token","label":"Incorrect page token","rawValue":"$18:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_page_token:value","block":"$Lca1"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$Lca2"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$Lca3"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Lca4"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$Lca5"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$Lca6"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$Lca7"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$Lca8"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lca9"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] caa:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)c25:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$caa","descriptionNode":"$Lcab"}}}] c26:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"update_all_props","label":"Update all properties","rawValue":"$1a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_all_props:value","block":"$Lcac"},{"key":"update_category_name","label":"Update accounting category name","rawValue":"$1a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_category_name:value","block":"$Lcad"},{"key":"update_category_code","label":"Update accounting category code","rawValue":"$1a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_category_code:value","block":"$Lcae"},{"key":"update_default_tax_rate","label":"Update default tax rate","rawValue":"$1a:props:children:0:props:children:props:requestBody:content:application/json:examples:update_default_tax_rate:value","block":"$Lcaf"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] c27:["$","$L1fa",null,{"exampleBlocks":{"204":{},"400":{"application/json":{"variants":[{"key":"param_required","label":"Body is empty","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:param_required:value","block":"$Lcb0"},{"key":"bad_param_type","label":"Incorrect parameter format","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_type:value","block":"$Lcb1"},{"key":"bad_param_format","label":"Incorrect parameter format","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_param_format:value","block":"$Lcb2"},{"key":"invalid_json","label":"Invalid JSON","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$Lcb3"},{"key":"param_value_too_short","label":"Parameter value too short","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_short:value","block":"$Lcb4"},{"key":"param_value_too_long","label":"Parameter value too long","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long:value","block":"$Lcb5"},{"key":"param_value_too_long2","label":"Parameter value too long","rawValue":"$1a:props:children:0:props:children:props:responses:400:content:application/json:examples:param_value_too_long2:value","block":"$Lcb6"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"access_token_invalid_or_expired","label":"Access token invalid or expired","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:access_token_invalid_or_expired:value","block":"$Lcb7"},{"key":"invalid_token","label":"Invalid token","rawValue":"$1b:props:children:0:props:children:props:responses:401:content:application/json:examples:invalid_token:value","block":"$Lcb8"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Lcb9"}],"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":"$Lcba"}],"syncedPropertyName":"$undefined"}},"409":{"application/json":{"variants":[{"key":"category_with_name_exists","label":"Name must be unique","rawValue":"$1a:props:children:0:props:children:props:responses:409:content:application/json:examples:category_with_name_exists:value","block":"$Lcbb"},{"key":"category_with_code_exists","label":"Code must be unique","rawValue":"$1a:props:children:0:props:children:props:responses:409:content:application/json:examples:category_with_code_exists:value","block":"$Lcbc"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cannot_update_externally_managed_resource","label":"Accounting category managed by integration, cannot be updated","rawValue":"$1a:props:children:0:props:children:props:responses:422:content:application/json:examples:cannot_update_externally_managed_resource:value","block":"$Lcbd"},{"key":"state_mismatch","label":"Accounting category is no longer available","rawValue":"$1a:props:children:0:props:children:props:responses:422:content:application/json:examples:state_mismatch:value","block":"$Lcbe"},{"key":"null_name","label":"Name cannot be null","rawValue":"$1a:props:children:0:props:children:props:responses:422:content:application/json:examples:null_name:value","block":"$Lcbf"},{"key":"null_code","label":"Code cannot be null","rawValue":"$1a:props:children:0:props:children:props:responses:422:content:application/json:examples:null_code:value","block":"$Lcc0"},{"key":"null_name_and_code","label":"Name or code cannot be null","rawValue":"$1a:props:children:0:props:children:props:responses:422:content:application/json:examples:null_name_and_code:value","block":"$Lcc1"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"rateLimitExceededNoRetryAfter","label":"Rate limit exceeded (no Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededNoRetryAfter:value","block":"$Lcc2"},{"key":"rateLimitExceededWithRetryAfter","label":"Rate limit exceeded (with Retry-After)","rawValue":"$1b:props:children:0:props:children:props:responses:429:content:application/json:examples:rateLimitExceededWithRetryAfter:value","block":"$Lcc3"}],"syncedPropertyName":"$undefined"}},"500":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$1b:props:children:0:props:children:props:responses:500:content:application/json:examples:default:value","block":"$Lcc4"}],"syncedPropertyName":"$undefined"}},"503":{"application/json":{"variants":[{"key":"service_unavailable","label":"System temporarily unavailable","rawValue":"$1b:props:children:0:props:children:props:responses:503:content:application/json:examples:service_unavailable:value","block":"$Lcc5"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Lcc6"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] cc7:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)c37:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$cc7","descriptionNode":"$Lcc8"}}}] c38:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"list_of_references","label":"References for the card (max.5)","rawValue":"$48:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_references:value","block":"$Lcc9"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] c39:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_references","label":"References for the card (max.5)","rawValue":"$48:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_references:value","block":"$Lcca"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"duplicate_names","label":"Duplicate names","rawValue":"$48:props:children:0:props:children:props:responses:400:content:application/json:examples:duplicate_names:value","block":"$Lccb"},{"key":"too_long_names","label":"Too long reference name(s)","rawValue":"$48:props:children:0:props:children:props:responses:400:content:application/json:examples:too_long_names:value","block":"$Lccc"},{"key":"too_long_values","label":"Too long reference value(s)","rawValue":"$48:props:children:0:props:children:props:responses:400:content:application/json:examples:too_long_values:value","block":"$Lccd"},{"key":"wrong_size","label":"Too many references","rawValue":"$48:props:children:0:props:children:props:responses:400:content:application/json:examples:wrong_size:value","block":"$Lcce"},{"key":"invalid_json","label":"Incorrect request format","rawValue":"$48:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$Lccf"},{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$Lcd0"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$48:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Lcd1"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"update_limit_exceeded","label":"References can be amended up to 10 times","rawValue":"$48:props:children:0:props:children:props:responses:422:content:application/json:examples:update_limit_exceeded:value","block":"$Lcd2"},{"key":"unsupported_card","label":"References can't be assigned to cards with holder_id","rawValue":"$48:props:children:0:props:children:props:responses:422:content:application/json:examples:unsupported_card:value","block":"$Lcd3"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lcd4"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] cd8:T8e9,
fetch("https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
cd9:Tdd1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
cdb:T1575,
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://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
cdd:T8f1,
fetch("https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
cde:Tdd9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
ce0:T157d,
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-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
ce1:T149d,
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-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c51:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lcd5",["$","$Lac",null,{"parameters":[{"in":"query","name":"created_before","schema":{"type":"string","format":"date-time","default":"the date-time at which the request is made"},"description":"Retrieves team members with `created_at` < `created_before`.\nThe default value is the current date and time at which you are calling the endpoint.\n\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Lcd6"},{"name":"limit","in":"query","required":false,"description":"The maximum number of team members returned per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last team member returned in the previous response as the value for `created_before`.","schema":{"type":"number","format":"integer","default":100,"maximum":1000,"minimum":1},"descriptionNode":"$Lcd7"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$77:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$cd8","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$cd9","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$cda","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$cdb","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$cdc","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$cdd","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$cde","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$cdf","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$ce0","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/team-members?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$ce1","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/team-members","parameters":["$c51:props:children:0:props:children:1:props:parameters:0","$c51:props:children:0:props:children:1:props:parameters:1"]}],"$Lce2"],"$Lce3","$Lce4"]}]]}] ce5:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)c73:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$ce5","descriptionNode":"$Lce6"}}}] c74:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$89:props:children:0:props:children:props:requestBody:content:application/json:examples:default:value","block":"$Lce7"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] c75:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$89:props:children:0:props:children:props:responses:201:content:application/json:examples:default:value","block":"$Lce8"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$89:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$Lce9"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$89:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$Lcea"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lceb"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] c8d:["$","$Lb2",null,{"responses":"$8e:props:children:0:props:children:props:responses","headingAs":"h3"}] cec:T579,
curl -X POST "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "expiration_period": "P0D"
}'
ced:Td8a,
const payload = {
  "expiration_period": "P0D"
};
fetch("https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
cee:T1471,
package main

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

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

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

url = "https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "expiration_period": "P0D"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
cf0:T19d8,
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": "P0D"
}
    """;

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

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

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

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
cf2:T581,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "expiration_period": "P0D"
}'
cf3:Td92,
const payload = {
  "expiration_period": "P0D"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
cf4:T1479,
package main

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

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

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

url = "https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "expiration_period": "P0D"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
cf6:T19e0,
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": "P0D"
}
    """;

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

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
cf7:T1c3e,
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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""expiration_period"": ""P0D""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
c8e:["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"expiration_period\": \"P0D\"\n}'","templateHtml":"$cec","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"expiration_period\": \"P0D\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$ced","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\n jsonData := []byte(`\n{\n \"expiration_period\": \"P0D\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$cee","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"expiration_period\": \"P0D\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$cef","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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\": \"P0D\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$cf0","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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://b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"expiration_period\"\": \"\"P0D\"\"\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":"$cf1","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"expiration_period\": \"P0D\"\n}'","templateHtml":"$cf2","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"expiration_period\": \"P0D\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$cf3","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\n jsonData := []byte(`\n{\n \"expiration_period\": \"P0D\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$cf4","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"expiration_period\": \"P0D\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$cf5","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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\": \"P0D\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$cf6","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"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-b2b.revolut.com/api/1.0/webhooks/__RP_TOK_0__/rotate-signing-secret\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"expiration_period\"\": \"\"P0D\"\"\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":"$cf7","tokens":[{"marker":"__RP_TOK_0__","paramName":"webhook_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:webhook_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/webhooks/{webhook_id}/rotate-signing-secret","parameters":["$8e:props:children:0:props:children:props:children:1:props:children:0:props:children:1:props:parameters:0"]}],"$Lcf8"],"$Lcf9","$Lcfa"]}] c90:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"fields\": [\n {\n \"name\": \"first_name\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^[-'\\\\p{L} ]{1,40}$\",\n \"description\": \"Letters, hyphens and apostrophes only, up to 40 characters\"\n }\n },\n {\n \"name\": \"last_name\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^[-'\\\\p{L} ]{1,40}$\",\n \"description\": \"Letters, hyphens and apostrophes only, up to 40 characters\"\n }\n },\n {\n \"name\": \"sort_code\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^\\\\d{6}$\",\n \"description\": \"6-digit number\"\n }\n },\n {\n \"name\": \"account_no\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^\\\\d{8}$\",\n \"description\": \"8-digit number\"\n }\n },\n {\n \"name\": \"address\",\n \"required\": true\n }\n ]\n}"}]}] c92:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"fields\": [\n {\n \"name\": \"company_name\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^.{1,140}$\",\n \"description\": \"Up to 140 characters\"\n }\n },\n {\n \"name\": \"route\",\n \"required\": true,\n \"options\": [\n {\n \"value\": \"ach\",\n \"default\": true\n },\n {\n \"value\": \"fedwire\"\n }\n ]\n },\n {\n \"name\": \"routing_number\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^\\\\d{9}$\",\n \"description\": \"9-digit number\"\n }\n },\n {\n \"name\": \"account_no\",\n \"required\": true,\n \"regex\": {\n \"pattern\": \"^\\\\d{6,17}$\",\n \"description\": \"6 to 17 digits\"\n }\n },\n {\n \"name\": \"address\",\n \"required\": true\n }\n ]\n}"}]}] a6b:"Create a new label group" a80:"Create a new tax rate" a91:"Retrieve a list of tax rates" abe:"Update a payment draft" 718:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 719:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 71a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 71b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when an accounting category with the provided name already exists."}]]}] 71c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 71d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 71e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 71f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - accounting category cannot be created due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and accounting categories are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 720:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 721:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 722:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 723:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 724:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 725:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 726:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 727:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 728:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 729:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 72a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 72b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 72c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 72d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 72e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 72f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 730:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The full name for the accounting category."}]]}] 731:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code name for the accounting category."}]]}] 732:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the default ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-tax-rate","target":"_blank","rel":"noreferrer","children":"tax rate"}]," that should be applied to items in this accounting category unless overridden for a specific item."]}]]}] 733:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The accounting category to create."}]]}] 868:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Add a new accounting category to the list of accounting categories that can be assigned to your financial records, such as expenses."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed accounting categories"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories","target":"_blank","rel":"noreferrer","children":"Manage accounting categories"}],"."]}]]}] 73e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 73f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 740:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 741:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 742:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 743:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 744:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 745:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 746:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 747:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 748:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 749:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 74a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 74b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 74c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 74d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 74e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 74f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 750:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 751:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 752:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 753:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 754:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 755:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 756:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 757:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 758:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 879:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get available label groups based on the provided query criteria."}],"\n",["$","p","p-1",{"children":["The label groups are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order, and they're ",["$","strong","strong-0",{"children":"paginated"}],"."]}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 87a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The page size, that is, the maximum number of label groups to return per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, use ",["$","code","code-0",{"children":"page_token"}],"."]}]]}] 87b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] 87c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] 76c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 76d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 76e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 76f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when a label group with the provided name already exists."}]]}] 770:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 771:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 772:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 773:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - label group cannot be updated due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and label groups are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 774:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 775:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 776:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 777:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 778:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 779:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 77a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 77b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 77c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 77d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 77e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 77f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 780:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 781:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 782:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 783:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 784:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new name for the label group."}]]}] 785:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new name for the label group."}]]}] 88b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update the name for a specific label group, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed label groups"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 88c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group to update."}]]}] 79a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when a label with the provided name already exists."}]]}] 79b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 79c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 79d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 79e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - label cannot be created due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 79f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 7a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 7a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 7ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 7af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name for the new label."}]]}] 89d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Add a new label to a label group."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed labels"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":"The labels are used for accounting and can be applied to your financial records, such as expenses."}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 89e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group to which to add the new label."}]]}] 7bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 7bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 7c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 7c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 7c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 7cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 7d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 8af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get labels from a specific label group based on the provided query criteria."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The API returns a maximum of 500 labels per request.\nThe default page size is 100."}]}]]}],"\n",["$","p","p-1",{"children":["The labels are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order, and they're ",["$","strong","strong-0",{"children":"paginated"}],".\nThe page size, that is, the maximum number of labels returned per page is specified by the ",["$","code","code-1",{"children":"limit"}]," parameter."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the number of results exceeds the page size, the response also returns a cursor for the next page under ",["$","code","code-0",{"children":"next_page_token"}],".",["$","br","br-0",{}],"\nTo get the next page of results, make a new request using that ",["$","code","code-1",{"children":"next_page_token"}]," value in ",["$","code","code-2",{"children":"page_token"}],"."]}],"\n",["$","li","li-1",{"children":["If the number of results is smaller than the page size, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned."]}],"\n"]}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 8b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group from which to retrieve labels."}]]}] 8b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The page size, that is, the maximum number of labels to return per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, use ",["$","code","code-0",{"children":"page_token"}],"."]}]]}] 8b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] 8b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] 7e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when a label with the provided name already exists."}]]}] 7ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - label cannot be updated due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 7f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 7f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 7f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 7fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 7fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 7fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 7ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 800:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new name for the label."}]]}] 801:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new name for the label."}]]}] 8c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update the name for a specific label, based on the IDs of the label and its label group."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This operation is not supported for [externally managed labels]/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups(#externally-managed-settings)."}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 8c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label group to which the label belongs."}]]}] 8c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the label to update."}]]}] 816:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 817:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 818:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when a tax rate with the provided name already exists."}]]}] 819:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 81a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 81b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 81c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - tax rate cannot be updated due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and tax rates are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 81d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 81e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 81f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 820:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 821:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 822:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 823:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 824:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 825:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 826:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 827:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 828:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 829:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 82a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 82b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 82c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 82d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new name for the tax rate."}]]}] 82e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new setting for the tax rate."}]]}] 8d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update settings for a specific tax rate, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed tax rates"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates","target":"_blank","rel":"noreferrer","children":"Manage tax rates"}],"."]}]]}] 8d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the tax rate to update."}]]}] 8e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Lcfb","\n","$Lcfc","\n"]}]]}] 8ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft."}]]}] 8eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The scheduled date of the payment draft in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 8ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The title of the payment draft."}]]}] 8ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The number of payments in the payment draft."}]]}] 8ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The source from which the payment draft was created."}]]}] 8ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of payments."}]]}] 8f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of payment drafts that haven't been sent for processing."}]]}] 8f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of payment drafts"}]]}] 8f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 8f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 8f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 8f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 8f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Get the list of payment drafts that haven't been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#send-drafts-for-processing","target":"_blank","rel":"noreferrer","children":"sent for processing"}],"."]}],"\n",["$","p","p-1",{"children":["By default, only payment drafts created with the API (including ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/open-banking#tag-draft-payment","target":"_blank","rel":"noreferrer","children":"Draft payment"}]," endpoints) are returned. To retrieve drafts from other sources, use the ",["$","code","code-0",{"children":"source"}]," parameter."]}],"\n",["$","p","p-2",{"children":"The response lists the drafts with their details, such as the number of payments included in the draft, but not the payment details."}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] 8f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Filter payment drafts by the source from which they were created."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"api"}],": Only drafts created with the API (excluding the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/open-banking#tag-draft-payment","target":"_blank","rel":"noreferrer","children":"Draft payment"}]," endpoints)."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"integration"}],": Drafts created via integrations (e.g., Xero) and ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/open-banking#tag-draft-payment","target":"_blank","rel":"noreferrer","children":"Draft payment"}]," endpoints."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"email"}],": Only drafts created via email."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"all"}],": All payment drafts, ",["$","strong","strong-0",{"children":"including drafts created in the Revolut Business app"}],"."]}],"\n"]}]]}] cfd:T452,
{
  "pan": "4111111111111111",
  "cvv": "123",
  "expiry": "06/2030"
}
43a:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$cfd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"pan\": \"4111111111111111\",\n \"cvv\": \"123\",\n \"expiry\": \"06/2030\"\n}"}]}]]}] 43b:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 43c:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] 43d:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 43e:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] cfe:Tb9d,
{
  "countries": [
    {
      "country": "GB",
      "currencies": [
        "GBP"
      ]
    },
    {
      "country": "US",
      "currencies": [
        "USD"
      ]
    },
    {
      "country": "DE",
      "currencies": [
        "EUR"
      ]
    }
  ]
}
44e:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$cfe"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"countries\": [\n {\n \"country\": \"GB\",\n \"currencies\": [\n \"GBP\"\n ]\n },\n {\n \"country\": \"US\",\n \"currencies\": [\n \"USD\"\n ]\n },\n {\n \"country\": \"DE\",\n \"currencies\": [\n \"EUR\"\n ]\n }\n ]\n}"}]}]]}] cff:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
44f:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$cff"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 63:["$","$98","exchange-money",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Exchange operation details","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the created transaction.","descriptionNode":"$Ld00"},"type":{"type":"string","description":"The type of the transaction. For money exchange, it is `exchange`.","descriptionNode":"$Ld01"},"reason_code":{"type":"string","description":"The reason why the transaction was failed or declined.\n\nPresent only when the `state` parameter of the transaction is `declined` or `failed`.","descriptionNode":"$Ld02"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transaction was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ld03"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transaction was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ld04"},"state":{"enum":"$82:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"Indicates the transaction state. Possible values:\n - `created`: The transaction has been created and is either processed asynchronously or scheduled for a later time.\n - `pending`: The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly.\n - `completed`: The transaction was successful.\n - `declined`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc.\n - `failed`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.\n - `reverted`: The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible.","type":"string","descriptionNode":"$Ld05"}}},"examples":{"default":{"value":{"id":"630f9c2e-2e74-a06d-ab61-deb7ggkkd6cb","state":"completed","created_at":"2022-08-31T17:36:46.656876Z","completed_at":"2022-08-31T17:36:46.657239Z"}}}}},"descriptionNode":"$Ld06"},"400":{"description":"Bad request\n\nFor example, the exchange reason is required.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Ld07"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Ld08"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3448,"message":"Exchange reason is required"}}}}},"descriptionNode":"$Ld09"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Ld0a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Ld0b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Ld0c"}},"requestBody":{"description":"Specify the exchange information","required":true,"content":{"application/json":{"schema":{"type":"object","description":"The exchange information.","properties":{"from":{"type":"object","description":"The details of the currency to exchange from.","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account to sell currency from.","descriptionNode":"$Ld0d"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Ld0e"},"amount":{"type":"number","format":"double","description":"The amount of currency.\nSpecify **only** if you want to sell currency.","descriptionNode":"$Ld0f"}},"required":["account_id","currency"],"descriptionNode":"$Ld10"},"to":{"type":"object","description":"The details of the currency to exchange to.","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account to receive exchanged currency into.","descriptionNode":"$Ld11"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Ld12"},"amount":{"type":"number","format":"double","description":"The amount of currency.\nSpecify **only** if you want to buy currency.","descriptionNode":"$Ld13"}},"required":["account_id","currency"],"descriptionNode":"$Ld14"},"reference":{"type":"string","description":"The reference for the exchange transaction, provided by you.\nIt helps you to identify the transaction if you want to look it up later.","descriptionNode":"$Ld15"},"request_id":{"type":"string","description":"The ID of the request, provided by you.\nIt helps you identify the transaction in your system.\n\n:::warning\nTo ensure that an exchange transaction is not processed multiple times if there are network or system errors,\nthe same `request_id` should be used for requests related to the same transaction.\n:::","maxLength":40,"descriptionNode":"$Ld16"},"exchange_reason_code":{"type":"string","description":"The reason code for the exchange.\nDepending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason. \nYou can check available reason codes with the [`GET /exchange-reasons` operation](https://developer.revolut.com/docs/api/business#get-exchange-reasons).\n\nIf an exchange reason is not required, this field is ignored.","examples":["fund_transfer_and_intracompany_payment"],"descriptionNode":"$Ld17"}},"required":["from","to","request_id"],"descriptionNode":"$Ld18"},"examples":{"sell":{"summary":"Sell","value":{"from":{"account_id":"af98333c-ea53-482b-93c2-1fa5e4eae671","currency":"USD","amount":135.5},"to":{"account_id":"b7ec67d3-5af1-42c8-bece-3d285774894d","currency":"EUR"},"reference":"exchange","request_id":"A1pH4num3ric2"}},"buy":{"summary":"Buy","value":{"from":{"account_id":"af98333c-ea53-482b-93c2-1fa5e4eae671","currency":"USD"},"to":{"account_id":"b7ec67d3-5af1-42c8-bece-3d285774894d","currency":"EUR","amount":200},"reference":"exchange","request_id":"A1pH4num3ric2"}}}}},"descriptionNode":"$Ld19"},"variantLabels":["Sell","Buy"],"children":["$Ld1a","$Ld1b"]}]}],false]}] 67:["$","$98","create-payment-draft",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"The ID of the payment draft that was created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"number","description":"The ID of the payment draft created.","descriptionNode":"$Ld1c"}},"required":["id"]},"examples":{"default":{"value":{"id":"e7e54cb2-861a-aaaa-80e9-3e6600f3db10"}}}}},"descriptionNode":"$Ld1d"},"204":{"description":"No payments provided","descriptionNode":"$Ld1e"},"400":{"description":"Bad Request\n\nReturned, for example, when a required parameter is missing or malformatted, or when the request contains incompatible parameters.","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Ld1f"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Ld20"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Ld21"}}},"examples":{"charge_bearer_bulk_payments":{"summary":"Charge bearer cannot be used with bulk payments","value":{"code":2101,"message":"Charge bearer is not supported for bulk payments."}},"charge_bearer_not_eligible":{"summary":"Charge bearer not supported for the given recipient","value":{"code":3287,"message":"Recipient not eligible for SWIFT SHA/OUR"}},"currency_should_match":{"summary":"Payment currency must match the recipient account currency","value":{"code":3452,"message":"Payment draft currency should match with recipient currency [USD] but is [EUR]"}}}}},"descriptionNode":"$Ld22"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$Ld23"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$Ld24"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Ld25"}}}}},"descriptionNode":"$Ld26"}},"requestBody":{"description":"The payment draft information","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":255,"description":"The title of the payment draft.","descriptionNode":"$Ld27"},"schedule_for":{"type":"string","format":"date","description":"The scheduled date of the payment draft in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ld28"},"payments":{"type":"array","description":"The details of the payment(s) to be made.","items":{"type":"object","description":"The details of the draft payment.","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account to pay from. \n\n:::note\nYou can specify only one account ID for multiple payments in the same payment draft.\n:::","descriptionNode":"$Ld29"},"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$Ld2a"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$Ld2b"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$Ld2c"}},"required":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:receiver:required","descriptionNode":"$Ld2d"},"amount":{"type":"number","format":"double","exclusiveMinimum":0,"description":"The amount of the payment.","descriptionNode":"$Ld2e"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Ld2f"},"reference":{"type":"string","maxLength":255,"description":"The reference for the payment.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes.\n\nYou might include an invoice number, account or transaction ID, or any other reference meaningful to you.","descriptionNode":"$Ld30"},"charge_bearer":{"type":"string","description":"The party that should bear the transaction fees related to the selected transaction route if applied.\nPossible options are: \n- `shared`: Also known as **SHA**. The transaction route fees are split between the sender and the recipient. \n The sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks.\n- `debtor`: Also known as **OUR**. The sender pays all explicit transaction fees.\n\n:::note\n- This field is not supported for [bulk payments](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#use-cases). \n- Some transactions with fees might not support charge bearer selection.\n If this is the case, the request will return an error.\n To proceed with the default fee handling, remove this field from your request and try again.\n:::","enum":"$6b:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:charge_bearer:enum","descriptionNode":"$Ld31"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$Ld32"}},"required":"$6b:props:children:0:props:children:props:requestBody:content:application/json:schema:required","descriptionNode":"$Ld33"},"descriptionNode":"$Ld34"}},"required":["payments"]},"examples":{"simple_draft":{"summary":"Payment draft for a simple payment","value":{"title":"Payment Draft Title","payments":[{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"a15bcac4-dd42-45ed-a828-6806ccc8bb7e","account_id":"2bf609f4-9825-4401-b6f7-960c61f8bee0"},"amount":10,"currency":"GBP","reference":"Payment #123"}]}},"draft_with_charge_bearer":{"summary":"Payment draft for a single payment with charge bearer specified","value":{"title":"Payment Draft Title","payments":[{"account_id":"21cb9b68-0017-45cf-93f2-1a8954bcb120","receiver":{"counterparty_id":"d4d52566-280b-47df-b34f-0da6da484c43"},"amount":100,"currency":"USD","reference":"Transaction #456","charge_bearer":"debtor"}]}},"bulk_payment_draft":{"summary":"Payment draft for a bulk payment","value":{"title":"Payment Draft Title","payments":[{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"a15bcac4-dd42-45ed-a828-6806ccc8bb7e","account_id":"2bf609f4-9825-4401-b6f7-960c61f8bee0"},"amount":10,"currency":"GBP","reference":"Payment #123"},{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"f3107ecc-d368-48f3-8120-92b7d612f949"},"amount":120,"currency":"GBP","reference":"Transaction #654"},{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"d4d52566-280b-47df-b34f-0da6da484c43"},"amount":100,"currency":"EUR","reference":"Invoice #789"}]}},"scheduled_payment_draft":{"summary":"Payment draft for a scheduled payment","value":{"title":"Payment Draft Title","schedule_for":"2026-06-24","payments":[{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"a15bcac4-dd42-45ed-a828-6806ccc8bb7e","account_id":"2bf609f4-9825-4401-b6f7-960c61f8bee0"},"amount":10,"currency":"GBP","reference":"Payment #123"}]}},"scheduled_bulk_payment_draft":{"summary":"Payment draft for a scheduled bulk payment","value":{"title":"Payment Draft Title","schedule_for":"2026-06-24","payments":[{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"a15bcac4-dd42-45ed-a828-6806ccc8bb7e","account_id":"2bf609f4-9825-4401-b6f7-960c61f8bee0"},"amount":10,"currency":"GBP","reference":"Payment #123"},{"account_id":"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb","receiver":{"counterparty_id":"d4d52566-280b-47df-b34f-0da6da484c43"},"amount":100,"currency":"EUR","reference":"Invoice #789"}]}}}}},"descriptionNode":"$Ld35"},"variantLabels":["Payment draft for a simple payment","Payment draft for a single payment with charge bearer specified","Payment draft for a bulk payment","Payment draft for a scheduled payment","Payment draft for a scheduled bulk payment"],"children":["$Ld36","$Ld37"]}]}],false]}] 7f:["$","$98","create-payment",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about the created transfer","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the transaction created.","descriptionNode":"$Ld38"},"state":{"enum":"$82:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"Indicates the transaction state. Possible values:\n - `created`: The transaction has been created and is either processed asynchronously or scheduled for a later time.\n - `pending`: The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly.\n - `completed`: The transaction was successful.\n - `declined`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc.\n - `failed`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.\n - `reverted`: The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible.","type":"string","descriptionNode":"$Ld39"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transaction was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ld3a"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transaction was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$Ld3b"}},"required":"$82:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"pending":{"summary":"Pending transfer","value":{"id":"630f9a62-e488-a9ce-a2d3-a30kkkke03f0","state":"pending","created_at":"2022-08-31T17:29:06.625613Z"}},"completed":{"summary":"Completed transfer","value":{"id":"630f9a62-e488-a9ce-a2d3-a30kkkke03f0","state":"completed","created_at":"2022-08-31T17:29:06.625613Z","completed_at":"2022-09-01T17:29:06.625613Z"}}}}},"descriptionNode":"$Ld3c"},"400":{"description":"Bad request\n\nFor example:\n- a duplicate `request_id` is being used\n- the specified `charge_bearer` is not supported\n- the exchange reason is required and `exchange_reason_code` is missing\n- the transfer reason is required and `transfer_reason_code` is missing","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Ld3d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Ld3e"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"duplicate_request":{"summary":"Duplicate request_id","value":{"code":3020,"message":"Duplicate request: 1f0f3850-9627-42de-8ad4-a2c497c37d0b"}},"unsupported_charge_bearer":{"summary":"Unsupported charge_bearer","value":{"code":3287,"message":"Specified 'charge_bearer' is not supported for this transaction."}},"missing_exchange_reason_code":{"summary":"Missing exchange_reason_code","value":{"code":3448,"message":"Exchange reason is required"}},"missing_transfer_reason_code":{"summary":"Missing transfer_reason_code","value":{"code":4100,"message":"Please provide a reason for the transaction."}}}}},"descriptionNode":"$Ld3f"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Ld40"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Ld41"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Ld42"}},"requestBody":{"description":"Create a transfer","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string","description":"A unique identifier for the transaction, provided by you. \nThis is used for idempotency to prevent duplicate payments. \nThere are no strict format requirements, but we recommend using UUID v4 values.\n\n:::tip[Retrying requests safely with idempotency]\nIf you do not receive a response (for example, due to a network error or timeout), you can safely retry the request using the same `request_id`. \n\nIf a transaction with the same `request_id` was already created, the API will not create a duplicate transaction.\n\n:::warning[Idempotency expiry]\nIdempotency checks apply only to transactions created **within the last 2 weeks**. \nReusing a `request_id` **after this period** may result in a **new transaction being created**.\n:::","maxLength":40,"descriptionNode":"$Ld43"},"account_id":{"type":"string","format":"uuid","description":"The ID of the account that you send the funds from.","descriptionNode":"$Ld44"},"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$Ld45"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$Ld46"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$Ld47"}},"required":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:receiver:required","descriptionNode":"$Ld48"},"amount":{"type":"number","format":"double","description":"The amount to transfer.","descriptionNode":"$Ld49"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Ld4a"},"reference":{"type":"string","maxLength":140,"description":"The reference for the payment.\n\n- For **BRL**/**KRW**/**VND**/**COP**/**LKR**/**CLP**/**NPR** company transfers, and all **INR** transfers:\n \n This field must specify the commercial invoice number.\n\n- For other corridors:\n\n A piece of text or number you provide to help identify what the payment relates to.\n It can be used, for example, for reconciliation or tracking purposes.\n\n You might include an invoice number, account or transaction ID, or any other reference meaningful to you.\n\nIf the provided reference is longer than 140 characters, it will be truncated.\nNote that some recipient banks might truncate the reference even further.","descriptionNode":"$Ld4b"},"charge_bearer":{"type":"string","enum":["shared","debtor"],"description":"The party to which any transaction fees are charged if the resulting transaction route has associated fees: \n- `shared`: Also known as **SHA**. The transaction route fees are split between the sender and the recipient. \n The sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks.\n- `debtor`: Also known as **OUR**. The sender pays all explicit transaction fees.\nSome transactions with fees might not be possible with the specified option, in which case error `3287` is returned.","descriptionNode":"$Ld4c"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$Ld4d"},"exchange_reason_code":{"type":"string","description":"The reason code for the exchange.\nDepending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason. \nYou can check available reason codes with the [`GET /exchange-reasons` operation](https://developer.revolut.com/docs/api/business#get-exchange-reasons).\n\nIf an exchange reason is not required, this field is ignored.","examples":"$63:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:exchange_reason_code:examples","descriptionNode":"$Ld4e"},"fiscal_code":{"type":"string","maxLength":50,"pattern":"^[a-zA-Z0-9]+$","description":"Fiscal code of the payer, required for payments to Romanian tax authority beneficiaries (counterparty BIC: `TREZROBUXXX`).\n\nThe business's own tax identification number (TIN) is attached automatically from the business profile.","examples":["RO12345678"],"descriptionNode":"$Ld4f"}},"required":["request_id","account_id","receiver","amount","currency"]},"examples":{"generic_transfer":{"summary":"Bank transfer","value":{"request_id":"A1pH4num3ric","account_id":"af98333c-ea53-482b-93c2-1fa5e4eae671","receiver":{"counterparty_id":"49c6a48b-6b58-40a0-b974-0b8c4888c8a7","account_id":"9116f03a-c074-4585-b261-18a706b3768b"},"amount":10,"charge_bearer":"shared","currency":"EUR","reference":"To John Doe"}},"transfer_to_card_p2c":{"summary":"Card transfer","value":{"request_id":"A1pH4num3ric","account_id":"af98333c-ea53-482b-93c2-1fa5e4eae671","receiver":{"counterparty_id":"1099791d-8980-401f-8417-b9d66eeb6d93"},"amount":15,"currency":"EUR","reference":"To John Doe"}},"transfer_with_reason_code":{"summary":"Transfer with reason code","value":{"request_id":"A1pH4num3ric","account_id":"f2efd687-1084-45a6-ace6-8abc1352f0d3","receiver":{"counterparty_id":"03153735-d49c-4f8b-ac42-1fe40aeb4167","account_id":"8b9eff51-2bd1-4ce2-9974-b87385092e3e"},"amount":2500,"currency":"INR","charge_bearer":"shared","reference":"To John Doe","transfer_reason_code":"advertising"}}}}},"descriptionNode":"$Ld50"},"variantLabels":["Pending transfer","Completed transfer"],"children":["$Ld51","$Ld52"]}]}],false]}] d53:T7db,
{
  "request_id": "129999",
  "source_account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf1234",
  "target_account_id": "ae2e1241-81dd-498d-868e-075484785678",
  "amount": 10,
  "currency": "GBP",
  "reference": "John's transfer"
}
4b3:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d53"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"129999\",\n \"source_account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf1234\",\n \"target_account_id\": \"ae2e1241-81dd-498d-868e-075484785678\",\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"John's transfer\"\n}"}]}]]}] d54:T5b0,
{
  "id": "630f95f7-a3f9-abf2-b4e4-3f65281234dc",
  "state": "completed",
  "created_at": "2020-11-23T08:39:35.811005Z",
  "completed_at": "2020-11-23T08:39:35.811005Z"
}
4b4:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d54"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"630f95f7-a3f9-abf2-b4e4-3f65281234dc\",\n \"state\": \"completed\",\n \"created_at\": \"2020-11-23T08:39:35.811005Z\",\n \"completed_at\": \"2020-11-23T08:39:35.811005Z\"\n}"}]}]]}] 4b5:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d55:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
4b8:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d55"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] d56:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
4b9:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d56"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] d57:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
4ba:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d57"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] d58:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
4bb:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d58"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] d59:T4b0,
{
  "error_id": "69bca351a-22a7-ac4d-af05-21032f9080ec",
  "code": 3006,
  "message": "Accounting category with id d6c034a8-b302-4741-b66f-cc0f0a19642e not found"
}
4bc:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d59"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69bca351a-22a7-ac4d-af05-21032f9080ec\",\n \"code\": 3006,\n \"message\": \"Accounting category with id d6c034a8-b302-4741-b66f-cc0f0a19642e not found\"\n}"}]}]]}] d5a:T4cf,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Accounting categories are managed by your connected accounting integration and cannot be modified manually"
}
4bd:["$","div","422-application/json-cannot_delete_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d5a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Accounting categories are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] d5b:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
4be:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d5b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] d5c:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
4bf:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d5c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] d5d:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
4c0:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d5d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] d5e:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
4c1:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d5e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] d5f:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
4c2:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d5f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d60:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
4c5:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d60"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] d61:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
4c6:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d61"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] d62:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
4c7:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d62"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] d63:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
4c8:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d63"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] d64:T4a7,
{
  "error_id": "ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0",
  "code": 3006,
  "message": "Label group with id be6c9d90-df25-458a-b559-be61896c94b8 not found"
}
4c9:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d64"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0\",\n \"code\": 3006,\n \"message\": \"Label group with id be6c9d90-df25-458a-b559-be61896c94b8 not found\"\n}"}]}]]}] d65:T4c0,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Labels are managed by your connected accounting integration and cannot be modified manually"
}
4ca:["$","div","422-application/json-cannot_delete_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d65"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Labels are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] d66:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
4cb:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d66"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] d67:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
4cc:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d67"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] d68:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
4cd:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d68"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] d69:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
4ce:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d69"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] d6a:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
4cf:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d6a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d6b:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
4d2:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d6b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] d6c:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
4d3:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d6c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] d6d:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
4d4:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d6d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] d6e:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
4d5:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d6e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] d6f:T4a1,
{
  "error_id": "ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0",
  "code": 3006,
  "message": "Label with id be6c9d90-df25-458a-b559-be61896c94b8 not found"
}
4d6:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d6f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0\",\n \"code\": 3006,\n \"message\": \"Label with id be6c9d90-df25-458a-b559-be61896c94b8 not found\"\n}"}]}]]}] d70:T4c0,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Labels are managed by your connected accounting integration and cannot be modified manually"
}
4d7:["$","div","422-application/json-cannot_delete_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d70"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Labels are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] d71:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
4d8:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d71"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] d72:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
4d9:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d72"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] d73:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
4da:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d73"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] d74:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
4db:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d74"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] d75:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
4dc:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d75"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d76:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
4df:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d76"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] d77:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
4e0:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d77"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] d78:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
4e1:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d78"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] d79:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
4e2:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d79"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] d7a:T4a4,
{
  "error_id": "ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0",
  "code": 3006,
  "message": "Tax rate with id be6c9d90-df25-458a-b559-be61896c94b8 not found"
}
4e3:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d7a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0\",\n \"code\": 3006,\n \"message\": \"Tax rate with id be6c9d90-df25-458a-b559-be61896c94b8 not found\"\n}"}]}]]}] d7b:T4c3,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Tax rates are managed by your connected accounting integration and cannot be modified manually"
}
4e4:["$","div","422-application/json-cannot_delete_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d7b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Tax rates are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] d7c:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
4e5:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d7c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] d7d:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
4e6:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d7d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] d7e:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
4e7:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d7e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] d7f:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
4e8:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d7f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] d80:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
4e9:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d80"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 4ec:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 4ed:["$","div","401-application/json-unauthorized",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"status\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"status\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 4ee:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3088,\n  \"message\": \"Card invitation '10a2069f-fc11-4d5f-82b4-29c4ecc3a62e' not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3088,\n \"message\": \"Card invitation '10a2069f-fc11-4d5f-82b4-29c4ecc3a62e' not found\"\n}"}]}]]}] 4ef:["$","div","422-application/json-unsupported_card_invitation_state",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Unable to cancel card invitation with state=redeemed\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Unable to cancel card invitation with state=redeemed\"\n}"}]}]]}] 4f0:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d81:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
4f3:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d81"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 4f6:["$","div","404-application/json-not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"The specified payment draft or payment was not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"The specified payment draft or payment was not found\"\n}"}]}]]}] 4f7:["$","div","422-application/json-created_by_other_source",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3100,\n  \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3100,\n \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}"}]}]]}] 4f8:["$","div","422-application/json-already_processed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3417,\n  \"message\": \"Payment draft is already processed\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3417,\n \"message\": \"Payment draft is already processed\"\n}"}]}]]}] d82:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
4f9:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d82"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d83:T146a,
[
  {
    "country": "IN",
    "currency": "INR",
    "code": "advertising",
    "description": "Advertising"
  },
  {
    "country": "IN",
    "currency": "INR",
    "code": "advisor_fees",
    "description": "Advisor fees"
  },
  {
    "country": "IN",
    "currency": "INR",
    "code": "construction",
    "description": "Construction"
  },
  {
    "country": "IN",
    "currency": "INR",
    "code": "delivery",
    "description": "Delivery"
  }
]
4fc:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d83"}}]}]],"$Ld84"]}] 4fd:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d85:Tca7,
[
  {
    "id": "c6db947e-e9ce-41c2-b445-02e6eb741d21",
    "url": "https://www.example.com",
    "events": [
      "TransactionCreated",
      "PayoutLinkCreated"
    ]
  },
  {
    "id": "9f9919a2-932d-498f-a088-3a01b9080c4a",
    "url": "https://www.revolut.com",
    "events": [
      "TransactionCreated",
      "TransactionStateChanged",
      "PayoutLinkCreated",
      "PayoutLinkStateChanged"
    ]
  }
]
500:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$d85"}}]}]],"$Ld86"]}] 501:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 907:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld87","\n","$Ld88","\n"]}]]}] 911:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld89","\n","$Ld8a","\n"]}]]}] 927:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld8b","\n","$Ld8c","\n"]}]]}] 938:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld8d","\n","$Ld8e","\n"]}]]}] 94c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld8f","\n","$Ld90","\n"]}]]}] 95f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld91","\n","$Ld92","\n"]}]]}] 970:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld93","\n","$Ld94","\n"]}]]}] 984:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld95","\n","$Ld96","\n"]}]]}] 998:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ld97","\n","$Ld98","\n"]}]]}] 99b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment added to the draft."}]]}] 99c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment that was added to the draft"}]]}] 99d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 99e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 99f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 9a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The specified payment draft was not found."}]]}] 9a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}],"\n",["$","p","p-1",{"children":"Returned when the payment draft cannot be modified."}]]}] 9a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 9ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to pay from."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"You can specify only one account ID for multiple payments in the same payment draft."}]}]]}]]}] 9ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] d99:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)ce2:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$d99","descriptionNode":"$Ld9a"}}}] ce3:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] ce4:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$77:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Ld9b"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$77:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$Ld9c"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$77:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$Ld9d"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$77:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$Ld9e"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Ld9f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] da0:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)cf8:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$da0","descriptionNode":"$Lda1"}}}] cf9:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"expiration_period":"P0D"},"block":"$Lda2"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] cfa:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8e:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Lda3"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8e:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$Lda4"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8e:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Lda5"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$8e:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$Lda6"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lda7"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] cfb:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] cfc:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d1a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"exchange-money","children":[["$Lda8","$undefined"],["$","$L3a",null,{"id":"exchange-money"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/exchange-money.md"}]]}]}],"$undefined"]}] daa:T97d,
curl -X POST "https://b2b.revolut.com/api/1.0/exchange" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}'
dab:T157e,
const payload = {
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
};
fetch("https://b2b.revolut.com/api/1.0/exchange", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
dac:T1875,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/exchange"
  jsonData := []byte(`
{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/exchange"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
dae:T1ddc,
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 = """
{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/exchange"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/exchange"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""from"": {
    ""account_id"": ""af98333c-ea53-482b-93c2-1fa5e4eae671"",
    ""currency"": ""USD"",
    ""amount"": 135.5
  },
  ""to"": {
    ""account_id"": ""b7ec67d3-5af1-42c8-bece-3d285774894d"",
    ""currency"": ""EUR""
  },
  ""reference"": ""exchange"",
  ""request_id"": ""A1pH4num3ric2""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
db0:T985,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/exchange" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}'
db1:T1586,
const payload = {
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/exchange", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
db2:T187d,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/exchange"
  jsonData := []byte(`
{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/exchange"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
db4:T1de4,
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 = """
{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/exchange"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
db5:T29c4,
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-b2b.revolut.com/api/1.0/exchange"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""from"": {
    ""account_id"": ""af98333c-ea53-482b-93c2-1fa5e4eae671"",
    ""currency"": ""USD"",
    ""amount"": 135.5
  },
  ""to"": {
    ""account_id"": ""b7ec67d3-5af1-42c8-bece-3d285774894d"",
    ""currency"": ""EUR""
  },
  ""reference"": ""exchange"",
  ""request_id"": ""A1pH4num3ric2""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
d1b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lda9",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$63:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$63:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/exchange\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}'","templateHtml":"$daa","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/exchange\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$dab","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/exchange\"\n jsonData := []byte(`\n{\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dac","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/exchange\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$dad","tokens":[],"defaults":{}},{"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 \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/exchange\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$dae","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/exchange\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"from\"\": {\n \"\"account_id\"\": \"\"af98333c-ea53-482b-93c2-1fa5e4eae671\"\",\n \"\"currency\"\": \"\"USD\"\",\n \"\"amount\"\": 135.5\n },\n \"\"to\"\": {\n \"\"account_id\"\": \"\"b7ec67d3-5af1-42c8-bece-3d285774894d\"\",\n \"\"currency\"\": \"\"EUR\"\"\n },\n \"\"reference\"\": \"\"exchange\"\",\n \"\"request_id\"\": \"\"A1pH4num3ric2\"\"\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":"$daf","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/exchange\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}'","templateHtml":"$db0","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/exchange\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$db1","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/exchange\"\n jsonData := []byte(`\n{\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$db2","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/exchange\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$db3","tokens":[],"defaults":{}},{"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 \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/exchange\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$db4","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/exchange\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"from\"\": {\n \"\"account_id\"\": \"\"af98333c-ea53-482b-93c2-1fa5e4eae671\"\",\n \"\"currency\"\": \"\"USD\"\",\n \"\"amount\"\": 135.5\n },\n \"\"to\"\": {\n \"\"account_id\"\": \"\"b7ec67d3-5af1-42c8-bece-3d285774894d\"\",\n \"\"currency\"\": \"\"EUR\"\"\n },\n \"\"reference\"\": \"\"exchange\"\",\n \"\"request_id\"\": \"\"A1pH4num3ric2\"\"\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":"$db5","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/exchange","parameters":[]}],"$Ldb6"],"$Ldb7","$Ldb8"]}]]}] d36:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-payment-draft","children":[["$Ldb9","$undefined"],["$","$L3a",null,{"id":"create-payment-draft"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-payment-draft.md"}]]}]}],"$undefined"]}] dbb:Ta81,
curl -X POST "https://b2b.revolut.com/api/1.0/payment-drafts" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}'
dbc:T16ba,
const payload = {
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
};
fetch("https://b2b.revolut.com/api/1.0/payment-drafts", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
dbd:T1979,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts"
  jsonData := []byte(`
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
dbf:T453,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 = """ { "title": "Payment Draft Title", "payments": [ { "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb", "receiver": { "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e", "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0" }, "amount": 10, "currency": "GBP", "reference": "Payment #123" } ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/payment-drafts")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }dc0:T1ee0,
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 = """
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/payment-drafts"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""title"": ""Payment Draft Title"",
  ""payments"": [
    {
      ""account_id"": ""2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb"",
      ""receiver"": {
        ""counterparty_id"": ""a15bcac4-dd42-45ed-a828-6806ccc8bb7e"",
        ""account_id"": ""2bf609f4-9825-4401-b6f7-960c61f8bee0""
      },
      ""amount"": 10,
      ""currency"": ""GBP"",
      ""reference"": ""Payment #123""
    }
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
dc2:Ta89,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}'
dc3:T16c2,
const payload = {
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
dc4:T1981,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts"
  jsonData := []byte(`
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
dc6:T45b,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 = """ { "title": "Payment Draft Title", "payments": [ { "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb", "receiver": { "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e", "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0" }, "amount": 10, "currency": "GBP", "reference": "Payment #123" } ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }dc7:T1ee8,
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 = """
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
dc8:T2ac8,
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-b2b.revolut.com/api/1.0/payment-drafts"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""title"": ""Payment Draft Title"",
  ""payments"": [
    {
      ""account_id"": ""2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb"",
      ""receiver"": {
        ""counterparty_id"": ""a15bcac4-dd42-45ed-a828-6806ccc8bb7e"",
        ""account_id"": ""2bf609f4-9825-4401-b6f7-960c61f8bee0""
      },
      ""amount"": 10,
      ""currency"": ""GBP"",
      ""reference"": ""Payment #123""
    }
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
d37:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Ldba",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$67:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$67:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/payment-drafts\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}'","templateHtml":"$dbb","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n};\nfetch(\"https://b2b.revolut.com/api/1.0/payment-drafts\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$dbc","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/payment-drafts\"\n jsonData := []byte(`\n{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dbd","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$dbe","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$dbf","templateHtml":"$dc0","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/payment-drafts\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"title\"\": \"\"Payment Draft Title\"\",\n \"\"payments\"\": [\n {\n \"\"account_id\"\": \"\"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\"\",\n \"\"account_id\"\": \"\"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\"\n },\n \"\"amount\"\": 10,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"Payment #123\"\"\n }\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":"$dc1","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}'","templateHtml":"$dc2","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$dc3","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/payment-drafts\"\n jsonData := []byte(`\n{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dc4","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$dc5","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$dc6","templateHtml":"$dc7","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/payment-drafts\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"title\"\": \"\"Payment Draft Title\"\",\n \"\"payments\"\": [\n {\n \"\"account_id\"\": \"\"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\"\",\n \"\"account_id\"\": \"\"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\"\n },\n \"\"amount\"\": 10,\n \"\"currency\"\": \"\"GBP\"\",\n \"\"reference\"\": \"\"Payment #123\"\"\n }\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":"$dc8","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts","parameters":[]}],"$Ldc9"],"$Ldca","$Ldcb"]}]]}] d51:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-payment","children":[["$Ldcc","$undefined"],["$","$L3a",null,{"id":"create-payment"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-payment.md"}]]}]}],"$undefined"]}] dce:T95a,
curl -X POST "https://b2b.revolut.com/api/1.0/pay" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}'
dcf:T1603,
const payload = {
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
};
fetch("https://b2b.revolut.com/api/1.0/pay", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
dd0:T1852,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/pay"
  jsonData := []byte(`
{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/pay"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
dd2:T422,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 = """ { "request_id": "A1pH4num3ric", "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671", "receiver": { "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7", "account_id": "9116f03a-c074-4585-b261-18a706b3768b" }, "amount": 10, "charge_bearer": "shared", "currency": "EUR", "reference": "To John Doe" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/pay")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }dd3:T1db9,
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 = """
{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/pay"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/pay"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""A1pH4num3ric"",
  ""account_id"": ""af98333c-ea53-482b-93c2-1fa5e4eae671"",
  ""receiver"": {
    ""counterparty_id"": ""49c6a48b-6b58-40a0-b974-0b8c4888c8a7"",
    ""account_id"": ""9116f03a-c074-4585-b261-18a706b3768b""
  },
  ""amount"": 10,
  ""charge_bearer"": ""shared"",
  ""currency"": ""EUR"",
  ""reference"": ""To John Doe""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
dd5:T962,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/pay" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}'
dd6:T160b,
const payload = {
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/pay", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
dd7:T185a,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/pay"
  jsonData := []byte(`
{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/pay"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
dd9:T42a,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 = """ { "request_id": "A1pH4num3ric", "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671", "receiver": { "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7", "account_id": "9116f03a-c074-4585-b261-18a706b3768b" }, "amount": 10, "charge_bearer": "shared", "currency": "EUR", "reference": "To John Doe" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/pay")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }dda:T1dc1,
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 = """
{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/pay"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
ddb:T2a83,
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-b2b.revolut.com/api/1.0/pay"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""A1pH4num3ric"",
  ""account_id"": ""af98333c-ea53-482b-93c2-1fa5e4eae671"",
  ""receiver"": {
    ""counterparty_id"": ""49c6a48b-6b58-40a0-b974-0b8c4888c8a7"",
    ""account_id"": ""9116f03a-c074-4585-b261-18a706b3768b""
  },
  ""amount"": 10,
  ""charge_bearer"": ""shared"",
  ""currency"": ""EUR"",
  ""reference"": ""To John Doe""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
d52:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Ldcd",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$7f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$7f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/pay\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}'","templateHtml":"$dce","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/pay\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$dcf","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/pay\"\n jsonData := []byte(`\n{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dd0","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/pay\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$dd1","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$dd2","templateHtml":"$dd3","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/pay\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"request_id\"\": \"\"A1pH4num3ric\"\",\n \"\"account_id\"\": \"\"af98333c-ea53-482b-93c2-1fa5e4eae671\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\"\",\n \"\"account_id\"\": \"\"9116f03a-c074-4585-b261-18a706b3768b\"\"\n },\n \"\"amount\"\": 10,\n \"\"charge_bearer\"\": \"\"shared\"\",\n \"\"currency\"\": \"\"EUR\"\",\n \"\"reference\"\": \"\"To John Doe\"\"\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":"$dd4","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/pay\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}'","templateHtml":"$dd5","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/pay\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$dd6","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/pay\"\n jsonData := []byte(`\n{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$dd7","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/pay\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$dd8","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$dd9","templateHtml":"$dda","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/pay\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"request_id\"\": \"\"A1pH4num3ric\"\",\n \"\"account_id\"\": \"\"af98333c-ea53-482b-93c2-1fa5e4eae671\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\"\",\n \"\"account_id\"\": \"\"9116f03a-c074-4585-b261-18a706b3768b\"\"\n },\n \"\"amount\"\": 10,\n \"\"charge_bearer\"\": \"\"shared\"\",\n \"\"currency\"\": \"\"EUR\"\",\n \"\"reference\"\": \"\"To John Doe\"\"\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":"$ddb","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/pay","parameters":[]}],"$Lddc"],"$Lddd","$Ldde"]}]]}] d84:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"country\": \"IN\",\n \"currency\": \"INR\",\n \"code\": \"advertising\",\n \"description\": \"Advertising\"\n },\n {\n \"country\": \"IN\",\n \"currency\": \"INR\",\n \"code\": \"advisor_fees\",\n \"description\": \"Advisor fees\"\n },\n {\n \"country\": \"IN\",\n \"currency\": \"INR\",\n \"code\": \"construction\",\n \"description\": \"Construction\"\n },\n {\n \"country\": \"IN\",\n \"currency\": \"INR\",\n \"code\": \"delivery\",\n \"description\": \"Delivery\"\n }\n]"}]}] d86:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"id\": \"c6db947e-e9ce-41c2-b445-02e6eb741d21\",\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n },\n {\n \"id\": \"9f9919a2-932d-498f-a088-3a01b9080c4a\",\n \"url\": \"https://www.revolut.com\",\n \"events\": [\n \"TransactionCreated\",\n \"TransactionStateChanged\",\n \"PayoutLinkCreated\",\n \"PayoutLinkStateChanged\"\n ]\n }\n]"}]}] d87:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d88:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d89:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d8a:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d8b:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d8c:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d8d:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d8e:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d8f:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d90:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d91:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d92:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d93:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d94:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d95:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d96:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d97:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] d98:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] b4b:"Invite a new member to your business" b5c:"Retrieve a list of failed webhook events" 9bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created resource."}]]}] 9bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Successfully created resource."}]]}] 9bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Resource created"}],"\n",["$","p","p-1",{"children":["On successful creation, the response returns only the ID of the new resource (i.e. the label group), even if the resource has more properties.\nTo get all the details of the label group, use the returned resource ID with a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-label-group","target":"_blank","rel":"noreferrer","children":"GET request"}],"."]}]]}] 9be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 9c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 9c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] 9ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created resource."}]]}] 9e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Successfully created resource."}]]}] 9e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Resource created"}],"\n",["$","p","p-1",{"children":["On successful creation, the response returns only the ID of the new resource (i.e. the tax rate), even if the resource has more properties.\nTo get all the details of the tax rate, use the returned resource ID with a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-tax-rate","target":"_blank","rel":"noreferrer","children":"GET request"}],"."]}]]}] 9ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] 9ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] 9f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] a14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] a15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the tax rate."}]]}] a16:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the tax."}]]}] a17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the tax rate was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] a18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the tax rate was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] a19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The tax rate percentage applied to the taxable amount. For example, ",["$","code","code-0",{"children":"23"}]," for 23%."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 negative tax rates manually.\nHowever, negative tax rates might be synced from your accounting software, if integrated."}]}]]}]]}] a1a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of tax rates"}]]}] a39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account ID."}]]}] a3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account name."}]]}] a3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current balance on the account."}]]}] a3c:["$","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."]}]]}] a3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the account."}]]}] a3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the account is visible to other businesses on Revolut."}]]}] a3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the account was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] a40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the account was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] a41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about a specific account"}]]}] a42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] a46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the information about one of your accounts.\nSpecify the account by its ID."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","target":"_blank","rel":"noreferrer","children":"Get your account details"}],"."]}]]}] a47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to retrieve."}]]}] 9af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] 9b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] 9b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] 9b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the payment."}]]}] 9b3:["$","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."]}]]}] 9b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payment.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes."}],"\n",["$","p","p-1",{"children":"You might include an invoice number, account or transaction ID, or any other reference meaningful to you."}]]}] 9b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The party that should bear the transaction fees related to the selected transaction route if applied.\nPossible options are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"shared"}],": Also known as ",["$","strong","strong-0",{"children":"SHA"}],". The transaction route fees are split between the sender and the recipient.\nThe sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"debtor"}],": Also known as ",["$","strong","strong-0",{"children":"OUR"}],". The sender pays all explicit transaction fees."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#use-cases","target":"_blank","rel":"noreferrer","children":"bulk payments"}],"."]}],"\n",["$","li","li-1",{"children":"Some transactions with fees might not support charge bearer selection.\nIf this is the case, the request will return an error.\nTo proceed with the default fee handling, remove this field from your request and try again."}],"\n"]}]}]]}]]}] 9b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] 9b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the draft payment."}]]}] 9b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment to add to the draft."}]]}] a58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Add a new payment to an existing payment draft."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"You can add payments to drafts created with the API or via the Revolut Business app."}]}]]}],"\n",["$","p","p-1",{"children":["The payment uses the same shape as the payments in the ",["$","a","a-0",{"href":"#create-payment-draft","children":"create payment draft"}]," request."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] a59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft to add the payment to."}]]}] c04:"Retrieve a list of accounting categories" ddf:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)db6:["$","$L1f6",null,{"security":[{"AccessToken":["READ","PAY"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$ddf","descriptionNode":"$Lde0"}}}] db7:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"sell","label":"Sell","rawValue":"$63:props:children:0:props:children:props:requestBody:content:application/json:examples:sell:value","block":"$Lde1"},{"key":"buy","label":"Buy","rawValue":"$63:props:children:0:props:children:props:requestBody:content:application/json:examples:buy:value","block":"$Lde2"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] db8:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$63:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Lde3"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$63:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$Lde4"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lde5"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] de6:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)dc9:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$de6","descriptionNode":"$Lde7"}}}] dca:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"simple_draft","label":"Payment draft for a simple payment","rawValue":"$67:props:children:0:props:children:props:requestBody:content:application/json:examples:simple_draft:value","block":"$Lde8"},{"key":"draft_with_charge_bearer","label":"Payment draft for a single payment with charge bearer specified","rawValue":"$67:props:children:0:props:children:props:requestBody:content:application/json:examples:draft_with_charge_bearer:value","block":"$Lde9"},{"key":"bulk_payment_draft","label":"Payment draft for a bulk payment","rawValue":"$67:props:children:0:props:children:props:requestBody:content:application/json:examples:bulk_payment_draft:value","block":"$Ldea"},{"key":"scheduled_payment_draft","label":"Payment draft for a scheduled payment","rawValue":"$67:props:children:0:props:children:props:requestBody:content:application/json:examples:scheduled_payment_draft:value","block":"$Ldeb"},{"key":"scheduled_bulk_payment_draft","label":"Payment draft for a scheduled bulk payment","rawValue":"$67:props:children:0:props:children:props:requestBody:content:application/json:examples:scheduled_bulk_payment_draft:value","block":"$Ldec"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] dcb:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$67:props:children:0:props:children:props:responses:201:content:application/json:examples:default:value","block":"$Lded"}],"syncedPropertyName":"$undefined"}},"204":{},"400":{"application/json":{"variants":[{"key":"charge_bearer_bulk_payments","label":"Charge bearer cannot be used with bulk payments","rawValue":"$67:props:children:0:props:children:props:responses:400:content:application/json:examples:charge_bearer_bulk_payments:value","block":"$Ldee"},{"key":"charge_bearer_not_eligible","label":"Charge bearer not supported for the given recipient","rawValue":"$67:props:children:0:props:children:props:responses:400:content:application/json:examples:charge_bearer_not_eligible:value","block":"$Ldef"},{"key":"currency_should_match","label":"Payment currency must match the recipient account currency","rawValue":"$67:props:children:0:props:children:props:responses:400:content:application/json:examples:currency_should_match:value","block":"$Ldf0"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$Ldf1"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] df2:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)ddc:["$","$L1f6",null,{"security":[{"AccessToken":["READ","PAY"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$df2","descriptionNode":"$Ldf3"}}}] ddd:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"generic_transfer","label":"Bank transfer","rawValue":"$7f:props:children:0:props:children:props:requestBody:content:application/json:examples:generic_transfer:value","block":"$Ldf4"},{"key":"transfer_to_card_p2c","label":"Card transfer","rawValue":"$7f:props:children:0:props:children:props:requestBody:content:application/json:examples:transfer_to_card_p2c:value","block":"$Ldf5"},{"key":"transfer_with_reason_code","label":"Transfer with reason code","rawValue":"$7f:props:children:0:props:children:props:requestBody:content:application/json:examples:transfer_with_reason_code:value","block":"$Ldf6"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] dde:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"pending","label":"Pending transfer","rawValue":"$7f:props:children:0:props:children:props:responses:200:content:application/json:examples:pending:value","block":"$Ldf7"},{"key":"completed","label":"Completed transfer","rawValue":"$7f:props:children:0:props:children:props:responses:200:content:application/json:examples:completed:value","block":"$Ldf8"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"duplicate_request","label":"Duplicate request_id","rawValue":"$7f:props:children:0:props:children:props:responses:400:content:application/json:examples:duplicate_request:value","block":"$Ldf9"},{"key":"unsupported_charge_bearer","label":"Unsupported charge_bearer","rawValue":"$7f:props:children:0:props:children:props:responses:400:content:application/json:examples:unsupported_charge_bearer:value","block":"$Ldfa"},{"key":"missing_exchange_reason_code","label":"Missing exchange_reason_code","rawValue":"$7f:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_exchange_reason_code:value","block":"$Ldfb"},{"key":"missing_transfer_reason_code","label":"Missing transfer_reason_code","rawValue":"$7f:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_transfer_reason_code:value","block":"$Ldfc"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Ldfd"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] c16:"Update accounting category settings" c28:"Update card references" c50:"Retrieve a list of team members" c65:"Create a new webhook" c8a:"Rotate a webhook signing secret" 9cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when a label group with the provided name already exists."}]]}] 9ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - label group cannot be created due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and labels are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 9d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] 9d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] 9da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] 9de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 9e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name for the new label group."}]]}] 9e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name for the new label."}]]}] 9e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The labels to create in the new group."}],"\n",["$","p","p-1",{"children":["The maximum number of labels you can create for a new group is 200.\nIf you need to add more, you can add them later by ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#create-label","target":"_blank","rel":"noreferrer","children":"creating new labels individually"}],"."]}]]}] a6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Add a new group of labels that can be applied to your financial records, such as expenses."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed label groups"}],"."]}],"\n",["$","li","li-1",{"children":"You can have up to 5 label groups at a time per business."}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-labels-and-label-groups","target":"_blank","rel":"noreferrer","children":"Manage labels and label groups"}],"."]}]]}] 9f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when a tax rate with the provided name already exists."}]]}] 9fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 9fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 9fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - tax rate cannot be created due to business rules"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and tax rates are managed by that integration."}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] 9fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 9ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] a02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a04:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] a06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] a0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a0b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] a0e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the tax."}]]}] a0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The tax rate percentage applied to the taxable amount. For example, ",["$","code","code-0",{"children":"23"}]," for 23%."]}]]}] a10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The tax rate that can be applied to financial records, such as expenses."}]]}] a11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The tax rate to create."}]]}] a81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Add a new tax rate to the list of tax rates that can be applied to your financial records, such as expenses."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed tax rates"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates","target":"_blank","rel":"noreferrer","children":"Manage tax rates"}],"."]}]]}] a1b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a1c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a1d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a1e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] a1f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a20:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a22:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] a23:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a24:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a25:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a26:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] a27:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] a2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a2c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a2e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] a2f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] a33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] a34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] a35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] a36:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] a92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get available tax rates based on the provided query criteria."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The API returns a maximum of 500 tax rates per request.\nThe default page size is 100."}]}]]}],"\n",["$","p","p-1",{"children":["The tax rates are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order, and they're ",["$","strong","strong-0",{"children":"paginated"}],".\nThe page size, that is, the maximum number of tax rates returned per page is specified by the ",["$","code","code-1",{"children":"limit"}]," parameter."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the number of results exceeds the page size, the response also returns a cursor for the next page under ",["$","code","code-0",{"children":"next_page_token"}],".",["$","br","br-0",{}],"\nTo get the next page of results, make a new request using that ",["$","code","code-1",{"children":"next_page_token"}]," value in ",["$","code","code-2",{"children":"page_token"}],"."]}],"\n",["$","li","li-1",{"children":["If the number of results is smaller than the page size, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned."]}],"\n"]}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-tax-rates","target":"_blank","rel":"noreferrer","children":"Manage tax rates"}],"."]}]]}] a93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The page size, that is, the maximum number of tax rates to return per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, use ",["$","code","code-0",{"children":"page_token"}],"."]}]]}] a94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] a95:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] aa4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Ldfe","\n","$Ldff","\n"]}]]}] aa9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment draft was successfully updated"}]]}] aaa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] aab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] aac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] aad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] aae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] aaf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ab0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ab1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The specified payment draft was not found."}]]}] ab2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] ab3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ab4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ab5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}],"\n",["$","p","p-1",{"children":"Returned when the payment draft cannot be modified."}]]}] ab6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] ab7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ab8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ab9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] aba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The title of the payment draft. To clear the title, provide ",["$","code","code-0",{"children":"null"}],"."]}]]}] abb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The scheduled date of the payment draft in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The date must be in the future."}]}]]}],"\n",["$","p","p-1",{"children":["To clear the scheduled date, provide ",["$","code","code-0",{"children":"null"}],"."]}]]}] abc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The updated metadata of a payment draft."}]]}] abd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The fields to update on the payment draft."}]]}] ac0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the invited member."}]]}] ac1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the invited member."}]]}] ac2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-roles","target":"_blank","rel":"noreferrer","children":"role"}]," assigned to the member."]}]]}] ac3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time when the member was created."}]]}] ac4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The date and time when the member was last updated."}]]}] ac5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the new member"}]]}] ac6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ac7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ac8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request, for example, invalid role ID or invalid email address provided"}]]}] ac9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] aca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] acb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided"}]]}] acc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] acd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ace:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to invite team members"}]]}] acf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ad0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ad1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Team member with the given email cannot be invited"}]]}] ad2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ad3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ad4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] ad9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook event."}]]}] ada:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the event was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] adb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the event was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] adc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook for which the event failed."}]]}] add:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] ade:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the failed event."}]]}] adf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the last attempt at the event delivery occurred in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] ae0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A webhook event"}]]}] ae1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of all your existing failed webhook events"}]]}] ae2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ae3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ae4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}]]}] ae5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ae6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e00:T5ae,
{
  "id": "09ad1ad3-a1c0-4c09-b8f8-24b439e72690",
  "name": "Department",
  "created_at": "2026-03-11T10:33:51.121090Z",
  "updated_at": "2026-03-11T10:33:51.121090Z"
}
595:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e00"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"09ad1ad3-a1c0-4c09-b8f8-24b439e72690\",\n \"name\": \"Department\",\n \"created_at\": \"2026-03-11T10:33:51.121090Z\",\n \"updated_at\": \"2026-03-11T10:33:51.121090Z\"\n}"}]}]]}] e01:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
596:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e01"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] e02:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
597:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e02"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] e03:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
598:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e03"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] e04:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
599:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e04"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] e05:T4a7,
{
  "error_id": "cbb15721-5f51-4588-a959-7494bb7ba827",
  "code": 3006,
  "message": "Label group with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found"
}
59a:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e05"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"cbb15721-5f51-4588-a959-7494bb7ba827\",\n \"code\": 3006,\n \"message\": \"Label group with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found\"\n}"}]}]]}] e06:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
59b:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e06"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] e07:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
59c:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e07"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] e08:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
59d:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e08"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] e09:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
59e:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e09"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] e0a:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
59f:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e0a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] e0b:T5b0,
{
  "id": "a6ea39d7-62c9-481c-8ba6-8a887a44c486",
  "state": "completed",
  "created_at": "2023-01-23T08:39:35.811005Z",
  "completed_at": "2023-01-23T08:39:35.811005Z"
}
5a2:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e0b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"a6ea39d7-62c9-481c-8ba6-8a887a44c486\",\n \"state\": \"completed\",\n \"created_at\": \"2023-01-23T08:39:35.811005Z\",\n \"completed_at\": \"2023-01-23T08:39:35.811005Z\"\n}"}]}]]}] 5a3:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 5a6:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"url\": \"https://www.revolut.com\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"url\": \"https://www.revolut.com\"\n}"}]}]]}] 5a7:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] e0c:T77f,
{
  "address": {
    "country": "GB",
    "street_line1": "7 Revolut Street",
    "street_line2": "Floor 3",
    "city": "London",
    "postcode": "EC2V 8PH"
  }
}
5aa:["$","div","request-application/json-update_address",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e0c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"address\": {\n \"country\": \"GB\",\n \"street_line1\": \"7 Revolut Street\",\n \"street_line2\": \"Floor 3\",\n \"city\": \"London\",\n \"postcode\": \"EC2V 8PH\"\n }\n}"}]}]]}] e0d:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
5ab:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e0d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] af6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le0e","\n","$Le0f","\n"]}]]}] aff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le10","\n","$Le11","\n"]}]]}] b15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le12","\n","$Le13","\n"]}]]}] b2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le14","\n","$Le15","\n"]}]]}] b3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update the metadata of a payment draft (",["$","code","code-0",{"children":"title"}]," and/or ",["$","code","code-1",{"children":"schedule_for"}],")."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"You can update drafts created with the API or via the Revolut Business app."}],"\n",["$","li","li-1",{"children":["The ",["$","code","code-0",{"children":"schedule_for"}]," date must be in the future."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":"All fields are optional — omitting a field leaves it unchanged."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] b3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft to update."}]]}] dfe:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] dff:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e0e:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e0f:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e10:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e11:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e12:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e13:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e14:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e15:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] ad5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email address of the invited member."}]]}] ad6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-roles","target":"_blank","rel":"noreferrer","children":"role"}]," to assign to the new member."]}]]}] b4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Invite a new member to your business account."}],"\n",["$","p","p-1",{"children":"When you invite a new team member to your business account, an invitation is sent to their email address that you provided in this request.\nTo join your business account, the new team member has to accept this invitation."}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members","target":"_blank","rel":"noreferrer","children":"Manage team members"}],"."]}]]}] ae7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Webhook not found"}]]}] ae8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ae9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] aea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] b5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the list of all your failed webhook events, or use the query parameters to filter the results."}],"\n",["$","p","p-1",{"children":["The events are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order."]}],"\n",["$","p","p-2",{"children":["The returned failed events are ",["$","strong","strong-0",{"children":"paginated"}],".\nThe maximum number of events returned per page is specified by the ",["$","code","code-0",{"children":"limit"}]," parameter.\nTo get to the next page, make a new request and use the ",["$","code","code-1",{"children":"created_at"}]," date of the last event returned in the previous response."]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#retrieve-a-list-of-failed-webhook-events","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] b5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook for which to get the failed events."}]]}] b5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of events returned per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last event returned in the previous response as value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] b60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves events with ",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],".\nCannot be older than the current date minus 21 days.\nThe default value is the current date and time at which you are calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Provided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] b70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] b71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the accounting category."}]]}] b72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the accounting category."}]]}] b73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the accounting category."}]]}] b74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the accounting category was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] b75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the accounting category was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] b76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the default ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-tax-rate","target":"_blank","rel":"noreferrer","children":"tax rate"}]," applied to items in this accounting category unless overridden for a specific item."]}]]}] b77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of accounting categories."}]]}] b97:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Accounting category updated"}]]}] b98:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b9b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] b9c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b9d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b9e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b9f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] ba0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] ba1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ba2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] ba3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] ba4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] ba5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] ba6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bc7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] bc8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] bc9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] bca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","p","p-1",{"children":"The names must be unique.\nThe references can be amended up to 10 times."}]]}] bcb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Updated list of references.",["$","br","br-0",{}],"\nUp to 5 name-value pairs assigned to the card for tracking."]}]]}] bcc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bcd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide duplicate reference names, too many references, the reference names or values are too long, or your request is malformed."}]]}] be8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le16","\n","$Le17","\n"]}]]}] bf2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le18","\n","$Le19","\n"]}]]}] bfe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le1a","\n","$Le1b","\n"]}]]}] b78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of accounting categories and the next page token if the number of results exceeds the page size"}]]}] b79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted."}]]}] b7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized – authentication credentials are missing or invalid"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided."}]]}] b81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden - insufficient permissions to perform this action"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to perform this action."}]]}] b85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] b89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b8a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] b8d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b8e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b8f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b90:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] b91:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] b92:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] b93:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] b94:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] c05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get available accounting categories based on the provided query criteria."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The API returns a maximum of 500 accounting categories per request.\nThe default page size is 100."}]}]]}],"\n",["$","p","p-1",{"children":["The accounting categories are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order, and they're ",["$","strong","strong-0",{"children":"paginated"}],".\nThe page size, that is, the maximum number of accounting categories returned per page is specified by the ",["$","code","code-1",{"children":"limit"}]," parameter."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the number of results exceeds the page size, the response also returns a cursor for the next page under ",["$","code","code-0",{"children":"next_page_token"}],".",["$","br","br-0",{}],"\nTo get the next page of results, make a new request using that ",["$","code","code-1",{"children":"next_page_token"}]," value in ",["$","code","code-2",{"children":"page_token"}],"."]}],"\n",["$","li","li-1",{"children":["If the number of results is smaller than the page size, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned."]}],"\n"]}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories","target":"_blank","rel":"noreferrer","children":"Manage accounting categories"}],"."]}]]}] c06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The page size, that is, the maximum number of accounting categories to return per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, use ",["$","code","code-0",{"children":"page_token"}],"."]}]]}] c07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] c08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Cursor for the next page.\nUsed for pagination when the total number of results exceeds the maximum number per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and set ",["$","code","code-0",{"children":"page_token"}]," to the ",["$","code","code-1",{"children":"next_page_token"}]," value returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If there are no more results to fetch, ",["$","code","code-0",{"children":"next_page_token"}]," is not returned in the response."]}]}]]}]]}] da8:"Exchange money" e16:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e17:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e18:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e19:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e1a:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e1b:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] db9:"Create a payment draft" dcc:"Create a transfer to another account or card" ba7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the accounting category that you're trying to modify cannot be found.\nThis can happen, for example, when the accounting category doesn't exist, or the provided category ID is incorrect."}]]}] ba8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] ba9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] baa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Conflict"}],"\n",["$","p","p-1",{"children":"Request conflicts with the current state of the resource.\nReturned, for example, when an accounting category with the provided name and/or code already exists."}]]}] bac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] bad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] baf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity - accounting category cannot be updated due to business rules"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you have an accounting software integration connected to your Revolut Business account, and accounting categories are managed by that integration.\nMay also be returned if you try to modify a category that has already been deleted, or when you try to clear ",["$","code","code-0",{"children":"name"}]," and/or ",["$","code","code-1",{"children":"code"}]," values using ",["$","code","code-2",{"children":"null"}],"."]}],"\n",["$","p","p-2",{"children":"The request is well-formed and the server understands it, but the operation cannot be performed because the resource state doesn't permit it.\nRetrying the same request won't succeed."}]]}] bb0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] bb1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bb2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bb3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Too many requests"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the rate limit has been exceeded.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," instruction, please respect it and refrain from earlier retry attempts."]}]]}] bb4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] bb5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bb6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bb7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Internal server error"}],"\n",["$","p","p-1",{"children":"An unexpected application error occurred."}]]}] bb8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] bb9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bbb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Service Unavailable"}],"\n",["$","p","p-1",{"children":["The system is temporarily unavailable.\nIf the response includes the ",["$","code","code-0",{"children":"Retry-After"}]," header instruction, please respect it and refrain from earlier retry attempts."]}]]}] bbc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] bbd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bbe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bbf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] bc0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new full name for the accounting category."}]]}] bc1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new code name for the accounting category."}]]}] bc2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the new default ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-tax-rate","target":"_blank","rel":"noreferrer","children":"tax rate"}]," that should be applied to items in this accounting category unless overridden for a specific item."]}]]}] bc3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The new settings for the accounting category."}]]}] c17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update settings for a specific accounting category, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This operation is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories#externally-managed-settings","target":"_blank","rel":"noreferrer","children":"externally managed accounting categories"}],"."]}]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-settings","target":"_blank","rel":"noreferrer","children":"Manage accounting settings"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounting/manage-accounting-categories","target":"_blank","rel":"noreferrer","children":"Manage accounting categories"}],"."]}]]}] c18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the accounting category to update."}]]}] bcf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bd0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bd1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card not found"}],"\n",["$","p","p-1",{"children":"The card for which you wish to update references does not exist."}]]}] bd2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bd3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bd4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Content"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to amend references more than 10 times, or when you try to add them to a card that does not support references, like a card with a ",["$","code","code-0",{"children":"holder_id"}]," present."]}]]}] bd5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] bd6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] bd7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] bda:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] bdb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] bdc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] bdd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times."]}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] bde:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This will ",["$","strong","strong-0",{"children":"override"}]," the existing references."]}]}]]}]]}] c29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update the list of ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card#response","target":"_blank","rel":"noreferrer","children":["references (",["$","code","code-0",{"children":"references"}],")"]}]," for a ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued card"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":"References can be amended up to 10 times.\nReference names must be unique."}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey can't be added to ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","p","p-3",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}],"\n",["$","p","p-4",{"children":"On success, the updated list of references is returned."}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["This operation ",["$","strong","strong-0",{"children":"overrides"}]," the existing references.\nThis means that it removes the current list completely, and replaces it with the new one provided in this request."]}],["$","p","p-1",{"children":["If you want to add references to the card instead of replacing the existing ones, make sure that you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card","target":"_blank","rel":"noreferrer","children":"fetch"}]," the existing references first, and include them in your request."]}],["$","p","p-2",{"children":"To delete existing references without adding new ones, simply provide an empty list."}]]}]]}],"\n",["$","p","p-5",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] c2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card whose references should be amended."}]]}] c3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member."}]]}] c3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The email of the team member."}]]}] c3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The team member's first name."}]]}] c3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The team member's last name."}]]}] c3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the team member is in."}]]}] c40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the team member's ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-roles","target":"_blank","rel":"noreferrer","children":"role"}],". This can be a UUID or other default role such as ",["$","code","code-0",{"children":"Owner"}],"."]}]]}] c41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the team member was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] c42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the team member was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] c43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about team members of the business"}]]}] c44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad pagination parameters"}]]}] c47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}],"\n",["$","p","p-1",{"children":"Returned when the request was not fulfilled because authentication has failed or has not been provided"}]]}] c4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Action forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you don't have permissions necessary to retrieve team members"}]]}] c4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] c52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] c53:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] c54:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] c55:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of event types that you are subscribed to."}]]}] c56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The signing secret for the webhook."}]]}] c57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The successfully created webhook"}]]}] c58:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c59:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c5a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] c5b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c5c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c5d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}]]}] c5e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c5f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c60:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] c61:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A valid webhook URL to which to send event notifications. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] c62:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] c63:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A list of event types to subscribe to.\nIf you don't provide it, you're automatically subscribed to the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks#default-event-types","target":"_blank","rel":"noreferrer","children":"default event types"}],"."]}]]}] c64:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The webhook to create."}]]}] c66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Create a new webhook to receive event notifications to the specified URL. Provide a list of event types that you want to subscribe to and a URL for the webhook.\nOnly HTTPS URLs are supported."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#create-a-webhook","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] c76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook."}]]}] c77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The valid webhook URL that event notifications are sent to. The supported protocol is ",["$","code","code-0",{"children":"https"}],"."]}]]}] c78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the webhook event to subscribe to."}]]}] c79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of event types that you are subscribed to."}]]}] c7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The signing secret for the webhook."}]]}] c7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the webhook for which you rotated the signing secret"}]]}] c7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, for an incorrect expiration period provided."}]]}] c7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] c82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c84:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}]]}] c85:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] c86:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] c87:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] c88:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The expiration period for the signing secret in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601#Durations","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],". If set, when you rotate the secret, it continues to be valid until the expiration period has passed. Otherwise, on rotation, the secret is invalidated immediately. The maximum value is 7 days."]}]]}] c89:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Webhook signing secret rotation request"}]]}] c8b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Rotate a signing secret for a specific webhook."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/about-webhooks","target":"_blank","rel":"noreferrer","children":"About webhooks"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/webhooks/manage-webhooks#rotate-a-webhook-signing-secret","target":"_blank","rel":"noreferrer","children":"Manage webhooks"}],"."]}]]}] c8c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the webhook for which to rotate the secret."}]]}] e1c:T6c7,
{
  "id": "09ad1ad3-a1c0-4c09-b8f8-24b439e72690",
  "name": "20% (VAT on Expenses)",
  "created_at": "2026-03-11T10:33:51.121090Z",
  "updated_at": "2026-03-11T10:33:51.121090Z",
  "percentage": 20
}
636:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"09ad1ad3-a1c0-4c09-b8f8-24b439e72690\",\n \"name\": \"20% (VAT on Expenses)\",\n \"created_at\": \"2026-03-11T10:33:51.121090Z\",\n \"updated_at\": \"2026-03-11T10:33:51.121090Z\",\n \"percentage\": 20\n}"}]}]]}] e1d:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
637:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] e1e:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
638:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] e1f:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
639:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e1f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] e20:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
63a:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e20"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] e21:T4a4,
{
  "error_id": "cbb15721-5f51-4588-a959-7494bb7ba827",
  "code": 3006,
  "message": "Tax rate with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found"
}
63b:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e21"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"cbb15721-5f51-4588-a959-7494bb7ba827\",\n \"code\": 3006,\n \"message\": \"Tax rate with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found\"\n}"}]}]]}] e22:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
63c:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e22"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] e23:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
63d:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e23"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] e24:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
63e:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e24"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] e25:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
63f:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e25"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] e26:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
640:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e26"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] c99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le27","\n","$Le28","\n"]}]]}] cab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le29","\n","$Le2a","\n"]}]]}] cc8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le2b","\n","$Le2c","\n"]}]]}] cd5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get information about all the team members of your business."}],"\n",["$","p","p-1",{"children":["The results are paginated and sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/teams/manage-team-members","target":"_blank","rel":"noreferrer","children":"Manage team members"}],"."]}]]}] cd6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves team members with ",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],".\nThe default value is the current date and time at which you are calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Provided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] cd7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of team members returned per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last team member returned in the previous response as the value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] e27:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e28:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e29:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e2a:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e2b:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e2c:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] ce6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le2d","\n","$Le2e","\n"]}]]}] d00:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created transaction."}]]}] d01:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of the transaction. For money exchange, it is ",["$","code","code-0",{"children":"exchange"}],"."]}]]}] d02:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason why the transaction was failed or declined."}],"\n",["$","p","p-1",{"children":["Present only when the ",["$","code","code-0",{"children":"state"}]," parameter of the transaction is ",["$","code","code-1",{"children":"declined"}]," or ",["$","code","code-2",{"children":"failed"}],"."]}]]}] d03:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] d04:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] d05:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The transaction has been created and is either processed asynchronously or scheduled for a later time."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"pending"}],": The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"completed"}],": The transaction was successful."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"declined"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"failed"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"reverted"}],": The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n"]}]]}] d06:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Exchange operation details"}]]}] d07:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] d08:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] d09:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"For example, the exchange reason is required."}]]}] d0a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] d0b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] d0c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] d0d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to sell currency from."}]]}] d0e:["$","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."]}]]}] d0f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of currency.\nSpecify ",["$","strong","strong-0",{"children":"only"}]," if you want to sell currency."]}]]}] d10:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the currency to exchange from."}]]}] d1c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft created."}]]}] d1d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft that was created"}]]}] d1e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"No payments provided"}]]}] d1f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] d20:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] d21:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] d22:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when a required parameter is missing or malformatted, or when the request contains incompatible parameters."}]]}] d23:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] d24:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] d25:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] d26:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] d27:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The title of the payment draft."}]]}] d28:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The scheduled date of the payment draft in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] d29:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to pay from."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"You can specify only one account ID for multiple payments in the same payment draft."}]}]]}]]}] d2a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] d2b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] d38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the transaction created."}]]}] d39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The transaction has been created and is either processed asynchronously or scheduled for a later time."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"pending"}],": The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"completed"}],": The transaction was successful."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"declined"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"failed"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"reverted"}],": The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n"]}]]}] d3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] d3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] d3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about the created transfer"}]]}] d3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] d3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] d3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"For example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["a duplicate ",["$","code","code-0",{"children":"request_id"}]," is being used"]}],"\n",["$","li","li-1",{"children":["the specified ",["$","code","code-0",{"children":"charge_bearer"}]," is not supported"]}],"\n",["$","li","li-2",{"children":["the exchange reason is required and ",["$","code","code-0",{"children":"exchange_reason_code"}]," is missing"]}],"\n",["$","li","li-3",{"children":["the transfer reason is required and ",["$","code","code-0",{"children":"transfer_reason_code"}]," is missing"]}],"\n"]}]]}] d40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] d41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] d42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] e2f:T69b,
{
  "id": "c6db947e-e9ce-41c2-b445-02e6eb741d21",
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ],
  "signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"
}
650:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e2f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"c6db947e-e9ce-41c2-b445-02e6eb741d21\",\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ],\n \"signing_secret\": \"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK\"\n}"}]}]]}] 651:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Something went wrong\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Something went wrong\",\n \"code\": 2101\n}"}]}]]}] 652:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Webhook not found\",\n  \"code\": 3040\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Webhook not found\",\n \"code\": 3040\n}"}]}]]}] 653:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 81:["$","$98","get-payment-requirements",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The applicable and conditionally required fields for the specified transfer destination","content":{"application/json":{"schema":{"type":"object","description":"The response containing applicable payment fields and their validation rules.","properties":{"fields":{"type":"array","description":"A list of applicable and conditionally required fields for the specific payment context.","items":{"type":"object","description":"Represents a contextual field and its rules.","properties":{"name":{"type":"string","description":"The name of the field to be provided in the [`/pay` endpoint](https://developer.revolut.com/docs/business#create-payment) request body. \nMatches the field names in the `/pay` endpoint exactly (e.g. `reference`, `transfer_reason_code`).","descriptionNode":"$Le30"},"required":{"type":"boolean","description":"Indicates whether this field must be provided for the given transfer.","descriptionNode":"$Le31"},"validation":{"type":"object","description":"Validation rules applied to the field.","properties":{"min_length":{"type":"integer","description":"The minimum allowed character length for the field value.","descriptionNode":"$Le32"},"max_length":{"type":"integer","description":"The maximum allowed character length for the field value.","descriptionNode":"$Le33"},"regex":{"type":"object","description":"Regular expression validation rules.","properties":{"pattern":{"type":"string","description":"The regex pattern the field value must match.","descriptionNode":"$Le34"},"description":{"type":"string","description":"A human-readable description of the regex constraint.","descriptionNode":"$Le35"}},"required":["pattern","description"],"descriptionNode":"$Le36"}},"descriptionNode":"$Le37"},"options":{"type":"array","description":"A list of allowed values for the field (enum).\nIf provided, the field value must be one of these options.","items":{"type":"object","description":"An allowed value option for the field.","properties":{"value":{"type":"string","description":"The accepted value to be passed to the API.","descriptionNode":"$Le38"},"default":null,"type":"boolean","description":"Indicates the default option for the field if there is one."},"required":["value"],"descriptionNode":"$Le39"},"descriptionNode":"$Le3a"}},"required":["name","required"],"descriptionNode":"$Le3b"},"descriptionNode":"$Le3c"}},"required":["fields"],"descriptionNode":"$Le3d"},"examples":{"swift_payment":{"summary":"SWIFT payment - charge bearer applicable, reference required","value":{"fields":[{"name":"reference","required":true,"validation":{"max_length":140}},{"name":"charge_bearer","required":false,"options":[{"value":"shared","default":true},{"value":"debtor"}]}]}},"inr_payment":{"summary":"INR payment - transfer reason required, reference capped at 30 characters","value":{"fields":[{"name":"reference","required":true,"validation":{"max_length":30}},{"name":"transfer_reason_code","required":true,"options":[{"value":"advertising"},{"value":"advisor_fees"},{"value":"construction"},{"value":"exports"},{"value":"goods"},{"value":"insurance_claims"},{"value":"other_fees"},{"value":"personal_transfer"},{"value":"property_rental"},{"value":"royalties"},{"value":"services"},{"value":"travel"}]}]}},"swiss_qr_payment":{"summary":"Swiss QR payment - strict reference validation with regex","value":{"fields":[{"name":"reference","required":true,"validation":{"min_length":27,"max_length":27,"regex":{"pattern":"\\d{27}","description":"Value should be numbers only"}}},{"name":"charge_bearer","required":false,"options":[{"value":"shared"},{"value":"debtor","default":true}]}]}}}}},"descriptionNode":"$Le3e"},"400":{"description":"Bad request\n\nFor example:\n- the request is invalid (e.g. malformed body, validation failure)\n- both `account_id` and `card_id` are provided in `receiver` (only one of these values can be provided in a single request)","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le3f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le40"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_request":{"summary":"Invalid request","value":{"code":2101,"message":"Invalid request (malformed body, validation failure)"}},"multiple_receiver_methods":{"summary":"Both account_id and card_id provided","value":{"code":3000,"message":"Both account_id and card_id provided in receiver"}}}}},"descriptionNode":"$Le41"},"404":{"description":"Not found\n\nReturned when the specified counterparty, account, or card was not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le42"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le43"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"counterparty_not_found":{"summary":"Counterparty, account, or card not found","value":{"code":3006,"message":"The specified counterparty, account, or card was not found"}}}}},"descriptionNode":"$Le44"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le45"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le46"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Le47"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The request details to evaluate payment requirements.","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account from which the transfer will be made.","descriptionNode":"$Le48"},"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$Le49"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$Le4a"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$Le4b"}},"required":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:receiver:required","descriptionNode":"$Le4c"}},"required":["account_id","receiver"],"descriptionNode":"$Le4d"},"examples":{"standard_request":{"summary":"Standard requirements request","value":{"account_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","receiver":{"counterparty_id":"f7e6d5c4-b3a2-1098-7654-321fedcba098","account_id":"12345678-90ab-cdef-1234-567890abcdef"}}}}}}},"variantLabels":["SWIFT payment - charge bearer applicable, reference required","INR payment - transfer reason required, reference capped at 30 characters","Swiss QR payment - strict reference validation with regex"],"children":["$Le4e","$Le4f"]}]}],false]}] e50:T1521,
[
  {
    "id": "owner",
    "name": "Owner",
    "created_at": "2023-09-07T09:21:12.962303Z",
    "updated_at": "2023-09-07T09:21:12.962303Z"
  },
  {
    "id": "member",
    "name": "Member",
    "created_at": "2023-09-07T09:21:12.962303Z",
    "updated_at": "2023-09-07T09:21:12.962303Z"
  },
  {
    "id": "viewer",
    "name": "Viewer",
    "created_at": "2023-09-07T09:21:12.962303Z",
    "updated_at": "2023-09-07T09:21:12.962303Z"
  },
  {
    "id": "a40b6121-350b-4d2e-9ba1-9dab61a18d46",
    "name": "Example custom role",
    "created_at": "2023-09-07T09:21:12.963143Z",
    "updated_at": "2023-09-07T09:21:12.963143Z"
  }
]
6ac:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e50"}}]}]],"$Le51"]}] 6ad:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": \"2101\",\n  \"message\": \"Parameter limit must be a valid integer in range: [1, 1000].\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": \"2101\",\n \"message\": \"Parameter limit must be a valid integer in range: [1, 1000].\"\n}"}]}]]}] 6ae:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 6af:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] 6b0:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] d9a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le52","\n","$Le53","\n"]}]]}] da1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le54","\n","$Le55","\n"]}]]}] d11:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to receive exchanged currency into."}]]}] d12:["$","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."]}]]}] d13:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The amount of currency.\nSpecify ",["$","strong","strong-0",{"children":"only"}]," if you want to buy currency."]}]]}] d14:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the currency to exchange to."}]]}] d15:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the exchange transaction, provided by you.\nIt helps you to identify the transaction if you want to look it up later."}]]}] d16:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the request, provided by you.\nIt helps you identify the transaction in your system."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To ensure that an exchange transaction is not processed multiple times if there are network or system errors,\nthe same ",["$","code","code-0",{"children":"request_id"}]," should be used for requests related to the same transaction."]}]}]]}]]}] d17:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the exchange.\nDepending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-exchange-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /exchange-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If an exchange reason is not required, this field is ignored."}]]}] d18:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The exchange information."}]]}] d19:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Specify the exchange information"}]]}] da9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Exchange money using one of these methods:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":"Sell currency"}],": You know the amount of currency to sell.\nFor example, you want to exchange 135.5 USD to some EUR."]}],"\n",["$","p","p-1",{"children":["Specify the amount in the ",["$","code","code-0",{"children":"from"}]," object."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":"Buy currency"}],": You know the amount of currency to buy.\nFor example, you want to exchange some USD to 200 EUR."]}],"\n",["$","p","p-1",{"children":["Specify the amount in the ",["$","code","code-0",{"children":"to"}]," object."]}],"\n"]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["You must specify the ",["$","code","code-0",{"children":"amount"}]," field only once, either in the ",["$","code","code-1",{"children":"from"}]," object or in the ",["$","code","code-2",{"children":"to"}]," object."]}]}]]}],"\n",["$","p","p-1",{"children":["You can check the ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/receiving-payments/currency-exchanges/which-currencies-can-i-exchange-and-keep-in-my-account/","target":"_blank","rel":"noreferrer","children":"currencies supported in Production"}]," in the Revolut Help Centre.\nSome of these currencies might not be available in Sandbox."]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/exchange-money","target":"_blank","rel":"noreferrer","children":"Exchange money"}],"."]}]]}] e2d:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e2e:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e4e:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-payment-requirements","children":[["$Le56","$undefined"],["$","$L3a",null,{"id":"get-payment-requirements"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-payment-requirements.md"}]]}]}],"$undefined"]}] e58:T747,
curl -X POST "https://b2b.revolut.com/api/1.0/pay/fields" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}'
e59:T10e0,
const payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
};
fetch("https://b2b.revolut.com/api/1.0/pay/fields", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
e5a:T163f,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/pay/fields"
  jsonData := []byte(`
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/pay/fields"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
e5c:T1ba6,
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 = """
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/pay/fields"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/pay/fields"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""a1b2c3d4-e5f6-7890-abcd-ef1234567890"",
  ""receiver"": {
    ""counterparty_id"": ""f7e6d5c4-b3a2-1098-7654-321fedcba098"",
    ""account_id"": ""12345678-90ab-cdef-1234-567890abcdef""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
e5e:T74f,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/pay/fields" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}'
e5f:T10e8,
const payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/pay/fields", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
e60:T1647,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/pay/fields"
  jsonData := []byte(`
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/pay/fields"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
e62:T1bae,
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 = """
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/pay/fields"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
e63:T21ce,
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-b2b.revolut.com/api/1.0/pay/fields"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""a1b2c3d4-e5f6-7890-abcd-ef1234567890"",
  ""receiver"": {
    ""counterparty_id"": ""f7e6d5c4-b3a2-1098-7654-321fedcba098"",
    ""account_id"": ""12345678-90ab-cdef-1234-567890abcdef""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
e4f:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Le57",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$81:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$81:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/pay/fields\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}'","templateHtml":"$e58","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n};\nfetch(\"https://b2b.revolut.com/api/1.0/pay/fields\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$e59","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/pay/fields\"\n jsonData := []byte(`\n{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$e5a","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/pay/fields\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$e5b","tokens":[],"defaults":{}},{"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 \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/pay/fields\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$e5c","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/pay/fields\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"f7e6d5c4-b3a2-1098-7654-321fedcba098\"\",\n \"\"account_id\"\": \"\"12345678-90ab-cdef-1234-567890abcdef\"\"\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":"$e5d","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/pay/fields\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}'","templateHtml":"$e5e","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/pay/fields\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$e5f","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/pay/fields\"\n jsonData := []byte(`\n{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$e60","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/pay/fields\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$e61","tokens":[],"defaults":{}},{"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 \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/pay/fields\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$e62","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/pay/fields\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"f7e6d5c4-b3a2-1098-7654-321fedcba098\"\",\n \"\"account_id\"\": \"\"12345678-90ab-cdef-1234-567890abcdef\"\"\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":"$e63","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/pay/fields","parameters":[]}],"$Le64"],"$Le65","$Le66"]}]]}] e51:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"id\": \"owner\",\n \"name\": \"Owner\",\n \"created_at\": \"2023-09-07T09:21:12.962303Z\",\n \"updated_at\": \"2023-09-07T09:21:12.962303Z\"\n },\n {\n \"id\": \"member\",\n \"name\": \"Member\",\n \"created_at\": \"2023-09-07T09:21:12.962303Z\",\n \"updated_at\": \"2023-09-07T09:21:12.962303Z\"\n },\n {\n \"id\": \"viewer\",\n \"name\": \"Viewer\",\n \"created_at\": \"2023-09-07T09:21:12.962303Z\",\n \"updated_at\": \"2023-09-07T09:21:12.962303Z\"\n },\n {\n \"id\": \"a40b6121-350b-4d2e-9ba1-9dab61a18d46\",\n \"name\": \"Example custom role\",\n \"created_at\": \"2023-09-07T09:21:12.963143Z\",\n \"updated_at\": \"2023-09-07T09:21:12.963143Z\"\n }\n]"}]}] e52:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e53:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e54:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e55:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] d2c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] d2d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] d2e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the payment."}]]}] d2f:["$","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."]}]]}] d30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payment.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes."}],"\n",["$","p","p-1",{"children":"You might include an invoice number, account or transaction ID, or any other reference meaningful to you."}]]}] d31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The party that should bear the transaction fees related to the selected transaction route if applied.\nPossible options are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"shared"}],": Also known as ",["$","strong","strong-0",{"children":"SHA"}],". The transaction route fees are split between the sender and the recipient.\nThe sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"debtor"}],": Also known as ",["$","strong","strong-0",{"children":"OUR"}],". The sender pays all explicit transaction fees."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 is not supported for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#use-cases","target":"_blank","rel":"noreferrer","children":"bulk payments"}],"."]}],"\n",["$","li","li-1",{"children":"Some transactions with fees might not support charge bearer selection.\nIf this is the case, the request will return an error.\nTo proceed with the default fee handling, remove this field from your request and try again."}],"\n"]}]}]]}]]}] d32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] d33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the draft payment."}]]}] d34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment(s) to be made."}]]}] d35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment draft information"}]]}] dba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Create a payment draft."}],"\n",["$","p","p-1",{"children":["When you create a payment draft, it stays a draft until you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts#send-drafts-for-processing","target":"_blank","rel":"noreferrer","children":"send it for processing as payment"}]," in the ",["$","a","a-1",{"href":"https://business.revolut.com/","target":"_blank","rel":"noreferrer","children":"Revolut Business app"}],"."]}],"\n",["$","p","p-2",{"children":["Until then, you can ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-payment-draft","target":"_blank","rel":"noreferrer","children":"delete"}]," the draft if you no longer wish to proceed with it."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If you or the payment you're making is subject to an ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/managing-my-business/users-and-employees/how-can-i-set-payment-approval-rules/","target":"_blank","rel":"noreferrer","children":"approval process"}],", when you send the draft for processing, the payment goes into the ",["$","code","code-0",{"children":"Pending review"}]," state.\nBefore it can be processed, the business owner, administrator, or another team member designated as an approver must approve it in the Revolut Business app."]}]}]]}],"\n",["$","p","p-3",{"children":["For more information on use cases and other details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] d43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["A unique identifier for the transaction, provided by you.",["$","br","br-0",{}],"\nThis is used for idempotency to prevent duplicate payments.\nThere are no strict format requirements, but we recommend using UUID v4 values."]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Retrying requests safely with idempotency"}],["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you do not receive a response (for example, due to a network error or timeout), you can safely retry the request using the same ",["$","code","code-0",{"children":"request_id"}],"."]}],["$","p","p-1",{"children":["If a transaction with the same ",["$","code","code-0",{"children":"request_id"}]," was already created, the API will not create a duplicate transaction."]}],["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Idempotency expiry"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Idempotency checks apply only to transactions created ",["$","strong","strong-0",{"children":"within the last 2 weeks"}],".\nReusing a ",["$","code","code-0",{"children":"request_id"}]," ",["$","strong","strong-1",{"children":"after this period"}]," may result in a ",["$","strong","strong-2",{"children":"new transaction being created"}],"."]}]}]]}]]}]]}]]}] d44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account that you send the funds from."}]]}] d45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] d46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] d47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] d48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] d49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount to transfer."}]]}] d4a:["$","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."]}]]}] d4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payment."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":["For ",["$","strong","strong-0",{"children":"BRL"}],"/",["$","strong","strong-1",{"children":"KRW"}],"/",["$","strong","strong-2",{"children":"VND"}],"/",["$","strong","strong-3",{"children":"COP"}],"/",["$","strong","strong-4",{"children":"LKR"}],"/",["$","strong","strong-5",{"children":"CLP"}],"/",["$","strong","strong-6",{"children":"NPR"}]," company transfers, and all ",["$","strong","strong-7",{"children":"INR"}]," transfers:"]}],"\n",["$","p","p-1",{"children":"This field must specify the commercial invoice number."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"For other corridors:"}],"\n",["$","p","p-1",{"children":"A piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes."}],"\n",["$","p","p-2",{"children":"You might include an invoice number, account or transaction ID, or any other reference meaningful to you."}],"\n"]}],"\n"]}],"\n",["$","p","p-1",{"children":"If the provided reference is longer than 140 characters, it will be truncated.\nNote that some recipient banks might truncate the reference even further."}]]}] d4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The party to which any transaction fees are charged if the resulting transaction route has associated fees:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"shared"}],": Also known as ",["$","strong","strong-0",{"children":"SHA"}],". The transaction route fees are split between the sender and the recipient.\nThe sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"debtor"}],": Also known as ",["$","strong","strong-0",{"children":"OUR"}],". The sender pays all explicit transaction fees.\nSome transactions with fees might not be possible with the specified option, in which case error ",["$","code","code-1",{"children":"3287"}]," is returned."]}],"\n"]}]]}] d4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] d4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the exchange.\nDepending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-exchange-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /exchange-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If an exchange reason is not required, this field is ignored."}]]}] d4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Fiscal code of the payer, required for payments to Romanian tax authority beneficiaries (counterparty BIC: ",["$","code","code-0",{"children":"TREZROBUXXX"}],")."]}],"\n",["$","p","p-1",{"children":"The business's own tax identification number (TIN) is attached automatically from the business profile."}]]}] d50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Create a transfer"}]]}] dcd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Make a payment to a counterparty. You can choose either a bank transfer or a card transfer. The resulting transaction has the type ",["$","code","code-0",{"children":"transfer"}],"."]}],"\n",["$","p","p-1",{"children":"If you make the payment to another Revolut account, either business or personal, the transaction is executed instantly."}],"\n",["$","p","p-2",{"children":["If the counterparty has multiple payment methods available, for example, 2 accounts, or 1 account and 1 card, you ",["$","strong","strong-0",{"children":"must specify the account or card"}]," to which you want to transfer the money (",["$","code","code-0",{"children":"receiver.account_id"}]," or ",["$","code","code-1",{"children":"receiver.card_id"}]," respectively)."]}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/bank-transfers","target":"_blank","rel":"noreferrer","children":"Send money via bank transfer"}]," and ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/card-transfers","target":"_blank","rel":"noreferrer","children":"Card transfers"}],"."]}]]}] 71:["$","$98","get-payout-link",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about a specific link","content":{"application/json":{"schema":{"allOf":[{"type":"object","required":["id","state","created_at","updated_at","counterparty_name","request_id","payout_methods","account_id","amount","currency","reference","save_counterparty"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payout link.","descriptionNode":"$Le67"},"state":{"enum":["created","failed","awaiting","active","expired","cancelled","processing","processed"],"type":"string","description":"The state that the payout link is in. Possible states are:\n- `created`: The payout link has been created, but the amount has not yet been [blocked](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation).\n- `failed`: The payout link couldn't be generated due to a failure during transaction booking.\n- `awaiting`: The payout link is awaiting approval.\n- `active`: The payout link can be redeemed.\n- `expired`: The payout link cannot be redeemed because it wasn't claimed before its expiry date.\n- `cancelled`: The payout link cannot be redeemed because it was cancelled.\n- `processing`: The payout link has been redeemed and is being processed.\n- `processed`: The payout link has been redeemed and the money has been transferred to the recipient.","descriptionNode":"$Le68"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payout link was created in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).","descriptionNode":"$Le69"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payout link was last updated in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).","descriptionNode":"$Le6a"},"counterparty_name":{"type":"string","description":"The name of the counterparty provided by the sender.","examples":["John Smith"],"descriptionNode":"$Le6b"},"save_counterparty":{"type":"boolean","default":false,"description":"Indicates whether you chose to save the recipient as your counterparty upon link claim. \nIf `false` then the counterparty will not show up on your counterparties list, for example, when you [retrieve your counterparties](https://developer.revolut.com/docs/api/business#get-counterparties). \nHowever, you can still [retrieve this counterparty by its ID](https://developer.revolut.com/docs/api/business#get-counterparty).\n\nIf you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app.","descriptionNode":"$Le6c"},"request_id":{"type":"string","description":"The ID of the request, provided by the sender.","examples":["5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1"],"descriptionNode":"$Le6d"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which the payout link expires in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nIf the recipient doesn't claim the money before then, the payout link expires and is no longer available.\n\nThe default and maximum value is the date and time of creating the link + 7 days.","default":"now + 7 days","maximum":"now + 7 days","minimum":"now + 1 day","examples":["2023‐07‐20T15:09:24Z"],"descriptionNode":"$Le6e"},"payout_methods":{"type":"array","items":{"type":"string","description":"The payout method that the recipient can use to claim the payout.","enum":["revolut","bank_account","card"],"descriptionNode":"$Le6f"},"explode":true,"description":"The list of payout methods that the recipient can use to claim the payout, where:\n- `revolut`: Revolut peer-to-peer (P2P) transfer\n- `bank_account`: External bank transfer\n- `card`: Card transfer\n :::note\n - This payout method is available in the UK and the EEA.\n - This payout method is not available in Sandbox.\n :::","examples":[["revolut","bank_account","card"]],"descriptionNode":"$Le70"},"account_id":{"type":"string","format":"uuid","description":"The ID of the sender's account.","examples":["85f515e4-588f-4496-a6a5-a7615a193e6b"],"descriptionNode":"$Le71"},"amount":{"type":"number","format":"double","description":"The amount of money to be transferred.\n\n:::note\nThe amount must be between £1 and £2,500, or equivalent in the selected currency.\n:::","examples":[105.6],"descriptionNode":"$Le72"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Le73"},"url":{"type":"string","format":"uri","description":"The URL of the payout link. Returned only for active payout links.","descriptionNode":"$Le74"},"reference":{"type":"string","description":"The reference for the payout transaction, provided by the sender.","examples":["Rent"],"descriptionNode":"$Le75"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$Le76"}}},{"type":"object","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the counterparty created based on the recipient's details. \n\n:::note\nBy default, the newly created counterparty is hidden from your counterparties list. \n\nTo automatically save it when the link is claimed, pass the `save_counterparty` parameter set to `true`. \n\nAlternatively, you can add the recipient to your counterparties later from the list of transactions in the Business app.\n:::","descriptionNode":"$Le77"},"transaction_id":{"type":"string","format":"uuid","description":"The ID of the created transaction. Returned only if the payout has been claimed.","descriptionNode":"$Le78"},"cancellation_reason":{"type":"string","readOnly":true,"enum":["too_many_name_check_attempts"],"description":"The reason for which the payout link was cancelled.","descriptionNode":"$Le79"}}}]},"examples":{"active_payout_link":{"summary":"Active payout link","value":{"id":"12dcd8c2-6408-458f-98a9-3f4abc180898","state":"active","created_at":"2023-07-11T13:55:54.834963Z","updated_at":"2023-07-11T13:55:55.082655Z","counterparty_name":"John Smith","request_id":"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1","expiry_date":"2023-07-18T13:55:55.082280Z","payout_methods":["revolut","bank_account","card"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":105.6,"currency":"GBP","url":"https://business.revolut.com/p/uSJVAd5SnP1","reference":"Rent","transfer_reason_code":"property_rental"}},"processed_payout_link":{"summary":"Processed payout link","value":{"id":"8e32b08a-e012-4530-bd15-c4e9ebde953d","state":"processed","created_at":"2024-01-11T14:02:53.472318Z","updated_at":"2024-01-11T14:05:02.962886Z","counterparty_name":"Jane Doe","request_id":"5a7fcb46-4be4-47d4-a56f-27a2e5b78dMM","expiry_date":"2023-07-18T14:02:53.717626Z","payout_methods":["revolut"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":5.6,"currency":"GBP","counterparty_id":"2ef4618a-f258-4ac5-a846-ca6e089214f6","transaction_id":"64ad618e-655a-a925-8425-2284c03f6c08","reference":"Bus ticket","transfer_reason_code":"travel"}},"cancelled_payout_link":{"summary":"Cancelled payout link","value":{"id":"12dcd8c2-6408-458f-98a9-3f4abc180898","state":"cancelled","created_at":"2023-07-11T13:55:54.834963Z","updated_at":"2023-07-11T15:01:20.236508Z","counterparty_name":"John Doe","request_id":"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1","expiry_date":"2023-07-18T13:55:55.082280Z","payout_methods":["revolut","bank_account"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":105.6,"currency":"GBP","reference":"Rent","transfer_reason_code":"property_rental"}}}}},"descriptionNode":"$Le7a"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le7b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le7c"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"forbidden":{"summary":"Action forbidden","value":{"message":"This action is forbidden","code":9002}}}}},"descriptionNode":"$Le7d"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le7e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le7f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Resource not found","code":3006}}}}},"descriptionNode":"$Le80"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Le81"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Le82"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Le83"}},"requestBody":"$undefined","variantLabels":["Active payout link","Processed payout link","Cancelled payout link"],"children":["$Le84","$Le85"]}]}],false]}] e86:T7f8,
{
  "id": "8d831292-f950-4c5a-83f9-030df8cacd3f",
  "name": "Transportation",
  "code": "400",
  "created_at": "2026-03-11T17:03:25.570942Z",
  "updated_at": "2026-03-11T17:03:25.570942Z",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
6d4:["$","div","200-application/json-category_with_default_tax_rate",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e86"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"8d831292-f950-4c5a-83f9-030df8cacd3f\",\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"created_at\": \"2026-03-11T17:03:25.570942Z\",\n \"updated_at\": \"2026-03-11T17:03:25.570942Z\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}"}]}]]}] e87:T6be,
{
  "id": "6a37383e-cfd3-4a2f-aa81-e3a6e6939efa",
  "name": "Office supplies",
  "code": "410",
  "created_at": "2026-03-11T17:03:25.570942Z",
  "updated_at": "2026-03-11T17:03:25.570942Z"
}
6d5:["$","div","200-application/json-category_without_default_tax_rate",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e87"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\",\n \"name\": \"Office supplies\",\n \"code\": \"410\",\n \"created_at\": \"2026-03-11T17:03:25.570942Z\",\n \"updated_at\": \"2026-03-11T17:03:25.570942Z\"\n}"}]}]]}] e88:T48d,
{
  "error_id": "36e1a581-b05e-4018-b202-6b371092a19a",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
6d6:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e88"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"36e1a581-b05e-4018-b202-6b371092a19a\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] e89:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
6d7:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e89"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] e8a:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
6d8:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e8a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] e8b:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
6d9:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e8b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] e8c:T4af,
{
  "error_id": "cbb15721-5f51-4588-a959-7494bb7ba827",
  "code": 3006,
  "message": "Accounting category with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found"
}
6da:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e8c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"cbb15721-5f51-4588-a959-7494bb7ba827\",\n \"code\": 3006,\n \"message\": \"Accounting category with id 8945879d-6854-4e10-88d6-ce92c5f010ac not found\"\n}"}]}]]}] e8d:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
6db:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e8d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] e8e:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
6dc:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e8e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] e8f:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
6dd:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e8f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] e90:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
6de:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e90"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] e91:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
6df:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$e91"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 6e2:["$","div","request-application/json-list_of_contacts",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
[\n  \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n  \"02b969cb-b984-4a70-873d-f93220805e5e\",\n  \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]"}]}]]}] 6e3:["$","div","200-application/json-list_of_contacts",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
[\n  \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n  \"02b969cb-b984-4a70-873d-f93220805e5e\",\n  \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n]"}]}]]}] 6e4:["$","div","400-application/json-wrong_size",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Card contacts size must be between 1 and 5\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Card contacts size must be between 1 and 5\"\n}"}]}]]}] 6e5:["$","div","400-application/json-incorrect_values",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Value of field '[0]' is not in correct format\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Value of field '[0]' is not in correct format\"\n}"}]}]]}] 6e6:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Cannot parse request: invalid JSON\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Cannot parse request: invalid JSON\"\n}"}]}]]}] 6e7:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 6e8:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 6e9:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33011,\n  \"message\": \"Card contacts are not supported for the card=23a8befd-7b7b-4922-a00f-188b0153730b\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33011,\n \"message\": \"Card contacts are not supported for the card=23a8befd-7b7b-4922-a00f-188b0153730b\"\n}"}]}]]}] 6ea:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] de0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le92","\n","$Le93","\n"]}]]}] de7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le94","\n","$Le95","\n"]}]]}] df3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Le96","\n","$Le97","\n"]}]]}] e98:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)e64:["$","$L1f6",null,{"security":[{"AccessToken":["READ","PAY"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$e98","descriptionNode":"$Le99"}}}] e65:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"standard_request","label":"Standard requirements request","rawValue":"$81:props:children:0:props:children:props:requestBody:content:application/json:examples:standard_request:value","block":"$Le9a"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] e66:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"swift_payment","label":"SWIFT payment - charge bearer applicable, reference required","rawValue":"$81:props:children:0:props:children:props:responses:200:content:application/json:examples:swift_payment:value","block":"$Le9b"},{"key":"inr_payment","label":"INR payment - transfer reason required, reference capped at 30 characters","rawValue":"$81:props:children:0:props:children:props:responses:200:content:application/json:examples:inr_payment:value","block":"$Le9c"},{"key":"swiss_qr_payment","label":"Swiss QR payment - strict reference validation with regex","rawValue":"$81:props:children:0:props:children:props:responses:200:content:application/json:examples:swiss_qr_payment:value","block":"$Le9d"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_request","label":"Invalid request","rawValue":"$81:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_request:value","block":"$Le9e"},{"key":"multiple_receiver_methods","label":"Both account_id and card_id provided","rawValue":"$81:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_receiver_methods:value","block":"$Le9f"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"counterparty_not_found","label":"Counterparty, account, or card not found","rawValue":"$81:props:children:0:props:children:props:responses:404:content:application/json:examples:counterparty_not_found:value","block":"$Lea0"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lea1"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] e84:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-payout-link","children":[["$Lea2","$undefined"],["$","$L3a",null,{"id":"get-payout-link"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-payout-link.md"}]]}]}],"$undefined"]}] ea5:T8c2,
fetch("https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
ea6:Tdaa,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
ea8:T154e,
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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
eaa:T8ca,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
eab:Tdb2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
ead:T1556,
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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
eae:T1476,
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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
e85:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lea3",["$","$Lac",null,{"parameters":[{"name":"payout_link_id","in":"path","required":true,"description":"The ID of the link to retrieve.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$Lea4"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$71:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$ea5","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$ea6","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$ea7","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$ea8","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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://b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$ea9","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$eaa","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$eab","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$eac","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$ead","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_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-b2b.revolut.com/api/1.0/payout-links/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$eae","tokens":[{"marker":"__RP_TOK_0__","paramName":"payout_link_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payout_link_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payout-links/{payout_link_id}","parameters":["$e85:props:children:0:props:children:1:props:parameters:0"]}],"$Leaf"],"$Leb0","$Leb1"]}]]}] e92:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e93:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e94:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e95:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] e96:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] e97:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] eb2:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)eaf:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$eb2","descriptionNode":"$Leb3"}}}] eb0:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] eb1:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"active_payout_link","label":"Active payout link","rawValue":"$71:props:children:0:props:children:props:responses:200:content:application/json:examples:active_payout_link:value","block":"$Leb4"},{"key":"processed_payout_link","label":"Processed payout link","rawValue":"$71:props:children:0:props:children:props:responses:200:content:application/json:examples:processed_payout_link:value","block":"$Leb5"},{"key":"cancelled_payout_link","label":"Cancelled payout link","rawValue":"$71:props:children:0:props:children:props:responses:200:content:application/json:examples:cancelled_payout_link:value","block":"$Leb6"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"forbidden","label":"Action forbidden","rawValue":"$71:props:children:0:props:children:props:responses:403:content:application/json:examples:forbidden:value","block":"$Leb7"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$71:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$Leb8"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Leb9"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] eba:T140b,
[
  {
    "id": "b7ec67d3-5af1-42c8-bece-3d28nlmo894d",
    "name": "International account",
    "balance": 3171.89,
    "currency": "GBP",
    "state": "active",
    "public": false,
    "created_at": "2022-08-05T14:29:22.215785Z",
    "updated_at": "2022-08-05T14:29:22.215785Z"
  },
  {
    "id": "bssc67d3-5afd-42c2-bece-3d28nlmo894d",
    "name": "International account 2",
    "balance": 411561.89,
    "currency": "EUR",
    "state": "active",
    "public": true,
    "created_at": "2022-08-25T14:29:22.215785Z",
    "updated_at": "2022-08-30T14:29:22.215785Z"
  }
]
8e8:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eba"}}]}]],"$Lebb"]}] 8e9:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 908:["$","div","request-application/json-update_amount",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"amount\": 200\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"amount\": 200\n}"}]}]]}] 909:["$","div","request-application/json-update_reference",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"reference\": \"Updated reference\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"reference\": \"Updated reference\"\n}"}]}]]}] 90a:["$","div","request-application/json-update_receiver",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"receiver\": {\n    \"counterparty_id\": \"f3107ecc-d368-48f3-8120-92b7d612f949\"\n  }\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"receiver\": {\n \"counterparty_id\": \"f3107ecc-d368-48f3-8120-92b7d612f949\"\n }\n}"}]}]]}] ebc:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
90b:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ebc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 90c:["$","div","404-application/json-not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"The specified payment draft or payment was not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"The specified payment draft or payment was not found\"\n}"}]}]]}] 90d:["$","div","422-application/json-created_by_other_source",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3100,\n  \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3100,\n \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}"}]}]]}] 90e:["$","div","422-application/json-already_processed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3417,\n  \"message\": \"Payment draft is already processed\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3417,\n \"message\": \"Payment draft is already processed\"\n}"}]}]]}] ebd:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
90f:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ebd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] ebe:T47c,
{
  "name": "Transportation",
  "code": "400",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
912:["$","div","request-application/json-category_with_default_tax_rate",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ebe"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Transportation\",\n \"code\": \"400\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}"}]}]]}] 913:["$","div","request-application/json-category_without_default_tax_rate",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"Office supplies\",\n  \"code\": \"410\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Office supplies\",\n \"code\": \"410\"\n}"}]}]]}] 914:["$","div","201-application/json-resource_created",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}"}]}]]}] ebf:T48b,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18",
  "code": 2101,
  "message": "'code' is required, 'name' is required"
}
915:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ebf"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18\",\n \"code\": 2101,\n \"message\": \"'code' is required, 'name' is required\"\n}"}]}]]}] ec0:T495,
{
  "error_id": "29146977-8042-446f-b362-675e2921d71c",
  "code": 2101,
  "message": "'code' must be a string, 'name' must be a string"
}
916:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-446f-b362-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"'code' must be a string, 'name' must be a string\"\n}"}]}]]}] ec1:T483,
{
  "error_id": "df7b76b2-1313-42f0-8c0b-3673c665f135",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
917:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"df7b76b2-1313-42f0-8c0b-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] ec2:T488,
{
  "error_id": "7acc6073-5290-45f8-8956-c79d487ef1e5",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
918:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7acc6073-5290-45f8-8956-c79d487ef1e5\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] ec3:T489,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "'name' must be at most 60 characters"
}
919:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 60 characters\"\n}"}]}]]}] ec4:T48f,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "'default_tax_rate_id' must be a valid UUID"
}
91a:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"'default_tax_rate_id' must be a valid UUID\"\n}"}]}]]}] ec5:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
91b:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] ec6:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
91c:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] ec7:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
91d:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] ec8:T4a4,
{
  "error_id": "8c08b656-ab6e-4768-4e57-f281da25aa2b",
  "code": 3503,
  "message": "Category with name My Unique Accounting Category already exists"
}
91e:["$","div","409-application/json-category_with_name_exists",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-ab6e-4768-4e57-f281da25aa2b\",\n \"code\": 3503,\n \"message\": \"Category with name My Unique Accounting Category already exists\"\n}"}]}]]}] ec9:T48b,
{
  "error_id": "8c08b656-ab6e-4768-4e57-f281da25aa2b",
  "code": 3504,
  "message": "Category with code MUAC already exists"
}
91f:["$","div","409-application/json-category_with_code_exists",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ec9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-ab6e-4768-4e57-f281da25aa2b\",\n \"code\": 3504,\n \"message\": \"Category with code MUAC already exists\"\n}"}]}]]}] eca:T4cf,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Accounting categories are managed by your connected accounting integration and cannot be modified manually"
}
920:["$","div","422-application/json-cannot_modify_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eca"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Accounting categories are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] ecb:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
921:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ecb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] ecc:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
922:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ecc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] ecd:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
923:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ecd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] ece:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
924:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ece"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] ecf:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
925:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ecf"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] ed0:T1d10,
{
  "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA",
  "label_groups": [
    {
      "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde",
      "name": "Department",
      "created_at": "2026-03-19T07:15:00.000000Z",
      "updated_at": "2026-03-19T08:45:22.111444Z"
    },
    {
      "id": "f09ad1ad3-a1c0-4c09-b8f8-24b439e72690",
      "name": "Employee",
      "created_at": "2026-03-11T10:33:51.121090Z",
      "updated_at": "2026-03-11T10:33:51.121090Z"
    },
    {
      "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d",
      "name": "Project",
      "created_at": "2026-02-01T08:00:00.000000Z",
      "updated_at": "2026-02-01T08:00:00.000000Z"
    },
    {
      "id": "5f4e3d2c-1b0a-4987-8765-43210fedcba9",
      "name": "Location",
      "created_at": "2026-01-15T10:20:30.123456Z",
      "updated_at": "2026-03-10T14:45:12.987654Z"
    },
    {
      "id": "98765432-abcd-ef01-2345-67890abcdef0",
      "name": "Task",
      "created_at": "2025-12-20T11:11:11.000Z",
      "updated_at": "2026-03-15T09:30:00.555222Z"
    }
  ]
}
928:["$","div","200-application/json-results_with_next_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed0"}}]}]],"$Led1"]}] ed2:T1bab,
{
  "label_groups": [
    {
      "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde",
      "name": "Department",
      "created_at": "2026-03-19T07:15:00.000000Z",
      "updated_at": "2026-03-19T08:45:22.111444Z"
    },
    {
      "id": "f09ad1ad3-a1c0-4c09-b8f8-24b439e72690",
      "name": "Employee",
      "created_at": "2026-03-11T10:33:51.121090Z",
      "updated_at": "2026-03-11T10:33:51.121090Z"
    },
    {
      "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d",
      "name": "Project",
      "created_at": "2026-02-01T08:00:00.000000Z",
      "updated_at": "2026-02-01T08:00:00.000000Z"
    },
    {
      "id": "5f4e3d2c-1b0a-4987-8765-43210fedcba9",
      "name": "Location",
      "created_at": "2026-01-15T10:20:30.123456Z",
      "updated_at": "2026-03-10T14:45:12.987654Z"
    },
    {
      "id": "98765432-abcd-ef01-2345-67890abcdef0",
      "name": "Task",
      "created_at": "2025-12-20T11:11:11.000Z",
      "updated_at": "2026-03-15T09:30:00.555222Z"
    }
  ]
}
929:["$","div","200-application/json-results_single_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed2"}}]}]],"$Led3"]}] ed4:T48f,
{
  "error_id": "29146977-8042-446f-b362-af224b14c830",
  "code": 2101,
  "message": "Query parameter 'limit' must be an integer"
}
92a:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-446f-b362-af224b14c830\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be an integer\"\n}"}]}]]}] ed5:T48f,
{
  "error_id": "b5a51cd1-9d0f-4074-adae-675e2921d71c",
  "code": 2101,
  "message": "Query parameter 'limit' must be at least 1"
}
92b:["$","div","400-application/json-param_value_too_low",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"b5a51cd1-9d0f-4074-adae-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at least 1\"\n}"}]}]]}] ed6:T490,
{
  "error_id": "fa12f45e-4633-4f78-8d40-42dadc380511",
  "code": 2101,
  "message": "Query parameter 'limit' must be at most 500"
}
92c:["$","div","400-application/json-param_value_too_high",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-4633-4f78-8d40-42dadc380511\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at most 500\"\n}"}]}]]}] ed7:T495,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "Query parameter 'limit' must have a single value"
}
92d:["$","div","400-application/json-multiple_values_not_allowed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must have a single value\"\n}"}]}]]}] ed8:T48e,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-3673c665f135",
  "code": 2101,
  "message": "Query parameter 'limit' must not be empty"
}
92e:["$","div","400-application/json-param_cannot_be_empty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must not be empty\"\n}"}]}]]}] ed9:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
92f:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ed9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] eda:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
930:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eda"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] edb:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
931:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$edb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] edc:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
932:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$edc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] edd:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
933:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$edd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] ede:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
934:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ede"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] edf:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
935:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$edf"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] ee0:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
936:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 939:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"20% VAT\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"20% VAT\"\n}"}]}]]}] ee1:T483,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 2101,
  "message": "Request body must not be empty"
}
93a:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 2101,\n \"message\": \"Request body must not be empty\"\n}"}]}]]}] ee2:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
93b:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] ee3:T483,
{
  "error_id": "36f3cec5-b4b9-431f-9c28-afd3899bc64f",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
93c:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"36f3cec5-b4b9-431f-9c28-afd3899bc64f\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] ee4:T488,
{
  "error_id": "32fd0697-2f3f-4308-b25d-c9230f99c589",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
93d:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"32fd0697-2f3f-4308-b25d-c9230f99c589\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] ee5:T489,
{
  "error_id": "d8d919b5-d667-4058-9bb3-17b6f7bcd6c8",
  "code": 2101,
  "message": "'name' must be at most 20 characters"
}
93e:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 20 characters\"\n}"}]}]]}] ee6:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
93f:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] ee7:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
940:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] ee8:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
941:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] ee9:T4a7,
{
  "error_id": "ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0",
  "code": 3006,
  "message": "Label group with id be6c9d90-df25-458a-b559-be61896c94b8 not found"
}
942:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ee9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0\",\n \"code\": 3006,\n \"message\": \"Label group with id be6c9d90-df25-458a-b559-be61896c94b8 not found\"\n}"}]}]]}] eea:T4a1,
{
  "error_id": "8c08b656-4e57-4768-ab6e-f281da25aa2b",
  "code": 3506,
  "message": "Label group with name 'My Unique Label Group' already exists"
}
943:["$","div","409-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eea"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-4e57-4768-ab6e-f281da25aa2b\",\n \"code\": 3506,\n \"message\": \"Label group with name 'My Unique Label Group' already exists\"\n}"}]}]]}] eeb:T4c0,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Labels are managed by your connected accounting integration and cannot be modified manually"
}
944:["$","div","422-application/json-cannot_update_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eeb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Labels are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] eec:T474,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 3100,
  "message": "Invalid request"
}
945:["$","div","422-application/json-state_mismatch",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eec"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] eed:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
946:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eed"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] eee:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
947:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eee"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] eef:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
948:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eef"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] ef0:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
949:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] ef1:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
94a:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 94d:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"Communications\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Communications\"\n}"}]}]]}] 94e:["$","div","201-application/json-resource_created",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}"}]}]]}] ef2:T477,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18",
  "code": 2101,
  "message": "'name' is required"
}
94f:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18\",\n \"code\": 2101,\n \"message\": \"'name' is required\"\n}"}]}]]}] ef3:T47c,
{
  "error_id": "29146977-8042-446f-b362-675e2921d71c",
  "code": 2101,
  "message": "'name' must be a string"
}
950:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-446f-b362-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"'name' must be a string\"\n}"}]}]]}] ef4:T483,
{
  "error_id": "df7b76b2-1313-42f0-8c0b-3673c665f135",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
951:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"df7b76b2-1313-42f0-8c0b-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] ef5:T488,
{
  "error_id": "7acc6073-5290-45f8-8956-c79d487ef1e5",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
952:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7acc6073-5290-45f8-8956-c79d487ef1e5\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] ef6:T48a,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "'name' must be at most 100 characters"
}
953:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 100 characters\"\n}"}]}]]}] ef7:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
954:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] ef8:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
955:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] ef9:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
956:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ef9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] efa:T495,
{
  "error_id": "8c08b656-4e57-4768-ab6e-f281da25aa2b",
  "code": 3506,
  "message": "Label with name 'My Unique Label' already exists"
}
957:["$","div","409-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$efa"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-4e57-4768-ab6e-f281da25aa2b\",\n \"code\": 3506,\n \"message\": \"Label with name 'My Unique Label' already exists\"\n}"}]}]]}] efb:T4c0,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Labels are managed by your connected accounting integration and cannot be modified manually"
}
958:["$","div","422-application/json-cannot_modify_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$efb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Labels are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] efc:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
959:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$efc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] efd:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
95a:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$efd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] efe:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
95b:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$efe"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] eff:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
95c:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$eff"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] f00:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
95d:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f00"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] f01:T1d44,
{
  "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA",
  "labels": [
    {
      "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde",
      "name": "Consultants",
      "created_at": "2026-03-19T07:15:00.000000Z",
      "updated_at": "2026-03-19T08:45:22.111444Z"
    },
    {
      "id": "f09ad1ad-a1c0-4c09-b8f8-24b439e72690",
      "name": "IT & Tech Support",
      "created_at": "2026-03-11T10:33:51.121090Z",
      "updated_at": "2026-03-11T10:33:51.121090Z"
    },
    {
      "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d",
      "name": "HR & Facility",
      "created_at": "2026-02-01T08:00:00.000000Z",
      "updated_at": "2026-02-01T08:00:00.000000Z"
    },
    {
      "id": "c3b2a1d0-e9f8-47a6-9d8c-7b6a5f4e3d2c",
      "name": "Finance & Legal",
      "created_at": "2026-01-22T09:10:15.555000Z",
      "updated_at": "2026-01-23T11:00:45.123456Z"
    },
    {
      "id": "d9e8f7a6-b5c4-4321-8765-43210fedcba9",
      "name": "Sales & Marketing",
      "created_at": "2026-01-20T14:20:00.000000Z",
      "updated_at": "2026-01-20T14:20:00.000000Z"
    }
  ]
}
960:["$","div","200-application/json-results_with_next_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f01"}}]}]],"$Lf02"]}] f03:T119d,
{
  "labels": [
    {
      "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde",
      "name": "Consultants",
      "created_at": "2026-03-19T07:15:00.000000Z",
      "updated_at": "2026-03-19T08:45:22.111444Z"
    },
    {
      "id": "f09ad1ad-a1c0-4c09-b8f8-24b439e72690",
      "name": "IT & Tech Support",
      "created_at": "2026-03-11T10:33:51.121090Z",
      "updated_at": "2026-03-11T10:33:51.121090Z"
    },
    {
      "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d",
      "name": "HR & Facility",
      "created_at": "2026-02-01T08:00:00.000000Z",
      "updated_at": "2026-02-01T08:00:00.000000Z"
    }
  ]
}
961:["$","div","200-application/json-results_single_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f03"}}]}]],"$Lf04"]}] f05:T48f,
{
  "error_id": "29146977-8042-446f-b362-af224b14c830",
  "code": 2101,
  "message": "Query parameter 'limit' must be an integer"
}
962:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f05"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-446f-b362-af224b14c830\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be an integer\"\n}"}]}]]}] f06:T48f,
{
  "error_id": "b5a51cd1-9d0f-4074-adae-675e2921d71c",
  "code": 2101,
  "message": "Query parameter 'limit' must be at least 1"
}
963:["$","div","400-application/json-param_value_too_low",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f06"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"b5a51cd1-9d0f-4074-adae-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at least 1\"\n}"}]}]]}] f07:T490,
{
  "error_id": "fa12f45e-4633-4f78-8d40-42dadc380511",
  "code": 2101,
  "message": "Query parameter 'limit' must be at most 500"
}
964:["$","div","400-application/json-param_value_too_high",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f07"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-4633-4f78-8d40-42dadc380511\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at most 500\"\n}"}]}]]}] f08:T495,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "Query parameter 'limit' must have a single value"
}
965:["$","div","400-application/json-multiple_values_not_allowed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f08"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must have a single value\"\n}"}]}]]}] f09:T48e,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-3673c665f135",
  "code": 2101,
  "message": "Query parameter 'limit' must not be empty"
}
966:["$","div","400-application/json-param_cannot_be_empty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f09"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must not be empty\"\n}"}]}]]}] f0a:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
967:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f0a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] f0b:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
968:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f0b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] f0c:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
969:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f0c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] f0d:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
96a:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f0d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] f0e:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
96b:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f0e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] f0f:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
96c:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f0f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] f10:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
96d:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f10"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] f11:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
96e:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f11"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 971:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"20% VAT\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"20% VAT\"\n}"}]}]]}] f12:T483,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 2101,
  "message": "Request body must not be empty"
}
972:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f12"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 2101,\n \"message\": \"Request body must not be empty\"\n}"}]}]]}] f13:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
973:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f13"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] f14:T483,
{
  "error_id": "36f3cec5-b4b9-431f-9c28-afd3899bc64f",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
974:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f14"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"36f3cec5-b4b9-431f-9c28-afd3899bc64f\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] f15:T488,
{
  "error_id": "32fd0697-2f3f-4308-b25d-c9230f99c589",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
975:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f15"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"32fd0697-2f3f-4308-b25d-c9230f99c589\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] f16:T48a,
{
  "error_id": "d8d919b5-d667-4058-9bb3-17b6f7bcd6c8",
  "code": 2101,
  "message": "'name' must be at most 100 characters"
}
976:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f16"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 100 characters\"\n}"}]}]]}] f17:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
977:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f17"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] f18:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
978:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f18"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] f19:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
979:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f19"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] f1a:T4a1,
{
  "error_id": "ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0",
  "code": 3006,
  "message": "Label with id be6c9d90-df25-458a-b559-be61896c94b8 not found"
}
97a:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f1a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0\",\n \"code\": 3006,\n \"message\": \"Label with id be6c9d90-df25-458a-b559-be61896c94b8 not found\"\n}"}]}]]}] f1b:T495,
{
  "error_id": "8c08b656-4e57-4768-ab6e-f281da25aa2b",
  "code": 3506,
  "message": "Label with name 'My Unique Label' already exists"
}
97b:["$","div","409-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f1b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-4e57-4768-ab6e-f281da25aa2b\",\n \"code\": 3506,\n \"message\": \"Label with name 'My Unique Label' already exists\"\n}"}]}]]}] f1c:T4c0,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Labels are managed by your connected accounting integration and cannot be modified manually"
}
97c:["$","div","422-application/json-cannot_update_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f1c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Labels are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] f1d:T474,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 3100,
  "message": "Invalid request"
}
97d:["$","div","422-application/json-state_mismatch",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f1d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] f1e:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
97e:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f1e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] f1f:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
97f:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f1f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] f20:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
980:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f20"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] f21:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
981:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f21"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] f22:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
982:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f22"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 985:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"20% VAT\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"20% VAT\"\n}"}]}]]}] f23:T483,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 2101,
  "message": "Request body must not be empty"
}
986:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f23"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 2101,\n \"message\": \"Request body must not be empty\"\n}"}]}]]}] f24:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
987:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f24"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] f25:T483,
{
  "error_id": "36f3cec5-b4b9-431f-9c28-afd3899bc64f",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
988:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f25"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"36f3cec5-b4b9-431f-9c28-afd3899bc64f\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] f26:T488,
{
  "error_id": "32fd0697-2f3f-4308-b25d-c9230f99c589",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
989:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f26"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"32fd0697-2f3f-4308-b25d-c9230f99c589\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] f27:T489,
{
  "error_id": "d8d919b5-d667-4058-9bb3-17b6f7bcd6c8",
  "code": 2101,
  "message": "'name' must be at most 20 characters"
}
98a:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f27"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 20 characters\"\n}"}]}]]}] f28:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
98b:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f28"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] f29:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
98c:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f29"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] f2a:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
98d:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f2a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] f2b:T4a4,
{
  "error_id": "ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0",
  "code": 3006,
  "message": "Tax rate with id be6c9d90-df25-458a-b559-be61896c94b8 not found"
}
98e:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f2b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ca73d8a4-a5cb-4f03-9a95-4d53aa1731b0\",\n \"code\": 3006,\n \"message\": \"Tax rate with id be6c9d90-df25-458a-b559-be61896c94b8 not found\"\n}"}]}]]}] f2c:T495,
{
  "error_id": "8c08b656-4e57-4768-ab6e-f281da25aa2b",
  "code": 3505,
  "message": "Tax rate with name My Unique Rate already exists"
}
98f:["$","div","409-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f2c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-4e57-4768-ab6e-f281da25aa2b\",\n \"code\": 3505,\n \"message\": \"Tax rate with name My Unique Rate already exists\"\n}"}]}]]}] f2d:T4c3,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Tax rates are managed by your connected accounting integration and cannot be modified manually"
}
990:["$","div","422-application/json-cannot_update_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f2d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Tax rates are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] f2e:T474,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 3100,
  "message": "Invalid request"
}
991:["$","div","422-application/json-state_mismatch",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f2e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] f2f:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
992:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f2f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] f30:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
993:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f30"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] f31:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
994:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f31"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] f32:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
995:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f32"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] f33:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
996:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f33"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] f34:T85f,
{
  "payment_orders": [
    {
      "id": "e7e54cb2-861a-aaaa-80e9-3e6600f3db10",
      "scheduled_for": "2026-06-24",
      "title": "Draft Payment through API",
      "payments_count": 1,
      "source": "api"
    }
  ]
}
999:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f34"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"payment_orders\": [\n {\n \"id\": \"e7e54cb2-861a-aaaa-80e9-3e6600f3db10\",\n \"scheduled_for\": \"2026-06-24\",\n \"title\": \"Draft Payment through API\",\n \"payments_count\": 1,\n \"source\": \"api\"\n }\n ]\n}"}]}]]}] f35:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
99a:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f35"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] e56:"Check transfer field requirements" ebb:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"id\": \"b7ec67d3-5af1-42c8-bece-3d28nlmo894d\",\n \"name\": \"International account\",\n \"balance\": 3171.89,\n \"currency\": \"GBP\",\n \"state\": \"active\",\n \"public\": false,\n \"created_at\": \"2022-08-05T14:29:22.215785Z\",\n \"updated_at\": \"2022-08-05T14:29:22.215785Z\"\n },\n {\n \"id\": \"bssc67d3-5afd-42c2-bece-3d28nlmo894d\",\n \"name\": \"International account 2\",\n \"balance\": 411561.89,\n \"currency\": \"EUR\",\n \"state\": \"active\",\n \"public\": true,\n \"created_at\": \"2022-08-25T14:29:22.215785Z\",\n \"updated_at\": \"2022-08-30T14:29:22.215785Z\"\n }\n]"}]}] f36:T440,{ "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA", "label_groups": [ { "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde", "name": "Department", "created_at": "2026-03-19T07:15:00.000000Z", "updated_at": "2026-03-19T08:45:22.111444Z" }, { "id": "f09ad1ad3-a1c0-4c09-b8f8-24b439e72690", "name": "Employee", "created_at": "2026-03-11T10:33:51.121090Z", "updated_at": "2026-03-11T10:33:51.121090Z" }, { "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d", "name": "Project", "created_at": "2026-02-01T08:00:00.000000Z", "updated_at": "2026-02-01T08:00:00.000000Z" }, { "id": "5f4e3d2c-1b0a-4987-8765-43210fedcba9", "name": "Location", "created_at": "2026-01-15T10:20:30.123456Z", "updated_at": "2026-03-10T14:45:12.987654Z" }, { "id": "98765432-abcd-ef01-2345-67890abcdef0", "name": "Task", "created_at": "2025-12-20T11:11:11.000Z", "updated_at": "2026-03-15T09:30:00.555222Z" } ] }ed1:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$f36"}]}] ed3:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"label_groups\": [\n {\n \"id\": \"f0e1d2c3-b4a5-4678-9012-3456789abcde\",\n \"name\": \"Department\",\n \"created_at\": \"2026-03-19T07:15:00.000000Z\",\n \"updated_at\": \"2026-03-19T08:45:22.111444Z\"\n },\n {\n \"id\": \"f09ad1ad3-a1c0-4c09-b8f8-24b439e72690\",\n \"name\": \"Employee\",\n \"created_at\": \"2026-03-11T10:33:51.121090Z\",\n \"updated_at\": \"2026-03-11T10:33:51.121090Z\"\n },\n {\n \"id\": \"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d\",\n \"name\": \"Project\",\n \"created_at\": \"2026-02-01T08:00:00.000000Z\",\n \"updated_at\": \"2026-02-01T08:00:00.000000Z\"\n },\n {\n \"id\": \"5f4e3d2c-1b0a-4987-8765-43210fedcba9\",\n \"name\": \"Location\",\n \"created_at\": \"2026-01-15T10:20:30.123456Z\",\n \"updated_at\": \"2026-03-10T14:45:12.987654Z\"\n },\n {\n \"id\": \"98765432-abcd-ef01-2345-67890abcdef0\",\n \"name\": \"Task\",\n \"created_at\": \"2025-12-20T11:11:11.000Z\",\n \"updated_at\": \"2026-03-15T09:30:00.555222Z\"\n }\n ]\n}"}]}] f37:T460,{ "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA", "labels": [ { "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde", "name": "Consultants", "created_at": "2026-03-19T07:15:00.000000Z", "updated_at": "2026-03-19T08:45:22.111444Z" }, { "id": "f09ad1ad-a1c0-4c09-b8f8-24b439e72690", "name": "IT & Tech Support", "created_at": "2026-03-11T10:33:51.121090Z", "updated_at": "2026-03-11T10:33:51.121090Z" }, { "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d", "name": "HR & Facility", "created_at": "2026-02-01T08:00:00.000000Z", "updated_at": "2026-02-01T08:00:00.000000Z" }, { "id": "c3b2a1d0-e9f8-47a6-9d8c-7b6a5f4e3d2c", "name": "Finance & Legal", "created_at": "2026-01-22T09:10:15.555000Z", "updated_at": "2026-01-23T11:00:45.123456Z" }, { "id": "d9e8f7a6-b5c4-4321-8765-43210fedcba9", "name": "Sales & Marketing", "created_at": "2026-01-20T14:20:00.000000Z", "updated_at": "2026-01-20T14:20:00.000000Z" } ] }f02:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$f37"}]}] f04:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"labels\": [\n {\n \"id\": \"f0e1d2c3-b4a5-4678-9012-3456789abcde\",\n \"name\": \"Consultants\",\n \"created_at\": \"2026-03-19T07:15:00.000000Z\",\n \"updated_at\": \"2026-03-19T08:45:22.111444Z\"\n },\n {\n \"id\": \"f09ad1ad-a1c0-4c09-b8f8-24b439e72690\",\n \"name\": \"IT & Tech Support\",\n \"created_at\": \"2026-03-11T10:33:51.121090Z\",\n \"updated_at\": \"2026-03-11T10:33:51.121090Z\"\n },\n {\n \"id\": \"a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d\",\n \"name\": \"HR & Facility\",\n \"created_at\": \"2026-02-01T08:00:00.000000Z\",\n \"updated_at\": \"2026-02-01T08:00:00.000000Z\"\n }\n ]\n}"}]}] 40:["$","$98","get-account-details",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The bank details of a specific account","content":{"application/json":{"schema":{"type":"array","description":"Indicates the payment scheme used to execute transactions.","items":{"type":"object","description":"","properties":{"iban":{"type":"string","description":"The IBAN number.","descriptionNode":"$Lf38"},"bic":{"type":"string","description":"The BIC number, also known as SWIFT code.","descriptionNode":"$Lf39"},"account_no":{"type":"string","description":"The account number.","descriptionNode":"$Lf3a"},"sort_code":{"type":"string","description":"The sort code of the account.","descriptionNode":"$Lf3b"},"routing_number":{"type":"string","description":"The routing number of the account.","descriptionNode":"$Lf3c"},"beneficiary":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$Lf3d"},"beneficiary_address":{"type":"object","description":"The address of the counterparty.","properties":{"street_line1":{"type":"string","description":"Street line 1 information.","examples":["Revolut LTD"],"descriptionNode":"$Lf3e"},"street_line2":{"type":"string","description":"Street line 2 information.","examples":["1 Canada Square"],"descriptionNode":"$Lf3f"},"region":{"type":"string","description":"The name of the region (state or province), for example, Ontario for Canada.","examples":["Ontario"],"descriptionNode":"$Lf40"},"city":{"type":"string","description":"The name of the city.","examples":["London"],"descriptionNode":"$Lf41"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the counterparty, as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":["GB"],"descriptionNode":"$Lf42"},"postcode":{"type":"string","description":"The postcode of the counterparty address.","examples":["E14 5AB"],"descriptionNode":"$Lf43"}},"required":["country","postcode"],"descriptionNode":"$Lf44"},"bank_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$2b4:props:children:0:props:children:1:props:parameters:0:schema:examples","descriptionNode":"$Lf45"},"pooled":{"type":"boolean","description":"Indicates whether the account address is pooled or unique.","descriptionNode":"$Lf46"},"unique_reference":{"type":"string","description":"The reference of the pooled account.","descriptionNode":"$Lf47"},"schemes":{"type":"array","description":"The schemes that are available for this currency account.","uniqueItems":false,"items":{"enum":["chaps","bacs","faster_payments","sepa","swift","ach","elixir","sorbnet","nics","rix","sumclearing"],"type":"string","description":"Indicates the payment scheme used to execute transactions.","examples":["swift"],"descriptionNode":"$Lf48"},"descriptionNode":"$Lf49"},"estimated_time":{"type":"object","description":"The estimated time of the inbound transfer of the funds, i.e. when we expect the recipient to receive the transfer.","properties":{"unit":{"type":"string","description":"The estimated time unit of the inbound transfer of the funds.","enum":["days","hours"],"examples":["days"],"descriptionNode":"$Lf4a"},"min":{"type":"integer","description":"The minimum time estimate.","examples":[1],"descriptionNode":"$Lf4b"},"max":{"type":"integer","description":"The maximum time estimate.","examples":[3],"descriptionNode":"$Lf4c"}},"required":["unit"],"descriptionNode":"$Lf4d"}},"required":["beneficiary","beneficiary_address","schemes","estimated_time"]},"descriptionNode":"$Lf4e"},"examples":{"default":{"value":[{"iban":"GB66REVO00996995908888","bic":"REVOGB21","beneficiary":"International account","beneficiary_address":{"street_line1":"Revolut LTD","street_line2":"1 Canada Square","city":"London","country":"GB","postcode":"E14 5AB"},"bank_country":"GB","pooled":false,"schemes":["swift"],"estimated_time":{"unit":"days","min":1,"max":3}}]}}}},"descriptionNode":"$Lf4f"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lf50"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lf51"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lf52"}},"requestBody":"$undefined","variantLabels":[],"children":["$Lf53","$Lf54"]}]}],false]}] ea2:"Retrieve a payout link" f53:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-account-details","children":[["$Lf55","$undefined"],["$","$L3a",null,{"id":"get-account-details"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-account-details.md"}]]}]}],"$undefined"]}] f58:T8cb,
fetch("https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
f59:Tdb3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
f5b:T1557,
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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
f5d:T8d3,
fetch("https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
f5e:Tdbb,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
f60:T155f,
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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
f61:T147f,
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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
f54:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lf56",["$","$Lac",null,{"parameters":[{"name":"account_id","in":"path","required":true,"description":"The ID of the account to retrieve all bank details.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$Lf57"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$40:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$f58","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$f59","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$f5a","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"))\n .header(\"Authorization\", \"Bearer \")\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":"$f5b","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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://b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$f5c","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$f5d","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$f5e","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$f5f","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"))\n .header(\"Authorization\", \"Bearer \")\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":"$f60","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_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-b2b.revolut.com/api/1.0/accounts/__RP_TOK_0__/bank-details\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$f61","tokens":[{"marker":"__RP_TOK_0__","paramName":"account_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:account_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/accounts/{account_id}/bank-details","parameters":["$f54:props:children:0:props:children:1:props:parameters:0"]}],"$Lf62"],"$Lf63","$Lf64"]}]]}] e30:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the field to be provided in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/business#create-payment","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"/pay"}]," endpoint"]}]," request body.\nMatches the field names in the ",["$","code","code-0",{"children":"/pay"}]," endpoint exactly (e.g. ",["$","code","code-1",{"children":"reference"}],", ",["$","code","code-2",{"children":"transfer_reason_code"}],")."]}]]}] e31:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether this field must be provided for the given transfer."}]]}] e32:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The minimum allowed character length for the field value."}]]}] e33:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum allowed character length for the field value."}]]}] e34:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The regex pattern the field value must match."}]]}] e35:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A human-readable description of the regex constraint."}]]}] e36:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Regular expression validation rules."}]]}] e37:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Validation rules applied to the field."}]]}] e38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The accepted value to be passed to the API."}]]}] e39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"An allowed value option for the field."}]]}] e3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of allowed values for the field (enum).\nIf provided, the field value must be one of these options."}]]}] e3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Represents a contextual field and its rules."}]]}] e3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of applicable and conditionally required fields for the specific payment context."}]]}] e3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The response containing applicable payment fields and their validation rules."}]]}] e3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The applicable and conditionally required fields for the specified transfer destination"}]]}] f65:T9f4,
{
  "id": "b7ec67d3-5af1-42c8-bece-3d28nlmo894d",
  "name": "International account",
  "balance": 3171.89,
  "currency": "GBP",
  "state": "active",
  "public": false,
  "created_at": "2022-08-05T14:29:22.215785Z",
  "updated_at": "2022-08-05T14:29:22.215785Z"
}
aa5:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f65"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"b7ec67d3-5af1-42c8-bece-3d28nlmo894d\",\n \"name\": \"International account\",\n \"balance\": 3171.89,\n \"currency\": \"GBP\",\n \"state\": \"active\",\n \"public\": false,\n \"created_at\": \"2022-08-05T14:29:22.215785Z\",\n \"updated_at\": \"2022-08-05T14:29:22.215785Z\"\n}"}]}]]}] aa6:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 70:["$","$98","get-payout-links",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of your payout links","content":{"application/json":{"schema":{"type":"array","items":{"allOf":[{"type":"object","required":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payout link.","descriptionNode":"$Lf66"},"state":{"enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:state:enum","type":"string","description":"The state that the payout link is in. Possible states are:\n- `created`: The payout link has been created, but the amount has not yet been [blocked](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation).\n- `failed`: The payout link couldn't be generated due to a failure during transaction booking.\n- `awaiting`: The payout link is awaiting approval.\n- `active`: The payout link can be redeemed.\n- `expired`: The payout link cannot be redeemed because it wasn't claimed before its expiry date.\n- `cancelled`: The payout link cannot be redeemed because it was cancelled.\n- `processing`: The payout link has been redeemed and is being processed.\n- `processed`: The payout link has been redeemed and the money has been transferred to the recipient.","descriptionNode":"$Lf67"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payout link was created in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).","descriptionNode":"$Lf68"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payout link was last updated in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).","descriptionNode":"$Lf69"},"counterparty_name":{"type":"string","description":"The name of the counterparty provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:counterparty_name:examples","descriptionNode":"$Lf6a"},"save_counterparty":{"type":"boolean","default":false,"description":"Indicates whether you chose to save the recipient as your counterparty upon link claim. \nIf `false` then the counterparty will not show up on your counterparties list, for example, when you [retrieve your counterparties](https://developer.revolut.com/docs/api/business#get-counterparties). \nHowever, you can still [retrieve this counterparty by its ID](https://developer.revolut.com/docs/api/business#get-counterparty).\n\nIf you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app.","descriptionNode":"$Lf6b"},"request_id":{"type":"string","description":"The ID of the request, provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:request_id:examples","descriptionNode":"$Lf6c"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which the payout link expires in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nIf the recipient doesn't claim the money before then, the payout link expires and is no longer available.\n\nThe default and maximum value is the date and time of creating the link + 7 days.","default":"now + 7 days","maximum":"now + 7 days","minimum":"now + 1 day","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:expiry_date:examples","descriptionNode":"$Lf6d"},"payout_methods":{"type":"array","items":{"type":"string","description":"The payout method that the recipient can use to claim the payout.","enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:payout_methods:items:enum","descriptionNode":"$Lf6e"},"explode":true,"description":"The list of payout methods that the recipient can use to claim the payout, where:\n- `revolut`: Revolut peer-to-peer (P2P) transfer\n- `bank_account`: External bank transfer\n- `card`: Card transfer\n :::note\n - This payout method is available in the UK and the EEA.\n - This payout method is not available in Sandbox.\n :::","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:payout_methods:examples","descriptionNode":"$Lf6f"},"account_id":{"type":"string","format":"uuid","description":"The ID of the sender's account.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:account_id:examples","descriptionNode":"$Lf70"},"amount":{"type":"number","format":"double","description":"The amount of money to be transferred.\n\n:::note\nThe amount must be between £1 and £2,500, or equivalent in the selected currency.\n:::","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:amount:examples","descriptionNode":"$Lf71"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$Lf72"},"url":{"type":"string","format":"uri","description":"The URL of the payout link. Returned only for active payout links.","descriptionNode":"$Lf73"},"reference":{"type":"string","description":"The reference for the payout transaction, provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:reference:examples","descriptionNode":"$Lf74"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$Lf75"}}},{"type":"object","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the counterparty created based on the recipient's details. \n\n:::note\nBy default, the newly created counterparty is hidden from your counterparties list. \n\nTo automatically save it when the link is claimed, pass the `save_counterparty` parameter set to `true`. \n\nAlternatively, you can add the recipient to your counterparties later from the list of transactions in the Business app.\n:::","descriptionNode":"$Lf76"},"transaction_id":{"type":"string","format":"uuid","description":"The ID of the created transaction. Returned only if the payout has been claimed.","descriptionNode":"$Lf77"},"cancellation_reason":{"type":"string","readOnly":true,"enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:1:properties:cancellation_reason:enum","description":"The reason for which the payout link was cancelled.","descriptionNode":"$Lf78"}}}]},"description":"A list of payout links","descriptionNode":"$Lf79"},"examples":{"default":{"value":[{"id":"8e32b08a-e012-4530-bd15-c4e9ebde953d","state":"processed","created_at":"2024-01-11T14:02:53.472318Z","updated_at":"2024-01-11T14:05:02.962886Z","counterparty_name":"Jane Doe","request_id":"5a7fcb46-4be4-47d4-a56f-27a2e5b78dMM","expiry_date":"2023-07-18T14:02:53.717626Z","payout_methods":["revolut","bank_account","card"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":5.6,"currency":"GBP","counterparty_id":"2ef4618a-f258-4ac5-a846-ca6e089214f6","transaction_id":"64ad618e-655a-a925-8425-2284c03f6c08","reference":"Bus ticket","transfer_reason_code":"travel"},{"id":"12dcd8c2-6408-458f-98a9-3f4abc180898","state":"active","created_at":"2023-07-11T13:55:54.834963Z","updated_at":"2023-07-11T14:02:12.868346Z","counterparty_name":"John Doe","request_id":"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1","expiry_date":"2023-07-18T13:55:55.082280Z","payout_methods":["revolut","bank_account"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":105.6,"currency":"GBP","url":"https://business.revolut.com/p/uSJVAd5SnP1","reference":"Rent","transfer_reason_code":"property_rental"},{"id":"d3b02315-044c-471f-ad41-59d9a4e3c538","state":"active","created_at":"2023-07-11T13:53:45.986248Z","updated_at":"2023-07-11T13:53:46.475470Z","counterparty_name":"John Smith","request_id":"rev-001","expiry_date":"2023-07-18T13:53:46.474777Z","payout_methods":["revolut"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":15.6,"currency":"GBP","url":"https://business.revolut.com/p/DPYtd2BUUwP","reference":"meal delivery"}]}}}},"descriptionNode":"$Lf7a"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lf7b"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lf7c"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"forbidden":{"summary":"Action forbidden","value":{"message":"This action is forbidden","code":9002}}}}},"descriptionNode":"$Lf7d"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$Lf7e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$Lf7f"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$Lf80"}},"requestBody":"$undefined","variantLabels":[],"children":["$Lf81","$Lf82"]}]}],false]}] f83:T8a9,
{
  "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
  "receiver": {
    "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
    "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
  },
  "amount": 50,
  "currency": "GBP",
  "reference": "Payment #456"
}
af7:["$","div","request-application/json-simple_payment",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f83"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 50,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #456\"\n}"}]}]]}] af8:["$","div","201-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"id\": \"a1b2c3d4-0000-0000-0000-000000000002\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"a1b2c3d4-0000-0000-0000-000000000002\"\n}"}]}]]}] f84:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
af9:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f84"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] afa:["$","div","404-application/json-draft_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"The specified payment draft was not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"The specified payment draft was not found\"\n}"}]}]]}] afb:["$","div","422-application/json-created_by_other_source",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3100,\n  \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3100,\n \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}"}]}]]}] afc:["$","div","422-application/json-already_processed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3417,\n  \"message\": \"Payment draft is already processed\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3417,\n \"message\": \"Payment draft is already processed\"\n}"}]}]]}] f85:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
afd:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f85"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] f86:T134a,
{
  "name": "Department",
  "labels": [
    {
      "name": "Sales & Account Management"
    },
    {
      "name": "Product Management"
    },
    {
      "name": "Design & UX"
    },
    {
      "name": "Customer Success"
    },
    {
      "name": "Engineering"
    },
    {
      "name": "Research & Development"
    },
    {
      "name": "Operations"
    },
    {
      "name": "Quality Assurance"
    },
    {
      "name": "Data Science & Analytics"
    },
    {
      "name": "Executive & Leadership"
    }
  ]
}
b00:["$","div","request-application/json-department_labels",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f86"}}]}]],"$Lf87"]}] f88:Tb7f,
{
  "name": "Team",
  "labels": [
    {
      "name": "Brand Design & Creative Services"
    },
    {
      "name": "Enterprise Sales (Europe)"
    },
    {
      "name": "Cloud Infrastructure & DevOps"
    },
    {
      "name": "Growth & Performance Marketing"
    },
    {
      "name": "Mobile App Development"
    }
  ]
}
b01:["$","div","request-application/json-team_labels",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f88"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Team\",\n \"labels\": [\n {\n \"name\": \"Brand Design & Creative Services\"\n },\n {\n \"name\": \"Enterprise Sales (Europe)\"\n },\n {\n \"name\": \"Cloud Infrastructure & DevOps\"\n },\n {\n \"name\": \"Growth & Performance Marketing\"\n },\n {\n \"name\": \"Mobile App Development\"\n }\n ]\n}"}]}]]}] b02:["$","div","201-application/json-resource_created",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}"}]}]]}] f89:T479,
{
  "error_id": "69bc43d4-0ebf-4f7c-88e0-ebb7a1441a18",
  "code": 2101,
  "message": "'labels' is required"
}
b03:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f89"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69bc43d4-0ebf-4f7c-88e0-ebb7a1441a18\",\n \"code\": 2101,\n \"message\": \"'labels' is required\"\n}"}]}]]}] f8a:T47e,
{
  "error_id": "69bc4467-8042-446f-b362-675e2921d71c",
  "code": 2101,
  "message": "'labels' must be an array"
}
b04:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f8a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69bc4467-8042-446f-b362-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"'labels' must be an array\"\n}"}]}]]}] f8b:T483,
{
  "error_id": "69bc1985-1313-42f0-8c0b-3673c665f135",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
b05:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f8b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69bc1985-1313-42f0-8c0b-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] f8c:T488,
{
  "error_id": "7acc6073-5290-45f8-8956-c79d487ef1e5",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
b06:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f8c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7acc6073-5290-45f8-8956-c79d487ef1e5\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] f8d:T48a,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "'name' must be at most 100 characters"
}
b07:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f8d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 100 characters\"\n}"}]}]]}] f8e:T47f,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "'labels' must not be empty"
}
b08:["$","div","400-application/json-param_value_missing",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f8e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"'labels' must not be empty\"\n}"}]}]]}] f8f:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
b09:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f8f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] f90:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
b0a:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f90"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] f91:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
b0b:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f91"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] f92:T4a1,
{
  "error_id": "69bc49bc-4e57-4768-ab6e-f281da25aa2b",
  "code": 3506,
  "message": "Label group with name 'My Unique Label Group' already exists"
}
b0c:["$","div","409-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f92"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69bc49bc-4e57-4768-ab6e-f281da25aa2b\",\n \"code\": 3506,\n \"message\": \"Label group with name 'My Unique Label Group' already exists\"\n}"}]}]]}] f93:T4c0,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Labels are managed by your connected accounting integration and cannot be modified manually"
}
b0d:["$","div","422-application/json-cannot_modify_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f93"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Labels are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] f94:T493,
{
  "error_id": "69bc3507-cfd6-4e04-bd79-2d57a3951774",
  "code": 3591,
  "message": "Maximum of 5 label groups per business reached"
}
b0e:["$","div","422-application/json-group_limit_exceeded",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f94"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69bc3507-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3591,\n \"message\": \"Maximum of 5 label groups per business reached\"\n}"}]}]]}] f95:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
b0f:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f95"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] f96:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
b10:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f96"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] f97:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
b11:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f97"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] f98:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
b12:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f98"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] f99:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
b13:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f99"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] b16:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"20% (VAT on Expenses)\",\n  \"percentage\": 20\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n}"}]}]]}] b17:["$","div","201-application/json-resource_created",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6a37383e-cfd3-4a2f-aa81-e3a6e6939efa\"\n}"}]}]]}] f9a:T47d,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18",
  "code": 2101,
  "message": "'percentage' is required"
}
b18:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f9a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-ebb7a1441a18\",\n \"code\": 2101,\n \"message\": \"'percentage' is required\"\n}"}]}]]}] f9b:T482,
{
  "error_id": "29146977-8042-446f-b362-675e2921d71c",
  "code": 2101,
  "message": "'percentage' must be a number"
}
b19:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f9b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-446f-b362-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"'percentage' must be a number\"\n}"}]}]]}] f9c:T484,
{
  "error_id": "b5a51cd1-9d0f-4074-adae-af224b14c830",
  "code": 2101,
  "message": "'percentage' must be at least 0"
}
b1a:["$","div","400-application/json-param_value_too_low",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f9c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"b5a51cd1-9d0f-4074-adae-af224b14c830\",\n \"code\": 2101,\n \"message\": \"'percentage' must be at least 0\"\n}"}]}]]}] f9d:T485,
{
  "error_id": "89ceb92e-4633-4f78-8d40-42dadc380511",
  "code": 2101,
  "message": "'percentage' must be at most 100"
}
b1b:["$","div","400-application/json-param_value_too_high",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f9d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"89ceb92e-4633-4f78-8d40-42dadc380511\",\n \"code\": 2101,\n \"message\": \"'percentage' must be at most 100\"\n}"}]}]]}] f9e:T483,
{
  "error_id": "df7b76b2-1313-42f0-8c0b-3673c665f135",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
b1c:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f9e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"df7b76b2-1313-42f0-8c0b-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] f9f:T488,
{
  "error_id": "7acc6073-5290-45f8-8956-c79d487ef1e5",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
b1d:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$f9f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7acc6073-5290-45f8-8956-c79d487ef1e5\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] fa0:T489,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "'name' must be at most 20 characters"
}
b1e:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 20 characters\"\n}"}]}]]}] fa1:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
b1f:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] fa2:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
b20:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] fa3:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
b21:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] fa4:T495,
{
  "error_id": "8c08b656-4e57-4768-ab6e-f281da25aa2b",
  "code": 3505,
  "message": "Tax rate with name My Unique Rate already exists"
}
b22:["$","div","409-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-4e57-4768-ab6e-f281da25aa2b\",\n \"code\": 3505,\n \"message\": \"Tax rate with name My Unique Rate already exists\"\n}"}]}]]}] fa5:T4c3,
{
  "error_id": "e950c41e-cfd6-4e04-bd79-2d57a3951774",
  "code": 3514,
  "message": "Tax rates are managed by your connected accounting integration and cannot be modified manually"
}
b23:["$","div","422-application/json-cannot_modify_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"e950c41e-cfd6-4e04-bd79-2d57a3951774\",\n \"code\": 3514,\n \"message\": \"Tax rates are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] fa6:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
b24:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] fa7:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
b25:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] fa8:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
b26:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] fa9:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
b27:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fa9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] faa:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
b28:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$faa"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] fab:T22c3,
{
  "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA",
  "tax_rates": [
    {
      "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde",
      "name": "Import Duty Surcharge",
      "created_at": "2026-03-19T07:15:00.000000Z",
      "updated_at": "2026-03-19T08:45:22.111444Z",
      "percentage": 12.75
    },
    {
      "id": "f09ad1ad3-a1c0-4c09-b8f8-24b439e72690",
      "name": "20% (VAT on Expenses)",
      "created_at": "2026-03-11T10:33:51.121090Z",
      "updated_at": "2026-03-11T10:33:51.121090Z",
      "percentage": 20
    },
    {
      "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d",
      "name": "Reduced Rate Food & Beverage",
      "created_at": "2026-02-01T08:00:00.000000Z",
      "updated_at": "2026-02-01T08:00:00.000000Z",
      "percentage": 5.5
    },
    {
      "id": "5f4e3d2c-1b0a-4987-8765-43210fedcba9",
      "name": "Standard Output Tax (High)",
      "created_at": "2026-01-15T10:20:30.123456Z",
      "updated_at": "2026-03-10T14:45:12.987654Z",
      "percentage": 20
    },
    {
      "id": "98765432-abcd-ef01-2345-67890abcdef0",
      "name": "Exempt Financial Services",
      "created_at": "2025-12-20T11:11:11.000Z",
      "updated_at": "2026-03-15T09:30:00.555222Z",
      "percentage": 0
    }
  ]
}
b2b:["$","div","200-application/json-results_with_next_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fab"}}]}]],"$Lfac"]}] fad:T14d9,
{
  "tax_rates": [
    {
      "id": "7e6d5c4b-3a2b-1c0d-9e8f-7a6b5c4d3e2f",
      "name": "Luxury Goods Tax",
      "created_at": "2026-03-23T14:30:00.000000Z",
      "updated_at": "2026-03-23T14:30:00.000000Z",
      "percentage": 25
    },
    {
      "id": "8a7b6c5d-4e3f-2g1h-0i9j-8k7l6m5n4o3p",
      "name": "Environmental Levy",
      "created_at": "2026-03-22T09:15:22.000000Z",
      "updated_at": "2026-03-22T10:00:00.000000Z",
      "percentage": 3.5
    },
    {
      "id": "1f2e3d4c-5b6a-7988-7766-554433221100",
      "name": "Digital Services Tax",
      "created_at": "2026-03-21T11:45:00.000000Z",
      "updated_at": "2026-03-21T11:45:00.000000Z",
      "percentage": 7
    }
  ]
}
b2c:["$","div","200-application/json-results_single_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fad"}}]}]],"$Lfae"]}] faf:T48f,
{
  "error_id": "29146977-8042-446f-b362-af224b14c830",
  "code": 2101,
  "message": "Query parameter 'limit' must be an integer"
}
b2d:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$faf"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-446f-b362-af224b14c830\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be an integer\"\n}"}]}]]}] fb0:T48f,
{
  "error_id": "b5a51cd1-9d0f-4074-adae-675e2921d71c",
  "code": 2101,
  "message": "Query parameter 'limit' must be at least 1"
}
b2e:["$","div","400-application/json-param_value_too_low",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"b5a51cd1-9d0f-4074-adae-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at least 1\"\n}"}]}]]}] fb1:T490,
{
  "error_id": "fa12f45e-4633-4f78-8d40-42dadc380511",
  "code": 2101,
  "message": "Query parameter 'limit' must be at most 500"
}
b2f:["$","div","400-application/json-param_value_too_high",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-4633-4f78-8d40-42dadc380511\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at most 500\"\n}"}]}]]}] fb2:T495,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "Query parameter 'limit' must have a single value"
}
b30:["$","div","400-application/json-multiple_values_not_allowed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must have a single value\"\n}"}]}]]}] fb3:T48e,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-3673c665f135",
  "code": 2101,
  "message": "Query parameter 'limit' must not be empty"
}
b31:["$","div","400-application/json-param_cannot_be_empty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must not be empty\"\n}"}]}]]}] fb4:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
b32:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] fb5:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
b33:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] fb6:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
b34:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] fb7:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
b35:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] fb8:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
b36:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] fb9:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
b37:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fb9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] fba:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
b38:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fba"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] fbb:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
b39:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fbb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] e3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"For example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"the request is invalid (e.g. malformed body, validation failure)"}],"\n",["$","li","li-1",{"children":["both ",["$","code","code-0",{"children":"account_id"}]," and ",["$","code","code-1",{"children":"card_id"}]," are provided in ",["$","code","code-2",{"children":"receiver"}]," (only one of these values can be provided in a single request)"]}],"\n"]}]]}] e42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned when the specified counterparty, account, or card was not found."}]]}] e45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] e48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account from which the transfer will be made."}]]}] e49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] e4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] e4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] e4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] e4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The request details to evaluate payment requirements."}]]}] e57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the list of conditionally required or applicable fields for a specific transfer destination together with their constraints."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Note"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is not available in Sandbox."}]}]]}],"\n",["$","p","p-1",{"children":["When creating a payment via the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"/pay"}]," endpoint"]}],", certain fields (such as ",["$","code","code-0",{"children":"transfer_reason_code"}],", ",["$","code","code-1",{"children":"charge_bearer"}],", or ",["$","code","code-2",{"children":"exchange_reason_code"}],") become required or applicable depending on the source account, destination corridor, and business profile.\nThis read-only endpoint allows you to discover these contextual fields dynamically, along with their validation rules and available options."]}],"\n",["$","div","inlinealert-1",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["A ",["$","strong","strong-0",{"children":"destination corridor"}]," is a specific combination of bank country and currency representing a supported payment destination (e.g. GBP to GB, USD to US)."]}]}]]}],"\n",["$","p","p-2",{"children":["Only the fields relevant to the specific context are returned.\nUniversally required fields (such as ",["$","code","code-0",{"children":"amount"}],", ",["$","code","code-1",{"children":"account_id"}],", ",["$","code","code-2",{"children":"receiver"}],", and ",["$","code","code-3",{"children":"request_id"}],") are always required and are intentionally excluded from this response."]}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","strong","strong-0",{"children":"Check transfer field requirements"}]," section in ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/bank-transfers#check-transfer-field-requirements","target":"_blank","rel":"noreferrer","children":"Bank transfers"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/card-transfers#check-transfer-field-requirements","target":"_blank","rel":"noreferrer","children":"Card transfers"}],"."]}]]}] fbc:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)f62:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$fbc","descriptionNode":"$Lfbd"}}}] f63:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] f64:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$40:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Lfbe"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lfbf"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] f81:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-payout-links","children":[["$Lfc0","$undefined"],["$","$L3a",null,{"id":"get-payout-links"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-payout-links.md"}]]}]}],"$undefined"]}] fc6:T901,
fetch("https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
fc7:Tde9,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
fc9:T158d,
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://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
fcb:T909,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
fcc:Tdf1,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
fce:T1595,
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-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
fcf:T14b5,
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-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
f82:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$Lfc1",["$","$Lac",null,{"parameters":[{"name":"state","in":"query","description":"Retrieves links in the specified state(s). Possible states are:\n- `created`: The payout link has been created, but the amount has not yet been [blocked](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation).\n- `failed`: The payout link couldn't be generated due to a failure during transaction booking.\n- `awaiting`: The payout link is awaiting approval.\n- `active`: The payout link can be redeemed.\n- `expired`: The payout link cannot be redeemed because it wasn't claimed before its expiry date.\n- `cancelled`: The payout link cannot be redeemed because it was cancelled.\n- `processing`: The payout link has been redeemed and is being processed.\n- `processed`: The payout link has been redeemed and the money has been transferred to the recipient.\n\nUse for filtering to retrieve only links in specified states.\nTo specify multiple values, follow this pattern: `state={VALUE1}&state={VALUE2}`.","schema":{"type":"array","items":{"enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:state:enum","type":"string","description":"The state that the payout link is in. Possible states are:\n- `created`: The payout link has been created, but the amount has not yet been [blocked](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation).\n- `failed`: The payout link couldn't be generated due to a failure during transaction booking.\n- `awaiting`: The payout link is awaiting approval.\n- `active`: The payout link can be redeemed.\n- `expired`: The payout link cannot be redeemed because it wasn't claimed before its expiry date.\n- `cancelled`: The payout link cannot be redeemed because it was cancelled.\n- `processing`: The payout link has been redeemed and is being processed.\n- `processed`: The payout link has been redeemed and the money has been transferred to the recipient.","descriptionNode":"$Lfc2"}},"explode":true,"uniqueItems":true,"descriptionNode":"$Lfc3"},{"name":"created_before","in":"query","description":"Retrieves links with `created_at` < `created_before`.\nThe default value is the current date and time at which you are calling the endpoint.\n\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","schema":{"type":"string","format":"date-time","default":"the date-time at which the request is made"},"descriptionNode":"$Lfc4"},{"name":"limit","in":"query","description":"The maximum number of links returned per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last payout link returned in the previous response as the value for `created_before`.","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100},"descriptionNode":"$Lfc5"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$70:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$fc6","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$fc7","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$fc8","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$fc9","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$fca","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$fcb","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$fcc","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$fcd","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$fce","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/payout-links?state=__RP_TOK_0__&created_before=__RP_TOK_1__&limit=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$fcf","tokens":[{"marker":"__RP_TOK_0__","paramName":"state","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":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:state":"[]","query:created_before":"the date-time at which the request is made","query:limit":"100"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payout-links","parameters":["$f82:props:children:0:props:children:1:props:parameters:0","$f82:props:children:0:props:children:1:props:parameters:1","$f82:props:children:0:props:children:1:props:parameters:2"]}],"$Lfd0"],"$Lfd1","$Lfd2"]}]]}] f87:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Department\",\n \"labels\": [\n {\n \"name\": \"Sales & Account Management\"\n },\n {\n \"name\": \"Product Management\"\n },\n {\n \"name\": \"Design & UX\"\n },\n {\n \"name\": \"Customer Success\"\n },\n {\n \"name\": \"Engineering\"\n },\n {\n \"name\": \"Research & Development\"\n },\n {\n \"name\": \"Operations\"\n },\n {\n \"name\": \"Quality Assurance\"\n },\n {\n \"name\": \"Data Science & Analytics\"\n },\n {\n \"name\": \"Executive & Leadership\"\n }\n ]\n}"}]}] fd3:T50c,{ "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA", "tax_rates": [ { "id": "f0e1d2c3-b4a5-4678-9012-3456789abcde", "name": "Import Duty Surcharge", "created_at": "2026-03-19T07:15:00.000000Z", "updated_at": "2026-03-19T08:45:22.111444Z", "percentage": 12.75 }, { "id": "f09ad1ad3-a1c0-4c09-b8f8-24b439e72690", "name": "20% (VAT on Expenses)", "created_at": "2026-03-11T10:33:51.121090Z", "updated_at": "2026-03-11T10:33:51.121090Z", "percentage": 20 }, { "id": "a1b2c3d4-e5f6-4a5b-bc6d-7e8f9a0b1c2d", "name": "Reduced Rate Food & Beverage", "created_at": "2026-02-01T08:00:00.000000Z", "updated_at": "2026-02-01T08:00:00.000000Z", "percentage": 5.5 }, { "id": "5f4e3d2c-1b0a-4987-8765-43210fedcba9", "name": "Standard Output Tax (High)", "created_at": "2026-01-15T10:20:30.123456Z", "updated_at": "2026-03-10T14:45:12.987654Z", "percentage": 20 }, { "id": "98765432-abcd-ef01-2345-67890abcdef0", "name": "Exempt Financial Services", "created_at": "2025-12-20T11:11:11.000Z", "updated_at": "2026-03-15T09:30:00.555222Z", "percentage": 0 } ] }fac:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$fd3"}]}] fae:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"tax_rates\": [\n {\n \"id\": \"7e6d5c4b-3a2b-1c0d-9e8f-7a6b5c4d3e2f\",\n \"name\": \"Luxury Goods Tax\",\n \"created_at\": \"2026-03-23T14:30:00.000000Z\",\n \"updated_at\": \"2026-03-23T14:30:00.000000Z\",\n \"percentage\": 25\n },\n {\n \"id\": \"8a7b6c5d-4e3f-2g1h-0i9j-8k7l6m5n4o3p\",\n \"name\": \"Environmental Levy\",\n \"created_at\": \"2026-03-22T09:15:22.000000Z\",\n \"updated_at\": \"2026-03-22T10:00:00.000000Z\",\n \"percentage\": 3.5\n },\n {\n \"id\": \"1f2e3d4c-5b6a-7988-7766-554433221100\",\n \"name\": \"Digital Services Tax\",\n \"created_at\": \"2026-03-21T11:45:00.000000Z\",\n \"updated_at\": \"2026-03-21T11:45:00.000000Z\",\n \"percentage\": 7\n }\n ]\n}"}]}] e67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payout link."}]]}] e68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the payout link is in. Possible states are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The payout link has been created, but the amount has not yet been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation","target":"_blank","rel":"noreferrer","children":"blocked"}],"."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"failed"}],": The payout link couldn't be generated due to a failure during transaction booking."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"awaiting"}],": The payout link is awaiting approval."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"active"}],": The payout link can be redeemed."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"expired"}],": The payout link cannot be redeemed because it wasn't claimed before its expiry date."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"cancelled"}],": The payout link cannot be redeemed because it was cancelled."]}],"\n",["$","li","li-6",{"children":[["$","code","code-0",{"children":"processing"}],": The payout link has been redeemed and is being processed."]}],"\n",["$","li","li-7",{"children":[["$","code","code-0",{"children":"processed"}],": The payout link has been redeemed and the money has been transferred to the recipient."]}],"\n"]}]]}] e69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the payout link was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}]]}] e6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the payout link was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}]]}] e6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty provided by the sender."}]]}] e6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Indicates whether you chose to save the recipient as your counterparty upon link claim.\nIf ",["$","code","code-0",{"children":"false"}]," then the counterparty will not show up on your counterparties list, for example, when you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparties","target":"_blank","rel":"noreferrer","children":"retrieve your counterparties"}],".\nHowever, you can still ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty","target":"_blank","rel":"noreferrer","children":"retrieve this counterparty by its ID"}],"."]}],"\n",["$","p","p-1",{"children":"If you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app."}]]}] e6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the request, provided by the sender."}]]}] e6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which the payout link expires in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],".\nIf the recipient doesn't claim the money before then, the payout link expires and is no longer available."]}],"\n",["$","p","p-1",{"children":"The default and maximum value is the date and time of creating the link + 7 days."}]]}] e6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payout method that the recipient can use to claim the payout."}]]}] be9:["$","div","request-application/json-update_title",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"title\": \"Updated Draft Title\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Updated Draft Title\"\n}"}]}]]}] bea:["$","div","request-application/json-update_schedule",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"schedule_for\": \"2026-07-01\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"schedule_for\": \"2026-07-01\"\n}"}]}]]}] beb:["$","div","request-application/json-update_both",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"title\": \"Updated Draft Title\",\n  \"schedule_for\": \"2026-07-01\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Updated Draft Title\",\n \"schedule_for\": \"2026-07-01\"\n}"}]}]]}] fd4:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
bec:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fd4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] bed:["$","div","404-application/json-draft_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"The specified payment draft was not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"The specified payment draft was not found\"\n}"}]}]]}] bee:["$","div","422-application/json-created_by_other_source",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3100,\n  \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3100,\n \"message\": \"Payment draft was created via Partner API and cannot be updated\"\n}"}]}]]}] bef:["$","div","422-application/json-already_processed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3417,\n  \"message\": \"Payment draft is already processed\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3417,\n \"message\": \"Payment draft is already processed\"\n}"}]}]]}] fd5:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
bf0:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fd5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] bf3:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"email\": \"john.smith@example.com\",\n  \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"email\": \"john.smith@example.com\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\"\n}"}]}]]}] fd6:T6ea,
{
  "email": "john.smith@example.com",
  "id": "76969b71-a123-42dc-b874-a34688d7bba4",
  "role_id": "0098ac28-b92f-435e-a3a2-2829d3918dfb",
  "created_at": "2022-09-07T09:19:31.592368Z",
  "updated_at": "2022-09-07T09:21:24.346670Z"
}
bf4:["$","div","201-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fd6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"email\": \"john.smith@example.com\",\n \"id\": \"76969b71-a123-42dc-b874-a34688d7bba4\",\n \"role_id\": \"0098ac28-b92f-435e-a3a2-2829d3918dfb\",\n \"created_at\": \"2022-09-07T09:19:31.592368Z\",\n \"updated_at\": \"2022-09-07T09:21:24.346670Z\"\n}"}]}]]}] bf5:["$","div","400-application/json-invalid_role_id_uuid",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3053,\n  \"message\": \"Business role 0098ac28-b92f-435e-a3a2-2829d3918dfb not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3053,\n \"message\": \"Business role 0098ac28-b92f-435e-a3a2-2829d3918dfb not found\"\n}"}]}]]}] bf6:["$","div","400-application/json-invalid_role_id_default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3402,\n  \"message\": \"Invalid role: nonexistent_role_id\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3402,\n \"message\": \"Invalid role: nonexistent_role_id\"\n}"}]}]]}] bf7:["$","div","400-application/json-invalid_email",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Invalid email address: (masked) ****.*******.*******.***\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Invalid email address: (masked) ****.*******.*******.***\"\n}"}]}]]}] bf8:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] bf9:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] bfa:["$","div","422-application/json-user_already_invited",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33005,\n  \"message\": \"Team member with given email has already been invited.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33005,\n \"message\": \"Team member with given email has already been invited.\"\n}"}]}]]}] bfb:["$","div","422-application/json-user_is_member_of_another_business",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33008,\n  \"message\": \"Team member with given email cannot be invited.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33008,\n \"message\": \"Team member with given email cannot be invited.\"\n}"}]}]]}] bfc:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] fd7:T3184,
[
  {
    "id": "d6d04ec2-2a48-4825-8fba-3603cdacdba7",
    "created_at": "2023-01-26T16:22:21.297570Z",
    "updated_at": "2023-01-26T16:22:21.534872Z",
    "webhook_id": "c8083529-fb91-4de0-a66d-9fc3ccc1da10",
    "webhook_url": "https://www.example.com",
    "payload": {
      "data": {
        "id": "63d2a8bd-8b67-a2de-b1d2-b58ee21d7073",
        "legs": [
          {
            "fee": 0.2,
            "amount": -10,
            "leg_id": "63d2a8bd-8b67-a2de-0000-b58ee21d7073",
            "currency": "GBP",
            "account_id": "05018b0d-e67c-4fec-bea6-415e9da9432c",
            "description": "To Acme Corp",
            "counterparty": {
              "id": "7e18625a-3e6c-4d4f-8429-216c25309a5f",
              "account_id": "ff29e658-f07f-4d81-bc0f-7ad0ff141357",
              "account_type": "external"
            }
          }
        ],
        "type": "transfer",
        "state": "pending",
        "reference": "To John Doe",
        "created_at": "2023-01-26T16:22:21.232551Z",
        "request_id": "6a8b2ad9-d8b9-4348-9207-1c5737ccf11b",
        "updated_at": "2023-01-26T16:22:21.232551Z"
      },
      "event": "TransactionCreated",
      "timestamp": "2023-01-26T16:22:21.230599Z"
    },
    "last_sent_date": "2023-01-26T16:52:21.534798Z"
  },
  {
    "id": "d6d04ec2-2a48-4825-8fba-3603cdacdba7",
    "created_at": "2023-07-22T11:52:21.297570Z",
    "updated_at": "2023-07-22T11:52:21.534872Z",
    "webhook_id": "c8083529-fb91-4de0-a66d-9fc3ccc1da10",
    "webhook_url": "https://www.example.com",
    "payload": {
      "data": {
        "id": "0e1a8d4b-1d1e-457d-9f10-3e7007a82ea8",
        "request_id": "2e2837f5-828d-473f-85e8-5614afd3f8e8",
        "old_state": "active",
        "new_state": "processed"
      },
      "event": "PayoutLinkStateChanged",
      "timestamp": "2023-07-22T12:31:18.534798Z"
    },
    "last_sent_date": "2023-07-22T12:52:21.534798Z"
  }
]
bff:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fd7"}}]}]],"$Lfd8"]}] c00:["$","div","400-application/json-bad_limit",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"limit must be between 1 and 1000\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"limit must be between 1 and 1000\",\n \"code\": 2101\n}"}]}]]}] c01:["$","div","400-application/json-bad_created_before",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"created_before must be after 2023-07-11T13:11:39.623178Z, but is: 2023-07-10T16:22:21.297570Z\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"created_before must be after 2023-07-11T13:11:39.623178Z, but is: 2023-07-10T16:22:21.297570Z\",\n \"code\": 2101\n}"}]}]]}] c02:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Webhook not found\",\n  \"code\": 3040\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Webhook not found\",\n \"code\": 3040\n}"}]}]]}] c03:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] e99:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$Lfd9","\n","$Lfda","\n"]}]]}] e70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of payout methods that the recipient can use to claim the payout, where:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"revolut"}],": Revolut peer-to-peer (P2P) transfer"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"bank_account"}],": External bank transfer"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"card"}],": Card transfer\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 payout method is available in the UK and the EEA."}],"\n",["$","li","li-1",{"children":"This payout method is not available in Sandbox."}],"\n"]}]}]]}],"\n"]}],"\n"]}]]}] e71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the sender's account."}]]}] e72:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money to be transferred."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The amount must be between £1 and £2,500, or equivalent in the selected currency."}]}]]}]]}] e73:["$","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."]}]]}] e74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the payout link. Returned only for active payout links."}]]}] e75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payout transaction, provided by the sender."}]]}] e76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] e77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty created based on the recipient's details."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"By default, the newly created counterparty is hidden from your counterparties list."}],["$","p","p-1",{"children":["To automatically save it when the link is claimed, pass the ",["$","code","code-0",{"children":"save_counterparty"}]," parameter set to ",["$","code","code-1",{"children":"true"}],"."]}],["$","p","p-2",{"children":"Alternatively, you can add the recipient to your counterparties later from the list of transactions in the Business app."}]]}]]}]]}] e78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created transaction. Returned only if the payout has been claimed."}]]}] e79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason for which the payout link was cancelled."}]]}] e7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about a specific link"}]]}] e7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}]]}] e7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}]]}] e81:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] e82:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] e83:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] ea3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the information about a specific link by its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is available in the UK, the EEA, AU, and SG."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links","target":"_blank","rel":"noreferrer","children":"Send money via payout link"}],"."]}]]}] ea4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the link to retrieve."}]]}] fdb:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)fd0:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$fdb","descriptionNode":"$Lfdc"}}}] fd1:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] fd2:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$70:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$Lfdd"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"forbidden","label":"Action forbidden","rawValue":"$70:props:children:0:props:children:props:responses:403:content:application/json:examples:forbidden:value","block":"$Lfde"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$Lfdf"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] fe0:T77a,[ { "id": "d6d04ec2-2a48-4825-8fba-3603cdacdba7", "created_at": "2023-01-26T16:22:21.297570Z", "updated_at": "2023-01-26T16:22:21.534872Z", "webhook_id": "c8083529-fb91-4de0-a66d-9fc3ccc1da10", "webhook_url": "https://www.example.com", "payload": { "data": { "id": "63d2a8bd-8b67-a2de-b1d2-b58ee21d7073", "legs": [ { "fee": 0.2, "amount": -10, "leg_id": "63d2a8bd-8b67-a2de-0000-b58ee21d7073", "currency": "GBP", "account_id": "05018b0d-e67c-4fec-bea6-415e9da9432c", "description": "To Acme Corp", "counterparty": { "id": "7e18625a-3e6c-4d4f-8429-216c25309a5f", "account_id": "ff29e658-f07f-4d81-bc0f-7ad0ff141357", "account_type": "external" } } ], "type": "transfer", "state": "pending", "reference": "To John Doe", "created_at": "2023-01-26T16:22:21.232551Z", "request_id": "6a8b2ad9-d8b9-4348-9207-1c5737ccf11b", "updated_at": "2023-01-26T16:22:21.232551Z" }, "event": "TransactionCreated", "timestamp": "2023-01-26T16:22:21.230599Z" }, "last_sent_date": "2023-01-26T16:52:21.534798Z" }, { "id": "d6d04ec2-2a48-4825-8fba-3603cdacdba7", "created_at": "2023-07-22T11:52:21.297570Z", "updated_at": "2023-07-22T11:52:21.534872Z", "webhook_id": "c8083529-fb91-4de0-a66d-9fc3ccc1da10", "webhook_url": "https://www.example.com", "payload": { "data": { "id": "0e1a8d4b-1d1e-457d-9f10-3e7007a82ea8", "request_id": "2e2837f5-828d-473f-85e8-5614afd3f8e8", "old_state": "active", "new_state": "processed" }, "event": "PayoutLinkStateChanged", "timestamp": "2023-07-22T12:31:18.534798Z" }, "last_sent_date": "2023-07-22T12:52:21.534798Z" } ]fd8:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$fe0"}]}] fd9:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] fda:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] fe1:T28db,
{
  "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA",
  "accounting_categories": [
    {
      "id": "8d831292-f950-4c5a-83f9-030df8cacd3f",
      "name": "Transportation",
      "code": "400",
      "created_at": "2026-03-11T17:03:25.570942Z",
      "updated_at": "2026-03-11T17:03:25.570942Z",
      "default_tax_rate_id": "d8f6bf6c-5b70-4c16-9549-5943e67ab009"
    },
    {
      "id": "8d749b93-4a2e-4f28-8b5b-9d64fe2e1d62",
      "name": "Office Supplies",
      "code": "410",
      "created_at": "2026-03-11T17:03:25.570940Z",
      "updated_at": "2026-03-11T17:03:25.570940Z",
      "default_tax_rate_id": "2a3520af-e6f7-416c-821e-0e83ffac1dfa"
    },
    {
      "id": "3726661e-0e93-4822-8bda-4d1a4c6e7dff",
      "name": "Software & Subscriptions",
      "code": "420",
      "created_at": "2026-03-11T17:03:25.570937Z",
      "updated_at": "2026-03-11T17:03:25.570937Z",
      "default_tax_rate_id": "6a83d8d8-f5a5-405d-aafd-729786569c2d"
    },
    {
      "id": "b37c42c8-1d42-4ee1-aa7e-348dd06ea69f",
      "name": "General Expenses",
      "code": "429",
      "created_at": "2026-03-11T17:03:25.570927Z",
      "updated_at": "2026-03-11T17:03:25.570927Z",
      "default_tax_rate_id": "5781063b-d140-4c72-bde9-b8b21e64e3e0"
    },
    {
      "id": "c729ea95-3ae7-4d21-91f7-1a69844175f2",
      "name": "Travel & Lodging",
      "code": "460",
      "created_at": "2026-03-11T17:03:25.570924Z",
      "updated_at": "2026-03-11T17:03:25.570924Z",
      "default_tax_rate_id": "f2519604-b04a-4a82-9b01-68235c4ad000"
    }
  ]
}
c9a:["$","div","200-application/json-results_with_next_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe1"}}]}]],"$Lfe2"]}] fe3:T350f,
{
  "accounting_categories": [
    {
      "id": "8d831292-f950-4c5a-83f9-030df8cacd3f",
      "name": "Transportation",
      "code": "400",
      "created_at": "2026-03-11T17:03:25.570942Z",
      "updated_at": "2026-03-11T17:03:25.570942Z",
      "default_tax_rate_id": "d8f6bf6c-5b70-4c16-9549-5943e67ab009"
    },
    {
      "id": "8d749b93-4a2e-4f28-8b5b-9d64fe2e1d62",
      "name": "Office Supplies",
      "code": "410",
      "created_at": "2026-03-11T17:03:25.570940Z",
      "updated_at": "2026-03-11T17:03:25.570940Z",
      "default_tax_rate_id": "2a3520af-e6f7-416c-821e-0e83ffac1dfa"
    },
    {
      "id": "3726661e-0e93-4822-8bda-4d1a4c6e7dff",
      "name": "Software & Subscriptions",
      "code": "420",
      "created_at": "2026-03-11T17:03:25.570937Z",
      "updated_at": "2026-03-11T17:03:25.570937Z",
      "default_tax_rate_id": "6a83d8d8-f5a5-405d-aafd-729786569c2d"
    },
    {
      "id": "b37c42c8-1d42-4ee1-aa7e-348dd06ea69f",
      "name": "General Expenses",
      "code": "429",
      "created_at": "2026-03-11T17:03:25.570927Z",
      "updated_at": "2026-03-11T17:03:25.570927Z",
      "default_tax_rate_id": "5781063b-d140-4c72-bde9-b8b21e64e3e0"
    },
    {
      "id": "c729ea95-3ae7-4d21-91f7-1a69844175f2",
      "name": "Travel & Lodging",
      "code": "460",
      "created_at": "2026-03-11T17:03:25.570924Z",
      "updated_at": "2026-03-11T17:03:25.570924Z",
      "default_tax_rate_id": "f2519604-b04a-4a82-9b01-68235c4ad000"
    },
    {
      "id": "846b4cad-462d-4b4e-b96c-fc4e14de564d",
      "name": "Utilities",
      "code": "499",
      "created_at": "2026-03-11T17:03:25.570919Z",
      "updated_at": "2026-03-11T17:03:25.570919Z",
      "default_tax_rate_id": "fa95a4ae-a7d2-4ea6-bf42-2af1aead8ca4"
    },
    {
      "id": "2f76152a-2b14-4390-aa32-bbab02a1e98c",
      "name": "Meals & Entertainment",
      "code": "500",
      "created_at": "2026-03-11T17:03:25.570919Z",
      "updated_at": "2026-03-11T17:03:25.570919Zs"
    }
  ]
}
c9b:["$","div","200-application/json-results_single_page",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe3"}}]}]],"$Lfe4"]}] fe5:T48f,
{
  "error_id": "29146977-8042-0ebf-b362-af224b14c830",
  "code": 2101,
  "message": "Query parameter 'limit' must be an integer"
}
c9c:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"29146977-8042-0ebf-b362-af224b14c830\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be an integer\"\n}"}]}]]}] fe6:T48f,
{
  "error_id": "b5a51cd1-4f78-4074-adae-675e2921d71c",
  "code": 2101,
  "message": "Query parameter 'limit' must be at least 1"
}
c9d:["$","div","400-application/json-param_value_too_low",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"b5a51cd1-4f78-4074-adae-675e2921d71c\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at least 1\"\n}"}]}]]}] fe7:T490,
{
  "error_id": "fa12f45e-4633-446f-8d40-42dadc380511",
  "code": 2101,
  "message": "Query parameter 'limit' must be at most 500"
}
c9e:["$","div","400-application/json-param_value_too_high",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-4633-446f-8d40-42dadc380511\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must be at most 500\"\n}"}]}]]}] fe8:T495,
{
  "error_id": "c4da2d3c-1cd8-4bbc-ac43-233575e471b7",
  "code": 2101,
  "message": "Query parameter 'limit' must have a single value"
}
c9f:["$","div","400-application/json-multiple_values_not_allowed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4da2d3c-1cd8-4bbc-ac43-233575e471b7\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must have a single value\"\n}"}]}]]}] fe9:T4be,
{
  "error_id": "fa12f45e-0ebf-4f7c-88e0-3673c665f135",
  "code": 2101,
  "message": "Query parameter 'limit' must not be empty, Query parameter 'page_token' must not be empty"
}
ca0:["$","div","400-application/json-param_cannot_be_empty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fe9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"fa12f45e-0ebf-4f7c-88e0-3673c665f135\",\n \"code\": 2101,\n \"message\": \"Query parameter 'limit' must not be empty, Query parameter 'page_token' must not be empty\"\n}"}]}]]}] fea:T4cb,
{
  "error_id": "69772914-8042-0ebf-b362-14c830af224b",
  "code": 2101,
  "message": "Query parameter 'page_token' is invalid. Use a value from a previous response's next_page_token field."
}
ca1:["$","div","400-application/json-bad_page_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fea"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"69772914-8042-0ebf-b362-14c830af224b\",\n \"code\": 2101,\n \"message\": \"Query parameter 'page_token' is invalid. Use a value from a previous response's next_page_token field.\"\n}"}]}]]}] feb:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
ca2:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$feb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] fec:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
ca3:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fec"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] fed:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
ca4:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fed"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] fee:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
ca5:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fee"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] fef:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
ca6:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fef"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] ff0:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
ca7:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] ff1:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
ca8:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] ff2:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
ca9:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] ff3:T482,
{
  "name": "Custom with tax rate",
  "code": "998",
  "default_tax_rate_id": "e6b84ddb-a127-466b-9a0a-501bda07773f"
}
cac:["$","div","request-application/json-update_all_props",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Custom with tax rate\",\n \"code\": \"998\",\n \"default_tax_rate_id\": \"e6b84ddb-a127-466b-9a0a-501bda07773f\"\n}"}]}]]}] cad:["$","div","request-application/json-update_category_name",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"name\": \"Marketing\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"name\": \"Marketing\"\n}"}]}]]}] cae:["$","div","request-application/json-update_category_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": \"998\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": \"998\"\n}"}]}]]}] caf:["$","div","request-application/json-update_default_tax_rate",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"default_tax_rate_id\": \"6a6399c3-4a3b-4b21-b710-57aa03aae58f\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"default_tax_rate_id\": \"6a6399c3-4a3b-4b21-b710-57aa03aae58f\"\n}"}]}]]}] ff4:T483,
{
  "error_id": "f1059c4b-4278-45d3-a17f-bd433ab33c15",
  "code": 2101,
  "message": "Request body must not be empty"
}
cb0:["$","div","400-application/json-param_required",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f1059c4b-4278-45d3-a17f-bd433ab33c15\",\n \"code\": 2101,\n \"message\": \"Request body must not be empty\"\n}"}]}]]}] ff5:T47c,
{
  "error_id": "a79a73ea-7dk4-41f8-a106-1656ab5f1234",
  "code": 2101,
  "message": "'name' must be a string"
}
cb1:["$","div","400-application/json-bad_param_type",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"a79a73ea-7dk4-41f8-a106-1656ab5f1234\",\n \"code\": 2101,\n \"message\": \"'name' must be a string\"\n}"}]}]]}] ff6:T48d,
{
  "error_id": "f70973ea-c939-41f8-a106-1656ab5fae2f",
  "code": 2101,
  "message": "Path parameter 'id' must be a valid UUID"
}
cb2:["$","div","400-application/json-bad_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f70973ea-c939-41f8-a106-1656ab5fae2f\",\n \"code\": 2101,\n \"message\": \"Path parameter 'id' must be a valid UUID\"\n}"}]}]]}] ff7:T483,
{
  "error_id": "36f3cec5-b4b9-431f-9c28-afd3899bc64f",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
cb3:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"36f3cec5-b4b9-431f-9c28-afd3899bc64f\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] ff8:T488,
{
  "error_id": "32fd0697-2f3f-4308-b25d-c9230f99c589",
  "code": 2101,
  "message": "'name' must be at least 1 character"
}
cb4:["$","div","400-application/json-param_value_too_short",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"32fd0697-2f3f-4308-b25d-c9230f99c589\",\n \"code\": 2101,\n \"message\": \"'name' must be at least 1 character\"\n}"}]}]]}] ff9:T489,
{
  "error_id": "d8d919b5-d667-4058-9bb3-17b6f7bcd6c8",
  "code": 2101,
  "message": "'name' must be at most 60 characters"
}
cb5:["$","div","400-application/json-param_value_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ff9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"d8d919b5-d667-4058-9bb3-17b6f7bcd6c8\",\n \"code\": 2101,\n \"message\": \"'name' must be at most 60 characters\"\n}"}]}]]}] ffa:T489,
{
  "error_id": "b4d919b5-d667-4058-9bb3-17b6f7bcdd03",
  "code": 2101,
  "message": "'code' must be at most 50 characters"
}
cb6:["$","div","400-application/json-param_value_too_long2",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ffa"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"b4d919b5-d667-4058-9bb3-17b6f7bcdd03\",\n \"code\": 2101,\n \"message\": \"'code' must be at most 50 characters\"\n}"}]}]]}] ffb:T509,
{
  "error_id": "9d66499d-3fc5-45e9-92f6-3ddcad4793c6",
  "code": 1000,
  "message": "Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs."
}
cb7:["$","div","401-application/json-access_token_invalid_or_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ffb"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9d66499d-3fc5-45e9-92f6-3ddcad4793c6\",\n \"code\": 1000,\n \"message\": \"Access token is invalid or has expired. Please refresh your access token or generate a new one following the 'Get a new access token' guide in the Revolut API docs.\"\n}"}]}]]}] ffc:T4ba,
{
  "error_id": "7835beae-98ed-42dc-b993-95f4ded951a1",
  "code": 1000,
  "message": "Invalid token. The authorization header must follow the 'Bearer <token>' format."
}
cb8:["$","div","401-application/json-invalid_token",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ffc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7835beae-98ed-42dc-b993-95f4ded951a1\",\n \"code\": 1000,\n \"message\": \"Invalid token. The authorization header must follow the 'Bearer ' format.\"\n}"}]}]]}] ffd:T47d,
{
  "error_id": "c5deadcc-1934-4438-818a-3c7ca1e6c01c",
  "code": 9002,
  "message": "This action is forbidden"
}
cb9:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ffd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5deadcc-1934-4438-818a-3c7ca1e6c01c\",\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] ffe:T4af,
{
  "error_id": "be6c9d90-df25-458a-b559-be61896c94b8",
  "code": 3006,
  "message": "Accounting category with id b656d8a4-a5cb-4f03-9a95-f281da25aa2b not found"
}
cba:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$ffe"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"be6c9d90-df25-458a-b559-be61896c94b8\",\n \"code\": 3006,\n \"message\": \"Accounting category with id b656d8a4-a5cb-4f03-9a95-f281da25aa2b not found\"\n}"}]}]]}] fff:T4a4,
{
  "error_id": "8c08b656-ab6e-4768-4e57-f281da25aa2b",
  "code": 3503,
  "message": "Category with name My Unique Accounting Category already exists"
}
cbb:["$","div","409-application/json-category_with_name_exists",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$fff"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"8c08b656-ab6e-4768-4e57-f281da25aa2b\",\n \"code\": 3503,\n \"message\": \"Category with name My Unique Accounting Category already exists\"\n}"}]}]]}] 1000:T48b,
{
  "error_id": "d8a48c08-4e57-4768-ab6e-4d53aa1731b0",
  "code": 3504,
  "message": "Category with code MUAC already exists"
}
cbc:["$","div","409-application/json-category_with_code_exists",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1000"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"d8a48c08-4e57-4768-ab6e-4d53aa1731b0\",\n \"code\": 3504,\n \"message\": \"Category with code MUAC already exists\"\n}"}]}]]}] 1001:T4d0,
{
  "error_id": "9c4be950c-cfd6-4e04-bd79-bd433ab33c15",
  "code": 3514,
  "message": "Accounting categories are managed by your connected accounting integration and cannot be modified manually"
}
cbd:["$","div","422-application/json-cannot_update_externally_managed_resource",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1001"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"9c4be950c-cfd6-4e04-bd79-bd433ab33c15\",\n \"code\": 3514,\n \"message\": \"Accounting categories are managed by your connected accounting integration and cannot be modified manually\"\n}"}]}]]}] 1002:T473,
{
  "error_id": "41ef105-4278-cfd6-a17f-2d57a3951774",
  "code": 3100,
  "message": "Invalid request"
}
cbe:["$","div","422-application/json-state_mismatch",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1002"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"41ef105-4278-cfd6-a17f-2d57a3951774\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] 1003:T473,
{
  "error_id": "41ef105-4278-cfd6-a17f-2d57a3951774",
  "code": 3100,
  "message": "Invalid request"
}
cbf:["$","div","422-application/json-null_name",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1003"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"41ef105-4278-cfd6-a17f-2d57a3951774\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] 1004:T473,
{
  "error_id": "41ef105-4278-cfd6-a17f-2d57a3951774",
  "code": 3100,
  "message": "Invalid request"
}
cc0:["$","div","422-application/json-null_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1004"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"41ef105-4278-cfd6-a17f-2d57a3951774\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] 1005:T473,
{
  "error_id": "41ef105-4278-cfd6-a17f-2d57a3951774",
  "code": 3100,
  "message": "Invalid request"
}
cc1:["$","div","422-application/json-null_name_and_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1005"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"41ef105-4278-cfd6-a17f-2d57a3951774\",\n \"code\": 3100,\n \"message\": \"Invalid request\"\n}"}]}]]}] 1006:T49a,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again later."
}
cc2:["$","div","429-application/json-rateLimitExceededNoRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1006"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again later.\"\n}"}]}]]}] 1007:T4a5,
{
  "error_id": "06153eec-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 3162,
  "message": "Request rate limit has been reached. Try again after 30 seconds."
}
cc3:["$","div","429-application/json-rateLimitExceededWithRetryAfter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1007"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"06153eec-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 3162,\n \"message\": \"Request rate limit has been reached. Try again after 30 seconds.\"\n}"}]}]]}] 1008:T4ce,
{
  "error_id": "7f96652e-7518-4229-872b-4e4c867fb4da",
  "code": 5000,
  "message": "An unexpected error occurred while processing your request. If the issue persists, please contact support"
}
cc4:["$","div","500-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1008"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7f96652e-7518-4229-872b-4e4c867fb4da\",\n \"code\": 5000,\n \"message\": \"An unexpected error occurred while processing your request. If the issue persists, please contact support\"\n}"}]}]]}] 1009:T4d6,
{
  "error_id": "201768bc-c5cd-4db8-8898-7ae96b9d89ab",
  "code": 5003,
  "message": "The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support"
}
cc5:["$","div","503-application/json-service_unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1009"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"201768bc-c5cd-4db8-8898-7ae96b9d89ab\",\n \"code\": 5003,\n \"message\": \"The service is temporarily unavailable. Try again in a few moments. If the issue persists, please contact support\"\n}"}]}]]}] 100a:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
cc6:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$100a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 100b:T68c,
[
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]
cc9:["$","div","request-application/json-list_of_references",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$100b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]"}]}]]}] 100c:T68c,
[
  {
    "name": "Budget",
    "value": "Engagement"
  },
  {
    "name": "Department",
    "value": "Business"
  }
]
cca:["$","div","200-application/json-list_of_references",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$100c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"name\": \"Budget\",\n \"value\": \"Engagement\"\n },\n {\n \"name\": \"Department\",\n \"value\": \"Business\"\n }\n]"}]}]]}] ccb:["$","div","400-application/json-duplicate_names",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Reference names must be unique\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Reference names must be unique\"\n}"}]}]]}] ccc:["$","div","400-application/json-too_long_names",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"name cannot be longer than 30\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"name cannot be longer than 30\"\n}"}]}]]}] ccd:["$","div","400-application/json-too_long_values",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"value cannot be longer than 30\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"value cannot be longer than 30\"\n}"}]}]]}] cce:["$","div","400-application/json-wrong_size",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"references size must be not greater than 5\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"references size must be not greater than 5\"\n}"}]}]]}] ccf:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Cannot parse request: invalid JSON\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Cannot parse request: invalid JSON\"\n}"}]}]]}] cd0:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] cd1:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] cd2:["$","div","422-application/json-update_limit_exceeded",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3549,\n  \"message\": \"Card references update limit exceeded\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3549,\n \"message\": \"Card references update limit exceeded\"\n}"}]}]]}] cd3:["$","div","422-application/json-unsupported_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33012,\n  \"message\": \"Card references are not supported for the card=a5c697d1-84ae-40b2-879a-a17aab3362bb\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33012,\n \"message\": \"Card references are not supported for the card=a5c697d1-84ae-40b2-879a-a17aab3362bb\"\n}"}]}]]}] cd4:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] eb3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L100d","\n","$L100e","\n"]}]]}] f55:"Retrieve account's full bank details" 100f:T63d,{ "next_page_token": "MjAyNi0wMS0wMVQwOToxMzoxNS40MDZaN2RhNTFjZGY0LTZiYjctNDRkNi04OWU1LTc2OWEzZGYxZDc5ZA", "accounting_categories": [ { "id": "8d831292-f950-4c5a-83f9-030df8cacd3f", "name": "Transportation", "code": "400", "created_at": "2026-03-11T17:03:25.570942Z", "updated_at": "2026-03-11T17:03:25.570942Z", "default_tax_rate_id": "d8f6bf6c-5b70-4c16-9549-5943e67ab009" }, { "id": "8d749b93-4a2e-4f28-8b5b-9d64fe2e1d62", "name": "Office Supplies", "code": "410", "created_at": "2026-03-11T17:03:25.570940Z", "updated_at": "2026-03-11T17:03:25.570940Z", "default_tax_rate_id": "2a3520af-e6f7-416c-821e-0e83ffac1dfa" }, { "id": "3726661e-0e93-4822-8bda-4d1a4c6e7dff", "name": "Software & Subscriptions", "code": "420", "created_at": "2026-03-11T17:03:25.570937Z", "updated_at": "2026-03-11T17:03:25.570937Z", "default_tax_rate_id": "6a83d8d8-f5a5-405d-aafd-729786569c2d" }, { "id": "b37c42c8-1d42-4ee1-aa7e-348dd06ea69f", "name": "General Expenses", "code": "429", "created_at": "2026-03-11T17:03:25.570927Z", "updated_at": "2026-03-11T17:03:25.570927Z", "default_tax_rate_id": "5781063b-d140-4c72-bde9-b8b21e64e3e0" }, { "id": "c729ea95-3ae7-4d21-91f7-1a69844175f2", "name": "Travel & Lodging", "code": "460", "created_at": "2026-03-11T17:03:25.570924Z", "updated_at": "2026-03-11T17:03:25.570924Z", "default_tax_rate_id": "f2519604-b04a-4a82-9b01-68235c4ad000" } ] }fe2:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$100f"}]}] 1010:T7d0,{ "accounting_categories": [ { "id": "8d831292-f950-4c5a-83f9-030df8cacd3f", "name": "Transportation", "code": "400", "created_at": "2026-03-11T17:03:25.570942Z", "updated_at": "2026-03-11T17:03:25.570942Z", "default_tax_rate_id": "d8f6bf6c-5b70-4c16-9549-5943e67ab009" }, { "id": "8d749b93-4a2e-4f28-8b5b-9d64fe2e1d62", "name": "Office Supplies", "code": "410", "created_at": "2026-03-11T17:03:25.570940Z", "updated_at": "2026-03-11T17:03:25.570940Z", "default_tax_rate_id": "2a3520af-e6f7-416c-821e-0e83ffac1dfa" }, { "id": "3726661e-0e93-4822-8bda-4d1a4c6e7dff", "name": "Software & Subscriptions", "code": "420", "created_at": "2026-03-11T17:03:25.570937Z", "updated_at": "2026-03-11T17:03:25.570937Z", "default_tax_rate_id": "6a83d8d8-f5a5-405d-aafd-729786569c2d" }, { "id": "b37c42c8-1d42-4ee1-aa7e-348dd06ea69f", "name": "General Expenses", "code": "429", "created_at": "2026-03-11T17:03:25.570927Z", "updated_at": "2026-03-11T17:03:25.570927Z", "default_tax_rate_id": "5781063b-d140-4c72-bde9-b8b21e64e3e0" }, { "id": "c729ea95-3ae7-4d21-91f7-1a69844175f2", "name": "Travel & Lodging", "code": "460", "created_at": "2026-03-11T17:03:25.570924Z", "updated_at": "2026-03-11T17:03:25.570924Z", "default_tax_rate_id": "f2519604-b04a-4a82-9b01-68235c4ad000" }, { "id": "846b4cad-462d-4b4e-b96c-fc4e14de564d", "name": "Utilities", "code": "499", "created_at": "2026-03-11T17:03:25.570919Z", "updated_at": "2026-03-11T17:03:25.570919Z", "default_tax_rate_id": "fa95a4ae-a7d2-4ea6-bf42-2af1aead8ca4" }, { "id": "2f76152a-2b14-4390-aa32-bbab02a1e98c", "name": "Meals & Entertainment", "code": "500", "created_at": "2026-03-11T17:03:25.570919Z", "updated_at": "2026-03-11T17:03:25.570919Zs" } ] }fe4:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$1010"}]}] 100d:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 100e:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1011:T473,
{
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ]
}
ce7:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1011"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ]\n}"}]}]]}] 1012:T69b,
{
  "id": "c6db947e-e9ce-41c2-b445-02e6eb741d21",
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ],
  "signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"
}
ce8:["$","div","201-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1012"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"c6db947e-e9ce-41c2-b445-02e6eb741d21\",\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ],\n \"signing_secret\": \"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK\"\n}"}]}]]}] ce9:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Required 'url' is missing\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Required 'url' is missing\",\n \"code\": 3000\n}"}]}]]}] cea:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Owner [ownerId=a3e64c3f-eedd-4487-9ab3-246e23c9ec3e,ownerType=BUSINESS] already has 10 webhooks. Only 10 are allowed.\",\n  \"code\": 3352\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Owner [ownerId=a3e64c3f-eedd-4487-9ab3-246e23c9ec3e,ownerType=BUSINESS] already has 10 webhooks. Only 10 are allowed.\",\n \"code\": 3352\n}"}]}]]}] ceb:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 1013:T120f,
[
  {
    "email": "john.doe@example.com",
    "id": "76969b71-a123-42dc-b874-a34688d7bba4",
    "role_id": "owner",
    "state": "active",
    "first_name": "John",
    "last_name": "Doe",
    "created_at": "2022-09-07T09:19:31.592368Z",
    "updated_at": "2022-09-07T09:21:24.346670Z"
  },
  {
    "email": "john.smith@example.com",
    "id": "168922e1-594f-4ca0-93b2-56b742f3936b",
    "role_id": "024abb3d-06da-4701-9254-dfcc3da38385",
    "state": "active",
    "created_at": "2022-09-07T09:19:32.592368Z",
    "updated_at": "2022-09-07T09:21:25.346670Z"
  }
]
d9b:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1013"}}]}]],"$L1014"]}] d9c:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Parameter limit must be a valid integer in range: [1, 1000].\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Parameter limit must be a valid integer in range: [1, 1000].\"\n}"}]}]]}] d9d:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] d9e:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 9002,\n  \"message\": \"This action is forbidden\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 9002,\n \"message\": \"This action is forbidden\"\n}"}]}]]}] d9f:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] da2:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"expiration_period\": \"P0D\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"expiration_period\": \"P0D\"\n}"}]}]]}] 1015:T69b,
{
  "id": "c6db947e-e9ce-41c2-b445-02e6eb741d21",
  "url": "https://www.example.com",
  "events": [
    "TransactionCreated",
    "PayoutLinkCreated"
  ],
  "signing_secret": "wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK"
}
da3:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1015"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"c6db947e-e9ce-41c2-b445-02e6eb741d21\",\n \"url\": \"https://www.example.com\",\n \"events\": [\n \"TransactionCreated\",\n \"PayoutLinkCreated\"\n ],\n \"signing_secret\": \"wsk_4jETWMz1g1b37gCONjNp84t2KSSIT7dK\"\n}"}]}]]}] da4:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Something went wrong\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Something went wrong\",\n \"code\": 2101\n}"}]}]]}] da5:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Webhook not found\",\n  \"code\": 3040\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Webhook not found\",\n \"code\": 3040\n}"}]}]]}] da6:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Webhook bf6c61eb-a4b0-4e0d-afb1-d6d2f3d27a9e can't have more than 3 active signing keys\",\n  \"code\": 3355\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Webhook bf6c61eb-a4b0-4e0d-afb1-d6d2f3d27a9e can't have more than 3 active signing keys\",\n \"code\": 3355\n}"}]}]]}] da7:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] f38:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN number."}]]}] f39:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC number, also known as SWIFT code."}]]}] f3a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account number."}]]}] f3b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The sort code of the account."}]]}] f3c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The routing number of the account."}]]}] f3d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] f3e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] f3f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] f40:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the region (state or province), for example, Ontario for Canada."}]]}] f41:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the city."}]]}] f42:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the counterparty, as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] f43:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode of the counterparty address."}]]}] f44:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the counterparty."}]]}] f45:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] f46:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates whether the account address is pooled or unique."}]]}] f47:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference of the pooled account."}]]}] f48:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the payment scheme used to execute transactions."}]]}] f49:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The schemes that are available for this currency account."}]]}] f4a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The estimated time unit of the inbound transfer of the funds."}]]}] f4b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The minimum time estimate."}]]}] f4c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum time estimate."}]]}] f4d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The estimated time of the inbound transfer of the funds, i.e. when we expect the recipient to receive the transfer."}]]}] f4e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the payment scheme used to execute transactions."}]]}] f4f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The bank details of a specific account"}]]}] f50:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] fc0:"Retrieve a list of payout links" 1014:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"email\": \"john.doe@example.com\",\n \"id\": \"76969b71-a123-42dc-b874-a34688d7bba4\",\n \"role_id\": \"owner\",\n \"state\": \"active\",\n \"first_name\": \"John\",\n \"last_name\": \"Doe\",\n \"created_at\": \"2022-09-07T09:19:31.592368Z\",\n \"updated_at\": \"2022-09-07T09:21:24.346670Z\"\n },\n {\n \"email\": \"john.smith@example.com\",\n \"id\": \"168922e1-594f-4ca0-93b2-56b742f3936b\",\n \"role_id\": \"024abb3d-06da-4701-9254-dfcc3da38385\",\n \"state\": \"active\",\n \"created_at\": \"2022-09-07T09:19:32.592368Z\",\n \"updated_at\": \"2022-09-07T09:21:25.346670Z\"\n }\n]"}]}] 1016:Ta4f,
{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD",
    "amount": 135.5
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR"
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}
de1:["$","div","request-application/json-sell",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1016"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\",\n \"amount\": 135.5\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\"\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}"}]}]]}] 1017:Ta4d,
{
  "from": {
    "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
    "currency": "USD"
  },
  "to": {
    "account_id": "b7ec67d3-5af1-42c8-bece-3d285774894d",
    "currency": "EUR",
    "amount": 200
  },
  "reference": "exchange",
  "request_id": "A1pH4num3ric2"
}
de2:["$","div","request-application/json-buy",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1017"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"from\": {\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"currency\": \"USD\"\n },\n \"to\": {\n \"account_id\": \"b7ec67d3-5af1-42c8-bece-3d285774894d\",\n \"currency\": \"EUR\",\n \"amount\": 200\n },\n \"reference\": \"exchange\",\n \"request_id\": \"A1pH4num3ric2\"\n}"}]}]]}] 1018:T5b0,
{
  "id": "630f9c2e-2e74-a06d-ab61-deb7ggkkd6cb",
  "state": "completed",
  "created_at": "2022-08-31T17:36:46.656876Z",
  "completed_at": "2022-08-31T17:36:46.657239Z"
}
de3:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1018"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"630f9c2e-2e74-a06d-ab61-deb7ggkkd6cb\",\n \"state\": \"completed\",\n \"created_at\": \"2022-08-31T17:36:46.656876Z\",\n \"completed_at\": \"2022-08-31T17:36:46.657239Z\"\n}"}]}]]}] de4:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3448,\n  \"message\": \"Exchange reason is required\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3448,\n \"message\": \"Exchange reason is required\"\n}"}]}]]}] de5:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 1019:Tb85,
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}
de8:["$","div","request-application/json-simple_draft",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1019"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}"}]}]]}] 101a:Tb6d,
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "21cb9b68-0017-45cf-93f2-1a8954bcb120",
      "receiver": {
        "counterparty_id": "d4d52566-280b-47df-b34f-0da6da484c43"
      },
      "amount": 100,
      "currency": "USD",
      "reference": "Transaction #456",
      "charge_bearer": "debtor"
    }
  ]
}
de9:["$","div","request-application/json-draft_with_charge_bearer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$101a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"21cb9b68-0017-45cf-93f2-1a8954bcb120\",\n \"receiver\": {\n \"counterparty_id\": \"d4d52566-280b-47df-b34f-0da6da484c43\"\n },\n \"amount\": 100,\n \"currency\": \"USD\",\n \"reference\": \"Transaction #456\",\n \"charge_bearer\": \"debtor\"\n }\n ]\n}"}]}]]}] 101b:T195d,
{
  "title": "Payment Draft Title",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    },
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "f3107ecc-d368-48f3-8120-92b7d612f949"
      },
      "amount": 120,
      "currency": "GBP",
      "reference": "Transaction #654"
    },
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "d4d52566-280b-47df-b34f-0da6da484c43"
      },
      "amount": 100,
      "currency": "EUR",
      "reference": "Invoice #789"
    }
  ]
}
dea:["$","div","request-application/json-bulk_payment_draft",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$101b"}}]}]],"$L101c"]}] 101d:Tc9f,
{
  "title": "Payment Draft Title",
  "schedule_for": "2026-06-24",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    }
  ]
}
deb:["$","div","request-application/json-scheduled_payment_draft",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$101d"}}]}]],"$L101e"]}] 101f:T1389,
{
  "title": "Payment Draft Title",
  "schedule_for": "2026-06-24",
  "payments": [
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "a15bcac4-dd42-45ed-a828-6806ccc8bb7e",
        "account_id": "2bf609f4-9825-4401-b6f7-960c61f8bee0"
      },
      "amount": 10,
      "currency": "GBP",
      "reference": "Payment #123"
    },
    {
      "account_id": "2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb",
      "receiver": {
        "counterparty_id": "d4d52566-280b-47df-b34f-0da6da484c43"
      },
      "amount": 100,
      "currency": "EUR",
      "reference": "Invoice #789"
    }
  ]
}
dec:["$","div","request-application/json-scheduled_bulk_payment_draft",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$101f"}}]}]],"$L1020"]}] ded:["$","div","201-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"id\": \"e7e54cb2-861a-aaaa-80e9-3e6600f3db10\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"e7e54cb2-861a-aaaa-80e9-3e6600f3db10\"\n}"}]}]]}] dee:["$","div","400-application/json-charge_bearer_bulk_payments",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Charge bearer is not supported for bulk payments.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Charge bearer is not supported for bulk payments.\"\n}"}]}]]}] def:["$","div","400-application/json-charge_bearer_not_eligible",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3287,\n  \"message\": \"Recipient not eligible for SWIFT SHA/OUR\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3287,\n \"message\": \"Recipient not eligible for SWIFT SHA/OUR\"\n}"}]}]]}] df0:["$","div","400-application/json-currency_should_match",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3452,\n  \"message\": \"Payment draft currency should match with recipient currency [USD] but is [EUR]\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3452,\n \"message\": \"Payment draft currency should match with recipient currency [USD] but is [EUR]\"\n}"}]}]]}] 1021:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
df1:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1021"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 1022:Tad9,
{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "49c6a48b-6b58-40a0-b974-0b8c4888c8a7",
    "account_id": "9116f03a-c074-4585-b261-18a706b3768b"
  },
  "amount": 10,
  "charge_bearer": "shared",
  "currency": "EUR",
  "reference": "To John Doe"
}
df4:["$","div","request-application/json-generic_transfer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1022"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"49c6a48b-6b58-40a0-b974-0b8c4888c8a7\",\n \"account_id\": \"9116f03a-c074-4585-b261-18a706b3768b\"\n },\n \"amount\": 10,\n \"charge_bearer\": \"shared\",\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}"}]}]]}] 1023:T88e,
{
  "request_id": "A1pH4num3ric",
  "account_id": "af98333c-ea53-482b-93c2-1fa5e4eae671",
  "receiver": {
    "counterparty_id": "1099791d-8980-401f-8417-b9d66eeb6d93"
  },
  "amount": 15,
  "currency": "EUR",
  "reference": "To John Doe"
}
df5:["$","div","request-application/json-transfer_to_card_p2c",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1023"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"af98333c-ea53-482b-93c2-1fa5e4eae671\",\n \"receiver\": {\n \"counterparty_id\": \"1099791d-8980-401f-8417-b9d66eeb6d93\"\n },\n \"amount\": 15,\n \"currency\": \"EUR\",\n \"reference\": \"To John Doe\"\n}"}]}]]}] 1024:Tbfe,
{
  "request_id": "A1pH4num3ric",
  "account_id": "f2efd687-1084-45a6-ace6-8abc1352f0d3",
  "receiver": {
    "counterparty_id": "03153735-d49c-4f8b-ac42-1fe40aeb4167",
    "account_id": "8b9eff51-2bd1-4ce2-9974-b87385092e3e"
  },
  "amount": 2500,
  "currency": "INR",
  "charge_bearer": "shared",
  "reference": "To John Doe",
  "transfer_reason_code": "advertising"
}
df6:["$","div","request-application/json-transfer_with_reason_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1024"}}]}]],"$L1025"]}] 1026:T483,
{
  "id": "630f9a62-e488-a9ce-a2d3-a30kkkke03f0",
  "state": "pending",
  "created_at": "2022-08-31T17:29:06.625613Z"
}
df7:["$","div","200-application/json-pending",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1026"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"630f9a62-e488-a9ce-a2d3-a30kkkke03f0\",\n \"state\": \"pending\",\n \"created_at\": \"2022-08-31T17:29:06.625613Z\"\n}"}]}]]}] 1027:T5b0,
{
  "id": "630f9a62-e488-a9ce-a2d3-a30kkkke03f0",
  "state": "completed",
  "created_at": "2022-08-31T17:29:06.625613Z",
  "completed_at": "2022-09-01T17:29:06.625613Z"
}
df8:["$","div","200-application/json-completed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1027"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"630f9a62-e488-a9ce-a2d3-a30kkkke03f0\",\n \"state\": \"completed\",\n \"created_at\": \"2022-08-31T17:29:06.625613Z\",\n \"completed_at\": \"2022-09-01T17:29:06.625613Z\"\n}"}]}]]}] df9:["$","div","400-application/json-duplicate_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3020,\n  \"message\": \"Duplicate request: 1f0f3850-9627-42de-8ad4-a2c497c37d0b\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3020,\n \"message\": \"Duplicate request: 1f0f3850-9627-42de-8ad4-a2c497c37d0b\"\n}"}]}]]}] dfa:["$","div","400-application/json-unsupported_charge_bearer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3287,\n  \"message\": \"Specified 'charge_bearer' is not supported for this transaction.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3287,\n \"message\": \"Specified 'charge_bearer' is not supported for this transaction.\"\n}"}]}]]}] dfb:["$","div","400-application/json-missing_exchange_reason_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3448,\n  \"message\": \"Exchange reason is required\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3448,\n \"message\": \"Exchange reason is required\"\n}"}]}]]}] dfc:["$","div","400-application/json-missing_transfer_reason_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 4100,\n  \"message\": \"Please provide a reason for the transaction.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 4100,\n \"message\": \"Please provide a reason for the transaction.\"\n}"}]}]]}] dfd:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] f51:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] f52:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] f56:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get all the bank details of one of your accounts.\nSpecify the account by its ID."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/manage-your-accounts","target":"_blank","rel":"noreferrer","children":"Get your account details"}],"."]}]]}] f57:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to retrieve all bank details."}]]}] 101c:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Payment Draft Title\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n },\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"f3107ecc-d368-48f3-8120-92b7d612f949\"\n },\n \"amount\": 120,\n \"currency\": \"GBP\",\n \"reference\": \"Transaction #654\"\n },\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"d4d52566-280b-47df-b34f-0da6da484c43\"\n },\n \"amount\": 100,\n \"currency\": \"EUR\",\n \"reference\": \"Invoice #789\"\n }\n ]\n}"}]}] 101e:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Payment Draft Title\",\n \"schedule_for\": \"2026-06-24\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n }\n ]\n}"}]}] 1020:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Payment Draft Title\",\n \"schedule_for\": \"2026-06-24\",\n \"payments\": [\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"a15bcac4-dd42-45ed-a828-6806ccc8bb7e\",\n \"account_id\": \"2bf609f4-9825-4401-b6f7-960c61f8bee0\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"reference\": \"Payment #123\"\n },\n {\n \"account_id\": \"2e6de1bf-97ad-478d-aad1-9d7a3cdf70cb\",\n \"receiver\": {\n \"counterparty_id\": \"d4d52566-280b-47df-b34f-0da6da484c43\"\n },\n \"amount\": 100,\n \"currency\": \"EUR\",\n \"reference\": \"Invoice #789\"\n }\n ]\n}"}]}] 1025:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"A1pH4num3ric\",\n \"account_id\": \"f2efd687-1084-45a6-ace6-8abc1352f0d3\",\n \"receiver\": {\n \"counterparty_id\": \"03153735-d49c-4f8b-ac42-1fe40aeb4167\",\n \"account_id\": \"8b9eff51-2bd1-4ce2-9974-b87385092e3e\"\n },\n \"amount\": 2500,\n \"currency\": \"INR\",\n \"charge_bearer\": \"shared\",\n \"reference\": \"To John Doe\",\n \"transfer_reason_code\": \"advertising\"\n}"}]}] f66:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payout link."}]]}] f67:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the payout link is in. Possible states are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The payout link has been created, but the amount has not yet been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation","target":"_blank","rel":"noreferrer","children":"blocked"}],"."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"failed"}],": The payout link couldn't be generated due to a failure during transaction booking."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"awaiting"}],": The payout link is awaiting approval."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"active"}],": The payout link can be redeemed."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"expired"}],": The payout link cannot be redeemed because it wasn't claimed before its expiry date."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"cancelled"}],": The payout link cannot be redeemed because it was cancelled."]}],"\n",["$","li","li-6",{"children":[["$","code","code-0",{"children":"processing"}],": The payout link has been redeemed and is being processed."]}],"\n",["$","li","li-7",{"children":[["$","code","code-0",{"children":"processed"}],": The payout link has been redeemed and the money has been transferred to the recipient."]}],"\n"]}]]}] f68:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the payout link was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}]]}] f69:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the payout link was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}]]}] f6a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty provided by the sender."}]]}] f6b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Indicates whether you chose to save the recipient as your counterparty upon link claim.\nIf ",["$","code","code-0",{"children":"false"}]," then the counterparty will not show up on your counterparties list, for example, when you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparties","target":"_blank","rel":"noreferrer","children":"retrieve your counterparties"}],".\nHowever, you can still ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty","target":"_blank","rel":"noreferrer","children":"retrieve this counterparty by its ID"}],"."]}],"\n",["$","p","p-1",{"children":"If you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app."}]]}] f6c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the request, provided by the sender."}]]}] f6d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which the payout link expires in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],".\nIf the recipient doesn't claim the money before then, the payout link expires and is no longer available."]}],"\n",["$","p","p-1",{"children":"The default and maximum value is the date and time of creating the link + 7 days."}]]}] f6e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payout method that the recipient can use to claim the payout."}]]}] fbd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L1028","\n","$L1029","\n"]}]]}] f6f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of payout methods that the recipient can use to claim the payout, where:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"revolut"}],": Revolut peer-to-peer (P2P) transfer"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"bank_account"}],": External bank transfer"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"card"}],": Card transfer\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 payout method is available in the UK and the EEA."}],"\n",["$","li","li-1",{"children":"This payout method is not available in Sandbox."}],"\n"]}]}]]}],"\n"]}],"\n"]}]]}] f70:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the sender's account."}]]}] f71:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money to be transferred."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The amount must be between £1 and £2,500, or equivalent in the selected currency."}]}]]}]]}] f72:["$","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."]}]]}] f73:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the payout link. Returned only for active payout links."}]]}] f74:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payout transaction, provided by the sender."}]]}] f75:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] f76:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty created based on the recipient's details."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"By default, the newly created counterparty is hidden from your counterparties list."}],["$","p","p-1",{"children":["To automatically save it when the link is claimed, pass the ",["$","code","code-0",{"children":"save_counterparty"}]," parameter set to ",["$","code","code-1",{"children":"true"}],"."]}],["$","p","p-2",{"children":"Alternatively, you can add the recipient to your counterparties later from the list of transactions in the Business app."}]]}]]}]]}] f77:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the created transaction. Returned only if the payout has been claimed."}]]}] f78:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason for which the payout link was cancelled."}]]}] f79:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of payout links"}]]}] f7a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of your payout links"}]]}] f7b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] f7c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] f7d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}]]}] f7e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] f7f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] f80:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] fc1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get all the links that you have created, or use the query parameters to filter the results."}],"\n",["$","p","p-1",{"children":["The links are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order."]}],"\n",["$","p","p-2",{"children":["The returned links are ",["$","strong","strong-0",{"children":"paginated"}],".\nThe maximum number of payout links returned per page is specified by the ",["$","code","code-0",{"children":"limit"}]," parameter.\nTo get to the next page, make a new request and use the ",["$","code","code-1",{"children":"created_at"}]," date of the last payout link returned in the previous response."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is available in the UK, the EEA, AU, and SG."}]}]]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links","target":"_blank","rel":"noreferrer","children":"Send money via payout link"}],"."]}]]}] fc2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the payout link is in. Possible states are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The payout link has been created, but the amount has not yet been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation","target":"_blank","rel":"noreferrer","children":"blocked"}],"."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"failed"}],": The payout link couldn't be generated due to a failure during transaction booking."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"awaiting"}],": The payout link is awaiting approval."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"active"}],": The payout link can be redeemed."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"expired"}],": The payout link cannot be redeemed because it wasn't claimed before its expiry date."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"cancelled"}],": The payout link cannot be redeemed because it was cancelled."]}],"\n",["$","li","li-6",{"children":[["$","code","code-0",{"children":"processing"}],": The payout link has been redeemed and is being processed."]}],"\n",["$","li","li-7",{"children":[["$","code","code-0",{"children":"processed"}],": The payout link has been redeemed and the money has been transferred to the recipient."]}],"\n"]}]]}] fc3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieves links in the specified state(s). Possible states are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The payout link has been created, but the amount has not yet been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation","target":"_blank","rel":"noreferrer","children":"blocked"}],"."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"failed"}],": The payout link couldn't be generated due to a failure during transaction booking."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"awaiting"}],": The payout link is awaiting approval."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"active"}],": The payout link can be redeemed."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"expired"}],": The payout link cannot be redeemed because it wasn't claimed before its expiry date."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"cancelled"}],": The payout link cannot be redeemed because it was cancelled."]}],"\n",["$","li","li-6",{"children":[["$","code","code-0",{"children":"processing"}],": The payout link has been redeemed and is being processed."]}],"\n",["$","li","li-7",{"children":[["$","code","code-0",{"children":"processed"}],": The payout link has been redeemed and the money has been transferred to the recipient."]}],"\n"]}],"\n",["$","p","p-1",{"children":["Use for filtering to retrieve only links in specified states.\nTo specify multiple values, follow this pattern: ",["$","code","code-0",{"children":"state={VALUE1}&state={VALUE2}"}],"."]}]]}] fc4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves links with ",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],".\nThe default value is the current date and time at which you are calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Provided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] fc5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of links returned per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last payout link returned in the previous response as the value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] 1028:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 1029:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] fdc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L102a","\n","$L102b","\n"]}]]}] 102a:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 102b:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 102c:T5af,
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  }
}
e9a:["$","div","request-application/json-standard_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$102c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n }\n}"}]}]]}] 102d:Tf0a,
{
  "fields": [
    {
      "name": "reference",
      "required": true,
      "validation": {
        "max_length": 140
      }
    },
    {
      "name": "charge_bearer",
      "required": false,
      "options": [
        {
          "value": "shared",
          "default": true
        },
        {
          "value": "debtor"
        }
      ]
    }
  ]
}
e9b:["$","div","200-application/json-swift_payment",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$102d"}}]}]],"$L102e"]}] 102f:T1e18,
{
  "fields": [
    {
      "name": "reference",
      "required": true,
      "validation": {
        "max_length": 30
      }
    },
    {
      "name": "transfer_reason_code",
      "required": true,
      "options": [
        {
          "value": "advertising"
        },
        {
          "value": "advisor_fees"
        },
        {
          "value": "construction"
        },
        {
          "value": "exports"
        },
        {
          "value": "goods"
        },
        {
          "value": "insurance_claims"
        },
        {
          "value": "other_fees"
        },
        {
          "value": "personal_transfer"
        },
        {
          "value": "property_rental"
        },
        {
          "value": "royalties"
        },
        {
          "value": "services"
        },
        {
          "value": "travel"
        }
      ]
    }
  ]
}
e9c:["$","div","200-application/json-inr_payment",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$102f"}}]}]],"$L1030"]}] 1031:T13d3,
{
  "fields": [
    {
      "name": "reference",
      "required": true,
      "validation": {
        "min_length": 27,
        "max_length": 27,
        "regex": {
          "pattern": "\\d{27}",
          "description": "Value should be numbers only"
        }
      }
    },
    {
      "name": "charge_bearer",
      "required": false,
      "options": [
        {
          "value": "shared"
        },
        {
          "value": "debtor",
          "default": true
        }
      ]
    }
  ]
}
e9d:["$","div","200-application/json-swiss_qr_payment",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1031"}}]}]],"$L1032"]}] e9e:["$","div","400-application/json-invalid_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Invalid request (malformed body, validation failure)\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Invalid request (malformed body, validation failure)\"\n}"}]}]]}] e9f:["$","div","400-application/json-multiple_receiver_methods",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Both account_id and card_id provided in receiver\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Both account_id and card_id provided in receiver\"\n}"}]}]]}] ea0:["$","div","404-application/json-counterparty_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"The specified counterparty, account, or card was not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"The specified counterparty, account, or card was not found\"\n}"}]}]]}] ea1:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 68:["$","$98","get-payment-draft",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about a specific payment draft","content":{"application/json":{"schema":{"type":"object","properties":{"scheduled_for":{"type":"string","format":"date","description":"The scheduled date of the payment draft in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1033"},"title":{"type":"string","description":"The title of the payment draft.","descriptionNode":"$L1034"},"payments":{"type":"array","description":"The list of payments in the bulk.","items":{"type":"object","description":"The details of the payment draft.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payment.\n\nDo not confuse it with the [payment draft ID](https://developer.revolut.com/docs/api/business#get-payment-drafts#response) or [transaction ID](https://developer.revolut.com/docs/api/business#get-transaction).","descriptionNode":"$L1035"},"amount":{"type":"object","description":"","properties":{"amount":{"type":"number","format":"double","description":"The amount of the transaction.","descriptionNode":"$L1036"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L1037"}}},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L1038"},"account_id":{"type":"string","format":"uuid","description":"The ID of the account to pay from.","descriptionNode":"$L1039"},"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$L103a"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$L103b"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$L103c"}},"required":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:receiver:required","descriptionNode":"$L103d"},"state":{"enum":["CREATED","PENDING","COMPLETED","REVERTED","DECLINED","CANCELLED","FAILED","DELETED"],"type":"string","description":"Indicates the state of the transaction.","descriptionNode":"$L103e"},"reason":{"type":"string","description":"The reason for the current state.","descriptionNode":"$L103f"},"error_message":{"type":"string","description":"The description of the error message.","descriptionNode":"$L1040"},"current_charge_options":{"type":"object","description":"The explanation of conversion process.","required":["from","to"],"properties":{"from":{"type":"object","description":"","properties":{"amount":"$68:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:amount:properties:amount","currency":"$68:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:amount:properties:currency"}},"to":{"type":"object","description":"","properties":{"amount":"$68:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:amount:properties:amount","currency":"$68:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:amount:properties:currency"}},"rate":{"type":"string"},"fee":{"type":"object","description":"","properties":{"amount":"$68:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:amount:properties:amount","currency":"$68:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:payments:items:properties:amount:properties:currency"}}},"descriptionNode":"$L1041"},"reference":{"type":"string","description":"The description of the transaction.","descriptionNode":"$L1042"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$L1043"}},"required":["id","amount","account_id","receiver","state","current_charge_options"],"descriptionNode":"$L1044"},"descriptionNode":"$L1045"},"source":{"type":"string","description":"The source from which the payment draft was created.","enum":["api","integration","email","business_app"],"descriptionNode":"$L1046"}},"required":["payments"]},"examples":{"default":{"value":{"title":"Draft Payment through API","scheduled_for":"2026-06-24","payments":[{"id":"67b38771-3db0-4cf0-bdc0-aaaa1284ab81","amount":{"amount":123,"currency":"GBP"},"reference":"Draft Payment through API","account_id":"05018b0d-e67c-4fec-aaaa-415e9da9432c","receiver":{"counterparty_id":"c71af44d-aaaa-4e1a-84bb-17589c81f022"},"state":"CREATED","current_charge_options":{"from":{"amount":123,"currency":"GBP"},"to":{"amount":123,"currency":"GBP"},"rate":"1.0000","fee":{"amount":0,"currency":"GBP"}}}]}}}}},"descriptionNode":"$L1047"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L1048"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1049"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L104a"}}}}},"descriptionNode":"$L104b"}},"requestBody":"$undefined","variantLabels":[],"children":["$L104c","$L104d"]}]}],false]}] 6f:["$","$98","create-payout-link",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"201":{"description":"Created payout link details","content":{"application/json":{"schema":{"type":"object","required":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the payout link.","descriptionNode":"$L104e"},"state":{"enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:state:enum","type":"string","description":"The state that the payout link is in. Possible states are:\n- `created`: The payout link has been created, but the amount has not yet been [blocked](https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation).\n- `failed`: The payout link couldn't be generated due to a failure during transaction booking.\n- `awaiting`: The payout link is awaiting approval.\n- `active`: The payout link can be redeemed.\n- `expired`: The payout link cannot be redeemed because it wasn't claimed before its expiry date.\n- `cancelled`: The payout link cannot be redeemed because it was cancelled.\n- `processing`: The payout link has been redeemed and is being processed.\n- `processed`: The payout link has been redeemed and the money has been transferred to the recipient.","descriptionNode":"$L104f"},"created_at":{"type":"string","format":"date-time","description":"The date and time the payout link was created in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).","descriptionNode":"$L1050"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the payout link was last updated in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).","descriptionNode":"$L1051"},"counterparty_name":{"type":"string","description":"The name of the counterparty provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:counterparty_name:examples","descriptionNode":"$L1052"},"save_counterparty":{"type":"boolean","default":false,"description":"Indicates whether you chose to save the recipient as your counterparty upon link claim. \nIf `false` then the counterparty will not show up on your counterparties list, for example, when you [retrieve your counterparties](https://developer.revolut.com/docs/api/business#get-counterparties). \nHowever, you can still [retrieve this counterparty by its ID](https://developer.revolut.com/docs/api/business#get-counterparty).\n\nIf you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app.","descriptionNode":"$L1053"},"request_id":{"type":"string","description":"The ID of the request, provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:request_id:examples","descriptionNode":"$L1054"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which the payout link expires in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).\nIf the recipient doesn't claim the money before then, the payout link expires and is no longer available.\n\nThe default and maximum value is the date and time of creating the link + 7 days.","default":"now + 7 days","maximum":"now + 7 days","minimum":"now + 1 day","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:expiry_date:examples","descriptionNode":"$L1055"},"payout_methods":{"type":"array","items":{"type":"string","description":"The payout method that the recipient can use to claim the payout.","enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:payout_methods:items:enum","descriptionNode":"$L1056"},"explode":true,"description":"The list of payout methods that the recipient can use to claim the payout, where:\n- `revolut`: Revolut peer-to-peer (P2P) transfer\n- `bank_account`: External bank transfer\n- `card`: Card transfer\n :::note\n - This payout method is available in the UK and the EEA.\n - This payout method is not available in Sandbox.\n :::","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:payout_methods:examples","descriptionNode":"$L1057"},"account_id":{"type":"string","format":"uuid","description":"The ID of the sender's account.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:account_id:examples","descriptionNode":"$L1058"},"amount":{"type":"number","format":"double","description":"The amount of money to be transferred.\n\n:::note\nThe amount must be between £1 and £2,500, or equivalent in the selected currency.\n:::","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:amount:examples","descriptionNode":"$L1059"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L105a"},"url":{"type":"string","format":"uri","description":"The URL of the payout link. Returned only for active payout links.","descriptionNode":"$L105b"},"reference":{"type":"string","description":"The reference for the payout transaction, provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:reference:examples","descriptionNode":"$L105c"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$L105d"}}},"examples":{"default":{"value":{"id":"12dcd8c2-6408-458f-98a9-3f4abc180898","state":"active","created_at":"2023-07-11T13:55:54.834963Z","updated_at":"2023-07-11T13:55:55.082655Z","counterparty_name":"John Smith","request_id":"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1","expiry_date":"2023-07-18T13:55:55.082280Z","payout_methods":["revolut","bank_account","card"],"account_id":"85f515e4-588f-4496-a6a5-a7615a193e6b","amount":105.6,"currency":"GBP","url":"https://business.revolut.com/p/uSJVAd5SnP1","reference":"Rent","transfer_reason_code":"property_rental"}}}}},"descriptionNode":"$L105e"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L105f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1060"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"required_param_missing":{"summary":"Required parameter missing","value":{"message":"Required 'account_id' is missing","code":3009}},"incorrect_param_format":{"summary":"Incorrect parameter format","value":{"message":"Value '123' is not in correct format for field 'account_id'","code":3000}},"ivalid_json":{"summary":"Invalid JSON","value":{"message":"Cannot parse request: invalid JSON","code":3000}}}}},"descriptionNode":"$L1061"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1062"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1063"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"This action is forbidden","code":9002}}}}},"descriptionNode":"$L1064"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1065"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1066"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1067"}},"requestBody":{"description":"Payout link to create","required":true,"content":{"application/json":{"schema":{"type":"object","required":["counterparty_name","request_id","account_id","amount","currency","reference"],"properties":{"counterparty_name":{"type":"string","description":"The name of the counterparty provided by the sender.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:counterparty_name:examples","descriptionNode":"$L1068"},"save_counterparty":{"type":"boolean","description":"Indicates whether to save the recipient as your counterparty upon link claim.\nIf `false` then the counterparty will not show up on your counterparties list, for example, when you retrieve your counterparties. \nHowever, you will still be able to retrieve this counterparty by its ID.\n\nIf you don't choose to save the counterparty on link creation, you can do it later from your transactions list in the Business app.","default":false,"descriptionNode":"$L1069"},"request_id":{"description":"The ID of the request, provided by the sender.\n\n:::warning\nTo ensure that a link payment is not processed multiple times if there are network or system errors, the same `request_id` should be used for requests related to the same link.\n:::","examples":["5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1"],"type":"string","descriptionNode":"$L106a"},"account_id":{"type":"string","format":"uuid","description":"The ID of the sender's account.","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:account_id:examples","descriptionNode":"$L106b"},"amount":{"type":"number","format":"double","description":"The amount of money to be transferred.\n\n:::note\nThe amount must be between £1 and £2,500, or equivalent in the selected currency.\n:::","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:amount:examples","descriptionNode":"$L106c"},"currency":{"examples":["GBP"],"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L106d"},"reference":{"type":"string","minLength":1,"maxLength":100,"description":"The reference for the payout link.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes.\n\nYou might include an invoice number, account or transaction ID, or any other reference meaningful to you or the recipient.","descriptionNode":"$L106e"},"payout_methods":{"default":["revolut","bank_account"],"type":"array","items":{"type":"string","description":"The payout method that the recipient can use to claim the payout.","enum":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:payout_methods:items:enum","descriptionNode":"$L106f"},"explode":true,"description":"The list of payout methods that the recipient can use to claim the payout, where:\n- `revolut`: Revolut peer-to-peer (P2P) transfer\n- `bank_account`: External bank transfer\n- `card`: Card transfer\n :::note\n - This payout method is available in the UK and the EEA.\n - This payout method is not available in Sandbox.\n :::","examples":"$71:props:children:0:props:children:props:responses:200:content:application/json:schema:allOf:0:properties:payout_methods:examples","descriptionNode":"$L1070"},"expiry_period":{"type":"string","format":"duration","description":"The period after which the payout link expires if not claimed before, provided in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601).\n\nThe default and maximum value is 7 days from the link creation.","default":"P7D","maximum":"P7D","minimum":"P1D","examples":["P3D"],"descriptionNode":"$L1071"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$L1072"}}}}},"descriptionNode":"$L1073"},"variantLabels":[],"children":["$L1074","$L1075"]}]}],false]}] 102e:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"fields\": [\n {\n \"name\": \"reference\",\n \"required\": true,\n \"validation\": {\n \"max_length\": 140\n }\n },\n {\n \"name\": \"charge_bearer\",\n \"required\": false,\n \"options\": [\n {\n \"value\": \"shared\",\n \"default\": true\n },\n {\n \"value\": \"debtor\"\n }\n ]\n }\n ]\n}"}]}] 1030:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"fields\": [\n {\n \"name\": \"reference\",\n \"required\": true,\n \"validation\": {\n \"max_length\": 30\n }\n },\n {\n \"name\": \"transfer_reason_code\",\n \"required\": true,\n \"options\": [\n {\n \"value\": \"advertising\"\n },\n {\n \"value\": \"advisor_fees\"\n },\n {\n \"value\": \"construction\"\n },\n {\n \"value\": \"exports\"\n },\n {\n \"value\": \"goods\"\n },\n {\n \"value\": \"insurance_claims\"\n },\n {\n \"value\": \"other_fees\"\n },\n {\n \"value\": \"personal_transfer\"\n },\n {\n \"value\": \"property_rental\"\n },\n {\n \"value\": \"royalties\"\n },\n {\n \"value\": \"services\"\n },\n {\n \"value\": \"travel\"\n }\n ]\n }\n ]\n}"}]}] 1032:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"fields\": [\n {\n \"name\": \"reference\",\n \"required\": true,\n \"validation\": {\n \"min_length\": 27,\n \"max_length\": 27,\n \"regex\": {\n \"pattern\": \"\\\\d{27}\",\n \"description\": \"Value should be numbers only\"\n }\n }\n },\n {\n \"name\": \"charge_bearer\",\n \"required\": false,\n \"options\": [\n {\n \"value\": \"shared\"\n },\n {\n \"value\": \"debtor\",\n \"default\": true\n }\n ]\n }\n ]\n}"}]}] 104c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-payment-draft","children":[["$L1076","$undefined"],["$","$L3a",null,{"id":"get-payment-draft"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-payment-draft.md"}]]}]}],"$undefined"]}] 1079:T8c4,
fetch("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
107a:Tdac,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
107c: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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
107e:T8cc,
fetch("https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
107f:Tdb4,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1081:T1558,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1082:T1478,
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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
104d:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1077",["$","$Lac",null,{"parameters":[{"name":"payment_draft_id","in":"path","required":true,"description":"The ID of the payment draft to retrieve.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L1078"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$68:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1079","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$107a","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$107b","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$107c","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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://b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$107d","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$107e","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$107f","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1080","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1081","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_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-b2b.revolut.com/api/1.0/payment-drafts/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1082","tokens":[{"marker":"__RP_TOK_0__","paramName":"payment_draft_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:payment_draft_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payment-drafts/{payment_draft_id}","parameters":["$104d:props:children:0:props:children:1:props:parameters:0"]}],"$L1083"],"$L1084","$L1085"]}]]}] 1074:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-payout-link","children":[["$L1086","$undefined"],["$","$L3a",null,{"id":"create-payout-link"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-payout-link.md"}]]}]}],"$undefined"]}] 1088:Ta5d,
curl -X POST "https://b2b.revolut.com/api/1.0/payout-links" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}'
1089:T181e,
const payload = {
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
};
fetch("https://b2b.revolut.com/api/1.0/payout-links", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
108a:T1955,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/payout-links"
  jsonData := []byte(`
{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/payout-links"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
108c:T42f,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 = """ { "counterparty_name": "string", "save_counterparty": false, "request_id": "string", "account_id": "123e4567-e89b-12d3-a456-426614174000", "amount": 123, "currency": "string", "reference": "a", "payout_methods": [ "revolut", "bank_account" ], "expiry_period": "P7D", "transfer_reason_code": "string" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/payout-links")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }108d:T1ebc,
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 = """
{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/payout-links"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/payout-links"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""counterparty_name"": ""string"",
  ""save_counterparty"": false,
  ""request_id"": ""string"",
  ""account_id"": ""123e4567-e89b-12d3-a456-426614174000"",
  ""amount"": 123,
  ""currency"": ""string"",
  ""reference"": ""a"",
  ""payout_methods"": [
    ""revolut"",
    ""bank_account""
  ],
  ""expiry_period"": ""P7D"",
  ""transfer_reason_code"": ""string""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
108f:Ta65,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/payout-links" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}'
1090:T1826,
const payload = {
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/payout-links", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1091:T195d,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/payout-links"
  jsonData := []byte(`
{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/payout-links"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
1093:T437,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 = """ { "counterparty_name": "string", "save_counterparty": false, "request_id": "string", "account_id": "123e4567-e89b-12d3-a456-426614174000", "amount": 123, "currency": "string", "reference": "a", "payout_methods": [ "revolut", "bank_account" ], "expiry_period": "P7D", "transfer_reason_code": "string" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payout-links")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }1094:T1ec4,
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 = """
{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/payout-links"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1095:T2d84,
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-b2b.revolut.com/api/1.0/payout-links"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""counterparty_name"": ""string"",
  ""save_counterparty"": false,
  ""request_id"": ""string"",
  ""account_id"": ""123e4567-e89b-12d3-a456-426614174000"",
  ""amount"": 123,
  ""currency"": ""string"",
  ""reference"": ""a"",
  ""payout_methods"": [
    ""revolut"",
    ""bank_account""
  ],
  ""expiry_period"": ""P7D"",
  ""transfer_reason_code"": ""string""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1075:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1087",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$6f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$6f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/payout-links\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}'","templateHtml":"$1088","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/payout-links\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1089","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/payout-links\"\n jsonData := []byte(`\n{\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$108a","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/payout-links\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$108b","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$108c","templateHtml":"$108d","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/payout-links\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"counterparty_name\"\": \"\"string\"\",\n \"\"save_counterparty\"\": false,\n \"\"request_id\"\": \"\"string\"\",\n \"\"account_id\"\": \"\"123e4567-e89b-12d3-a456-426614174000\"\",\n \"\"amount\"\": 123,\n \"\"currency\"\": \"\"string\"\",\n \"\"reference\"\": \"\"a\"\",\n \"\"payout_methods\"\": [\n \"\"revolut\"\",\n \"\"bank_account\"\"\n ],\n \"\"expiry_period\"\": \"\"P7D\"\",\n \"\"transfer_reason_code\"\": \"\"string\"\"\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":"$108e","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/payout-links\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}'","templateHtml":"$108f","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/payout-links\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1090","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/payout-links\"\n jsonData := []byte(`\n{\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1091","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/payout-links\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$1092","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$1093","templateHtml":"$1094","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/payout-links\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"counterparty_name\"\": \"\"string\"\",\n \"\"save_counterparty\"\": false,\n \"\"request_id\"\": \"\"string\"\",\n \"\"account_id\"\": \"\"123e4567-e89b-12d3-a456-426614174000\"\",\n \"\"amount\"\": 123,\n \"\"currency\"\": \"\"string\"\",\n \"\"reference\"\": \"\"a\"\",\n \"\"payout_methods\"\": [\n \"\"revolut\"\",\n \"\"bank_account\"\"\n ],\n \"\"expiry_period\"\": \"\"P7D\"\",\n \"\"transfer_reason_code\"\": \"\"string\"\"\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":"$1095","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/payout-links","parameters":[]}],"$L1096"],"$L1097","$L1098"]}]]}] 1099:T1268,
{
  "id": "12dcd8c2-6408-458f-98a9-3f4abc180898",
  "state": "active",
  "created_at": "2023-07-11T13:55:54.834963Z",
  "updated_at": "2023-07-11T13:55:55.082655Z",
  "counterparty_name": "John Smith",
  "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1",
  "expiry_date": "2023-07-18T13:55:55.082280Z",
  "payout_methods": [
    "revolut",
    "bank_account",
    "card"
  ],
  "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
  "amount": 105.6,
  "currency": "GBP",
  "url": "https://business.revolut.com/p/uSJVAd5SnP1",
  "reference": "Rent",
  "transfer_reason_code": "property_rental"
}
eb4:["$","div","200-application/json-active_payout_link",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1099"}}]}]],"$L109a"]}] 109b:T126c,
{
  "id": "8e32b08a-e012-4530-bd15-c4e9ebde953d",
  "state": "processed",
  "created_at": "2024-01-11T14:02:53.472318Z",
  "updated_at": "2024-01-11T14:05:02.962886Z",
  "counterparty_name": "Jane Doe",
  "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dMM",
  "expiry_date": "2023-07-18T14:02:53.717626Z",
  "payout_methods": [
    "revolut"
  ],
  "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
  "amount": 5.6,
  "currency": "GBP",
  "counterparty_id": "2ef4618a-f258-4ac5-a846-ca6e089214f6",
  "transaction_id": "64ad618e-655a-a925-8425-2284c03f6c08",
  "reference": "Bus ticket",
  "transfer_reason_code": "travel"
}
eb5:["$","div","200-application/json-processed_payout_link",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$109b"}}]}]],"$L109c"]}] 109d:T10a2,
{
  "id": "12dcd8c2-6408-458f-98a9-3f4abc180898",
  "state": "cancelled",
  "created_at": "2023-07-11T13:55:54.834963Z",
  "updated_at": "2023-07-11T15:01:20.236508Z",
  "counterparty_name": "John Doe",
  "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1",
  "expiry_date": "2023-07-18T13:55:55.082280Z",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
  "amount": 105.6,
  "currency": "GBP",
  "reference": "Rent",
  "transfer_reason_code": "property_rental"
}
eb6:["$","div","200-application/json-cancelled_payout_link",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$109d"}}]}]],"$L109e"]}] eb7:["$","div","403-application/json-forbidden",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"This action is forbidden\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This action is forbidden\",\n \"code\": 9002\n}"}]}]]}] eb8:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Resource not found\",\n  \"code\": 3006\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Resource not found\",\n \"code\": 3006\n}"}]}]]}] eb9:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 109f:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1083:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$109f","descriptionNode":"$L10a0"}}}] 1084:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1085:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$68:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L10a1"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L10a2"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 10a3:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1096:["$","$L1f6",null,{"security":[{"AccessToken":["PAY","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$10a3","descriptionNode":"$L10a4"}}}] 1097:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"counterparty_name":"string","save_counterparty":false,"request_id":"string","account_id":"123e4567-e89b-12d3-a456-426614174000","amount":123,"currency":"string","reference":"a","payout_methods":"$6f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:payout_methods:default","expiry_period":"P7D","transfer_reason_code":"string"},"block":"$L10a5"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1098:["$","$L1fa",null,{"exampleBlocks":{"201":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$6f:props:children:0:props:children:props:responses:201:content:application/json:examples:default:value","block":"$L10a6"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"required_param_missing","label":"Required parameter missing","rawValue":"$6f:props:children:0:props:children:props:responses:400:content:application/json:examples:required_param_missing:value","block":"$L10a7"},{"key":"incorrect_param_format","label":"Incorrect parameter format","rawValue":"$6f:props:children:0:props:children:props:responses:400:content:application/json:examples:incorrect_param_format:value","block":"$L10a8"},{"key":"ivalid_json","label":"Invalid JSON","rawValue":"$6f:props:children:0:props:children:props:responses:400:content:application/json:examples:ivalid_json:value","block":"$L10a9"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$6f:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L10aa"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L10ab"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 109a:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"12dcd8c2-6408-458f-98a9-3f4abc180898\",\n \"state\": \"active\",\n \"created_at\": \"2023-07-11T13:55:54.834963Z\",\n \"updated_at\": \"2023-07-11T13:55:55.082655Z\",\n \"counterparty_name\": \"John Smith\",\n \"request_id\": \"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1\",\n \"expiry_date\": \"2023-07-18T13:55:55.082280Z\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\",\n \"card\"\n ],\n \"account_id\": \"85f515e4-588f-4496-a6a5-a7615a193e6b\",\n \"amount\": 105.6,\n \"currency\": \"GBP\",\n \"url\": \"https://business.revolut.com/p/uSJVAd5SnP1\",\n \"reference\": \"Rent\",\n \"transfer_reason_code\": \"property_rental\"\n}"}]}] 109c:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"8e32b08a-e012-4530-bd15-c4e9ebde953d\",\n \"state\": \"processed\",\n \"created_at\": \"2024-01-11T14:02:53.472318Z\",\n \"updated_at\": \"2024-01-11T14:05:02.962886Z\",\n \"counterparty_name\": \"Jane Doe\",\n \"request_id\": \"5a7fcb46-4be4-47d4-a56f-27a2e5b78dMM\",\n \"expiry_date\": \"2023-07-18T14:02:53.717626Z\",\n \"payout_methods\": [\n \"revolut\"\n ],\n \"account_id\": \"85f515e4-588f-4496-a6a5-a7615a193e6b\",\n \"amount\": 5.6,\n \"currency\": \"GBP\",\n \"counterparty_id\": \"2ef4618a-f258-4ac5-a846-ca6e089214f6\",\n \"transaction_id\": \"64ad618e-655a-a925-8425-2284c03f6c08\",\n \"reference\": \"Bus ticket\",\n \"transfer_reason_code\": \"travel\"\n}"}]}] 109e:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"12dcd8c2-6408-458f-98a9-3f4abc180898\",\n \"state\": \"cancelled\",\n \"created_at\": \"2023-07-11T13:55:54.834963Z\",\n \"updated_at\": \"2023-07-11T15:01:20.236508Z\",\n \"counterparty_name\": \"John Doe\",\n \"request_id\": \"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1\",\n \"expiry_date\": \"2023-07-18T13:55:55.082280Z\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"account_id\": \"85f515e4-588f-4496-a6a5-a7615a193e6b\",\n \"amount\": 105.6,\n \"currency\": \"GBP\",\n \"reference\": \"Rent\",\n \"transfer_reason_code\": \"property_rental\"\n}"}]}] 1076:"Retrieve a payment draft" 1086:"Create a payout link" 10ac:T12fb,
[
  {
    "iban": "GB66REVO00996995908888",
    "bic": "REVOGB21",
    "beneficiary": "International account",
    "beneficiary_address": {
      "street_line1": "Revolut LTD",
      "street_line2": "1 Canada Square",
      "city": "London",
      "country": "GB",
      "postcode": "E14 5AB"
    },
    "bank_country": "GB",
    "pooled": false,
    "schemes": [
      "swift"
    ],
    "estimated_time": {
      "unit": "days",
      "min": 1,
      "max": 3
    }
  }
]
fbe:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$10ac"}}]}]],"$L10ad"]}] fbf:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 10ad:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[\n {\n \"iban\": \"GB66REVO00996995908888\",\n \"bic\": \"REVOGB21\",\n \"beneficiary\": \"International account\",\n \"beneficiary_address\": {\n \"street_line1\": \"Revolut LTD\",\n \"street_line2\": \"1 Canada Square\",\n \"city\": \"London\",\n \"country\": \"GB\",\n \"postcode\": \"E14 5AB\"\n },\n \"bank_country\": \"GB\",\n \"pooled\": false,\n \"schemes\": [\n \"swift\"\n ],\n \"estimated_time\": {\n \"unit\": \"days\",\n \"min\": 1,\n \"max\": 3\n }\n }\n]"}]}] 1033:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The scheduled date of the payment draft in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1034:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The title of the payment draft."}]]}] 1035:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment."}],"\n",["$","p","p-1",{"children":["Do not confuse it with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-payment-drafts#response","target":"_blank","rel":"noreferrer","children":"payment draft ID"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction ID"}],"."]}]]}] 1036:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the transaction."}]]}] 1037:["$","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."]}]]}] 1038:["$","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."]}]]}] 1039:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account to pay from."}]]}] 103a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] 103b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] 103c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] 103d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] 103e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the transaction."}]]}] 103f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason for the current state."}]]}] 1040:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error message."}]]}] 1041:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The explanation of conversion process."}]]}] 1042:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the transaction."}]]}] 104e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payout link."}]]}] 104f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the payout link is in. Possible states are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The payout link has been created, but the amount has not yet been ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links#sender-link-generation","target":"_blank","rel":"noreferrer","children":"blocked"}],"."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"failed"}],": The payout link couldn't be generated due to a failure during transaction booking."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"awaiting"}],": The payout link is awaiting approval."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"active"}],": The payout link can be redeemed."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"expired"}],": The payout link cannot be redeemed because it wasn't claimed before its expiry date."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"cancelled"}],": The payout link cannot be redeemed because it was cancelled."]}],"\n",["$","li","li-6",{"children":[["$","code","code-0",{"children":"processing"}],": The payout link has been redeemed and is being processed."]}],"\n",["$","li","li-7",{"children":[["$","code","code-0",{"children":"processed"}],": The payout link has been redeemed and the money has been transferred to the recipient."]}],"\n"]}]]}] 1050:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the payout link was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}]]}] 1051:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the payout link was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],"."]}]]}] 1052:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty provided by the sender."}]]}] 1053:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Indicates whether you chose to save the recipient as your counterparty upon link claim.\nIf ",["$","code","code-0",{"children":"false"}]," then the counterparty will not show up on your counterparties list, for example, when you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-counterparties","target":"_blank","rel":"noreferrer","children":"retrieve your counterparties"}],".\nHowever, you can still ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-counterparty","target":"_blank","rel":"noreferrer","children":"retrieve this counterparty by its ID"}],"."]}],"\n",["$","p","p-1",{"children":"If you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app."}]]}] 1054:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the request, provided by the sender."}]]}] 1055:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which the payout link expires in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601 format"}],".\nIf the recipient doesn't claim the money before then, the payout link expires and is no longer available."]}],"\n",["$","p","p-1",{"children":"The default and maximum value is the date and time of creating the link + 7 days."}]]}] 1056:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payout method that the recipient can use to claim the payout."}]]}] 10ae:T3522,
[
  {
    "id": "8e32b08a-e012-4530-bd15-c4e9ebde953d",
    "state": "processed",
    "created_at": "2024-01-11T14:02:53.472318Z",
    "updated_at": "2024-01-11T14:05:02.962886Z",
    "counterparty_name": "Jane Doe",
    "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dMM",
    "expiry_date": "2023-07-18T14:02:53.717626Z",
    "payout_methods": [
      "revolut",
      "bank_account",
      "card"
    ],
    "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
    "amount": 5.6,
    "currency": "GBP",
    "counterparty_id": "2ef4618a-f258-4ac5-a846-ca6e089214f6",
    "transaction_id": "64ad618e-655a-a925-8425-2284c03f6c08",
    "reference": "Bus ticket",
    "transfer_reason_code": "travel"
  },
  {
    "id": "12dcd8c2-6408-458f-98a9-3f4abc180898",
    "state": "active",
    "created_at": "2023-07-11T13:55:54.834963Z",
    "updated_at": "2023-07-11T14:02:12.868346Z",
    "counterparty_name": "John Doe",
    "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1",
    "expiry_date": "2023-07-18T13:55:55.082280Z",
    "payout_methods": [
      "revolut",
      "bank_account"
    ],
    "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
    "amount": 105.6,
    "currency": "GBP",
    "url": "https://business.revolut.com/p/uSJVAd5SnP1",
    "reference": "Rent",
    "transfer_reason_code": "property_rental"
  },
  {
    "id": "d3b02315-044c-471f-ad41-59d9a4e3c538",
    "state": "active",
    "created_at": "2023-07-11T13:53:45.986248Z",
    "updated_at": "2023-07-11T13:53:46.475470Z",
    "counterparty_name": "John Smith",
    "request_id": "rev-001",
    "expiry_date": "2023-07-18T13:53:46.474777Z",
    "payout_methods": [
      "revolut"
    ],
    "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
    "amount": 15.6,
    "currency": "GBP",
    "url": "https://business.revolut.com/p/DPYtd2BUUwP",
    "reference": "meal delivery"
  }
]
fdd:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$10ae"}}]}]],"$L10af"]}] fde:["$","div","403-application/json-forbidden",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"This action is forbidden\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This action is forbidden\",\n \"code\": 9002\n}"}]}]]}] fdf:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 10b1:T926,Indicates the state of the expense. Possible values: - `missing_info`: The expense is missing some required information. This is the initial state of the expense when it's first created. Once the missing information is provided, the expense is ready to be submitted. - `awaiting_review`: The expense is awaiting approval before it can be completed. The approver can approve, reject, or request repayment for the expense. It is also possible for the submitter to undo the submission at this stage. - `rejected`: The expense has been rejected by the approver. The expense submitter (typically, the payer) should fix the issue that was the reason for the rejection and resubmit the expense. - `pending_reimbursement`: The reimbursement request has been approved, and the expense is awaiting reimbursement. This state is possible for reimbursements (transaction type = `External`). - `refund_requested`: The expense has been rejected and repayment has been requested.* This state is possible for card transactions. It indicates that following the review, the approver rejected the expense and requested that it be paid back to the business account. This can happen, for example, if an employee accidentally makes a personal purchase with their business card. Once the money has been returned, the **admin** can mark this expense as repaid. - `refunded`: The expense has been repaid.* This state indicates that the admin has marked the expense as repaid. - `approved`: The expense has been approved and is now completed.* - `reverted`: The expense has been reverted. This status indicates that the transaction related to the expense has been reverted. In such a case, the expense status is automatically set to `reverted`, and the expense is completed. This can happen, for example, when the transaction has been reverted by the merchant. _*Additionally, if an admin has previously approved the expense, marked it as repaid/completed, or requested repayment, they can revert their decision. In such a case, the expense goes back to the initial `missing_info` state._ For more information, see the guides: [Retrieve expenses and receipts](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses#expense-state).5f:["$","$98","get-expense",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Expense","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the expense.","descriptionNode":"$L10b0"},"state":{"enum":["missing_info","awaiting_review","rejected","pending_reimbursement","refund_requested","refunded","approved","reverted"],"description":"$10b1","type":"string","descriptionNode":"$L10b2"},"transaction_type":{"enum":["atm","card_payment","fee","transfer","external","mileage_reimbursement","rev_payment"],"description":"The type of the [transaction](https://developer.revolut.com/docs/api/business#get-transaction) related to the expense.","type":"string","descriptionNode":"$L10b3"},"description":{"type":"string","description":"The description of the expense.","descriptionNode":"$L10b4"},"submitted_at":{"type":"string","format":"date-time","description":"The date and time the expense was submitted in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L10b5"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the expense was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L10b6"},"payer":{"type":"string","description":"The name of the [team member](https://developer.revolut.com/docs/api/business#delete-team-member) who made the transaction, refund request, or ATM withdrawal, or the name of the business if the related transaction is of type `fee`.","descriptionNode":"$L10b7"},"merchant":{"type":"string","description":"The name of the merchant.","descriptionNode":"$L10b8"},"transaction_id":{"type":"string","format":"uuid","description":"The ID of the [transaction](https://developer.revolut.com/docs/api/business#get-transaction) related to the expense. Not available for transactions of type `external`.","descriptionNode":"$L10b9"},"expense_date":{"type":"string","format":"date-time","description":"The expense data depends on the type of the expense and whether it has been completed.\n\nTypically, it's the date and time of the expense [transaction](https://developer.revolut.com/docs/api/business#get-transaction) in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n- If the transaction related to the expense is completed, it is the date and time of its completion ([`completed_at`](https://developer.revolut.com/docs/api/business#get-transaction#response)).\n- Otherwise, it is the date and time of its creation ([`created_at`](https://developer.revolut.com/docs/api/business#get-transaction#response)).\n\nFor reimbursements, it's the payment date provided in the reimbursement request.","descriptionNode":"$L10ba"},"labels":{"type":"object","description":"The [labels](https://developer.revolut.com/docs/api/business#delete-label) added to the expense, organised in groups.\n\nYou can have up to 5 label groups, with max. 1 label per group.\n\nThe labels are provided as an object, where each key is the name of a label group, and each value is a single-element array containing the selected label from that group.","maxProperties":5,"additionalProperties":{"type":"array","description":"A label group with the selected label from that group.\n\nFor example, you might have a label group called **Department**, and the label you select from that group might be **HR**: `\"Department\": [ \"HR\" ]`.","minItems":1,"maxItems":1,"items":{"type":"string","description":"The name of the selected label.","examples":["HR"],"descriptionNode":"$L10bb"},"examples":[["HR"]],"descriptionNode":"$L10bc"},"examples":[{"Office supplies":["Photocopying"],"Department":["HR"]}],"descriptionNode":"$L10bd"},"splits":{"type":"array","description":"The splits of the expense.\n\nA single expense can be divided into multiple parts (splits), for example, to allocate different portions of the expense to different categories.","items":{"type":"object","required":["amount","category","tax_rate"],"properties":{"amount":{"type":"object","description":"The original amount of the expense split.","properties":{"amount":{"description":"The amount of money.","type":"number","format":"double","descriptionNode":"$L10be"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L10bf"}},"descriptionNode":"$L10c0"},"category":{"type":"object","description":"The [accounting category](https://developer.revolut.com/docs/api/business#delete-accounting-category) of the expense split.","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the accounting category.","descriptionNode":"$L10c1"},"name":{"type":"string","description":"The name of the accounting category.","descriptionNode":"$L10c2"},"code":{"type":"string","description":"The code of the accounting category.","descriptionNode":"$L10c3"}},"descriptionNode":"$L10c4"},"tax_rate":{"type":"object","description":"The [tax rate](https://developer.revolut.com/docs/api/business#delete-tax-rate) applied to the expense split.","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the tax rate.","descriptionNode":"$L10c5"},"name":{"type":"string","description":"The name of the tax.","minLength":1,"maxLength":20,"descriptionNode":"$L10c6"},"percentage":{"type":"number","format":"double","minimum":0,"maximum":100,"description":"The tax rate percentage applied to the taxable amount. For example, `23` for 23%.","descriptionNode":"$L10c7"}},"descriptionNode":"$L10c8"}}},"descriptionNode":"$L10c9"},"receipt_ids":{"type":"array","description":"The IDs of the receipts related to the expense.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L10ca"},"spent_amount":{"type":"object","description":"The expense amount in billed currency.","properties":{"amount":{"description":"The amount of money.","type":"number","format":"double","descriptionNode":"$L10cb"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L10cc"}},"required":["amount","currency"],"descriptionNode":"$L10cd"}},"required":["id","state","transaction_type","expense_date","labels","splits","spent_amount","receipt_ids"]},"examples":{"expense_approved":{"summary":"Approved expense, with labels and multiple splits","value":{"id":"8decf9f8-053e-46cb-92d8-a7b450fe5ae0","state":"approved","transaction_type":"card_payment","description":"Printer paper","submitted_at":"2024-09-13T20:48:40.912Z","completed_at":"2024-09-13T20:48:40.948Z","payer":"Ray Trenfield","merchant":"Best Printers Company","transaction_id":"163e0ef6-2414-4fcf-846f-1f871059d506","expense_date":"2024-09-13T18:47:01.782Z","splits":[{"amount":{"amount":15.39,"currency":"GBP"},"category":{"id":"71b9ec74-d5ff-4aa1-a489-f8dc39d4c9b7","name":"Printing & Stationery","code":"461"},"tax_rate":{"id":"5704fdd2-bac2-42ec-bab0-e075182260be","name":"VAT","percentage":20}},{"amount":{"amount":8.99,"currency":"GBP"},"category":{"id":"a5532a5e-d859-4795-967b-14723f8920ea","name":"Groceries","code":"555"},"tax_rate":{"id":"d92efe31-fc26-4364-af4b-3630c1057ece","name":"No VAT","percentage":0}}],"labels":{"Office supplies":["photocopying"],"Department":["HR"]},"receipt_ids":["84c0169a-37f9-4bfa-ab1e-f2c81dbc34cf"],"spent_amount":{"amount":24.38,"currency":"GBP"}}},"expense_awaiting_review":{"summary":"Expense awaiting review, with external transaction","value":{"id":"7ff44b9f-556b-4dce-8e39-4a667246f49f","state":"awaiting_review","transaction_type":"external","description":"Snack","submitted_at":"2024-09-11T13:19:24.659Z","payer":"Chima Aragonye","merchant":"Go FroYo Co.","expense_date":"2024-01-21T00:00:00Z","splits":[{"amount":{"amount":5,"currency":"GBP"},"category":{"id":"95bf2a30-7284-4664-989a-1dcb51e2053a","name":"General Expenses","code":"429"},"tax_rate":{"id":"d92efe31-fc26-4364-af4b-3630c1057ece","name":"No VAT","percentage":0}}],"labels":{},"receipt_ids":[],"spent_amount":{"amount":5,"currency":"GBP"}}},"expense_missing_info":{"summary":"Expense missing information","value":{"id":"8498b232-28ba-4baf-b33d-22fb464e83c8","state":"missing_info","transaction_type":"fee","description":"Expenses app charges","payer":"Bingston Labs","transaction_id":"91b56d41-7b42-40e8-8970-0082cf965e6e","expense_date":"2024-09-04T13:39:18.606Z","splits":[{"amount":{"amount":17.68,"currency":"EUR"},"category":{"id":"95bf2a30-7284-4664-989a-1dcb51e2053a","name":"General Expenses","code":"429"},"tax_rate":{"id":"812f50e7-37b3-480b-a7c4-2ad08442f7cf","name":"20% (VAT on Expenses)","percentage":20}}],"labels":{},"receipt_ids":["d97d062f-5aae-4a0c-b5f3-52ae134d384d"],"spent_amount":{"amount":17.68,"currency":"EUR"}}},"expense_reverted":{"summary":"Reverted expense","value":{"id":"9b9cf87a-e17f-4854-8800-515a0475c4df","state":"reverted","transaction_type":"transfer","payer":"Mindy Carter","transaction_id":"5581efb8-6b98-4c2b-bdcd-1270062a8d48","expense_date":"2024-09-16T12:48:39.960Z","splits":[{"amount":{"amount":100,"currency":"EUR"}}],"labels":{},"receipt_ids":[],"spent_amount":{"amount":100,"currency":"EUR"}}}}}},"descriptionNode":"$L10ce"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L10cf"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L10d0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L10d1"},"403":{"description":"Forbidden\n\nReturned, for example, when the access token is missing the required [scope](https://developer.revolut.com/docs/api/business#access-token) or if the Expenses API is disabled for the business.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L10d2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L10d3"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"forbidden":{"summary":"Forbidden","value":{"message":"This action is forbidden","code":9002}},"api_disabled":{"summary":"Feature disabled","value":{"message":"Expenses API for business is disabled","code":9002}}}}},"descriptionNode":"$L10d4"},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L10d5"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L10d6"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Expense 'bd415411-6e3e-46e7-af07-42f9b790c44e' not found","code":3006}}}}},"descriptionNode":"$L10d7"},"422":{"description":"Unprocessable content\n\nReturned, for example, when the Expenses feature (not just the API) is disabled for the business.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L10d8"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L10d9"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Expenses feature is not enabled","code":3470}}}}},"descriptionNode":"$L10da"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L10db"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L10dc"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L10dd"}},"requestBody":"$undefined","variantLabels":["Approved expense, with labels and multiple splits","Expense awaiting review, with external transaction","Expense missing information","Reverted expense"],"children":["$L10de","$L10df"]}]}],false]}] 1043:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] 1044:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the payment draft."}]]}] 1045:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of payments in the bulk."}]]}] 1046:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The source from which the payment draft was created."}]]}] 1047:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about a specific payment draft"}]]}] 1048:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 1049:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 104a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 104b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 10e0:T74a,[ { "id": "8e32b08a-e012-4530-bd15-c4e9ebde953d", "state": "processed", "created_at": "2024-01-11T14:02:53.472318Z", "updated_at": "2024-01-11T14:05:02.962886Z", "counterparty_name": "Jane Doe", "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dMM", "expiry_date": "2023-07-18T14:02:53.717626Z", "payout_methods": [ "revolut", "bank_account", "card" ], "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b", "amount": 5.6, "currency": "GBP", "counterparty_id": "2ef4618a-f258-4ac5-a846-ca6e089214f6", "transaction_id": "64ad618e-655a-a925-8425-2284c03f6c08", "reference": "Bus ticket", "transfer_reason_code": "travel" }, { "id": "12dcd8c2-6408-458f-98a9-3f4abc180898", "state": "active", "created_at": "2023-07-11T13:55:54.834963Z", "updated_at": "2023-07-11T14:02:12.868346Z", "counterparty_name": "John Doe", "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1", "expiry_date": "2023-07-18T13:55:55.082280Z", "payout_methods": [ "revolut", "bank_account" ], "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b", "amount": 105.6, "currency": "GBP", "url": "https://business.revolut.com/p/uSJVAd5SnP1", "reference": "Rent", "transfer_reason_code": "property_rental" }, { "id": "d3b02315-044c-471f-ad41-59d9a4e3c538", "state": "active", "created_at": "2023-07-11T13:53:45.986248Z", "updated_at": "2023-07-11T13:53:46.475470Z", "counterparty_name": "John Smith", "request_id": "rev-001", "expiry_date": "2023-07-18T13:53:46.474777Z", "payout_methods": [ "revolut" ], "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b", "amount": 15.6, "currency": "GBP", "url": "https://business.revolut.com/p/DPYtd2BUUwP", "reference": "meal delivery" } ]10af:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$10e0"}]}] 10de:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-expense","children":[["$L10e1","$undefined"],["$","$L3a",null,{"id":"get-expense"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-expense.md"}]]}]}],"$undefined"]}] 10e4:T8be,
fetch("https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
10e5:Tda6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
10e7:T154a,
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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
10e9:T8c6,
fetch("https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
10ea:Tdae,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
10ec:T1552,
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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
10ed:T1472,
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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
10df:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L10e2",["$","$Lac",null,{"parameters":[{"name":"expense_id","in":"path","required":true,"description":"The ID of the expense to retrieve.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L10e3"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$5f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$10e4","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$10e5","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$10e6","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$10e7","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_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://b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$10e8","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$10e9","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$10ea","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$10eb","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$10ec","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_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-b2b.revolut.com/api/1.0/expenses/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$10ed","tokens":[{"marker":"__RP_TOK_0__","paramName":"expense_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:expense_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/expenses/{expense_id}","parameters":["$10df:props:children:0:props:children:1:props:parameters:0"]}],"$L10ee"],"$L10ef","$L10f0"]}]]}] 1077:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the information about a specific payment draft by ID."}],"\n",["$","p","p-1",{"children":["Returns drafts created with the API or via the ",["$","a","a-0",{"href":"https://business.revolut.com/","target":"_blank","rel":"noreferrer","children":"Revolut Business app"}],"."]}],"\n",["$","p","p-2",{"children":"The response lists the details of the payment(s) included in the draft, as well as the draft details."}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payment-drafts","target":"_blank","rel":"noreferrer","children":"Payment drafts"}],"."]}]]}] 1078:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the payment draft to retrieve."}]]}] 1057:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of payout methods that the recipient can use to claim the payout, where:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"revolut"}],": Revolut peer-to-peer (P2P) transfer"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"bank_account"}],": External bank transfer"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"card"}],": Card transfer\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 payout method is available in the UK and the EEA."}],"\n",["$","li","li-1",{"children":"This payout method is not available in Sandbox."}],"\n"]}]}]]}],"\n"]}],"\n"]}]]}] 1058:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the sender's account."}]]}] 1059:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money to be transferred."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The amount must be between £1 and £2,500, or equivalent in the selected currency."}]}]]}]]}] 105a:["$","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."]}]]}] 105b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The URL of the payout link. Returned only for active payout links."}]]}] 105c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payout transaction, provided by the sender."}]]}] 105d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] 105e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Created payout link details"}]]}] 105f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1060:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1061:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 1062:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1063:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1064:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}]]}] 1065:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1066:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1067:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1068:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty provided by the sender."}]]}] 1069:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Indicates whether to save the recipient as your counterparty upon link claim.\nIf ",["$","code","code-0",{"children":"false"}]," then the counterparty will not show up on your counterparties list, for example, when you retrieve your counterparties.\nHowever, you will still be able to retrieve this counterparty by its ID."]}],"\n",["$","p","p-1",{"children":"If you don't choose to save the counterparty on link creation, you can do it later from your transactions list in the Business app."}]]}] 106a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the request, provided by the sender."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To ensure that a link payment is not processed multiple times if there are network or system errors, the same ",["$","code","code-0",{"children":"request_id"}]," should be used for requests related to the same link."]}]}]]}]]}] 106b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the sender's account."}]]}] 106c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money to be transferred."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The amount must be between £1 and £2,500, or equivalent in the selected currency."}]}]]}]]}] 106d:["$","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."]}]]}] 106e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reference for the payout link.\nA piece of text or number you provide to help identify what the payment relates to.\nIt can be used, for example, for reconciliation or tracking purposes."}],"\n",["$","p","p-1",{"children":"You might include an invoice number, account or transaction ID, or any other reference meaningful to you or the recipient."}]]}] 106f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payout method that the recipient can use to claim the payout."}]]}] 1070:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of payout methods that the recipient can use to claim the payout, where:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"revolut"}],": Revolut peer-to-peer (P2P) transfer"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"bank_account"}],": External bank transfer"]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"card"}],": Card transfer\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 payout method is available in the UK and the EEA."}],"\n",["$","li","li-1",{"children":"This payout method is not available in Sandbox."}],"\n"]}]}]]}],"\n"]}],"\n"]}]]}] 1071:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The period after which the payout link expires if not claimed before, provided 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":"The default and maximum value is 7 days from the link creation."}]]}] 1072:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] 1073:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Payout link to create"}]]}] 1087:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Create a payout link to send money even when you don't have the full banking details of the counterparty.",["$","br","br-0",{}],"\nAfter you have created the link, send it to the recipient so that they can claim the payment."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is available in the UK, the EEA, AU, and SG."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/payout-links","target":"_blank","rel":"noreferrer","children":"Send money via payout link"}],"."]}]]}] 10f1:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)10ee:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$10f1","descriptionNode":"$L10f2"}}}] 10ef:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 10f0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"expense_approved","label":"Approved expense, with labels and multiple splits","rawValue":"$5f:props:children:0:props:children:props:responses:200:content:application/json:examples:expense_approved:value","block":"$L10f3"},{"key":"expense_awaiting_review","label":"Expense awaiting review, with external transaction","rawValue":"$5f:props:children:0:props:children:props:responses:200:content:application/json:examples:expense_awaiting_review:value","block":"$L10f4"},{"key":"expense_missing_info","label":"Expense missing information","rawValue":"$5f:props:children:0:props:children:props:responses:200:content:application/json:examples:expense_missing_info:value","block":"$L10f5"},{"key":"expense_reverted","label":"Reverted expense","rawValue":"$5f:props:children:0:props:children:props:responses:200:content:application/json:examples:expense_reverted:value","block":"$L10f6"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L10f7"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"forbidden","label":"Forbidden","rawValue":"$5f:props:children:0:props:children:props:responses:403:content:application/json:examples:forbidden:value","block":"$L10f8"},{"key":"api_disabled","label":"Feature disabled","rawValue":"$5f:props:children:0:props:children:props:responses:403:content:application/json:examples:api_disabled:value","block":"$L10f9"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$5f:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L10fa"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$5f:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$L10fb"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L10fc"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 10a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L10fd","\n","$L10fe","\n"]}]]}] 10a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L10ff","\n","$L1100","\n"]}]]}] 1102:T926,Indicates the state of the expense. Possible values: - `missing_info`: The expense is missing some required information. This is the initial state of the expense when it's first created. Once the missing information is provided, the expense is ready to be submitted. - `awaiting_review`: The expense is awaiting approval before it can be completed. The approver can approve, reject, or request repayment for the expense. It is also possible for the submitter to undo the submission at this stage. - `rejected`: The expense has been rejected by the approver. The expense submitter (typically, the payer) should fix the issue that was the reason for the rejection and resubmit the expense. - `pending_reimbursement`: The reimbursement request has been approved, and the expense is awaiting reimbursement. This state is possible for reimbursements (transaction type = `External`). - `refund_requested`: The expense has been rejected and repayment has been requested.* This state is possible for card transactions. It indicates that following the review, the approver rejected the expense and requested that it be paid back to the business account. This can happen, for example, if an employee accidentally makes a personal purchase with their business card. Once the money has been returned, the **admin** can mark this expense as repaid. - `refunded`: The expense has been repaid.* This state indicates that the admin has marked the expense as repaid. - `approved`: The expense has been approved and is now completed.* - `reverted`: The expense has been reverted. This status indicates that the transaction related to the expense has been reverted. In such a case, the expense status is automatically set to `reverted`, and the expense is completed. This can happen, for example, when the transaction has been reverted by the merchant. _*Additionally, if an admin has previously approved the expense, marked it as repaid/completed, or requested repayment, they can revert their decision. In such a case, the expense goes back to the initial `missing_info` state._ For more information, see the guides: [Retrieve expenses and receipts](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses#expense-state).5e:["$","$98","get-expenses",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of expenses","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the expense.","descriptionNode":"$L1101"},"state":{"enum":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"$1102","type":"string","descriptionNode":"$L1103"},"transaction_type":{"enum":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:transaction_type:enum","description":"The type of the [transaction](https://developer.revolut.com/docs/api/business#get-transaction) related to the expense.","type":"string","descriptionNode":"$L1104"},"description":{"type":"string","description":"The description of the expense.","descriptionNode":"$L1105"},"submitted_at":{"type":"string","format":"date-time","description":"The date and time the expense was submitted in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1106"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the expense was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1107"},"payer":{"type":"string","description":"The name of the [team member](https://developer.revolut.com/docs/api/business#delete-team-member) who made the transaction, refund request, or ATM withdrawal, or the name of the business if the related transaction is of type `fee`.","descriptionNode":"$L1108"},"merchant":{"type":"string","description":"The name of the merchant.","descriptionNode":"$L1109"},"transaction_id":{"type":"string","format":"uuid","description":"The ID of the [transaction](https://developer.revolut.com/docs/api/business#get-transaction) related to the expense. Not available for transactions of type `external`.","descriptionNode":"$L110a"},"expense_date":{"type":"string","format":"date-time","description":"The expense data depends on the type of the expense and whether it has been completed.\n\nTypically, it's the date and time of the expense [transaction](https://developer.revolut.com/docs/api/business#get-transaction) in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n- If the transaction related to the expense is completed, it is the date and time of its completion ([`completed_at`](https://developer.revolut.com/docs/api/business#get-transaction#response)).\n- Otherwise, it is the date and time of its creation ([`created_at`](https://developer.revolut.com/docs/api/business#get-transaction#response)).\n\nFor reimbursements, it's the payment date provided in the reimbursement request.","descriptionNode":"$L110b"},"labels":{"type":"object","description":"The [labels](https://developer.revolut.com/docs/api/business#delete-label) added to the expense, organised in groups.\n\nYou can have up to 5 label groups, with max. 1 label per group.\n\nThe labels are provided as an object, where each key is the name of a label group, and each value is a single-element array containing the selected label from that group.","maxProperties":5,"additionalProperties":{"type":"array","description":"A label group with the selected label from that group.\n\nFor example, you might have a label group called **Department**, and the label you select from that group might be **HR**: `\"Department\": [ \"HR\" ]`.","minItems":1,"maxItems":1,"items":{"type":"string","description":"The name of the selected label.","examples":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:labels:additionalProperties:items:examples","descriptionNode":"$L110c"},"examples":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:labels:additionalProperties:examples","descriptionNode":"$L110d"},"examples":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:labels:examples","descriptionNode":"$L110e"},"splits":{"type":"array","description":"The splits of the expense.\n\nA single expense can be divided into multiple parts (splits), for example, to allocate different portions of the expense to different categories.","items":{"type":"object","required":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:splits:items:required","properties":{"amount":{"type":"object","description":"The original amount of the expense split.","properties":{"amount":{"description":"The amount of money.","type":"number","format":"double","descriptionNode":"$L110f"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L1110"}},"descriptionNode":"$L1111"},"category":{"type":"object","description":"The [accounting category](https://developer.revolut.com/docs/api/business#delete-accounting-category) of the expense split.","required":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:splits:items:properties:category:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the accounting category.","descriptionNode":"$L1112"},"name":{"type":"string","description":"The name of the accounting category.","descriptionNode":"$L1113"},"code":{"type":"string","description":"The code of the accounting category.","descriptionNode":"$L1114"}},"descriptionNode":"$L1115"},"tax_rate":{"type":"object","description":"The [tax rate](https://developer.revolut.com/docs/api/business#delete-tax-rate) applied to the expense split.","required":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:splits:items:properties:tax_rate:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the tax rate.","descriptionNode":"$L1116"},"name":{"type":"string","description":"The name of the tax.","minLength":1,"maxLength":20,"descriptionNode":"$L1117"},"percentage":{"type":"number","format":"double","minimum":0,"maximum":100,"description":"The tax rate percentage applied to the taxable amount. For example, `23` for 23%.","descriptionNode":"$L1118"}},"descriptionNode":"$L1119"}}},"descriptionNode":"$L111a"},"receipt_ids":{"type":"array","description":"The IDs of the receipts related to the expense.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L111b"},"spent_amount":{"type":"object","description":"The expense amount in billed currency.","properties":{"amount":{"description":"The amount of money.","type":"number","format":"double","descriptionNode":"$L111c"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L111d"}},"required":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spent_amount:required","descriptionNode":"$L111e"}},"required":"$5f:props:children:0:props:children:props:responses:200:content:application/json:schema:required"}},"examples":{"default":{"value":[{"id":"8decf9f8-053e-46cb-92d8-a7b450fe5ae0","state":"approved","transaction_type":"card_payment","description":"Printer paper","submitted_at":"2024-09-13T20:48:40.912Z","completed_at":"2024-09-13T20:48:40.948Z","payer":"Ray Trenfield","merchant":"Best Printers Company","transaction_id":"163e0ef6-2414-4fcf-846f-1f871059d506","expense_date":"2024-09-13T18:47:01.782Z","splits":[{"amount":{"amount":15.39,"currency":"GBP"},"category":{"id":"71b9ec74-d5ff-4aa1-a489-f8dc39d4c9b7","name":"Printing & Stationery","code":"461"},"tax_rate":{"id":"5704fdd2-bac2-42ec-bab0-e075182260be","name":"VAT","percentage":20}},{"amount":{"amount":8.99,"currency":"GBP"},"category":{"id":"a5532a5e-d859-4795-967b-14723f8920ea","name":"Groceries","code":"555"},"tax_rate":{"id":"d92efe31-fc26-4364-af4b-3630c1057ece","name":"No VAT","percentage":0}}],"labels":{"Office supplies":["photocopying"],"Department":["HR"]},"receipt_ids":["84c0169a-37f9-4bfa-ab1e-f2c81dbc34cf"],"spent_amount":{"amount":24.38,"currency":"GBP"}},{"id":"8498b232-28ba-4baf-b33d-22fb464e83c8","state":"missing_info","transaction_type":"fee","description":"Expenses app charges","payer":"Bingston Labs","transaction_id":"91b56d41-7b42-40e8-8970-0082cf965e6e","expense_date":"2024-09-04T13:39:18.606Z","splits":[{"amount":{"amount":17.68,"currency":"EUR"},"category":{"id":"95bf2a30-7284-4664-989a-1dcb51e2053a","name":"General Expenses","code":"429"},"tax_rate":{"id":"812f50e7-37b3-480b-a7c4-2ad08442f7cf","name":"20% (VAT on Expenses)","percentage":20}}],"labels":{},"receipt_ids":["d97d062f-5aae-4a0c-b5f3-52ae134d384d"],"spent_amount":{"amount":17.68,"currency":"EUR"}},{"id":"a0e0294e-0460-42f4-bd97-f969469f1afc","state":"missing_info","transaction_type":"mileage_reimbursement","payer":"John Smith","expense_date":"2025-10-6T08:34:18.123Z","splits":[{"amount":{"amount":25.99,"currency":"EUR"},"category":{"id":"dab86546-a442-464a-9bad-18a826542b03","name":"Vehicle Operating Expenses"},"tax_rate":{"id":"728980d1-aa76-44f5-8902-53520160bfeb","name":"20% Fuel bills","percentage":20}}],"labels":{},"receipt_ids":[],"spent_amount":{"amount":25.99,"currency":"EUR"}}]}}}},"descriptionNode":"$L111f"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1120"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1121"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1122"},"403":{"description":"Forbidden\n\nReturned, for example, when the Expenses API is disabled for the business that is trying to use it.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1123"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1124"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Expenses API for business is disabled","code":9002}}}}},"descriptionNode":"$L1125"},"422":{"description":"Unprocessable content\n\nReturned, for example, when the Expenses feature (not just the API) is disabled for the business.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1126"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1127"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Expenses feature is not enabled","code":3470}}}}},"descriptionNode":"$L1128"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1129"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L112a"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L112b"}},"requestBody":"$undefined","variantLabels":[],"children":["$L112c","$L112d"]}]}],false]}] 10fd:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 10fe:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 10ff:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 1100:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 112c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-expenses","children":[["$L112e","$undefined"],["$","$L3a",null,{"id":"get-expenses"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-expenses.md"}]]}]}],"$undefined"]}] 1135:T92b,
fetch("https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1136:Te13,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1138:T15b7,
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://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
113a:T933,
fetch("https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
113b:Te1b,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
113d:T15bf,
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-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
113e:T14df,
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-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
112d:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L112f",["$","$Lac",null,{"parameters":[{"in":"query","name":"from","description":"The date and time to retrieve the expenses from, including this date-time.\nCorresponds to the value of `expense_date`.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n\nUsed also for pagination.\nTo get back to the previous page of results, make a new request and use the `expense_date` value from the first item of the current page as the value for the `from` parameter.","schema":{"type":"string","format":"date-time"},"descriptionNode":"$L1130"},{"in":"query","name":"to","description":"The date and time to retrieve the expenses to, excluding this date-time.\nCorresponds to the value of `expense_date`.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\nThe default value is the date and time at which you're calling the endpoint.\n\nUsed also for pagination.\nTo get back to the next page of results, make a new request and use the `expense_date` value from the last item of the previous (current) page as the value for the `to` parameter.","schema":{"type":"string","format":"date-time"},"descriptionNode":"$L1131"},{"in":"query","name":"count","description":"The maximum number of the expenses to retrieve per page.\nTo get the next page of results, make a new request and use the `expense_date` value from the last item of the previous page as the value for the `to` parameter.","schema":{"type":"integer","default":100,"maximum":500,"minimum":1},"descriptionNode":"$L1132"},{"in":"query","name":"state","description":"Retrieves the expenses in the specified state.","schema":{"type":"string","enum":["missing_info","awaiting_review","reverted","pending_reimbursement","refund_requested","refunded","approved","rejected"]},"descriptionNode":"$L1133"},{"in":"query","name":"transaction_type","description":"The type of the transaction related to the expense.\nIf provided, only expenses with transactions of this type are returned.","schema":{"type":"string","enum":["atm","card_payment","fee","transfer","external","mileage_reimbursement","rev_payment"]},"descriptionNode":"$L1134"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$5e:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1135","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1136","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1137","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"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://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1138","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"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://b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1139","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$113a","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$113b","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$113c","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"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-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$113d","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}},{"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-b2b.revolut.com/api/1.0/expenses?from=__RP_TOK_0__&to=__RP_TOK_1__&count=__RP_TOK_2__&state=__RP_TOK_3__&transaction_type=__RP_TOK_4__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$113e","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"transaction_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"2024-01-01T00:00:00Z","query:to":"2024-01-01T00:00:00Z","query:count":"100","query:state":"missing_info","query:transaction_type":"atm"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/expenses","parameters":["$112d:props:children:0:props:children:1:props:parameters:0","$112d:props:children:0:props:children:1:props:parameters:1","$112d:props:children:0:props:children:1:props:parameters:2","$112d:props:children:0:props:children:1:props:parameters:3","$112d:props:children:0:props:children:1:props:parameters:4"]}],"$L113f"],"$L1140","$L1141"]}]]}] 10e1:"Retrieve an expense" 1142:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)113f:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1142","descriptionNode":"$L1143"}}}] 1140:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1141:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$5e:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L1144"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1145"}],"syncedPropertyName":"$undefined"}},"403":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$5e:props:children:0:props:children:props:responses:403:content:application/json:examples:default:value","block":"$L1146"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$5e:props:children:0:props:children:props:responses:422:content:application/json:examples:default:value","block":"$L1147"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1148"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 10b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the expense."}]]}] 10b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the expense. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"missing_info"}],": The expense is missing some required information."]}],"\n",["$","p","p-1",{"children":"This is the initial state of the expense when it's first created.\nOnce the missing information is provided, the expense is ready to be submitted."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"awaiting_review"}],": The expense is awaiting approval before it can be completed."]}],"\n",["$","p","p-1",{"children":"The approver can approve, reject, or request repayment for the expense.\nIt is also possible for the submitter to undo the submission at this stage."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"rejected"}],": The expense has been rejected by the approver."]}],"\n",["$","p","p-1",{"children":"The expense submitter (typically, the payer) should fix the issue that was the reason for the rejection and resubmit the expense."}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"pending_reimbursement"}],": The reimbursement request has been approved, and the expense is awaiting reimbursement."]}],"\n",["$","p","p-1",{"children":["This state is possible for reimbursements (transaction type = ",["$","code","code-0",{"children":"External"}],")."]}],"\n"]}],"\n",["$","li","li-4",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"refund_requested"}],": The expense has been rejected and repayment has been requested.*"]}],"\n",["$","p","p-1",{"children":["This state is possible for card transactions.\nIt indicates that following the review, the approver rejected the expense and requested that it be paid back to the business account.\nThis can happen, for example, if an employee accidentally makes a personal purchase with their business card.\nOnce the money has been returned, the ",["$","strong","strong-0",{"children":"admin"}]," can mark this expense as repaid."]}],"\n"]}],"\n",["$","li","li-5",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"refunded"}],": The expense has been repaid.*"]}],"\n",["$","p","p-1",{"children":"This state indicates that the admin has marked the expense as repaid."}],"\n"]}],"\n",["$","li","li-6",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"approved"}],": The expense has been approved and is now completed.*"]}],"\n"]}],"\n",["$","li","li-7",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"reverted"}],": The expense has been reverted."]}],"\n",["$","p","p-1",{"children":["This status indicates that the transaction related to the expense has been reverted.\nIn such a case, the expense status is automatically set to ",["$","code","code-0",{"children":"reverted"}],", and the expense is completed.\nThis can happen, for example, when the transaction has been reverted by the merchant."]}],"\n"]}],"\n"]}],"\n",["$","p","p-1",{"children":["$","em","em-0",{"children":["*Additionally, if an admin has previously approved the expense, marked it as repaid/completed, or requested repayment, they can revert their decision.\nIn such a case, the expense goes back to the initial ",["$","code","code-0",{"children":"missing_info"}]," state."]}]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses#expense-state","target":"_blank","rel":"noreferrer","children":"Retrieve expenses and receipts"}],"."]}]]}] 10b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction"}]," related to the expense."]}]]}] 10b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the expense."}]]}] 80:["$","$98","get-indicative-quote",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The expected processing attributes for the potential transfer","content":{"application/json":{"schema":{"type":"object","description":"The expected processing attributes for a potential transfer.","properties":{"amount":{"description":"Amount the recipient receives before fees are deducted, in major units.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"Amount in major units.","descriptionNode":"$L1149"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L114a"}},"required":["amount","currency"],"descriptionNode":"$L114b"},"fee":{"description":"Total fee for the transfer (in source or target currency).","type":"object","properties":{"amount":{"type":"number","format":"double","description":"Fee amount in major units.","descriptionNode":"$L114c"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L114d"},"breakdown":{"type":"object","description":"Breakdown of transfer and exchange fees.\n\nWhen the total `fee` is zero, this field is omitted from the response.","properties":{"transfer_fee":{"type":"object","description":"A specific fee component.","properties":{"amount":{"type":"number","format":"double","description":"Fee amount in major units.","descriptionNode":"$L114e"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L114f"}},"required":["amount","currency"],"descriptionNode":"$L1150"},"exchange_fee":{"type":"object","description":"A specific fee component.","properties":{"amount":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:fee:properties:breakdown:properties:transfer_fee:properties:amount","currency":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:fee:properties:breakdown:properties:transfer_fee:properties:currency"},"required":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:fee:properties:breakdown:properties:transfer_fee:required","descriptionNode":"$L1151"}},"descriptionNode":"$L1152"}},"required":["amount","currency"],"descriptionNode":"$L1153"},"estimated_total":{"description":"Total amount of money which will be charged on the sender's account.","type":"object","properties":{"amount":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:properties:amount","currency":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:properties:currency"},"required":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:required","descriptionNode":"$L1154"},"estimated_exchange_rate":{"type":"string","description":"Exchange rate for the transfer.\n\nFor same-currency transfers, this field is omitted from the response.","descriptionNode":"$L1155"},"estimated_amount_after_exchange":{"description":"Amount of the money converted to the sender's currency.\n\nFor same-currency transfers, this field is omitted from the response.","type":"object","properties":{"amount":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:properties:amount","currency":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:properties:currency"},"required":"$80:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:amount:required","descriptionNode":"$L1156"},"estimated_arrival":{"type":"object","description":"Estimated time and speed of funds arrival in relation to the current date and time.\nPresent if such information is available.","properties":{"date":{"type":"string","format":"date","description":"The estimated arrival date provided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1157"},"speed":{"type":"string","enum":["instant","in_seconds","today","tomorrow","by_date"],"description":"The expected speed of the transfer.\n\nPossible values are:\n- **`instant`**: The funds are expected to reach the recipient **immediately** after the transfer is created.\n- **`in_seconds`**: The funds are expected to reach the recipient **within 5 minutes** after the transfer is created.\n- **`today`**: The funds are expected to reach the recipient by the end of the **same day** the transfer is created.\n- **`tomorrow`**: The funds are expected to reach the recipient by the end of the **day after** the transfer is created.\n- **`by_date`**: The funds are expected to reach the recipient by the end of the **day specified** in the `date` parameter.","descriptionNode":"$L1158"}},"required":["date","speed"],"descriptionNode":"$L1159"},"warnings":{"type":"array","description":"Potential warnings regarding the quote:\n\n- `volatile_fx_rate`: Returned when the specified FX rate is volatile.","items":{"type":"string","enum":["volatile_fx_rate"]},"descriptionNode":"$L115a"}},"required":["amount","fee","estimated_total"],"descriptionNode":"$L115b"},"examples":{"cross_currency_swift":{"summary":"Cross-currency SWIFT payment with fees and exchange rate","value":{"amount":{"amount":100.5,"currency":"EUR"},"fee":{"amount":20,"currency":"GBP","breakdown":{"transfer_fee":{"amount":20,"currency":"GBP"}}},"estimated_total":{"amount":106.3,"currency":"GBP"},"estimated_exchange_rate":"1.16458","estimated_amount_after_exchange":{"amount":86.3,"currency":"GBP"},"estimated_arrival":{"date":"2026-05-14","speed":"instant"}}},"same_currency_internal":{"summary":"Same-currency internal transfer - instant with no fees","value":{"amount":{"amount":25,"currency":"GBP"},"fee":{"amount":0,"currency":"GBP"},"estimated_total":{"amount":25,"currency":"GBP"},"estimated_arrival":{"date":"2026-05-14","speed":"instant"}}},"fx_transfer_fees":{"summary":"FX transfer with transfer and exchange fee","value":{"amount":{"amount":100.5,"currency":"EUR"},"fee":{"amount":5.75,"currency":"GBP","breakdown":{"transfer_fee":{"amount":3,"currency":"GBP"},"exchange_fee":{"amount":2.75,"currency":"GBP"}}},"estimated_total":{"amount":92.05,"currency":"GBP"},"estimated_exchange_rate":"1.16458","estimated_amount_after_exchange":{"amount":86.3,"currency":"GBP"},"estimated_arrival":{"date":"2026-05-14","speed":"instant"}}},"volatile_fx_rate":{"summary":"Volatile FX rate warning","value":{"amount":{"amount":100.5,"currency":"EUR"},"fee":{"amount":5.75,"currency":"GBP","breakdown":{"transfer_fee":{"amount":3,"currency":"GBP"},"exchange_fee":{"amount":2.75,"currency":"GBP"}}},"estimated_total":{"amount":92.05,"currency":"GBP"},"estimated_exchange_rate":"1.16458","estimated_amount_after_exchange":{"amount":86.3,"currency":"GBP"},"estimated_arrival":{"date":"2026-05-14","speed":"instant"},"warnings":["volatile_fx_rate"]}}}}},"descriptionNode":"$L115c"},"400":{"description":"Bad request\n\nFor example:\n- the request is invalid (e.g. malformed body, validation failure)\n- both `account_id` and `card_id` are provided in `receiver` (only one of these values can be provided in a single request)\n- the specified `charge_bearer` is not supported\n- `exchange_reason_code` is required for such a transfer but was not provided in the request\n- the specified counterparty, account, or card was not found","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L115d"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L115e"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L115f"}}},"examples":{"invalid_request":{"summary":"Invalid request (malformed body, validation failure)","value":{"error_id":"3bfe9326-87eb-a849-9e35-150de29664dd","code":2101,"message":"Request body is not valid JSON"}},"missing_counterparty":{"summary":"Missing receiver.counterparty_id","value":{"error_id":"6fa7dcdd-bdd3-43d6-bffa-423452083501","code":2101,"message":"'receiver.counterparty_id' is required"}},"missing_account_or_card":{"summary":"Missing receiver.account_id or receiver.card_id when multiple options available for counterparty","value":{"error_id":"510bea31-df11-4229-84ae-35a9a0dba020","code":2101,"message":"'receiver.account_id' or 'receiver.card_id' is missing"}},"invalid_charge_bearer":{"summary":"Invalid charge_bearer","value":{"error_id":"f2bb54d3-8e8d-49ae-a3db-178afebc9da3","code":2101,"message":"'charge_bearer' must be one of: shared, debtor"}},"multiple_receiver_methods":{"summary":"Both account_id and card_id provided","value":{"error_id":"c5698032-4ca2-446b-b43a-e278e21ac100","code":2101,"message":"Both 'account_id' and 'card_id' can't be provided"}},"currency_mismatch":{"summary":"Mismatched currency","value":{"error_id":"ea1fc5c9-d0cb-4614-a19c-71c9ce4e2e72","code":3187,"message":"The payment currency does not match the counterparty's account currency"}},"unsupported_charge_bearer":{"summary":"Unsupported charge_bearer","value":{"error_id":"c4e93983-4bcf-4bbc-88de-171be6811d35","code":3287,"message":"Specified 'charge_bearer' is not supported for this transaction."}},"missing_exchange_reason_code":{"summary":"Missing exchange_reason_code","value":{"error_id":"6e8365f6-560f-469c-9561-07d024fad9c5","code":3448,"message":"exchange_reason_code is required for this transfer"}},"counterparty_not_found":{"summary":"Invalid recipient - the specified counterparty was not found","value":{"error_id":"7300ed0a-bfed-4b47-b46e-6d55c9aa398c","code":3544,"message":"Counterparty not found f7e6d5c4-b3a2-1098-7654-321fedcba098"}},"account_not_found":{"summary":"Invalid recipient - the account specified for the counterparty was not found","value":{"error_id":"ab3d5761-4b97-42dc-b4a4-8c2b010836e7","code":3544,"message":"Account not found for counterparty f7e6d5c4-b3a2-1098-7654-321fedcba098"}},"card_not_found":{"summary":"Invalid recipient - the card specified for the counterparty was not found","value":{"error_id":"d89d4df4-e461-47e0-90d8-a79fefcf9e18","code":3544,"message":"Card not found for counterparty f7e6d5c4-b3a2-1098-7654-321fedcba098"}}}}},"descriptionNode":"$L1160"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"required":"$59:props:children:0:props:children:props:responses:400:content:application/json:schema:required","type":"object","properties":{"error_id":{"type":"string","description":"The ID of the specific error instance. Used for traceability.","descriptionNode":"$L1161"},"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1162"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1163"}}}}},"descriptionNode":"$L1164"}},"requestBody":{"description":"Request an indicative quote","required":true,"content":{"application/json":{"schema":{"type":"object","description":"The request details for an indicative quote.","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the account from which the transfer will be made.","descriptionNode":"$L1165"},"receiver":{"type":"object","description":"The details of the transfer recipient.\n\nIf the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (`account_id`) or card (`card_id`) to which you want to transfer the money.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty.","descriptionNode":"$L1166"},"account_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's account. Used for bank transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money.","descriptionNode":"$L1167"},"card_id":{"type":"string","format":"uuid","description":"The ID of the receiving counterparty's card.\nUsed for card transfers.\n\nIf the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money.","descriptionNode":"$L1168"}},"required":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:receiver:required","descriptionNode":"$L1169"},"amount":{"type":"number","format":"double","description":"The transfer amount in major units.","descriptionNode":"$L116a"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L116b"},"charge_bearer":{"type":"string","enum":"$7f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:charge_bearer:enum","description":"The party to which any transaction fees are charged if the resulting transaction route has associated fees: \n- `shared`: Also known as **SHA**. The transaction route fees are split between the sender and the recipient. \n The sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks.\n- `debtor`: Also known as **OUR**. The sender pays all explicit transaction fees.\nSome transactions with fees might not be possible with the specified option, in which case error `3287` is returned.","descriptionNode":"$L116c"},"transfer_reason_code":{"type":"string","description":"The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. \nYou can check available reason codes with the [`GET /transfer-reasons` operation](https://developer.revolut.com/docs/api/business#get-transfer-reasons).\n\nIf a transfer reason is not required for the given currency and country, this field is ignored.","examples":"$6c:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:transfer_reason_code:examples","descriptionNode":"$L116d"},"exchange_reason_code":{"type":"string","description":"The reason code for the exchange.\nDepending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason. \nYou can check available reason codes with the [`GET /exchange-reasons` operation](https://developer.revolut.com/docs/api/business#get-exchange-reasons).\n\nIf an exchange reason is not required, this field is ignored.","examples":"$63:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:exchange_reason_code:examples","descriptionNode":"$L116e"}},"required":["account_id","receiver","amount","currency"],"descriptionNode":"$L116f"},"examples":{"cross_currency_swift":{"summary":"Cross-currency SWIFT payment","value":{"account_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","receiver":{"counterparty_id":"f7e6d5c4-b3a2-1098-7654-321fedcba098","account_id":"12345678-90ab-cdef-1234-567890abcdef"},"amount":100.5,"currency":"EUR","charge_bearer":"shared"}},"same_currency_internal":{"summary":"Same-currency internal transfer","value":{"account_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","receiver":{"counterparty_id":"f7e6d5c4-b3a2-1098-7654-321fedcba098","account_id":"87654321-abcd-ef01-2345-678901234567"},"amount":25,"currency":"GBP"}}}}},"descriptionNode":"$L1170"},"variantLabels":["Cross-currency SWIFT payment with fees and exchange rate","Same-currency internal transfer - instant with no fees","FX transfer with transfer and exchange fee","Volatile FX rate warning"],"children":["$L1171","$L1172"]}]}],false]}] 10b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the expense was submitted in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 10b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the expense was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 10b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-team-member","target":"_blank","rel":"noreferrer","children":"team member"}]," who made the transaction, refund request, or ATM withdrawal, or the name of the business if the related transaction is of type ",["$","code","code-0",{"children":"fee"}],"."]}]]}] 10b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the merchant."}]]}] 10b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction"}]," related to the expense. Not available for transactions of type ",["$","code","code-0",{"children":"external"}],"."]}]]}] 10ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expense data depends on the type of the expense and whether it has been completed."}],"\n",["$","p","p-1",{"children":["Typically, it's the date and time of the expense ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction"}]," in ",["$","a","a-1",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the transaction related to the expense is completed, it is the date and time of its completion (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"completed_at"}]}],")."]}],"\n",["$","li","li-1",{"children":["Otherwise, it is the date and time of its creation (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"created_at"}]}],")."]}],"\n"]}],"\n",["$","p","p-2",{"children":"For reimbursements, it's the payment date provided in the reimbursement request."}]]}] 10bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the selected label."}]]}] 10bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A label group with the selected label from that group."}],"\n",["$","p","p-1",{"children":["For example, you might have a label group called ",["$","strong","strong-0",{"children":"Department"}],", and the label you select from that group might be ",["$","strong","strong-1",{"children":"HR"}],": ",["$","code","code-0",{"children":"\"Department\": [ \"HR\" ]"}],"."]}]]}] 10bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-label","target":"_blank","rel":"noreferrer","children":"labels"}]," added to the expense, organised in groups."]}],"\n",["$","p","p-1",{"children":"You can have up to 5 label groups, with max. 1 label per group."}],"\n",["$","p","p-2",{"children":"The labels are provided as an object, where each key is the name of a label group, and each value is a single-element array containing the selected label from that group."}]]}] 10be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money."}]]}] 10bf:["$","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."]}]]}] 10c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The original amount of the expense split."}]]}] 10c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the accounting category."}]]}] 10c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the accounting category."}]]}] 10c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the accounting category."}]]}] 10c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-accounting-category","target":"_blank","rel":"noreferrer","children":"accounting category"}]," of the expense split."]}]]}] 10c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the tax rate."}]]}] 10c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the tax."}]]}] 10c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The tax rate percentage applied to the taxable amount. For example, ",["$","code","code-0",{"children":"23"}]," for 23%."]}]]}] 10c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-tax-rate","target":"_blank","rel":"noreferrer","children":"tax rate"}]," applied to the expense split."]}]]}] 10c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The splits of the expense."}],"\n",["$","p","p-1",{"children":"A single expense can be divided into multiple parts (splits), for example, to allocate different portions of the expense to different categories."}]]}] 10ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IDs of the receipts related to the expense."}]]}] 10cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money."}]]}] 10cc:["$","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."]}]]}] 10cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expense amount in billed currency."}]]}] 10ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Expense"}]]}] 10cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 10d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 10d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}]]}] 10d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 10d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 10d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the access token is missing the required ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#access-token","target":"_blank","rel":"noreferrer","children":"scope"}]," or if the Expenses API is disabled for the business."]}]]}] 10d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 10d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 10d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}]]}] 10d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 10d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 10da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable content"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the Expenses feature (not just the API) is disabled for the business."}]]}] 10db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 10dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 10dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 10e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the information about a specific expense by ID."}],"\n",["$","p","p-1",{"children":["The data enriched by the user, for example, VAT and cost centre, is returned under ",["$","code","code-0",{"children":"splits[].tax_rate"}]," and ",["$","code","code-1",{"children":"labels"}],", respectively."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This feature is not available in Sandbox."}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","target":"_blank","rel":"noreferrer","children":"Retrieve expenses and receipts"}],"."]}]]}] 10e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the expense to retrieve."}]]}] 112e:"Retrieve a list of expenses" 1171:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-indicative-quote","children":[["$L1173","$undefined"],["$","$L3a",null,{"id":"get-indicative-quote"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-indicative-quote.md"}]]}]}],"$undefined"]}] 1175:T88c,
curl -X POST "https://b2b.revolut.com/api/1.0/pay/indicative-quote" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}'
1176:T13e5,
const payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
};
fetch("https://b2b.revolut.com/api/1.0/pay/indicative-quote", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1177:T1784,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/pay/indicative-quote"
  jsonData := []byte(`
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/pay/indicative-quote"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
1179:T1ceb,
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 = """
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/pay/indicative-quote"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/pay/indicative-quote"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""a1b2c3d4-e5f6-7890-abcd-ef1234567890"",
  ""receiver"": {
    ""counterparty_id"": ""f7e6d5c4-b3a2-1098-7654-321fedcba098"",
    ""account_id"": ""12345678-90ab-cdef-1234-567890abcdef""
  },
  ""amount"": 100.5,
  ""currency"": ""EUR"",
  ""charge_bearer"": ""shared""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
117b:T894,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}'
117c:T13ed,
const payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
117d:T178c,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote"
  jsonData := []byte(`
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
117f:T400,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 = """ { "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "receiver": { "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098", "account_id": "12345678-90ab-cdef-1234-567890abcdef" }, "amount": 100.5, "currency": "EUR", "charge_bearer": "shared" } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }1180:T1cf3,
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 = """
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1181:T269d,
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-b2b.revolut.com/api/1.0/pay/indicative-quote"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""account_id"": ""a1b2c3d4-e5f6-7890-abcd-ef1234567890"",
  ""receiver"": {
    ""counterparty_id"": ""f7e6d5c4-b3a2-1098-7654-321fedcba098"",
    ""account_id"": ""12345678-90ab-cdef-1234-567890abcdef""
  },
  ""amount"": 100.5,
  ""currency"": ""EUR"",
  ""charge_bearer"": ""shared""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1172:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1174",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$80:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$80:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/pay/indicative-quote\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}'","templateHtml":"$1175","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/pay/indicative-quote\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1176","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/pay/indicative-quote\"\n jsonData := []byte(`\n{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1177","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/pay/indicative-quote\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$1178","tokens":[],"defaults":{}},{"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 \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/pay/indicative-quote\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$1179","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/pay/indicative-quote\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"f7e6d5c4-b3a2-1098-7654-321fedcba098\"\",\n \"\"account_id\"\": \"\"12345678-90ab-cdef-1234-567890abcdef\"\"\n },\n \"\"amount\"\": 100.5,\n \"\"currency\"\": \"\"EUR\"\",\n \"\"charge_bearer\"\": \"\"shared\"\"\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":"$117a","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}'","templateHtml":"$117b","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$117c","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/pay/indicative-quote\"\n jsonData := []byte(`\n{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$117d","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/pay/indicative-quote\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$117e","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$117f","templateHtml":"$1180","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/pay/indicative-quote\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"account_id\"\": \"\"a1b2c3d4-e5f6-7890-abcd-ef1234567890\"\",\n \"\"receiver\"\": {\n \"\"counterparty_id\"\": \"\"f7e6d5c4-b3a2-1098-7654-321fedcba098\"\",\n \"\"account_id\"\": \"\"12345678-90ab-cdef-1234-567890abcdef\"\"\n },\n \"\"amount\"\": 100.5,\n \"\"currency\"\": \"\"EUR\"\",\n \"\"charge_bearer\"\": \"\"shared\"\"\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":"$1181","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/pay/indicative-quote","parameters":[]}],"$L1182"],"$L1183","$L1184"]}]]}] 10f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L1185","\n","$L1186","\n"]}]]}] 1101:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the expense."}]]}] 1103:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the expense. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"missing_info"}],": The expense is missing some required information."]}],"\n",["$","p","p-1",{"children":"This is the initial state of the expense when it's first created.\nOnce the missing information is provided, the expense is ready to be submitted."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"awaiting_review"}],": The expense is awaiting approval before it can be completed."]}],"\n",["$","p","p-1",{"children":"The approver can approve, reject, or request repayment for the expense.\nIt is also possible for the submitter to undo the submission at this stage."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"rejected"}],": The expense has been rejected by the approver."]}],"\n",["$","p","p-1",{"children":"The expense submitter (typically, the payer) should fix the issue that was the reason for the rejection and resubmit the expense."}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"pending_reimbursement"}],": The reimbursement request has been approved, and the expense is awaiting reimbursement."]}],"\n",["$","p","p-1",{"children":["This state is possible for reimbursements (transaction type = ",["$","code","code-0",{"children":"External"}],")."]}],"\n"]}],"\n",["$","li","li-4",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"refund_requested"}],": The expense has been rejected and repayment has been requested.*"]}],"\n",["$","p","p-1",{"children":["This state is possible for card transactions.\nIt indicates that following the review, the approver rejected the expense and requested that it be paid back to the business account.\nThis can happen, for example, if an employee accidentally makes a personal purchase with their business card.\nOnce the money has been returned, the ",["$","strong","strong-0",{"children":"admin"}]," can mark this expense as repaid."]}],"\n"]}],"\n",["$","li","li-5",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"refunded"}],": The expense has been repaid.*"]}],"\n",["$","p","p-1",{"children":"This state indicates that the admin has marked the expense as repaid."}],"\n"]}],"\n",["$","li","li-6",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"approved"}],": The expense has been approved and is now completed.*"]}],"\n"]}],"\n",["$","li","li-7",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"reverted"}],": The expense has been reverted."]}],"\n",["$","p","p-1",{"children":["This status indicates that the transaction related to the expense has been reverted.\nIn such a case, the expense status is automatically set to ",["$","code","code-0",{"children":"reverted"}],", and the expense is completed.\nThis can happen, for example, when the transaction has been reverted by the merchant."]}],"\n"]}],"\n"]}],"\n",["$","p","p-1",{"children":["$","em","em-0",{"children":["*Additionally, if an admin has previously approved the expense, marked it as repaid/completed, or requested repayment, they can revert their decision.\nIn such a case, the expense goes back to the initial ",["$","code","code-0",{"children":"missing_info"}]," state."]}]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses#expense-state","target":"_blank","rel":"noreferrer","children":"Retrieve expenses and receipts"}],"."]}]]}] 1104:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The type of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction"}]," related to the expense."]}]]}] 1105:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the expense."}]]}] 1106:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the expense was submitted in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1187:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1182:["$","$L1f6",null,{"security":[{"AccessToken":["READ","PAY"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1187","descriptionNode":"$L1188"}}}] 1183:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"cross_currency_swift","label":"Cross-currency SWIFT payment","rawValue":"$80:props:children:0:props:children:props:requestBody:content:application/json:examples:cross_currency_swift:value","block":"$L1189"},{"key":"same_currency_internal","label":"Same-currency internal transfer","rawValue":"$80:props:children:0:props:children:props:requestBody:content:application/json:examples:same_currency_internal:value","block":"$L118a"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1184:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"cross_currency_swift","label":"Cross-currency SWIFT payment with fees and exchange rate","rawValue":"$80:props:children:0:props:children:props:responses:200:content:application/json:examples:cross_currency_swift:value","block":"$L118b"},{"key":"same_currency_internal","label":"Same-currency internal transfer - instant with no fees","rawValue":"$80:props:children:0:props:children:props:responses:200:content:application/json:examples:same_currency_internal:value","block":"$L118c"},{"key":"fx_transfer_fees","label":"FX transfer with transfer and exchange fee","rawValue":"$80:props:children:0:props:children:props:responses:200:content:application/json:examples:fx_transfer_fees:value","block":"$L118d"},{"key":"volatile_fx_rate","label":"Volatile FX rate warning","rawValue":"$80:props:children:0:props:children:props:responses:200:content:application/json:examples:volatile_fx_rate:value","block":"$L118e"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_request","label":"Invalid request (malformed body, validation failure)","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_request:value","block":"$L118f"},{"key":"missing_counterparty","label":"Missing receiver.counterparty_id","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_counterparty:value","block":"$L1190"},{"key":"missing_account_or_card","label":"Missing receiver.account_id or receiver.card_id when multiple options available for counterparty","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_account_or_card:value","block":"$L1191"},{"key":"invalid_charge_bearer","label":"Invalid charge_bearer","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_charge_bearer:value","block":"$L1192"},{"key":"multiple_receiver_methods","label":"Both account_id and card_id provided","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_receiver_methods:value","block":"$L1193"},{"key":"currency_mismatch","label":"Mismatched currency","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:currency_mismatch:value","block":"$L1194"},{"key":"unsupported_charge_bearer","label":"Unsupported charge_bearer","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:unsupported_charge_bearer:value","block":"$L1195"},{"key":"missing_exchange_reason_code","label":"Missing exchange_reason_code","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_exchange_reason_code:value","block":"$L1196"},{"key":"counterparty_not_found","label":"Invalid recipient - the specified counterparty was not found","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:counterparty_not_found:value","block":"$L1197"},{"key":"account_not_found","label":"Invalid recipient - the account specified for the counterparty was not found","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:account_not_found:value","block":"$L1198"},{"key":"card_not_found","label":"Invalid recipient - the card specified for the counterparty was not found","rawValue":"$80:props:children:0:props:children:props:responses:400:content:application/json:examples:card_not_found:value","block":"$L1199"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"error_id":"string","code":123,"message":"string"},"block":"$L119a"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 1185:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 1186:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1107:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the expense was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1108:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-team-member","target":"_blank","rel":"noreferrer","children":"team member"}]," who made the transaction, refund request, or ATM withdrawal, or the name of the business if the related transaction is of type ",["$","code","code-0",{"children":"fee"}],"."]}]]}] 1109:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the merchant."}]]}] 110a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ID of the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction"}]," related to the expense. Not available for transactions of type ",["$","code","code-0",{"children":"external"}],"."]}]]}] 110b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expense data depends on the type of the expense and whether it has been completed."}],"\n",["$","p","p-1",{"children":["Typically, it's the date and time of the expense ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction","target":"_blank","rel":"noreferrer","children":"transaction"}]," in ",["$","a","a-1",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If the transaction related to the expense is completed, it is the date and time of its completion (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"completed_at"}]}],")."]}],"\n",["$","li","li-1",{"children":["Otherwise, it is the date and time of its creation (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"created_at"}]}],")."]}],"\n"]}],"\n",["$","p","p-2",{"children":"For reimbursements, it's the payment date provided in the reimbursement request."}]]}] 110c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the selected label."}]]}] 110d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A label group with the selected label from that group."}],"\n",["$","p","p-1",{"children":["For example, you might have a label group called ",["$","strong","strong-0",{"children":"Department"}],", and the label you select from that group might be ",["$","strong","strong-1",{"children":"HR"}],": ",["$","code","code-0",{"children":"\"Department\": [ \"HR\" ]"}],"."]}]]}] 110e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-label","target":"_blank","rel":"noreferrer","children":"labels"}]," added to the expense, organised in groups."]}],"\n",["$","p","p-1",{"children":"You can have up to 5 label groups, with max. 1 label per group."}],"\n",["$","p","p-2",{"children":"The labels are provided as an object, where each key is the name of a label group, and each value is a single-element array containing the selected label from that group."}]]}] 110f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money."}]]}] 1110:["$","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."]}]]}] 1111:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The original amount of the expense split."}]]}] 1112:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the accounting category."}]]}] 1113:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the accounting category."}]]}] 1114:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the accounting category."}]]}] 1115:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-accounting-category","target":"_blank","rel":"noreferrer","children":"accounting category"}]," of the expense split."]}]]}] 1116:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the tax rate."}]]}] 1117:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the tax."}]]}] 1118:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The tax rate percentage applied to the taxable amount. For example, ",["$","code","code-0",{"children":"23"}]," for 23%."]}]]}] 1119:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#delete-tax-rate","target":"_blank","rel":"noreferrer","children":"tax rate"}]," applied to the expense split."]}]]}] 111a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The splits of the expense."}],"\n",["$","p","p-1",{"children":"A single expense can be divided into multiple parts (splits), for example, to allocate different portions of the expense to different categories."}]]}] 111b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IDs of the receipts related to the expense."}]]}] 111c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of money."}]]}] 111d:["$","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."]}]]}] 111e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expense amount in billed currency."}]]}] 111f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of expenses"}]]}] 1120:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1121:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1122:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}]]}] 1123:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1124:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1125:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Forbidden"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the Expenses API is disabled for the business that is trying to use it."}]]}] 1126:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1127:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1128:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable content"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the Expenses feature (not just the API) is disabled for the business."}]]}] 1129:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 112a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 112b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 112f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get all your expenses, or use the query parameters to filter the results."}],"\n",["$","p","p-1",{"children":["The expenses are sorted by the ",["$","code","code-0",{"children":"expense_date"}]," value in reverse chronological order, and they're ",["$","strong","strong-0",{"children":"paginated"}],".\nThe maximum number of expenses returned per page is specified by the ",["$","code","code-1",{"children":"count"}]," parameter.\nTo get the next page of results, make a new request and use the ",["$","code","code-2",{"children":"expense_date"}]," value from the last item of the previous page as the value for the ",["$","code","code-3",{"children":"to"}]," parameter."]}],"\n",["$","p","p-2",{"children":["The data enriched by the user, for example, VAT and cost centre, is returned under ",["$","code","code-0",{"children":"splits[].tax_rate"}]," and ",["$","code","code-1",{"children":"labels"}],", respectively."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"The API returns a maximum of 500 expenses per request."}],"\n",["$","li","li-1",{"children":"This feature is not available in Sandbox."}],"\n"]}]}]]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-expenses","target":"_blank","rel":"noreferrer","children":"Retrieve expenses and receipts"}],"."]}]]}] 1130:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time to retrieve the expenses from, including this date-time.\nCorresponds to the value of ",["$","code","code-0",{"children":"expense_date"}],".\nProvided 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":["Used also for pagination.\nTo get back to the previous page of results, make a new request and use the ",["$","code","code-0",{"children":"expense_date"}]," value from the first item of the current page as the value for the ",["$","code","code-1",{"children":"from"}]," parameter."]}]]}] 1131:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time to retrieve the expenses to, excluding this date-time.\nCorresponds to the value of ",["$","code","code-0",{"children":"expense_date"}],".\nProvided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format.\nThe default value is the date and time at which you're calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Used also for pagination.\nTo get back to the next page of results, make a new request and use the ",["$","code","code-0",{"children":"expense_date"}]," value from the last item of the previous (current) page as the value for the ",["$","code","code-1",{"children":"to"}]," parameter."]}]]}] 1132:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The maximum number of the expenses to retrieve per page.\nTo get the next page of results, make a new request and use the ",["$","code","code-0",{"children":"expense_date"}]," value from the last item of the previous page as the value for the ",["$","code","code-1",{"children":"to"}]," parameter."]}]]}] 1133:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieves the expenses in the specified state."}]]}] 1134:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the transaction related to the expense.\nIf provided, only expenses with transactions of this type are returned."}]]}] 1143:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L119b","\n","$L119c","\n"]}]]}] 1173:"Get an indicative quote for a transfer" 119b:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 119c:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1149:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount in major units."}]]}] 114a:["$","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."]}]]}] 114b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount the recipient receives before fees are deducted, in major units."}]]}] 114c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Fee amount in major units."}]]}] 114d:["$","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."]}]]}] 114e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Fee amount in major units."}]]}] 114f:["$","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."]}]]}] 1150:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A specific fee component."}]]}] 1151:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A specific fee component."}]]}] 1152:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Breakdown of transfer and exchange fees."}],"\n",["$","p","p-1",{"children":["When the total ",["$","code","code-0",{"children":"fee"}]," is zero, this field is omitted from the response."]}]]}] 1153:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total fee for the transfer (in source or target currency)."}]]}] 1154:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Total amount of money which will be charged on the sender's account."}]]}] 1155:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Exchange rate for the transfer."}],"\n",["$","p","p-1",{"children":"For same-currency transfers, this field is omitted from the response."}]]}] 1156:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Amount of the money converted to the sender's currency."}],"\n",["$","p","p-1",{"children":"For same-currency transfers, this field is omitted from the response."}]]}] 1157:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The estimated arrival date provided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1158:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expected speed of the transfer."}],"\n",["$","p","p-1",{"children":"Possible values are:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"instant"}]}],": The funds are expected to reach the recipient ",["$","strong","strong-1",{"children":"immediately"}]," after the transfer is created."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"in_seconds"}]}],": The funds are expected to reach the recipient ",["$","strong","strong-1",{"children":"within 5 minutes"}]," after the transfer is created."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"today"}]}],": The funds are expected to reach the recipient by the end of the ",["$","strong","strong-1",{"children":"same day"}]," the transfer is created."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"tomorrow"}]}],": The funds are expected to reach the recipient by the end of the ",["$","strong","strong-1",{"children":"day after"}]," the transfer is created."]}],"\n",["$","li","li-4",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"by_date"}]}],": The funds are expected to reach the recipient by the end of the ",["$","strong","strong-1",{"children":"day specified"}]," in the ",["$","code","code-0",{"children":"date"}]," parameter."]}],"\n"]}]]}] 119d:T198b,
{
  "title": "Draft Payment through API",
  "scheduled_for": "2026-06-24",
  "payments": [
    {
      "id": "67b38771-3db0-4cf0-bdc0-aaaa1284ab81",
      "amount": {
        "amount": 123,
        "currency": "GBP"
      },
      "reference": "Draft Payment through API",
      "account_id": "05018b0d-e67c-4fec-aaaa-415e9da9432c",
      "receiver": {
        "counterparty_id": "c71af44d-aaaa-4e1a-84bb-17589c81f022"
      },
      "state": "CREATED",
      "current_charge_options": {
        "from": {
          "amount": 123,
          "currency": "GBP"
        },
        "to": {
          "amount": 123,
          "currency": "GBP"
        },
        "rate": "1.0000",
        "fee": {
          "amount": 0,
          "currency": "GBP"
        }
      }
    }
  ]
}
10a1:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$119d"}}]}]],"$L119e"]}] 119f:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
10a2:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$119f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 11a0:Tceb,
{
  "counterparty_name": "string",
  "save_counterparty": false,
  "request_id": "string",
  "account_id": "123e4567-e89b-12d3-a456-426614174000",
  "amount": 123,
  "currency": "string",
  "reference": "a",
  "payout_methods": [
    "revolut",
    "bank_account"
  ],
  "expiry_period": "P7D",
  "transfer_reason_code": "string"
}
10a5:["$","div","request-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11a0"}}]}]],"$L11a1"]}] 11a2:T1268,
{
  "id": "12dcd8c2-6408-458f-98a9-3f4abc180898",
  "state": "active",
  "created_at": "2023-07-11T13:55:54.834963Z",
  "updated_at": "2023-07-11T13:55:55.082655Z",
  "counterparty_name": "John Smith",
  "request_id": "5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1",
  "expiry_date": "2023-07-18T13:55:55.082280Z",
  "payout_methods": [
    "revolut",
    "bank_account",
    "card"
  ],
  "account_id": "85f515e4-588f-4496-a6a5-a7615a193e6b",
  "amount": 105.6,
  "currency": "GBP",
  "url": "https://business.revolut.com/p/uSJVAd5SnP1",
  "reference": "Rent",
  "transfer_reason_code": "property_rental"
}
10a6:["$","div","201-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11a2"}}]}]],"$L11a3"]}] 10a7:["$","div","400-application/json-required_param_missing",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Required 'account_id' is missing\",\n  \"code\": 3009\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Required 'account_id' is missing\",\n \"code\": 3009\n}"}]}]]}] 10a8:["$","div","400-application/json-incorrect_param_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Value '123' is not in correct format for field 'account_id'\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Value '123' is not in correct format for field 'account_id'\",\n \"code\": 3000\n}"}]}]]}] 10a9:["$","div","400-application/json-ivalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Cannot parse request: invalid JSON\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Cannot parse request: invalid JSON\",\n \"code\": 3000\n}"}]}]]}] 10aa:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"This action is forbidden\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This action is forbidden\",\n \"code\": 9002\n}"}]}]]}] 10ab:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 119e:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"title\": \"Draft Payment through API\",\n \"scheduled_for\": \"2026-06-24\",\n \"payments\": [\n {\n \"id\": \"67b38771-3db0-4cf0-bdc0-aaaa1284ab81\",\n \"amount\": {\n \"amount\": 123,\n \"currency\": \"GBP\"\n },\n \"reference\": \"Draft Payment through API\",\n \"account_id\": \"05018b0d-e67c-4fec-aaaa-415e9da9432c\",\n \"receiver\": {\n \"counterparty_id\": \"c71af44d-aaaa-4e1a-84bb-17589c81f022\"\n },\n \"state\": \"CREATED\",\n \"current_charge_options\": {\n \"from\": {\n \"amount\": 123,\n \"currency\": \"GBP\"\n },\n \"to\": {\n \"amount\": 123,\n \"currency\": \"GBP\"\n },\n \"rate\": \"1.0000\",\n \"fee\": {\n \"amount\": 0,\n \"currency\": \"GBP\"\n }\n }\n }\n ]\n}"}]}] 11a1:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"counterparty_name\": \"string\",\n \"save_counterparty\": false,\n \"request_id\": \"string\",\n \"account_id\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"amount\": 123,\n \"currency\": \"string\",\n \"reference\": \"a\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\"\n ],\n \"expiry_period\": \"P7D\",\n \"transfer_reason_code\": \"string\"\n}"}]}] 11a3:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"12dcd8c2-6408-458f-98a9-3f4abc180898\",\n \"state\": \"active\",\n \"created_at\": \"2023-07-11T13:55:54.834963Z\",\n \"updated_at\": \"2023-07-11T13:55:55.082655Z\",\n \"counterparty_name\": \"John Smith\",\n \"request_id\": \"5a7fcb46-4be4-47d4-a56f-27a2e5b78dd1\",\n \"expiry_date\": \"2023-07-18T13:55:55.082280Z\",\n \"payout_methods\": [\n \"revolut\",\n \"bank_account\",\n \"card\"\n ],\n \"account_id\": \"85f515e4-588f-4496-a6a5-a7615a193e6b\",\n \"amount\": 105.6,\n \"currency\": \"GBP\",\n \"url\": \"https://business.revolut.com/p/uSJVAd5SnP1\",\n \"reference\": \"Rent\",\n \"transfer_reason_code\": \"property_rental\"\n}"}]}] 1159:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Estimated time and speed of funds arrival in relation to the current date and time.\nPresent if such information is available."}]]}] 115a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Potential warnings regarding the quote:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"volatile_fx_rate"}],": Returned when the specified FX rate is volatile."]}],"\n"]}]]}] 115b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expected processing attributes for a potential transfer."}]]}] 115c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The expected processing attributes for the potential transfer"}]]}] 115d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 115e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 115f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1160:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"For example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"the request is invalid (e.g. malformed body, validation failure)"}],"\n",["$","li","li-1",{"children":["both ",["$","code","code-0",{"children":"account_id"}]," and ",["$","code","code-1",{"children":"card_id"}]," are provided in ",["$","code","code-2",{"children":"receiver"}]," (only one of these values can be provided in a single request)"]}],"\n",["$","li","li-2",{"children":["the specified ",["$","code","code-0",{"children":"charge_bearer"}]," is not supported"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"exchange_reason_code"}]," is required for such a transfer but was not provided in the request"]}],"\n",["$","li","li-4",{"children":"the specified counterparty, account, or card was not found"}],"\n"]}]]}] 1161:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the specific error instance. Used for traceability."}]]}] 1162:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1163:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1164:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1165:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account from which the transfer will be made."}]]}] 1166:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty."}]]}] 1167:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's account. Used for bank transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the account to which you want to send the money."}]]}] 1168:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the receiving counterparty's card.\nUsed for card transfers."}],"\n",["$","p","p-1",{"children":"If the counterparty has multiple payment methods available, use it to specify the card to which you want to send the money."}]]}] 1169:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the transfer recipient."}],"\n",["$","p","p-1",{"children":["If the counterparty has multiple payment methods available (e.g. 2 accounts, or 1 account and 1 card), you must specify the account (",["$","code","code-0",{"children":"account_id"}],") or card (",["$","code","code-1",{"children":"card_id"}],") to which you want to transfer the money."]}]]}] 116a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The transfer amount in major units."}]]}] 116b:["$","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."]}]]}] 116c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The party to which any transaction fees are charged if the resulting transaction route has associated fees:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"shared"}],": Also known as ",["$","strong","strong-0",{"children":"SHA"}],". The transaction route fees are split between the sender and the recipient.\nThe sender pays the fees charged by their bank, while the recipient pays the fees charged by the receiving and any intermediary banks."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"debtor"}],": Also known as ",["$","strong","strong-0",{"children":"OUR"}],". The sender pays all explicit transaction fees.\nSome transactions with fees might not be possible with the specified option, in which case error ",["$","code","code-1",{"children":"3287"}]," is returned."]}],"\n"]}]]}] 116d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transfer-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /transfer-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If a transfer reason is not required for the given currency and country, this field is ignored."}]]}] 116e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code for the exchange.\nDepending on the country and the amount of funds to be exchanged, you might be required to provide an exchange reason.\nYou can check available reason codes with the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-exchange-reasons","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /exchange-reasons"}]," operation"]}],"."]}],"\n",["$","p","p-1",{"children":"If an exchange reason is not required, this field is ignored."}]]}] 116f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The request details for an indicative quote."}]]}] 1170:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Request an indicative quote"}]]}] 1174:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Get a non-binding estimate of fees, the exchange rate, and the expected delivery time for a potential ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":"transfer"}],".\nNo money is moved and no resource is created."]}],"\n",["$","p","p-1",{"children":["The request mirrors the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"/pay"}]," endpoint"]}]," that is used to initiate a transfer, but it excludes irrelevant fields that do not affect pricing or delivery time, such as the request ID or reference."]}],"\n",["$","p","p-2",{"children":["If the counterparty has multiple payment methods available, for example, 2 accounts, or 1 account and 1 card, you ",["$","strong","strong-0",{"children":"must specify the account or card"}]," to which you want to transfer the money (",["$","code","code-0",{"children":"receiver.account_id"}]," or ",["$","code","code-1",{"children":"receiver.card_id"}]," respectively).\nNote that in a single request, you can specify either an account or a card, but not both."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Sandbox behaviour"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["In Sandbox, this feature is only available for testing.\nWhile ",["$","strong","strong-0",{"children":"incomplete"}]," or ",["$","strong","strong-1",{"children":"invalid requests"}]," will return production-like error responses, ",["$","strong","strong-2",{"children":"complete and valid requests"}]," in Sandbox do not return real values and ",["$","code","code-0",{"children":"estimated_arrival"}]," will always return ",["$","code","code-1",{"children":"instant"}],"."]}]}]]}],"\n",["$","p","p-3",{"children":["For more details, see the guides: ",["$","strong","strong-0",{"children":"Check costs and delivery time before paying"}]," section in ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/bank-transfers#check-costs-and-delivery-time-before-paying","target":"_blank","rel":"noreferrer","children":"Bank transfers"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/transfers/card-transfers#check-costs-and-delivery-time-before-paying","target":"_blank","rel":"noreferrer","children":"Card transfers"}],"."]}]]}] 1188:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L11a4","\n","$L11a5","\n"]}]]}] 11a4:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 11a5:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 11a6:T2d2c,
{
  "id": "8decf9f8-053e-46cb-92d8-a7b450fe5ae0",
  "state": "approved",
  "transaction_type": "card_payment",
  "description": "Printer paper",
  "submitted_at": "2024-09-13T20:48:40.912Z",
  "completed_at": "2024-09-13T20:48:40.948Z",
  "payer": "Ray Trenfield",
  "merchant": "Best Printers Company",
  "transaction_id": "163e0ef6-2414-4fcf-846f-1f871059d506",
  "expense_date": "2024-09-13T18:47:01.782Z",
  "splits": [
    {
      "amount": {
        "amount": 15.39,
        "currency": "GBP"
      },
      "category": {
        "id": "71b9ec74-d5ff-4aa1-a489-f8dc39d4c9b7",
        "name": "Printing & Stationery",
        "code": "461"
      },
      "tax_rate": {
        "id": "5704fdd2-bac2-42ec-bab0-e075182260be",
        "name": "VAT",
        "percentage": 20
      }
    },
    {
      "amount": {
        "amount": 8.99,
        "currency": "GBP"
      },
      "category": {
        "id": "a5532a5e-d859-4795-967b-14723f8920ea",
        "name": "Groceries",
        "code": "555"
      },
      "tax_rate": {
        "id": "d92efe31-fc26-4364-af4b-3630c1057ece",
        "name": "No VAT",
        "percentage": 0
      }
    }
  ],
  "labels": {
    "Office supplies": [
      "photocopying"
    ],
    "Department": [
      "HR"
    ]
  },
  "receipt_ids": [
    "84c0169a-37f9-4bfa-ab1e-f2c81dbc34cf"
  ],
  "spent_amount": {
    "amount": 24.38,
    "currency": "GBP"
  }
}
10f3:["$","div","200-application/json-expense_approved",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11a6"}}]}]],"$L11a7"]}] 11a8:T1b0c,
{
  "id": "7ff44b9f-556b-4dce-8e39-4a667246f49f",
  "state": "awaiting_review",
  "transaction_type": "external",
  "description": "Snack",
  "submitted_at": "2024-09-11T13:19:24.659Z",
  "payer": "Chima Aragonye",
  "merchant": "Go FroYo Co.",
  "expense_date": "2024-01-21T00:00:00Z",
  "splits": [
    {
      "amount": {
        "amount": 5,
        "currency": "GBP"
      },
      "category": {
        "id": "95bf2a30-7284-4664-989a-1dcb51e2053a",
        "name": "General Expenses",
        "code": "429"
      },
      "tax_rate": {
        "id": "d92efe31-fc26-4364-af4b-3630c1057ece",
        "name": "No VAT",
        "percentage": 0
      }
    }
  ],
  "labels": {},
  "receipt_ids": [],
  "spent_amount": {
    "amount": 5,
    "currency": "GBP"
  }
}
10f4:["$","div","200-application/json-expense_awaiting_review",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11a8"}}]}]],"$L11a9"]}] 11aa:T1af6,
{
  "id": "8498b232-28ba-4baf-b33d-22fb464e83c8",
  "state": "missing_info",
  "transaction_type": "fee",
  "description": "Expenses app charges",
  "payer": "Bingston Labs",
  "transaction_id": "91b56d41-7b42-40e8-8970-0082cf965e6e",
  "expense_date": "2024-09-04T13:39:18.606Z",
  "splits": [
    {
      "amount": {
        "amount": 17.68,
        "currency": "EUR"
      },
      "category": {
        "id": "95bf2a30-7284-4664-989a-1dcb51e2053a",
        "name": "General Expenses",
        "code": "429"
      },
      "tax_rate": {
        "id": "812f50e7-37b3-480b-a7c4-2ad08442f7cf",
        "name": "20% (VAT on Expenses)",
        "percentage": 20
      }
    }
  ],
  "labels": {},
  "receipt_ids": [
    "d97d062f-5aae-4a0c-b5f3-52ae134d384d"
  ],
  "spent_amount": {
    "amount": 17.68,
    "currency": "EUR"
  }
}
10f5:["$","div","200-application/json-expense_missing_info",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11aa"}}]}]],"$L11ab"]}] 11ac:T10b7,
{
  "id": "9b9cf87a-e17f-4854-8800-515a0475c4df",
  "state": "reverted",
  "transaction_type": "transfer",
  "payer": "Mindy Carter",
  "transaction_id": "5581efb8-6b98-4c2b-bdcd-1270062a8d48",
  "expense_date": "2024-09-16T12:48:39.960Z",
  "splits": [
    {
      "amount": {
        "amount": 100,
        "currency": "EUR"
      }
    }
  ],
  "labels": {},
  "receipt_ids": [],
  "spent_amount": {
    "amount": 100,
    "currency": "EUR"
  }
}
10f6:["$","div","200-application/json-expense_reverted",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11ac"}}]}]],"$L11ad"]}] 10f7:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 10f8:["$","div","403-application/json-forbidden",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"This action is forbidden\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This action is forbidden\",\n \"code\": 9002\n}"}]}]]}] 10f9:["$","div","403-application/json-api_disabled",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expenses API for business is disabled\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expenses API for business is disabled\",\n \"code\": 9002\n}"}]}]]}] 10fa:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expense 'bd415411-6e3e-46e7-af07-42f9b790c44e' not found\",\n  \"code\": 3006\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expense 'bd415411-6e3e-46e7-af07-42f9b790c44e' not found\",\n \"code\": 3006\n}"}]}]]}] 10fb:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expenses feature is not enabled\",\n  \"code\": 3470\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expenses feature is not enabled\",\n \"code\": 3470\n}"}]}]]}] 10fc:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 11ae:T573,{ "id": "8decf9f8-053e-46cb-92d8-a7b450fe5ae0", "state": "approved", "transaction_type": "card_payment", "description": "Printer paper", "submitted_at": "2024-09-13T20:48:40.912Z", "completed_at": "2024-09-13T20:48:40.948Z", "payer": "Ray Trenfield", "merchant": "Best Printers Company", "transaction_id": "163e0ef6-2414-4fcf-846f-1f871059d506", "expense_date": "2024-09-13T18:47:01.782Z", "splits": [ { "amount": { "amount": 15.39, "currency": "GBP" }, "category": { "id": "71b9ec74-d5ff-4aa1-a489-f8dc39d4c9b7", "name": "Printing & Stationery", "code": "461" }, "tax_rate": { "id": "5704fdd2-bac2-42ec-bab0-e075182260be", "name": "VAT", "percentage": 20 } }, { "amount": { "amount": 8.99, "currency": "GBP" }, "category": { "id": "a5532a5e-d859-4795-967b-14723f8920ea", "name": "Groceries", "code": "555" }, "tax_rate": { "id": "d92efe31-fc26-4364-af4b-3630c1057ece", "name": "No VAT", "percentage": 0 } } ], "labels": { "Office supplies": [ "photocopying" ], "Department": [ "HR" ] }, "receipt_ids": [ "84c0169a-37f9-4bfa-ab1e-f2c81dbc34cf" ], "spent_amount": { "amount": 24.38, "currency": "GBP" } }11a7:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$11ae"}]}] 11a9:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"7ff44b9f-556b-4dce-8e39-4a667246f49f\",\n \"state\": \"awaiting_review\",\n \"transaction_type\": \"external\",\n \"description\": \"Snack\",\n \"submitted_at\": \"2024-09-11T13:19:24.659Z\",\n \"payer\": \"Chima Aragonye\",\n \"merchant\": \"Go FroYo Co.\",\n \"expense_date\": \"2024-01-21T00:00:00Z\",\n \"splits\": [\n {\n \"amount\": {\n \"amount\": 5,\n \"currency\": \"GBP\"\n },\n \"category\": {\n \"id\": \"95bf2a30-7284-4664-989a-1dcb51e2053a\",\n \"name\": \"General Expenses\",\n \"code\": \"429\"\n },\n \"tax_rate\": {\n \"id\": \"d92efe31-fc26-4364-af4b-3630c1057ece\",\n \"name\": \"No VAT\",\n \"percentage\": 0\n }\n }\n ],\n \"labels\": {},\n \"receipt_ids\": [],\n \"spent_amount\": {\n \"amount\": 5,\n \"currency\": \"GBP\"\n }\n}"}]}] 11ab:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"8498b232-28ba-4baf-b33d-22fb464e83c8\",\n \"state\": \"missing_info\",\n \"transaction_type\": \"fee\",\n \"description\": \"Expenses app charges\",\n \"payer\": \"Bingston Labs\",\n \"transaction_id\": \"91b56d41-7b42-40e8-8970-0082cf965e6e\",\n \"expense_date\": \"2024-09-04T13:39:18.606Z\",\n \"splits\": [\n {\n \"amount\": {\n \"amount\": 17.68,\n \"currency\": \"EUR\"\n },\n \"category\": {\n \"id\": \"95bf2a30-7284-4664-989a-1dcb51e2053a\",\n \"name\": \"General Expenses\",\n \"code\": \"429\"\n },\n \"tax_rate\": {\n \"id\": \"812f50e7-37b3-480b-a7c4-2ad08442f7cf\",\n \"name\": \"20% (VAT on Expenses)\",\n \"percentage\": 20\n }\n }\n ],\n \"labels\": {},\n \"receipt_ids\": [\n \"d97d062f-5aae-4a0c-b5f3-52ae134d384d\"\n ],\n \"spent_amount\": {\n \"amount\": 17.68,\n \"currency\": \"EUR\"\n }\n}"}]}] 11ad:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"9b9cf87a-e17f-4854-8800-515a0475c4df\",\n \"state\": \"reverted\",\n \"transaction_type\": \"transfer\",\n \"payer\": \"Mindy Carter\",\n \"transaction_id\": \"5581efb8-6b98-4c2b-bdcd-1270062a8d48\",\n \"expense_date\": \"2024-09-16T12:48:39.960Z\",\n \"splits\": [\n {\n \"amount\": {\n \"amount\": 100,\n \"currency\": \"EUR\"\n }\n }\n ],\n \"labels\": {},\n \"receipt_ids\": [],\n \"spent_amount\": {\n \"amount\": 100,\n \"currency\": \"EUR\"\n }\n}"}]}] 11af:T5f31,
[
  {
    "id": "8decf9f8-053e-46cb-92d8-a7b450fe5ae0",
    "state": "approved",
    "transaction_type": "card_payment",
    "description": "Printer paper",
    "submitted_at": "2024-09-13T20:48:40.912Z",
    "completed_at": "2024-09-13T20:48:40.948Z",
    "payer": "Ray Trenfield",
    "merchant": "Best Printers Company",
    "transaction_id": "163e0ef6-2414-4fcf-846f-1f871059d506",
    "expense_date": "2024-09-13T18:47:01.782Z",
    "splits": [
      {
        "amount": {
          "amount": 15.39,
          "currency": "GBP"
        },
        "category": {
          "id": "71b9ec74-d5ff-4aa1-a489-f8dc39d4c9b7",
          "name": "Printing & Stationery",
          "code": "461"
        },
        "tax_rate": {
          "id": "5704fdd2-bac2-42ec-bab0-e075182260be",
          "name": "VAT",
          "percentage": 20
        }
      },
      {
        "amount": {
          "amount": 8.99,
          "currency": "GBP"
        },
        "category": {
          "id": "a5532a5e-d859-4795-967b-14723f8920ea",
          "name": "Groceries",
          "code": "555"
        },
        "tax_rate": {
          "id": "d92efe31-fc26-4364-af4b-3630c1057ece",
          "name": "No VAT",
          "percentage": 0
        }
      }
    ],
    "labels": {
      "Office supplies": [
        "photocopying"
      ],
      "Department": [
        "HR"
      ]
    },
    "receipt_ids": [
      "84c0169a-37f9-4bfa-ab1e-f2c81dbc34cf"
    ],
    "spent_amount": {
      "amount": 24.38,
      "currency": "GBP"
    }
  },
  {
    "id": "8498b232-28ba-4baf-b33d-22fb464e83c8",
    "state": "missing_info",
    "transaction_type": "fee",
    "description": "Expenses app charges",
    "payer": "Bingston Labs",
    "transaction_id": "91b56d41-7b42-40e8-8970-0082cf965e6e",
    "expense_date": "2024-09-04T13:39:18.606Z",
    "splits": [
      {
        "amount": {
          "amount": 17.68,
          "currency": "EUR"
        },
        "category": {
          "id": "95bf2a30-7284-4664-989a-1dcb51e2053a",
          "name": "General Expenses",
          "code": "429"
        },
        "tax_rate": {
          "id": "812f50e7-37b3-480b-a7c4-2ad08442f7cf",
          "name": "20% (VAT on Expenses)",
          "percentage": 20
        }
      }
    ],
    "labels": {},
    "receipt_ids": [
      "d97d062f-5aae-4a0c-b5f3-52ae134d384d"
    ],
    "spent_amount": {
      "amount": 17.68,
      "currency": "EUR"
    }
  },
  {
    "id": "a0e0294e-0460-42f4-bd97-f969469f1afc",
    "state": "missing_info",
    "transaction_type": "mileage_reimbursement",
    "payer": "John Smith",
    "expense_date": "2025-10-6T08:34:18.123Z",
    "splits": [
      {
        "amount": {
          "amount": 25.99,
          "currency": "EUR"
        },
        "category": {
          "id": "dab86546-a442-464a-9bad-18a826542b03",
          "name": "Vehicle Operating Expenses"
        },
        "tax_rate": {
          "id": "728980d1-aa76-44f5-8902-53520160bfeb",
          "name": "20% Fuel bills",
          "percentage": 20
        }
      }
    ],
    "labels": {},
    "receipt_ids": [],
    "spent_amount": {
      "amount": 25.99,
      "currency": "EUR"
    }
  }
]
1144:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11af"}}]}]],"$L11b0"]}] 1145:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 1146:["$","div","403-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expenses API for business is disabled\",\n  \"code\": 9002\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expenses API for business is disabled\",\n \"code\": 9002\n}"}]}]]}] 1147:["$","div","422-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Expenses feature is not enabled\",\n  \"code\": 3470\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Expenses feature is not enabled\",\n \"code\": 3470\n}"}]}]]}] 1148:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 11b1:Tc5a,[ { "id": "8decf9f8-053e-46cb-92d8-a7b450fe5ae0", "state": "approved", "transaction_type": "card_payment", "description": "Printer paper", "submitted_at": "2024-09-13T20:48:40.912Z", "completed_at": "2024-09-13T20:48:40.948Z", "payer": "Ray Trenfield", "merchant": "Best Printers Company", "transaction_id": "163e0ef6-2414-4fcf-846f-1f871059d506", "expense_date": "2024-09-13T18:47:01.782Z", "splits": [ { "amount": { "amount": 15.39, "currency": "GBP" }, "category": { "id": "71b9ec74-d5ff-4aa1-a489-f8dc39d4c9b7", "name": "Printing & Stationery", "code": "461" }, "tax_rate": { "id": "5704fdd2-bac2-42ec-bab0-e075182260be", "name": "VAT", "percentage": 20 } }, { "amount": { "amount": 8.99, "currency": "GBP" }, "category": { "id": "a5532a5e-d859-4795-967b-14723f8920ea", "name": "Groceries", "code": "555" }, "tax_rate": { "id": "d92efe31-fc26-4364-af4b-3630c1057ece", "name": "No VAT", "percentage": 0 } } ], "labels": { "Office supplies": [ "photocopying" ], "Department": [ "HR" ] }, "receipt_ids": [ "84c0169a-37f9-4bfa-ab1e-f2c81dbc34cf" ], "spent_amount": { "amount": 24.38, "currency": "GBP" } }, { "id": "8498b232-28ba-4baf-b33d-22fb464e83c8", "state": "missing_info", "transaction_type": "fee", "description": "Expenses app charges", "payer": "Bingston Labs", "transaction_id": "91b56d41-7b42-40e8-8970-0082cf965e6e", "expense_date": "2024-09-04T13:39:18.606Z", "splits": [ { "amount": { "amount": 17.68, "currency": "EUR" }, "category": { "id": "95bf2a30-7284-4664-989a-1dcb51e2053a", "name": "General Expenses", "code": "429" }, "tax_rate": { "id": "812f50e7-37b3-480b-a7c4-2ad08442f7cf", "name": "20% (VAT on Expenses)", "percentage": 20 } } ], "labels": {}, "receipt_ids": [ "d97d062f-5aae-4a0c-b5f3-52ae134d384d" ], "spent_amount": { "amount": 17.68, "currency": "EUR" } }, { "id": "a0e0294e-0460-42f4-bd97-f969469f1afc", "state": "missing_info", "transaction_type": "mileage_reimbursement", "payer": "John Smith", "expense_date": "2025-10-6T08:34:18.123Z", "splits": [ { "amount": { "amount": 25.99, "currency": "EUR" }, "category": { "id": "dab86546-a442-464a-9bad-18a826542b03", "name": "Vehicle Operating Expenses" }, "tax_rate": { "id": "728980d1-aa76-44f5-8902-53520160bfeb", "name": "20% Fuel bills", "percentage": 20 } } ], "labels": {}, "receipt_ids": [], "spent_amount": { "amount": 25.99, "currency": "EUR" } } ]11b0:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$11b1"}]}] 11b2:T8aa,
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "12345678-90ab-cdef-1234-567890abcdef"
  },
  "amount": 100.5,
  "currency": "EUR",
  "charge_bearer": "shared"
}
1189:["$","div","request-application/json-cross_currency_swift",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11b2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"12345678-90ab-cdef-1234-567890abcdef\"\n },\n \"amount\": 100.5,\n \"currency\": \"EUR\",\n \"charge_bearer\": \"shared\"\n}"}]}]]}] 11b3:T790,
{
  "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "receiver": {
    "counterparty_id": "f7e6d5c4-b3a2-1098-7654-321fedcba098",
    "account_id": "87654321-abcd-ef01-2345-678901234567"
  },
  "amount": 25,
  "currency": "GBP"
}
118a:["$","div","request-application/json-same_currency_internal",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11b3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"receiver\": {\n \"counterparty_id\": \"f7e6d5c4-b3a2-1098-7654-321fedcba098\",\n \"account_id\": \"87654321-abcd-ef01-2345-678901234567\"\n },\n \"amount\": 25,\n \"currency\": \"GBP\"\n}"}]}]]}] 11b4:T14ea,
{
  "amount": {
    "amount": 100.5,
    "currency": "EUR"
  },
  "fee": {
    "amount": 20,
    "currency": "GBP",
    "breakdown": {
      "transfer_fee": {
        "amount": 20,
        "currency": "GBP"
      }
    }
  },
  "estimated_total": {
    "amount": 106.3,
    "currency": "GBP"
  },
  "estimated_exchange_rate": "1.16458",
  "estimated_amount_after_exchange": {
    "amount": 86.3,
    "currency": "GBP"
  },
  "estimated_arrival": {
    "date": "2026-05-14",
    "speed": "instant"
  }
}
118b:["$","div","200-application/json-cross_currency_swift",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11b4"}}]}]],"$L11b5"]}] 11b6:Tcbd,
{
  "amount": {
    "amount": 25,
    "currency": "GBP"
  },
  "fee": {
    "amount": 0,
    "currency": "GBP"
  },
  "estimated_total": {
    "amount": 25,
    "currency": "GBP"
  },
  "estimated_arrival": {
    "date": "2026-05-14",
    "speed": "instant"
  }
}
118c:["$","div","200-application/json-same_currency_internal",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11b6"}}]}]],"$L11b7"]}] 11b8:T17d6,
{
  "amount": {
    "amount": 100.5,
    "currency": "EUR"
  },
  "fee": {
    "amount": 5.75,
    "currency": "GBP",
    "breakdown": {
      "transfer_fee": {
        "amount": 3,
        "currency": "GBP"
      },
      "exchange_fee": {
        "amount": 2.75,
        "currency": "GBP"
      }
    }
  },
  "estimated_total": {
    "amount": 92.05,
    "currency": "GBP"
  },
  "estimated_exchange_rate": "1.16458",
  "estimated_amount_after_exchange": {
    "amount": 86.3,
    "currency": "GBP"
  },
  "estimated_arrival": {
    "date": "2026-05-14",
    "speed": "instant"
  }
}
118d:["$","div","200-application/json-fx_transfer_fees",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11b8"}}]}]],"$L11b9"]}] 11ba:T1930,
{
  "amount": {
    "amount": 100.5,
    "currency": "EUR"
  },
  "fee": {
    "amount": 5.75,
    "currency": "GBP",
    "breakdown": {
      "transfer_fee": {
        "amount": 3,
        "currency": "GBP"
      },
      "exchange_fee": {
        "amount": 2.75,
        "currency": "GBP"
      }
    }
  },
  "estimated_total": {
    "amount": 92.05,
    "currency": "GBP"
  },
  "estimated_exchange_rate": "1.16458",
  "estimated_amount_after_exchange": {
    "amount": 86.3,
    "currency": "GBP"
  },
  "estimated_arrival": {
    "date": "2026-05-14",
    "speed": "instant"
  },
  "warnings": [
    "volatile_fx_rate"
  ]
}
118e:["$","div","200-application/json-volatile_fx_rate",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11ba"}}]}]],"$L11bb"]}] 11bc:T483,
{
  "error_id": "3bfe9326-87eb-a849-9e35-150de29664dd",
  "code": 2101,
  "message": "Request body is not valid JSON"
}
118f:["$","div","400-application/json-invalid_request",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11bc"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"3bfe9326-87eb-a849-9e35-150de29664dd\",\n \"code\": 2101,\n \"message\": \"Request body is not valid JSON\"\n}"}]}]]}] 11bd:T48b,
{
  "error_id": "6fa7dcdd-bdd3-43d6-bffa-423452083501",
  "code": 2101,
  "message": "'receiver.counterparty_id' is required"
}
1190:["$","div","400-application/json-missing_counterparty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11bd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"6fa7dcdd-bdd3-43d6-bffa-423452083501\",\n \"code\": 2101,\n \"message\": \"'receiver.counterparty_id' is required\"\n}"}]}]]}] 11be:T49b,
{
  "error_id": "510bea31-df11-4229-84ae-35a9a0dba020",
  "code": 2101,
  "message": "'receiver.account_id' or 'receiver.card_id' is missing"
}
1191:["$","div","400-application/json-missing_account_or_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11be"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"510bea31-df11-4229-84ae-35a9a0dba020\",\n \"code\": 2101,\n \"message\": \"'receiver.account_id' or 'receiver.card_id' is missing\"\n}"}]}]]}] 11bf:T493,
{
  "error_id": "f2bb54d3-8e8d-49ae-a3db-178afebc9da3",
  "code": 2101,
  "message": "'charge_bearer' must be one of: shared, debtor"
}
1192:["$","div","400-application/json-invalid_charge_bearer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11bf"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"f2bb54d3-8e8d-49ae-a3db-178afebc9da3\",\n \"code\": 2101,\n \"message\": \"'charge_bearer' must be one of: shared, debtor\"\n}"}]}]]}] 11c0:T496,
{
  "error_id": "c5698032-4ca2-446b-b43a-e278e21ac100",
  "code": 2101,
  "message": "Both 'account_id' and 'card_id' can't be provided"
}
1193:["$","div","400-application/json-multiple_receiver_methods",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c5698032-4ca2-446b-b43a-e278e21ac100\",\n \"code\": 2101,\n \"message\": \"Both 'account_id' and 'card_id' can't be provided\"\n}"}]}]]}] 11c1:T4ac,
{
  "error_id": "ea1fc5c9-d0cb-4614-a19c-71c9ce4e2e72",
  "code": 3187,
  "message": "The payment currency does not match the counterparty's account currency"
}
1194:["$","div","400-application/json-currency_mismatch",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ea1fc5c9-d0cb-4614-a19c-71c9ce4e2e72\",\n \"code\": 3187,\n \"message\": \"The payment currency does not match the counterparty's account currency\"\n}"}]}]]}] 11c2:T4a5,
{
  "error_id": "c4e93983-4bcf-4bbc-88de-171be6811d35",
  "code": 3287,
  "message": "Specified 'charge_bearer' is not supported for this transaction."
}
1195:["$","div","400-application/json-unsupported_charge_bearer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"c4e93983-4bcf-4bbc-88de-171be6811d35\",\n \"code\": 3287,\n \"message\": \"Specified 'charge_bearer' is not supported for this transaction.\"\n}"}]}]]}] 11c3:T497,
{
  "error_id": "6e8365f6-560f-469c-9561-07d024fad9c5",
  "code": 3448,
  "message": "exchange_reason_code is required for this transfer"
}
1196:["$","div","400-application/json-missing_exchange_reason_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"6e8365f6-560f-469c-9561-07d024fad9c5\",\n \"code\": 3448,\n \"message\": \"exchange_reason_code is required for this transfer\"\n}"}]}]]}] 11c4:T4a0,
{
  "error_id": "7300ed0a-bfed-4b47-b46e-6d55c9aa398c",
  "code": 3544,
  "message": "Counterparty not found f7e6d5c4-b3a2-1098-7654-321fedcba098"
}
1197:["$","div","400-application/json-counterparty_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"7300ed0a-bfed-4b47-b46e-6d55c9aa398c\",\n \"code\": 3544,\n \"message\": \"Counterparty not found f7e6d5c4-b3a2-1098-7654-321fedcba098\"\n}"}]}]]}] 11c5:T4ac,
{
  "error_id": "ab3d5761-4b97-42dc-b4a4-8c2b010836e7",
  "code": 3544,
  "message": "Account not found for counterparty f7e6d5c4-b3a2-1098-7654-321fedcba098"
}
1198:["$","div","400-application/json-account_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"ab3d5761-4b97-42dc-b4a4-8c2b010836e7\",\n \"code\": 3544,\n \"message\": \"Account not found for counterparty f7e6d5c4-b3a2-1098-7654-321fedcba098\"\n}"}]}]]}] 11c6:T4a9,
{
  "error_id": "d89d4df4-e461-47e0-90d8-a79fefcf9e18",
  "code": 3544,
  "message": "Card not found for counterparty f7e6d5c4-b3a2-1098-7654-321fedcba098"
}
1199:["$","div","400-application/json-card_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c6"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"d89d4df4-e461-47e0-90d8-a79fefcf9e18\",\n \"code\": 3544,\n \"message\": \"Card not found for counterparty f7e6d5c4-b3a2-1098-7654-321fedcba098\"\n}"}]}]]}] 11c7:T44c,
{
  "error_id": "string",
  "code": 123,
  "message": "string"
}
119a:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$11c7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"error_id\": \"string\",\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 11b5:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"amount\": {\n \"amount\": 100.5,\n \"currency\": \"EUR\"\n },\n \"fee\": {\n \"amount\": 20,\n \"currency\": \"GBP\",\n \"breakdown\": {\n \"transfer_fee\": {\n \"amount\": 20,\n \"currency\": \"GBP\"\n }\n }\n },\n \"estimated_total\": {\n \"amount\": 106.3,\n \"currency\": \"GBP\"\n },\n \"estimated_exchange_rate\": \"1.16458\",\n \"estimated_amount_after_exchange\": {\n \"amount\": 86.3,\n \"currency\": \"GBP\"\n },\n \"estimated_arrival\": {\n \"date\": \"2026-05-14\",\n \"speed\": \"instant\"\n }\n}"}]}] 11b7:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"amount\": {\n \"amount\": 25,\n \"currency\": \"GBP\"\n },\n \"fee\": {\n \"amount\": 0,\n \"currency\": \"GBP\"\n },\n \"estimated_total\": {\n \"amount\": 25,\n \"currency\": \"GBP\"\n },\n \"estimated_arrival\": {\n \"date\": \"2026-05-14\",\n \"speed\": \"instant\"\n }\n}"}]}] 11b9:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"amount\": {\n \"amount\": 100.5,\n \"currency\": \"EUR\"\n },\n \"fee\": {\n \"amount\": 5.75,\n \"currency\": \"GBP\",\n \"breakdown\": {\n \"transfer_fee\": {\n \"amount\": 3,\n \"currency\": \"GBP\"\n },\n \"exchange_fee\": {\n \"amount\": 2.75,\n \"currency\": \"GBP\"\n }\n }\n },\n \"estimated_total\": {\n \"amount\": 92.05,\n \"currency\": \"GBP\"\n },\n \"estimated_exchange_rate\": \"1.16458\",\n \"estimated_amount_after_exchange\": {\n \"amount\": 86.3,\n \"currency\": \"GBP\"\n },\n \"estimated_arrival\": {\n \"date\": \"2026-05-14\",\n \"speed\": \"instant\"\n }\n}"}]}] 11bb:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"amount\": {\n \"amount\": 100.5,\n \"currency\": \"EUR\"\n },\n \"fee\": {\n \"amount\": 5.75,\n \"currency\": \"GBP\",\n \"breakdown\": {\n \"transfer_fee\": {\n \"amount\": 3,\n \"currency\": \"GBP\"\n },\n \"exchange_fee\": {\n \"amount\": 2.75,\n \"currency\": \"GBP\"\n }\n }\n },\n \"estimated_total\": {\n \"amount\": 92.05,\n \"currency\": \"GBP\"\n },\n \"estimated_exchange_rate\": \"1.16458\",\n \"estimated_amount_after_exchange\": {\n \"amount\": 86.3,\n \"currency\": \"GBP\"\n },\n \"estimated_arrival\": {\n \"date\": \"2026-05-14\",\n \"speed\": \"instant\"\n },\n \"warnings\": [\n \"volatile_fx_rate\"\n ]\n}"}]}] 11ec:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::7d:["$","$98","get-transaction",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about a specific transaction","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the transaction.","descriptionNode":"$L11c8"},"type":{"enum":["atm","card_payment","card_refund","card_chargeback","card_credit","charge","charge_refund","exchange","transfer","loan","fee","refund","topup","topup_return","tax","tax_refund","rev_payment"],"description":"Indicates the transaction type.","type":"string","descriptionNode":"$L11c9"},"request_id":{"type":"string","description":"The request ID that you provided previously.","descriptionNode":"$L11ca"},"state":{"enum":"$82:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"Indicates the transaction state. Possible values:\n - `created`: The transaction has been created and is either processed asynchronously or scheduled for a later time.\n - `pending`: The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly.\n - `completed`: The transaction was successful.\n - `declined`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc.\n - `failed`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.\n - `reverted`: The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible.","type":"string","descriptionNode":"$L11cb"},"reason_code":{"type":"string","description":"The reason code when the transaction `state` is `declined` or `failed`.","descriptionNode":"$L11cc"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transaction was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L11cd"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the transaction was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L11ce"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transaction was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. \nThis is required when the transaction `state` is `completed`.","descriptionNode":"$L11cf"},"scheduled_for":{"type":"string","format":"date","description":"The scheduled date of the payment, if applicable.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L11d0"},"related_transaction_id":{"type":"string","format":"uuid","description":"The ID of the original transaction to which this transaction is related. \nReturned, for example, when this transaction is a refund of the related transaction, or for transactions related to cashback.","descriptionNode":"$L11d1"},"merchant":{"type":"object","description":"The information about the merchant (only for card transactions).","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the merchant.","descriptionNode":"$L11d2"},"name":{"type":"string","description":"The name of the merchant.","descriptionNode":"$L11d3"},"city":{"type":"string","description":"The city of the merchant.","descriptionNode":"$L11d4"},"category_code":{"type":"string","description":"The category code of the merchant.","descriptionNode":"$L11d5"},"country":{"type":"string","pattern":"^[A-Z]{2,3}$","description":"The bank country of the merchant, provided as an [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.\nTypically 3 letters, though in some cases, card networks might provide it as a 2-letter code.","descriptionNode":"$L11d6"}},"descriptionNode":"$L11d7"},"reference":{"type":"string","description":"The payment reference.","descriptionNode":"$L11d8"},"legs":{"type":"array","description":"The legs of the transaction:\n- For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the GBP account and into the EUR account.\n- For transactions in other cases, there is only 1 leg.","items":{"type":"object","description":"The legs of the transaction:\n- For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the BGP account and into the EUR account.\n- For transactions in other cases, there is only 1 leg.","properties":{"leg_id":{"type":"string","format":"uuid","description":"The ID of the leg.","descriptionNode":"$L11d9"},"amount":{"type":"number","format":"double","description":"The amount of the transaction.","descriptionNode":"$L11da"},"fee":{"type":"number","format":"double","description":"The amount of the transaction fee.","descriptionNode":"$L11db"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L11dc"},"bill_amount":{"type":"number","format":"double","description":"The billing amount for cross-currency payments.","descriptionNode":"$L11dd"},"bill_currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L11de"},"account_id":{"type":"string","format":"uuid","description":"The ID of the account that the transaction is associated with.","descriptionNode":"$L11df"},"counterparty":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the counterparty account.","descriptionNode":"$L11e0"},"account_type":{"enum":["self","revolut","external"],"description":"Indicates the type of the account.","type":"string","descriptionNode":"$L11e1"},"id":{"type":"string","format":"uuid","description":"The ID of the counterparty.","descriptionNode":"$L11e2"}},"required":["account_type"]},"description":{"type":"string","description":"The transaction leg purpose.","descriptionNode":"$L11e3"},"balance":{"type":"number","format":"double","description":"The total balance of the account that the transaction is associated with.","descriptionNode":"$L11e4"}},"required":["leg_id","amount","currency","account_id"],"descriptionNode":"$L11e5"},"descriptionNode":"$L11e6"},"card":{"type":"object","description":"The details of the card associated with the transaction.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the card.","descriptionNode":"$L11e7"},"card_number":{"type":"string","description":"The masked card number.","descriptionNode":"$L11e8"},"first_name":{"type":"string","description":"The first name of the cardholder.","descriptionNode":"$L11e9"},"last_name":{"type":"string","description":"The last name of the cardholder.","descriptionNode":"$L11ea"},"phone":{"type":"string","description":"The phone number of the cardholder in [E.164](https://en.wikipedia.org/wiki/E.164) format.","descriptionNode":"$L11eb"},"references":{"type":"array","description":"Card references ([`references`](https://developer.revolut.com/docs/api/business#get-card#response)).\n\n:::note\nThese are the references that were assigned to the card at the time the transaction was made.\nAny [update](https://developer.revolut.com/docs/api/business#update-card-references) to card references does not affect existing transactions.\n:::","minItems":1,"maxItems":5,"items":{"description":"$11ec","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L11ed"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L11ee"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L11ef"},"required":["id","card_number"],"descriptionNode":"$L11f0"}},"descriptionNode":"$L11f1"}},"required":["id","type","state","created_at","updated_at","legs"]},"examples":{"exchange":{"summary":"Exchange","value":{"id":"640dc0b7-1234-aaaa-1234-92ac4de1dacd","type":"exchange","state":"completed","request_id":"d8f041ab-1234-aaaa-1234-78b6a0b2801f","created_at":"2023-03-12T12:08:07.833414Z","updated_at":"2023-03-12T12:08:07.833414Z","completed_at":"2023-03-12T12:08:07.833705Z","legs":[{"leg_id":"640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd","account_id":"0d1848dc-aaaa-4a9a-aaaa-cae53cbd4baf","amount":-1,"currency":"GBP","bill_amount":-8.39,"bill_currency":"DKK","description":"Exchanged to DKK","balance":8.74},{"leg_id":"640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd","account_id":"246bc9de-aaaa-4f86-aaaa-4d291a5d0390","amount":8.39,"fee":0.08,"currency":"DKK","description":"Exchanged from GBP Main","balance":19.33}]}},"card_payment":{"summary":"Card payment","value":{"id":"640c2b97-aaaa-1234-aaaa-c47a165c2e7e","type":"card_payment","state":"completed","request_id":"REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf","created_at":"2023-03-11T07:19:51.302559Z","updated_at":"2023-03-12T02:13:36.842322Z","completed_at":"2023-03-12T02:13:36.836595Z","merchant":{"name":"Acme Corp.","city":"New York","category_code":"7311","country":"USA"},"legs":[{"leg_id":"640c2b97-aaaa-1234-aaaa-c47a165c2e7e","account_id":"92e43866-aaaa-1234-aaaa-6e31dd23f024","amount":-47.8,"fee":0.66,"currency":"AED","bill_amount":-13,"bill_currency":"USD","description":"Acm *1234mn1ha2","balance":7.74}],"card":{"id":"2b1a31bc-4795-4f95-b939-ae9cf911dc6e","card_number":"516760******1234","first_name":"John","last_name":"Smith","phone":"+12412341234"}}},"company_card_payment":{"summary":"Payment by card with no holder","value":{"id":"6886001b-c4a4-4920-912b-c9d7d2575bf7","type":"card_payment","state":"completed","request_id":"REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f","created_at":"2025-09-11T07:19:51.302559Z","updated_at":"2025-09-12T02:13:36.842322Z","completed_at":"2025-03-12T02:13:36.836595Z","merchant":{"name":"Alfa","city":"Paris","category_code":"7311","country":"FRA"},"legs":[{"leg_id":"0e82681d-10db-40b7-b6c8-f99c595f1c82","account_id":"5e85a129-74c9-4714-bbd2-d762b42b15fb","amount":-153.32,"fee":0,"currency":"EUR","description":"Al 1234abcxyz0","balance":3210.43}],"card":{"id":"12d6d4c2-288b-4670-8297-444720bd811b","card_number":"456230******1433","references":[{"name":"PNR","value":"RT12345"},{"name":"Traveller","value":"John Smith"}]}}},"outbound_transfer":{"summary":"Outbound transfer","value":{"id":"640c1963-aaaa-1234-aaaa-a6b451197c6a","type":"transfer","state":"completed","request_id":"8cc6f5db-aaaa-1234-aaaa-068a05af424e","created_at":"2023-03-11T06:02:11.785704Z","updated_at":"2023-03-11T06:02:14.628964Z","completed_at":"2023-03-11T06:02:14.624946Z","reference":"Reference example","legs":[{"leg_id":"640c1963-aaaa-1234-aaaa-a6b451197c6a","account_id":"0d1848dc-aaaa-1234-aaaa-cae53cbd4baf","counterparty":{"id":"f5a9a06b-aaaa-1234-aaaa-c51df843e30d","account_type":"external","account_id":"25c9d813-aaaa-1234-aaaa-28334fc4d133"},"amount":-100,"fee":0.1,"currency":"GBP","description":"To John Smith","balance":9.74}]}},"inbound_transfer":{"summary":"Inbound transfer","value":{"id":"63f3a305-aaaa-1234-aaaa-54f06420ae58","type":"transfer","state":"completed","request_id":"7d3a3358-aaaa-1234-aaaa-c332c49b6431","created_at":"2023-02-20T16:42:45.897576Z","updated_at":"2023-02-20T16:42:45.897576Z","completed_at":"2023-02-20T16:42:45.897845Z","reference":"Reference 1234","legs":[{"leg_id":"63f3a305-aaaa-1234-aaaa-54f06420ae58","account_id":"74d4d6cb-aaaa-1234-aaaa-9604b94e3019","counterparty":{"account_type":"revolut"},"amount":10,"currency":"GBP","description":"From JOHN SMITH","balance":3.7}]}},"internal_transfer":{"summary":"Internal transfer","value":{"id":"640b4fbf-aaaa-1234-aaaa-17a2d10142af","type":"transfer","state":"completed","request_id":"f8bbea44-aaaa-1234-aaaa-113df56660f7","created_at":"2023-03-10T15:41:51.304765Z","updated_at":"2023-03-10T15:41:51.395348Z","completed_at":"2023-03-10T15:41:51.388279Z","legs":[{"leg_id":"640b4fbf-aaaa-1234-aaaa-17a2d10142af","account_id":"0d1848dc-aaaa-1234-aaaa-cae53cbd4baf","amount":100,"currency":"GBP","description":"To GBP Deposit pocket","balance":100.84},{"leg_id":"640b4fbf-aaaa-1234-aaaa-17a2d10142af","account_id":"87f2f697-aaaa-1234-aaaa-a20c78c0d24f","amount":100,"currency":"GBP","description":"From GBP Regular pocket","balance":100.65}]}},"atm_withdrawal":{"summary":"ATM withdrawal","value":{"id":"62d5161d-aaaa-1234-aaaa-219f88258175","type":"atm","state":"completed","request_id":"REVP:b46e51ca-aaaa-1234-aaaa-e54321796ff0","created_at":"2022-07-18T08:13:17.025950Z","updated_at":"2022-07-19T16:21:22.521625Z","completed_at":"2022-07-19T16:21:22.515565Z","merchant":{"name":"Barclays","city":"Canary Wharf","category_code":"6011","country":"GBR"},"legs":[{"leg_id":"c84cec91-aaaa-1234-aaaa-62d1979dcf3a","account_id":"dbd3c68b-aaaa-1234-aaaa-5621a117ecbf","amount":-21.22,"fee":0.48,"currency":"GBP","bill_amount":-25,"bill_currency":"EUR","description":"Cash at Barclays","balance":9.9}],"card":{"id":"2b1a31bc-4795-4f95-b939-ae9cf911dc6e","card_number":"516760******1234","first_name":"John","last_name":"Smith","phone":"+447712341234"}}},"top_up":{"summary":"Top up","value":{"id":"63c95e75-aaaa-1234-aaaa-4e7a7768c663","type":"topup","state":"completed","request_id":"9d4d90c5-aaaa-1234-aaaa-ac65bf589532","created_at":"2023-01-19T15:15:01.895737Z","updated_at":"2023-01-19T15:16:14.839234Z","completed_at":"2023-01-19T15:16:14.833964Z","reference":"Top up Revolut account","legs":[{"leg_id":"63c95e75-aaaa-1234-aaaa-4e7a7768c663","account_id":"6ce35350-aaaa-1234-aaaa-006d3f739b80","amount":100,"currency":"EUR","description":"Payment from John Smith","balance":1}]}},"card_chargeback":{"summary":"Card chargeback","value":{"id":"6409e928-aaaa-1234-aaaa-872a41309af1","type":"card_chargeback","state":"completed","request_id":"CARD_CHARGEBACK_eabeb099-aaaa-1234-aaaa-ce72583866bb_0","created_at":"2023-03-09T14:11:52.453528Z","updated_at":"2023-03-09T14:11:52.453528Z","completed_at":"2023-03-09T14:11:52.453740Z","legs":[{"leg_id":"6409e928-aaaa-1234-aaaa-872a41309af1","account_id":"0d1848dc-aaaa-1234-aaaa-cae53cbd4baf","amount":4.68,"currency":"GBP","description":"Card chargeback for Rev*www.revolut.com","balance":13.08}]}},"refund":{"summary":"Refund","value":{"id":"172884ea-a529-4d5f-8a81-8ebab9f23e33","type":"refund","state":"completed","request_id":"79fb7626-df83-46eb-b89a-b31b1e1ae2d7","created_at":"2024-03-17T06:05:10.575740Z","updated_at":"2024-03-17T06:05:10.575740Z","completed_at":"2024-03-17T06:05:10.575740Z","related_transaction_id":"640c1963-aaaa-1234-aaaa-a6b451197c6a","legs":[{"leg_id":"172884ea-a529-4d5f-8a81-8ebab9f23e33","account_id":"74d4d6cb-aaaa-1234-aaaa-9604b94e3019","amount":100,"currency":"GBP","description":"A sample refund description","balance":109.74}]}}}}},"descriptionNode":"$L11f2"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L11f3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L11f4"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L11f5"}},"requestBody":"$undefined","variantLabels":["Exchange","Card payment","Payment by card with no holder","Outbound transfer","Inbound transfer","Internal transfer","ATM withdrawal","Top up","Card chargeback","Refund"],"children":["$L11f6","$L11f7"]}]}],false]}] 11f6:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-transaction","children":[["$L11f8","$undefined"],["$","$L3a",null,{"id":"get-transaction"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-transaction.md"}]]}]}],"$undefined"]}] 11fc:T8d6,
fetch("https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
11fd:Tdbe,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
11ff:T1562,
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://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1201:T8de,
fetch("https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1202:Tdc6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1204:T156a,
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-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1205:T148a,
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-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
11f7:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L11f9",["$","$Lac",null,{"parameters":[{"name":"id","in":"path","required":true,"description":"The unique ID of the transaction.\n\n:::warning [Request ID deprecation]\nIf `id_type=request_id` is provided, set this field to the request ID from payment creation instead of the transaction ID.\n\nThis behavior is deprecated and will be removed in a future release.\nUse [`GET /transactions`](https://developer.revolut.com/docs/api/business#get-transactions) to retrieve transactions by request ID.\n:::","schema":{"type":"string"},"descriptionNode":"$L11fa"},{"name":"id_type","in":"query","required":false,"deprecated":true,"description":"The type of ID to retrieve the transaction by.\n\n:::warning [Deprecated]\nThis field is now deprecated and will be removed in a future release.\n\nTo retrieve transactions by their unique transaction ID, use this endpoint.\nTo retrieve transactions by request ID, use the [`GET /transactions`](https://developer.revolut.com/docs/api/business#get-transactions) endpoint instead.\n:::","schema":{"enum":["request_id"],"type":"string"},"descriptionNode":"$L11fb"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$7d:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$11fc","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$11fd","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$11fe","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"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://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$11ff","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"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://b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1200","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1201","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1202","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1203","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"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-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1204","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}},{"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-b2b.revolut.com/api/1.0/transaction/__RP_TOK_0__?id_type=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1205","tokens":[{"marker":"__RP_TOK_0__","paramName":"id","paramIn":"path","pipeline":["json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"id_type","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"path:id":"string","query:id_type":"request_id"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/transaction/{id}","parameters":["$11f7:props:children:0:props:children:1:props:parameters:0","$11f7:props:children:0:props:children:1:props:parameters:1"]}],"$L1206"],"$L1207","$L1208"]}]]}] 1209:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1206:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1209","descriptionNode":"$L120a"}}}] 1207:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1208:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"exchange","label":"Exchange","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:exchange:value","block":"$L120b"},{"key":"card_payment","label":"Card payment","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:card_payment:value","block":"$L120c"},{"key":"company_card_payment","label":"Payment by card with no holder","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:company_card_payment:value","block":"$L120d"},{"key":"outbound_transfer","label":"Outbound transfer","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:outbound_transfer:value","block":"$L120e"},{"key":"inbound_transfer","label":"Inbound transfer","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:inbound_transfer:value","block":"$L120f"},{"key":"internal_transfer","label":"Internal transfer","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:internal_transfer:value","block":"$L1210"},{"key":"atm_withdrawal","label":"ATM withdrawal","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:atm_withdrawal:value","block":"$L1211"},{"key":"top_up","label":"Top up","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:top_up:value","block":"$L1212"},{"key":"card_chargeback","label":"Card chargeback","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:card_chargeback:value","block":"$L1213"},{"key":"refund","label":"Refund","rawValue":"$7d:props:children:0:props:children:props:responses:200:content:application/json:examples:refund:value","block":"$L1214"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1215"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 123a:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::7c:["$","$98","get-transactions",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of historical transactions retrieved","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the transaction.","descriptionNode":"$L1216"},"type":{"enum":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","description":"Indicates the transaction type.","type":"string","descriptionNode":"$L1217"},"request_id":{"type":"string","description":"The request ID that you provided previously.","descriptionNode":"$L1218"},"state":{"enum":"$82:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"Indicates the transaction state. Possible values:\n - `created`: The transaction has been created and is either processed asynchronously or scheduled for a later time.\n - `pending`: The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly.\n - `completed`: The transaction was successful.\n - `declined`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc.\n - `failed`: The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.\n - `reverted`: The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible.","type":"string","descriptionNode":"$L1219"},"reason_code":{"type":"string","description":"The reason code when the transaction `state` is `declined` or `failed`.","descriptionNode":"$L121a"},"created_at":{"type":"string","format":"date-time","description":"The date and time the transaction was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L121b"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the transaction was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L121c"},"completed_at":{"type":"string","format":"date-time","description":"The date and time the transaction was completed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. \nThis is required when the transaction `state` is `completed`.","descriptionNode":"$L121d"},"scheduled_for":{"type":"string","format":"date","description":"The scheduled date of the payment, if applicable.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L121e"},"related_transaction_id":{"type":"string","format":"uuid","description":"The ID of the original transaction to which this transaction is related. \nReturned, for example, when this transaction is a refund of the related transaction, or for transactions related to cashback.","descriptionNode":"$L121f"},"merchant":{"type":"object","description":"The information about the merchant (only for card transactions).","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the merchant.","descriptionNode":"$L1220"},"name":{"type":"string","description":"The name of the merchant.","descriptionNode":"$L1221"},"city":{"type":"string","description":"The city of the merchant.","descriptionNode":"$L1222"},"category_code":{"type":"string","description":"The category code of the merchant.","descriptionNode":"$L1223"},"country":{"type":"string","pattern":"^[A-Z]{2,3}$","description":"The bank country of the merchant, provided as an [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.\nTypically 3 letters, though in some cases, card networks might provide it as a 2-letter code.","descriptionNode":"$L1224"}},"descriptionNode":"$L1225"},"reference":{"type":"string","description":"The payment reference.","descriptionNode":"$L1226"},"legs":{"type":"array","description":"The legs of the transaction:\n- For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the GBP account and into the EUR account.\n- For transactions in other cases, there is only 1 leg.","items":{"type":"object","description":"The legs of the transaction:\n- For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the BGP account and into the EUR account.\n- For transactions in other cases, there is only 1 leg.","properties":{"leg_id":{"type":"string","format":"uuid","description":"The ID of the leg.","descriptionNode":"$L1227"},"amount":{"type":"number","format":"double","description":"The amount of the transaction.","descriptionNode":"$L1228"},"fee":{"type":"number","format":"double","description":"The amount of the transaction fee.","descriptionNode":"$L1229"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L122a"},"bill_amount":{"type":"number","format":"double","description":"The billing amount for cross-currency payments.","descriptionNode":"$L122b"},"bill_currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L122c"},"account_id":{"type":"string","format":"uuid","description":"The ID of the account that the transaction is associated with.","descriptionNode":"$L122d"},"counterparty":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","description":"The ID of the counterparty account.","descriptionNode":"$L122e"},"account_type":{"enum":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:legs:items:properties:counterparty:properties:account_type:enum","description":"Indicates the type of the account.","type":"string","descriptionNode":"$L122f"},"id":{"type":"string","format":"uuid","description":"The ID of the counterparty.","descriptionNode":"$L1230"}},"required":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:legs:items:properties:counterparty:required"},"description":{"type":"string","description":"The transaction leg purpose.","descriptionNode":"$L1231"},"balance":{"type":"number","format":"double","description":"The total balance of the account that the transaction is associated with.","descriptionNode":"$L1232"}},"required":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:legs:items:required","descriptionNode":"$L1233"},"descriptionNode":"$L1234"},"card":{"type":"object","description":"The details of the card associated with the transaction.","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the card.","descriptionNode":"$L1235"},"card_number":{"type":"string","description":"The masked card number.","descriptionNode":"$L1236"},"first_name":{"type":"string","description":"The first name of the cardholder.","descriptionNode":"$L1237"},"last_name":{"type":"string","description":"The last name of the cardholder.","descriptionNode":"$L1238"},"phone":{"type":"string","description":"The phone number of the cardholder in [E.164](https://en.wikipedia.org/wiki/E.164) format.","descriptionNode":"$L1239"},"references":{"type":"array","description":"Card references ([`references`](https://developer.revolut.com/docs/api/business#get-card#response)).\n\n:::note\nThese are the references that were assigned to the card at the time the transaction was made.\nAny [update](https://developer.revolut.com/docs/api/business#update-card-references) to card references does not affect existing transactions.\n:::","minItems":1,"maxItems":5,"items":{"description":"$123a","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L123b"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L123c"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L123d"},"required":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:card:properties:references:required","descriptionNode":"$L123e"}},"descriptionNode":"$L123f"}},"required":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:required"}},"examples":{"default":{"value":[{"id":"630f9890-95e3-add1-be4a-95f126988221","type":"transfer","state":"pending","request_id":"invoice00912345","created_at":"2024-08-31T17:21:20.364171Z","updated_at":"2024-08-31T17:21:20.364171Z","reference":"invoice00912345","legs":[{"leg_id":"630f9890-95e3-add1-0000-95f1269f0000","account_id":"812fff9a-3b0c-4ad1-b41a-cc60899d9900","counterparty":{"account_type":"revolut","account_id":"e0af9f24-504c-4c5d-bd1d-07edf9f49876"},"amount":-1.16,"currency":"EUR","bill_amount":-1,"bill_currency":"GBP","description":"To John Doe"}]},{"id":"640c2b97-aaaa-1234-aaaa-c47a165c2e7e","type":"card_payment","state":"completed","request_id":"REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf","created_at":"2024-03-11T07:19:51.302559Z","updated_at":"2024-03-12T02:13:36.842322Z","completed_at":"2024-03-12T02:13:36.836595Z","merchant":{"name":"Acme Corp.","city":"New York","category_code":"7311","country":"USA"},"legs":[{"leg_id":"640c2b97-aaaa-1234-aaaa-c47a165c2e7e","account_id":"92e43866-aaaa-1234-aaaa-6e31dd23f024","amount":-47.8,"fee":0.66,"currency":"AED","bill_amount":-13,"bill_currency":"USD","description":"Acm *1234mn1ha2","balance":7.74}],"card":{"id":"2b1a31bc-4795-4f95-b939-ae9cf911dc6e","card_number":"516760******1234","first_name":"John","last_name":"Smith","phone":"+12412341234"}},{"id":"6886001b-c4a4-4920-912b-c9d7d2575bf7","type":"card_payment","state":"completed","request_id":"REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f","created_at":"2025-09-11T07:19:51.302559Z","updated_at":"2025-09-12T02:13:36.842322Z","completed_at":"2025-03-12T02:13:36.836595Z","merchant":{"name":"Alfa","city":"Paris","category_code":"7311","country":"FRA"},"legs":[{"leg_id":"0e82681d-10db-40b7-b6c8-f99c595f1c82","account_id":"5e85a129-74c9-4714-bbd2-d762b42b15fb","amount":-153.32,"fee":0,"currency":"EUR","description":"Al 1234abcxyz0","balance":3210.43}],"card":{"id":"12d6d4c2-288b-4670-8297-444720bd811b","card_number":"456230******1433","references":[{"name":"PNR","value":"RT12345"},{"name":"Traveller","value":"John Smith"}]}}]}}}},"descriptionNode":"$L1240"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1241"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1242"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1243"}},"requestBody":"$undefined","variantLabels":[],"children":["$L1244","$L1245"]}]}],false]}] 11f8:"Retrieve a transaction" 1244:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-transactions","children":[["$L1246","$undefined"],["$","$L3a",null,{"id":"get-transactions"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-transactions.md"}]]}]}],"$undefined"]}] 1250:T95a,
fetch("https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1251:Te42,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1253:T15e6,
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://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1255:T962,
fetch("https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1256:Te4a,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1258:T15ee,
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-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1259:T150e,
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-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1245:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1247",["$","$Lac",null,{"parameters":[{"in":"query","name":"from","schema":{"type":"string","format":"date-time or date"},"description":"The date and time you retrieve the historical transactions from, including this date-time.\nCorresponds to the `created_at` value of the transaction.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n\nUsed also for pagination.\nTo get back to the previous page of results, make a new request and use the `created_at` date from the first item of the current page as the value for the `from` parameter.","descriptionNode":"$L1248"},{"in":"query","name":"to","schema":{"type":"string","format":"date-time or date","default":"the date-time at which the request is made"},"description":"The date and time you retrieve the historical transactions to, excluding this date-time. \nCorresponds to the `created_at` value of the transaction.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\nThe default value is the date and time at which you're calling the endpoint.\n\nUsed also for pagination.\nTo get the next page of results, make a new request and use the `created_at` date from the last item of the previous (current) page as the value for the `to` parameter.","descriptionNode":"$L1249"},{"in":"query","name":"account","schema":{"type":"string","format":"uuid"},"description":"The ID of the account","descriptionNode":"$L124a"},{"in":"query","name":"count","schema":{"type":"integer","default":100,"maximum":1000},"description":"The maximum number of the historical transactions to retrieve per page.\n\nTo get the next page of results, make a new request and use the `created_at` date from the last item of the previous page as the value for the `to` parameter.","descriptionNode":"$L124b"},{"in":"query","name":"type","schema":{"enum":"$7d:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:type:enum","description":"Indicates the transaction type.","type":"string","descriptionNode":"$L124c"},"description":"The type of the historical transactions to retrieve.","descriptionNode":"$L124d"},{"in":"query","name":"request_id","schema":{"type":"string","examples":["invoice00912345"]},"description":"The request ID provided when the transaction was created.\nLets you filter transactions related to that ID.\n\nWhen provided, the `from` query parameter is also required, and the search interval must not exceed 14 days.\nFor older transactions, adjust the `to` parameter as well.","descriptionNode":"$L124e"},{"in":"query","name":"state","schema":{"type":"array","items":{"type":"string","enum":["created","pending","completed","declined","failed","reverted"]}},"description":"The transaction [state(s)](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions#transaction-states) to filter by.\n\nTo specify multiple values, follow this pattern: `state={VALUE1}&state={VALUE2}`.","descriptionNode":"$L124f"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$7c:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1250","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1251","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1252","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"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://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1253","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"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://b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1254","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1255","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"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-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1256","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1257","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"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-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1258","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"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-b2b.revolut.com/api/1.0/transactions?from=__RP_TOK_0__&to=__RP_TOK_1__&account=__RP_TOK_2__&count=__RP_TOK_3__&type=__RP_TOK_4__&request_id=__RP_TOK_5__&state=__RP_TOK_6__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1259","tokens":[{"marker":"__RP_TOK_0__","paramName":"from","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"to","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"account","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"count","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"type","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"request_id","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:from":"date-time or date","query:to":"the date-time at which the request is made","query:account":"123e4567-e89b-12d3-a456-426614174000","query:count":"100","query:type":"atm","query:request_id":"string","query:state":"[]"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/transactions","parameters":["$1245:props:children:0:props:children:1:props:parameters:0","$1245:props:children:0:props:children:1:props:parameters:1","$1245:props:children:0:props:children:1:props:parameters:2","$1245:props:children:0:props:children:1:props:parameters:3","$1245:props:children:0:props:children:1:props:parameters:4","$1245:props:children:0:props:children:1:props:parameters:5","$1245:props:children:0:props:children:1:props:parameters:6"]}],"$L125a"],"$L125b","$L125c"]}]]}] 11c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the transaction."}]]}] 11c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction type."}]]}] 11ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The request ID that you provided previously."}]]}] 11cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The transaction has been created and is either processed asynchronously or scheduled for a later time."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"pending"}],": The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"completed"}],": The transaction was successful."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"declined"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"failed"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"reverted"}],": The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n"]}]]}] 11cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code when the transaction ",["$","code","code-0",{"children":"state"}]," is ",["$","code","code-1",{"children":"declined"}]," or ",["$","code","code-2",{"children":"failed"}],"."]}]]}] 11cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 11ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 11cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format.\nThis is required when the transaction ",["$","code","code-0",{"children":"state"}]," is ",["$","code","code-1",{"children":"completed"}],"."]}]]}] 11d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The scheduled date of the payment, if applicable.\nProvided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 11d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the original transaction to which this transaction is related.\nReturned, for example, when this transaction is a refund of the related transaction, or for transactions related to cashback."}]]}] 11d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the merchant."}]]}] 11d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the merchant."}]]}] 11d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city of the merchant."}]]}] 11d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The category code of the merchant."}]]}] 51:["$","$98","get-card-invitation",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the card invitation","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card invitation.","format":"uuid","descriptionNode":"$L125d"},"state":{"type":"string","enum":["created","expired","failed","redeemed"],"description":"The current state of the card invitation:\n- **`created`**: Invitation has been created but not yet claimed.\n- **`expired`**: Invitation has expired due to expiry date being reached or manual cancellation.\n- **`failed`**: Invitation claim attempt failed.\n- **`redeemed`**: Invitation has been successfully claimed.\n\nTo learn more about card invitation lifecycle, see the guide: [Manage card invitations → Card invitation state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state).","descriptionNode":"$L125e"},"created_at":{"type":"string","description":"The date and time the card invitation was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L125f"},"updated_at":{"type":"string","description":"The date and time the card invitation was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L1260"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n:::note\nOnly returned for invitations in state `created`.\n:::tip\nFor other states, to find out when a card invitation transitioned to its [final state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state), check the `updated_at` value. \n:::","examples":["2025-10-20T15:09:24Z"],"descriptionNode":"$L1261"},"card_id":{"type":"string","format":"uuid","description":"The ID of the card issued after this invitation was claimed. \n:::note\nOnly returned for invitations in state `redeemed`.\n:::\n","descriptionNode":"$L1262"},"holder_id":{"type":"string","description":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed.\n\n:::note\nIf the team member has been deleted since the invitation was created, the `holder_id` is not returned.\n:::","format":"uuid","descriptionNode":"$L1263"},"virtual":{"type":"boolean","description":"Specifies whether the issued card will be a virtual (`true`) or physical (`false`) one.","descriptionNode":"$L1264"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L1265"},"spend_program":{"description":"The [spend program](https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/) assigned to the card.\n:::note\nTo use this property, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","readOnly":true,"properties":{"label":{"description":"The name of the spend program.","type":"string","maxLength":30,"descriptionNode":"$L1266"}},"required":["label"],"descriptionNode":"$L1267"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1268"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1269"}},"required":["amount","currency"],"descriptionNode":"$L126a"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L126b"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L126c"}},"required":["amount","currency"],"descriptionNode":"$L126d"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L126e"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L126f"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1270"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1271"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1272"}},"examples":[{"single":{"amount":200.22,"currency":"GBP"},"week":{"amount":200.44,"currency":"GBP"}}]},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card will become available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":["2025-09-26"],"descriptionNode":"$L1273"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":["2030-12-31"],"descriptionNode":"$L1274"},"end_date_action":{"type":"string","enum":["lock","terminate"],"description":"The action to take after the end date of the spending period.","descriptionNode":"$L1275"}},"anyOf":[{"required":["start_date"]},{"required":["end_date","end_date_action"]}]}],"descriptionNode":"$L1276"},"categories":{"type":"array","description":"The list of merchant categories that will be available for card spending. \nIf this parameter is not specified, categories are not restricted.","items":{"enum":["health","general","services","airlines","transport","accommodation","utilities","shopping","financial","furniture","hardware","groceries","fuel","entertainment","software","restaurants","advertising","cash","education","government"],"type":"string"},"descriptionNode":"$L1277"},"merchant_controls":{"type":"object","required":["control_type","merchant_ids"],"properties":{"control_type":{"type":"string","enum":["block","allow"],"description":"The type of control to apply.","descriptionNode":"$L1278"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1279"}}},"countries":{"description":"The list of countries where the team member will be able to use the card.\nSpecified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":["GB"]},"descriptionNode":"$L127a"},"accounts":{"type":"array","description":"The list of accounts that will be linked to the card.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L127b"}},"required":["id","created_at","updated_at","virtual","state","accounts"]},"examples":{"invitation_created":{"summary":"Created (active) invitation (example with spending limits)","value":{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T00:00:00Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_limits":{"single":{"amount":50,"currency":"GBP"},"week":{"amount":250,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-31","end_date_action":"lock"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["26a852b8-4046-4e71-949d-22f4cb6be26a"]}},"invitation_redeemed":{"summary":"Redeemed invitation (example with spend program)","value":{"id":"809d745d-9598-4680-8464-d82113e9024b","state":"redeemed","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-23T09:01:13Z","card_id":"744b29d4-19e9-40f8-89e6-bfb264ef5710","holder_id":"19c76bef-3583-4848-af09-4b2a96c75a14","virtual":true,"label":"Manuel Haleigh - WFH","spend_program":{"label":"WFH equipment"},"spending_period":{"start_date":"2025-11-23","end_date":"2025-12-23","end_date_action":"terminate"},"categories":["furniture","hardware"],"countries":["GB"],"accounts":["6b472c0e-f595-4681-88b4-76eaa0522824"]}},"invitation_expired":{"summary":"Expired or cancelled invitation","value":{"id":"0c0d252e-5fff-498e-83f8-f9b635904275","state":"expired","created_at":"2025-11-22T00:00:00Z","updated_at":"2025-11-30T00:00:00Z","holder_id":"5ea0ffa1-5dc5-43c4-ac5e-b9e0deb9ec12","virtual":true,"label":"Valeria Keone - meals","spending_limits":{"single":{"amount":50,"currency":"GBP"},"week":{"amount":250,"currency":"GBP"}},"spending_period":{"start_date":"2025-11-29","end_date":"2025-12-29","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["6b472c0e-f595-4681-88b4-76eaa0522824"]}},"invitation_failed":{"summary":"Failed invitation","value":{"id":"9ab6019a-6a26-41f8-b034-44b591f8b1a8","state":"failed","created_at":"2025-11-27T00:00:00Z","updated_at":"2025-11-27T00:00:00Z","holder_id":"af686385-4ec0-4139-a4a0-963ee9fa5bc8","virtual":true,"label":"Connor Thato - meals","spending_period":{"start_date":"2025-12-01","end_date":"2026-01-01","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["6b472c0e-f595-4681-88b4-76eaa0522824"]}},"invitation_failed_team_member_deleted":{"summary":"Invitation that failed because team member was deleted","value":{"id":"bfc40b73-1e8b-4cba-ad7d-2f54ee707a21","state":"failed","created_at":"2025-11-28T00:00:00Z","updated_at":"2025-12-02T11:31:15Z","virtual":true,"label":"Natália Popović - offb","spending_period":{"start_date":"2025-11-30","end_date":"2026-11-30","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["6b472c0e-f595-4681-88b4-76eaa0522824"]}}}}},"descriptionNode":"$L127c"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card invitation ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L127d"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L127e"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L127f"},"401":{"description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","content":{"application/json":{"schema":{"type":"object","description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","allOf":[{"type":"object","description":"Error returning a status instead of code.","properties":{"status":{"type":"integer","description":"The error code.","descriptionNode":"$L1280"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1281"}},"required":"$53:props:children:0:props:children:props:responses:401:content:application/json:schema:allOf:0:required","descriptionNode":"$L1282"}],"descriptionNode":"$L1283"},"examples":{"unauthorized":{"summary":"Unauthorized","value":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value"}}}},"descriptionNode":"$L1284"},"404":{"description":"Card invitation doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1285"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1286"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card invitation not found"}}}}},"descriptionNode":"$L1287"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1288"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1289"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L128a"}},"requestBody":"$undefined","variantLabels":["Created (active) invitation (example with spending limits)","Redeemed invitation (example with spend program)","Expired or cancelled invitation","Failed invitation","Invitation that failed because team member was deleted"],"children":["$L128b","$L128c"]}]}],false]}] 128d:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)125a:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$128d","descriptionNode":"$L128e"}}}] 125b:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 125c:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$7c:props:children:0:props:children:props:responses:200:content:application/json:examples:default:value","block":"$L128f"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1290"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 128b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-card-invitation","children":[["$L1291","$undefined"],["$","$L3a",null,{"id":"get-card-invitation"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-card-invitation.md"}]]}]}],"$undefined"]}] 1294:T8c6,
fetch("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1295:Tdae,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1297:T1552,
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://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1299:T8ce,
fetch("https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
129a:Tdb6,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
129c:T155a,
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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
129d:T147a,
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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
128c:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1292",["$","$Lac",null,{"parameters":[{"name":"card_invitation_id","in":"path","required":true,"description":"The ID of the card invitation.","schema":{"type":"string","format":"uuid"},"examples":{"default":{"value":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd"}},"descriptionNode":"$L1293"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$51:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1294","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1295","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1296","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1297","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1298","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1299","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$129a","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$129b","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$129c","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$129d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/card-invitations/{card_invitation_id}","parameters":["$128c:props:children:0:props:children:1:props:parameters:0"]}],"$L129e"],"$L129f","$L12a0"]}]]}] 11d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The bank country of the merchant, provided as an ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code.\nTypically 3 letters, though in some cases, card networks might provide it as a 2-letter code."]}]]}] 11d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about the merchant (only for card transactions)."}]]}] 11d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment reference."}]]}] 11d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the leg."}]]}] 11da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the transaction."}]]}] 11db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the transaction fee."}]]}] 11dc:["$","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."]}]]}] 11dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The billing amount for cross-currency payments."}]]}] 11de:["$","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."]}]]}] 11df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account that the transaction is associated with."}]]}] 11e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty account."}]]}] 11e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the type of the account."}]]}] 11e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty."}]]}] 11e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The transaction leg purpose."}]]}] 11e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The total balance of the account that the transaction is associated with."}]]}] 11e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The legs of the transaction:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the BGP account and into the EUR account."}],"\n",["$","li","li-1",{"children":"For transactions in other cases, there is only 1 leg."}],"\n"]}]]}] 11e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The legs of the transaction:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the GBP account and into the EUR account."}],"\n",["$","li","li-1",{"children":"For transactions in other cases, there is only 1 leg."}],"\n"]}]]}] 11e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 11e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The masked card number."}]]}] 11e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the cardholder."}]]}] 11ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the cardholder."}]]}] 11eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the cardholder in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164"}]," format."]}]]}] 11ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 11ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 11ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 11f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Card references (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card#response","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"references"}]}],")."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 references that were assigned to the card at the time the transaction was made.\nAny ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"update"}]," to card references does not affect existing transactions."]}]}]]}]]}] 11f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the card associated with the transaction."}]]}] 11f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about a specific transaction"}]]}] 11f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 11f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 11f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 11f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the details of a specific transaction by the transaction's ID.\nThe details can include, for example, cardholder details for card payments."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Retrieve by request_id instead"}],["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["Alternatively, you can retrieve a transaction by the ",["$","strong","strong-0",{"children":"request ID"}]," that was provided for this transaction at the time of its creation, for example, when you ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":"created a payment"}],"."]}],["$","p","p-1",{"children":["To do that, use the ",["$","code","code-0",{"children":"GET /transactions"}]," endpoint to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transactions","target":"_blank","rel":"noreferrer","children":"retrieve a list of transactions"}]," and provide the ",["$","code","code-1",{"children":"request_id"}]," and appropriate ",["$","code","code-2",{"children":"from"}],"/",["$","code","code-3",{"children":"to"}]," values as filters."]}]]}]]}],"\n",["$","p","p-1",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions","target":"_blank","rel":"noreferrer","children":"Retrieve transactions"}],"."]}]]}] 11fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The unique ID of the transaction."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Request ID deprecation"}],["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If ",["$","code","code-0",{"children":"id_type=request_id"}]," is provided, set this field to the request ID from payment creation instead of the transaction ID."]}],["$","p","p-1",{"children":["This behavior is deprecated and will be removed in a future release.\nUse ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transactions","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"GET /transactions"}]}]," to retrieve transactions by request ID."]}]]}]]}]]}] 11fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of ID to retrieve the transaction by."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Deprecated"}],["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"This field is now deprecated and will be removed in a future release."}],["$","p","p-1",{"children":["To retrieve transactions by their unique transaction ID, use this endpoint.\nTo retrieve transactions by request ID, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transactions","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"GET /transactions"}]}]," endpoint instead."]}]]}]]}]]}] 12a1:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)129e:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$12a1","descriptionNode":"$L12a2"}}}] 129f:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 12a0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"invitation_created","label":"Created (active) invitation (example with spending limits)","rawValue":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value","block":"$L12a3"},{"key":"invitation_redeemed","label":"Redeemed invitation (example with spend program)","rawValue":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_redeemed:value","block":"$L12a4"},{"key":"invitation_expired","label":"Expired or cancelled invitation","rawValue":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value","block":"$L12a5"},{"key":"invitation_failed","label":"Failed invitation","rawValue":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed:value","block":"$L12a6"},{"key":"invitation_failed_team_member_deleted","label":"Invitation that failed because team member was deleted","rawValue":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed_team_member_deleted:value","block":"$L12a7"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L12a8"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"unauthorized","label":"Unauthorized","rawValue":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value","block":"$L12a9"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$51:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L12aa"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L12ab"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 120a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L12ac","\n","$L12ad","\n"]}]]}] 1246:"Retrieve a list of transactions" 12ac:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 12ad:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1216:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the transaction."}]]}] 1217:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction type."}]]}] 1218:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The request ID that you provided previously."}]]}] 1219:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction state. Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"created"}],": The transaction has been created and is either processed asynchronously or scheduled for a later time."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"pending"}],": The transaction is pending until it's being processed. If the transfer is made between Revolut accounts, this state is skipped and the transaction is executed instantly."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"completed"}],": The transaction was successful."]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"declined"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, insufficient account balance, wrong receiver information, etc."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"failed"}],": The transaction was unsuccessful. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"reverted"}],": The transaction was reverted. This can happen for a variety of reasons, for example, the receiver being inaccessible."]}],"\n"]}]]}] 121a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason code when the transaction ",["$","code","code-0",{"children":"state"}]," is ",["$","code","code-1",{"children":"declined"}]," or ",["$","code","code-2",{"children":"failed"}],"."]}]]}] 121b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 121c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 121d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the transaction was completed in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format.\nThis is required when the transaction ",["$","code","code-0",{"children":"state"}]," is ",["$","code","code-1",{"children":"completed"}],"."]}]]}] 121e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The scheduled date of the payment, if applicable.\nProvided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 121f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the original transaction to which this transaction is related.\nReturned, for example, when this transaction is a refund of the related transaction, or for transactions related to cashback."}]]}] 1220:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the merchant."}]]}] 1221:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the merchant."}]]}] 1222:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The city of the merchant."}]]}] 1223:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The category code of the merchant."}]]}] 1224:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The bank country of the merchant, provided as an ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code.\nTypically 3 letters, though in some cases, card networks might provide it as a 2-letter code."]}]]}] 1225:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about the merchant (only for card transactions)."}]]}] 1291:"Retrieve card invitation details" 5a:["$","$98","get-counterparty",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The information about a specific counterparty","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty.","descriptionNode":"$L12ae"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L12af"},"revtag":{"type":"string","description":"The [Revtag](https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/) of the counterparty.","descriptionNode":"$L12b0"},"profile_type":{"type":"string","enum":["personal","business"],"description":"The type of the counterparty.\nIndicates whether the recipient is an individual or a company.","descriptionNode":"$L12b1"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The counterparty's bank country, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L12b2"},"state":{"enum":["created","draft","deleted"],"description":"Indicates the state of the counterparty.","type":"string","descriptionNode":"$L12b3"},"created_at":{"type":"string","format":"date-time","description":"The date and time the counterparty was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L12b4"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the counterparty was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L12b5"},"accounts":{"type":"array","description":"The list of public accounts associated with this counterparty.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty's account.","descriptionNode":"$L12b6"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L12b7"},"bank_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$2b4:props:children:0:props:children:1:props:parameters:0:schema:examples","descriptionNode":"$L12b8"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L12b9"},"type":{"enum":["revolut","external"],"description":"Indicates the type of account.","type":"string","descriptionNode":"$L12ba"},"account_no":{"type":"string","description":"The bank account number of the counterparty.","descriptionNode":"$L12bb"},"iban":{"type":"string","description":"The IBAN number of the counterparty's account if applicable.","descriptionNode":"$L12bc"},"sort_code":{"type":"string","description":"The sort code of the counterparty's account if applicable.","descriptionNode":"$L12bd"},"routing_number":{"type":"string","description":"The routing number of the counterparty's account if applicable.","descriptionNode":"$L12be"},"bic":{"type":"string","description":"The BIC number of the counterparty's account if applicable.","descriptionNode":"$L12bf"},"clabe":{"type":"string","description":"The CLABE number of the counterparty's account if applicable.","descriptionNode":"$L12c0"},"ifsc":{"type":"string","description":"The IFSC number of the counterparty's account if applicable.","descriptionNode":"$L12c1"},"bsb_code":{"type":"string","description":"The BSB number of the counterparty's account if applicable.","descriptionNode":"$L12c2"},"route":{"type":"string","enum":["ach","fedwire","swift"],"description":"Routing method for US/USD transfers. Defaults to `ach` for US-registered businesses and `fedwire` for non-US businesses.","examples":["ach"],"descriptionNode":"$L12c3"},"bank_number":{"type":"string","description":"Brazilian bank identification code (COMPE). Returned for BR counterparties.","examples":["033"],"descriptionNode":"$L12c4"},"branch_code":{"type":"string","description":"Brazilian branch (agência) code. Returned for BR counterparties.","examples":["0001"],"descriptionNode":"$L12c5"},"account_type":{"type":"string","enum":["checking","savings"],"description":"Bank account type. Returned for BR, CO, and CL counterparties. Defaults to `checking` for US ACH transfers.","examples":["checking"],"descriptionNode":"$L12c6"},"tax_id":{"type":"string","maxLength":20,"description":"Tax identification number.\nRouted based on `bank_country` and recipient type:\n- **BR**:\n - **Individual**: CPF (Cadastro de Pessoas Físicas). Accepted formats: `^\\d{11}$` or `^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$`.\n - **Company**: CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: `^\\d{14}$` or `^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$`.\n- **CO (company)**: NIT (Número de Identificación Tributaria). Accepted format: `^\\d{10}$`.\n- **CL (individual, company)**: RUT (Rol Único Tributario).","descriptionNode":"$L12c7"},"national_id":{"type":"string","description":"National identification number.\nSpecifies Colombian Cédula de Ciudadanía when `bank_country` is `CO` and `profile_type` is `personal`.","descriptionNode":"$L12c8"},"phone":{"type":"string","maxLength":20,"description":"The phone number of the counterparty in [E.164](https://en.wikipedia.org/wiki/E.164) format.\n\nCountry-specific formats:\n- **CO**: `+57` followed by 10 digits (`^\\+?57\\d{10}$`)\n- **LK**: `+94` followed by 10 digits (`^\\+?94\\d{10}$`)\n- **KR**: `+82` followed by 10 digits (`^\\+?82\\d{10}$`)","examples":["+573001234567"],"descriptionNode":"$L12c9"},"business_registration_id":{"type":"string","maxLength":64,"description":"Company registration number. Used for business LK counterparties.","examples":["PV12345"],"descriptionNode":"$L12ca"},"recipient_charges":{"enum":["no","expected"],"description":"Indicates the possibility of the recipient charges.\n\n:::warning\nThis field is deprecated and should be disregarded.\nIt is returned for legacy purposes only.\n:::","type":"string","deprecated":true,"descriptionNode":"$L12cb"},"address":{"type":"object","description":"The address of the counterparty's account.","required":["country"],"properties":{"street_line1":{"type":"string","maxLength":100,"description":"Street line 1 information.","descriptionNode":"$L12cc"},"street_line2":{"type":"string","maxLength":100,"description":"Street line 2 information.","descriptionNode":"$L12cd"},"region":{"type":"string","maxLength":50,"description":"The name of the region (state or province), for example, Ontario for Canada.","descriptionNode":"$L12ce"},"city":{"type":"string","maxLength":50,"description":"The name of the city.","descriptionNode":"$L12cf"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the counterparty, as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L12d0"},"postcode":{"type":"string","maxLength":15,"description":"The postcode of the counterparty address.","descriptionNode":"$L12d1"}},"descriptionNode":"$L12d2"}},"required":["id","currency","type"]},"descriptionNode":"$L12d3"},"cards":{"type":"array","description":"The list of cards associated with this counterparty.","items":{"type":"object","required":["id","name","last_digits","scheme","country","currency"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty's card.","descriptionNode":"$L12d4"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L12d5"},"last_digits":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L12d6"},"scheme":{"type":"string","enum":["visa","mastercard"],"description":"The card brand.","descriptionNode":"$L12d7"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the card issuer, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L12d8"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L12d9"}}},"descriptionNode":"$L12da"}},"required":["id","name","state","created_at","updated_at"]},"examples":{"revolut_counterparty_individual":{"summary":"Revolut individual counterparty","value":{"id":"8e0e9886-0af1-4b0c-acf4-111180d2892b","name":"John Smith","revtag":"johnsmith","profile_type":"personal","country":"GB","state":"created","created_at":"2022-09-14T14:41:39.312017Z","updated_at":"2022-09-14T14:41:39.312017Z"}},"revolut_counterparty_business":{"summary":"Revolut business counterparty","value":{"id":"11cae5ef-ec24-401d-98a3-e5baa0041671","name":"John Smith Co.","revtag":"jsmithco1","profile_type":"business","country":"GB","state":"created","created_at":"2025-09-16T09:34:41.790401Z","updated_at":"2025-09-16T09:34:41.790401Z"}},"uk_counterparty":{"summary":"UK counterparty","value":{"id":"b53fdd78-8d67-4f63-a103-eeeeef53cac8","name":"John Smith Co.","profile_type":"business","state":"created","created_at":"2022-09-14T14:34:11.168340Z","updated_at":"2022-09-14T14:34:11.168340Z","accounts":[{"account_no":"12345678","sort_code":"540105","id":"5c9e171c-7e23-4d6a-b768-aaaaaba535f3","name":"John Smith Co.","bank_country":"GB","currency":"GBP","type":"external","address":{"street_line1":"Revolut LTD","street_line2":"1 Canada Square","region":"Greater London","city":"London","country":"GB","postcode":"E14 5AB"}}]}},"international_business_eurozone":{"summary":"International business counterparty (eurozone with EUR)","value":{"id":"239d6f1f-2222-4ae6-1111-5cc603341b4e","name":"Bleu Blanc Conseil SARL","profile_type":"business","state":"created","created_at":"2022-09-14T14:47:12.273718Z","updated_at":"2022-09-14T14:47:12.273718Z","accounts":[{"iban":"FR1420041010050500013M02606","bic":"PSSTFRPPLIL","id":"b209281b-aakk-9911-8d83-ac72469cef8f","name":"Bleu Blanc Conseil SARL","bank_country":"FR","currency":"EUR","type":"external","address":{"street_line1":"12 Rue de la Paix","city":"Paris","country":"FR","postcode":"75002"}}]}},"international_business_ch_eur":{"summary":"International business counterparty (outside eurozone, with EUR)","value":{"id":"b8ce3922-d518-4ae6-9426-e8cc117e5332","name":"Johann Meier Co.","profile_type":"business","state":"created","created_at":"2023-08-10T12:43:20.273500Z","updated_at":"2026-01-30T12:43:20.273500Z","accounts":[{"iban":"CH9300762011623852957","bic":"UBSWCHZH80A","id":"d95bc455-f495-4f18-95fa-32f99479318c","name":"Johann Meier Co.","bank_country":"CH","currency":"EUR","type":"external","address":{"street_line1":"Bahnhofstrasse 10","city":"Zurich","country":"CH","postcode":"8001"}}]}},"international_business_ch_chf":{"summary":"International business counterparty (outside eurozone, non-EUR)","value":{"id":"173e6a6b-d955-465f-8f31-7f6f7c03927c","name":"Edelweiss Handel GmbH","profile_type":"business","state":"created","created_at":"2023-08-10T12:43:20.273500Z","updated_at":"2026-01-32T10:54:03.350240Z","accounts":[{"iban":"CH5604835012345678009","bic":"UBSWCHZH80A","id":"b3cc43e8-f141-459b-9bd5-3505cf9797f8","name":"Edelweiss Handel GmbH","bank_country":"CH","currency":"CHF","type":"external","address":{"street_line1":"Marktgasse 22","city":"Bern","country":"CH","postcode":"3011"}}]}},"card_counterparty":{"summary":"Card counterparty","value":{"id":"1d9013c8-84bf-474c-b3d9-690f2ae2e65c","name":"Jane Doe","state":"created","created_at":"2024-01-10T15:32:10.172300Z","updated_at":"2024-01-10T15:32:10.172300Z","cards":[{"id":"0130f363-eeaf-4aa8-b77f-a6a629c603f5","name":"Jane Doe","last_digits":1234,"scheme":"visa","country":"GB","currency":"GBP"},{"id":"fa05f2e5-d253-4661-85cc-bcff98b136ac","name":"Jane Doe","last_digits":5678,"scheme":"mastercard","country":"GB","currency":"GBP"}]}}}}},"descriptionNode":"$L12db"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L12dc"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L12dd"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L12de"}},"requestBody":"$undefined","variantLabels":["Revolut individual counterparty","Revolut business counterparty","UK counterparty","International business counterparty (eurozone with EUR)","International business counterparty (outside eurozone, with EUR)","International business counterparty (outside eurozone, non-EUR)","Card counterparty"],"children":["$L12df","$L12e0"]}]}],false]}] 1226:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The payment reference."}]]}] 1227:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the leg."}]]}] 1228:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the transaction."}]]}] 1229:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The amount of the transaction fee."}]]}] 122a:["$","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."]}]]}] 122b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The billing amount for cross-currency payments."}]]}] 122c:["$","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."]}]]}] 122d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account that the transaction is associated with."}]]}] 122e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty account."}]]}] 122f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the type of the account."}]]}] 1230:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty."}]]}] 1231:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The transaction leg purpose."}]]}] 1232:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The total balance of the account that the transaction is associated with."}]]}] 1233:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The legs of the transaction:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the BGP account and into the EUR account."}],"\n",["$","li","li-1",{"children":"For transactions in other cases, there is only 1 leg."}],"\n"]}]]}] 1234:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The legs of the transaction:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"For transactions between your Revolut accounts, there can be 2 legs, for example, an internal transfer made out of the GBP account and into the EUR account."}],"\n",["$","li","li-1",{"children":"For transactions in other cases, there is only 1 leg."}],"\n"]}]]}] 1235:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 1236:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The masked card number."}]]}] 1237:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the cardholder."}]]}] 1238:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the cardholder."}]]}] 1239:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the cardholder in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164"}]," format."]}]]}] 123b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 123c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 123d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 123e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Card references (",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card#response","target":"_blank","rel":"noreferrer","children":["$","code","code-0",{"children":"references"}]}],")."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 references that were assigned to the card at the time the transaction was made.\nAny ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"update"}]," to card references does not affect existing transactions."]}]}]]}]]}] 123f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The details of the card associated with the transaction."}]]}] 1240:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of historical transactions retrieved"}]]}] 1241:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1242:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1243:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1247:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Retrieve the historical transactions based on the provided query criteria."}],"\n",["$","p","p-1",{"children":["The transactions are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order, and they're ",["$","strong","strong-0",{"children":"paginated"}],".\nThe maximum number of transactions returned per page is specified by the ",["$","code","code-1",{"children":"count"}]," parameter.\nTo get the next page of results, make a new request and use the ",["$","code","code-2",{"children":"created_at"}]," date from the last item of the previous page as the value for the ",["$","code","code-3",{"children":"to"}]," parameter."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The API returns a maximum of 1,000 transactions per request."}]}]]}],"\n",["$","p","p-2",{"children":["For more details, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions","target":"_blank","rel":"noreferrer","children":"Retrieve transactions"}],"."]}]]}] 1248:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time you retrieve the historical transactions from, including this date-time.\nCorresponds to the ",["$","code","code-0",{"children":"created_at"}]," value of the transaction.\nProvided 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":["Used also for pagination.\nTo get back to the previous page of results, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date from the first item of the current page as the value for the ",["$","code","code-1",{"children":"from"}]," parameter."]}]]}] 1249:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time you retrieve the historical transactions to, excluding this date-time.\nCorresponds to the ",["$","code","code-0",{"children":"created_at"}]," value of the transaction.\nProvided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format.\nThe default value is the date and time at which you're calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Used also for pagination.\nTo get the next page of results, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date from the last item of the previous (current) page as the value for the ",["$","code","code-1",{"children":"to"}]," parameter."]}]]}] 124a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the account"}]]}] 124b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of the historical transactions to retrieve per page."}],"\n",["$","p","p-1",{"children":["To get the next page of results, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date from the last item of the previous page as the value for the ",["$","code","code-1",{"children":"to"}]," parameter."]}]]}] 124c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the transaction type."}]]}] 124d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the historical transactions to retrieve."}]]}] 124e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The request ID provided when the transaction was created.\nLets you filter transactions related to that ID."}],"\n",["$","p","p-1",{"children":["When provided, the ",["$","code","code-0",{"children":"from"}]," query parameter is also required, and the search interval must not exceed 14 days.\nFor older transactions, adjust the ",["$","code","code-1",{"children":"to"}]," parameter as well."]}]]}] 124f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The transaction ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions#transaction-states","target":"_blank","rel":"noreferrer","children":"state(s)"}]," to filter by."]}],"\n",["$","p","p-1",{"children":["To specify multiple values, follow this pattern: ",["$","code","code-0",{"children":"state={VALUE1}&state={VALUE2}"}],"."]}]]}] 125d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation."}]]}] 125e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the card invitation:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"created"}]}],": Invitation has been created but not yet claimed."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"expired"}]}],": Invitation has expired due to expiry date being reached or manual cancellation."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"failed"}]}],": Invitation claim attempt failed."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"redeemed"}]}],": Invitation has been successfully claimed."]}],"\n"]}],"\n",["$","p","p-1",{"children":["To learn more about card invitation lifecycle, see the guide: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"Manage card invitations → Card invitation state"}],"."]}]]}] 125f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1260:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1261:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 invitations in state ",["$","code","code-0",{"children":"created"}],"."]}],["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For other states, to find out when a card invitation transitioned to its ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"final state"}],", check the ",["$","code","code-0",{"children":"updated_at"}]," value."]}]}]]}]]}]]}]]}] 1262:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card issued after this invitation was claimed."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 invitations in state ",["$","code","code-0",{"children":"redeemed"}],"."]}]}]]}]]}] 1263:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If the team member has been deleted since the invitation was created, the ",["$","code","code-0",{"children":"holder_id"}]," is not returned."]}]}]]}]]}] 1264:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the issued card will be a virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],") one."]}]]}] 1265:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 1266:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the spend program."}]]}] 1267:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/","target":"_blank","rel":"noreferrer","children":"spend program"}]," assigned to the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To use this property, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 1268:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 12df:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-counterparty","children":[["$L12e1","$undefined"],["$","$L3a",null,{"id":"get-counterparty"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-counterparty.md"}]]}]}],"$undefined"]}] 12e4:T8c2,
fetch("https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
12e5:Tdaa,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
12e7:T154e,
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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
12e9:T8ca,
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
12ea:Tdb2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
12ec:T1556,
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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
12ed:T1476,
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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
12e0:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L12e2",["$","$Lac",null,{"parameters":[{"name":"counterparty_id","in":"path","required":true,"description":"The ID of the counterparty to retrieve.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L12e3"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$5a:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$12e4","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$12e5","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$12e6","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$12e7","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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://b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$12e8","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$12e9","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$12ea","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$12eb","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$12ec","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_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-b2b.revolut.com/api/1.0/counterparty/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$12ed","tokens":[{"marker":"__RP_TOK_0__","paramName":"counterparty_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:counterparty_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparty/{counterparty_id}","parameters":["$12e0:props:children:0:props:children:1:props:parameters:0"]}],"$L12ee"],"$L12ef","$L12f0"]}]]}] 128e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L12f1","\n","$L12f2","\n"]}]]}] 1269:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 126a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 126b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 126c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 126d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 126e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 126f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1270:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 1271:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 1272:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1273:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1274:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1275:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 1276:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card will become available or unavailable for spending, and define what happens after the end date."}]]}] 1277:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of merchant categories that will be available for card spending.",["$","br","br-0",{}],"\nIf this parameter is not specified, categories are not restricted."]}]]}] 1278:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 1279:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 127a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the team member will be able to use the card.\nSpecified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 127b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of accounts that will be linked to the card."}]]}] 127c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the card invitation"}]]}] 127d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 127e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 127f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card invitation ID in the path."}]]}] 1280:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1281:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1282:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Error returning a status instead of code."}]]}] 1283:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 1284:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 1285:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1286:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1287:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card invitation doesn't exist"}]]}] 1288:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1289:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 128a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1292:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of a specific card invitation, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations","target":"_blank","rel":"noreferrer","children":"Manage card invitations"}],"."]}]]}] 1293:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation."}]]}] 50:["$","$98","get-card-invitations",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"The list of card invitations for your business","content":{"application/json":{"schema":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card invitation.","format":"uuid","descriptionNode":"$L12f3"},"state":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"The current state of the card invitation:\n- **`created`**: Invitation has been created but not yet claimed.\n- **`expired`**: Invitation has expired due to expiry date being reached or manual cancellation.\n- **`failed`**: Invitation claim attempt failed.\n- **`redeemed`**: Invitation has been successfully claimed.\n\nTo learn more about card invitation lifecycle, see the guide: [Manage card invitations → Card invitation state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state).","descriptionNode":"$L12f4"},"created_at":{"type":"string","description":"The date and time the card invitation was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L12f5"},"updated_at":{"type":"string","description":"The date and time the card invitation was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L12f6"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n:::note\nOnly returned for invitations in state `created`.\n:::tip\nFor other states, to find out when a card invitation transitioned to its [final state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state), check the `updated_at` value. \n:::","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:expiry_date:examples","descriptionNode":"$L12f7"},"card_id":{"type":"string","format":"uuid","description":"The ID of the card issued after this invitation was claimed. \n:::note\nOnly returned for invitations in state `redeemed`.\n:::\n","descriptionNode":"$L12f8"},"holder_id":{"type":"string","description":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed.\n\n:::note\nIf the team member has been deleted since the invitation was created, the `holder_id` is not returned.\n:::","format":"uuid","descriptionNode":"$L12f9"},"virtual":{"type":"boolean","description":"Specifies whether the issued card will be a virtual (`true`) or physical (`false`) one.","descriptionNode":"$L12fa"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L12fb"},"spend_program":{"description":"The [spend program](https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/) assigned to the card.\n:::note\nTo use this property, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","readOnly":true,"properties":{"label":{"description":"The name of the spend program.","type":"string","maxLength":30,"descriptionNode":"$L12fc"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spend_program:required","descriptionNode":"$L12fd"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L12fe"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L12ff"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L1300"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1301"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1302"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1303"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:amount","currency":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1304"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:amount","currency":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1305"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:amount","currency":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1306"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:amount","currency":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1307"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:amount","currency":"$50:props:children:0:props:children:props:responses:200:content:application/json:schema:items:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1308"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card will become available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L1309"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L130a"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L130b"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L130c"},"categories":{"type":"array","description":"The list of merchant categories that will be available for card spending. \nIf this parameter is not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L130d"},"merchant_controls":{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L130e"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L130f"}}},"countries":{"description":"The list of countries where the team member will be able to use the card.\nSpecified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:countries:items:examples"},"descriptionNode":"$L1310"},"accounts":{"type":"array","description":"The list of accounts that will be linked to the card.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1311"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"description":"A list of card invitations","descriptionNode":"$L1312"}},"examples":{"list_of_card_invitations":{"summary":"List of card invitations","value":[{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T00:00:00Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_limits":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value:spending_limits","spending_period":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value:spending_period","categories":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value:categories","merchant_controls":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value:merchant_controls","countries":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value:countries","accounts":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value:accounts"},{"id":"809d745d-9598-4680-8464-d82113e9024b","state":"redeemed","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-23T09:01:13Z","card_id":"744b29d4-19e9-40f8-89e6-bfb264ef5710","holder_id":"19c76bef-3583-4848-af09-4b2a96c75a14","virtual":true,"label":"Manuel Haleigh - WFH","spend_program":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_redeemed:value:spend_program","spending_period":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_redeemed:value:spending_period","categories":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_redeemed:value:categories","countries":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_redeemed:value:countries","accounts":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_redeemed:value:accounts"},{"id":"0c0d252e-5fff-498e-83f8-f9b635904275","state":"expired","created_at":"2025-11-22T00:00:00Z","updated_at":"2025-11-30T00:00:00Z","holder_id":"5ea0ffa1-5dc5-43c4-ac5e-b9e0deb9ec12","virtual":true,"label":"Valeria Keone - meals","spending_limits":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value:spending_limits","spending_period":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value:spending_period","categories":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value:categories","merchant_controls":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value:merchant_controls","countries":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value:countries","accounts":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_expired:value:accounts"},{"id":"9ab6019a-6a26-41f8-b034-44b591f8b1a8","state":"failed","created_at":"2025-11-27T00:00:00Z","updated_at":"2025-11-27T00:00:00Z","holder_id":"af686385-4ec0-4139-a4a0-963ee9fa5bc8","virtual":true,"label":"Connor Thato - meals","spending_period":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed:value:spending_period","categories":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed:value:categories","merchant_controls":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed:value:merchant_controls","countries":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed:value:countries","accounts":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed:value:accounts"},{"id":"bfc40b73-1e8b-4cba-ad7d-2f54ee707a21","state":"failed","created_at":"2025-11-28T00:00:00Z","updated_at":"2025-12-02T11:31:15Z","virtual":true,"label":"Natália Popović - offb","spending_period":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed_team_member_deleted:value:spending_period","categories":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed_team_member_deleted:value:categories","merchant_controls":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed_team_member_deleted:value:merchant_controls","countries":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed_team_member_deleted:value:countries","accounts":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_failed_team_member_deleted:value:accounts"}]}}}},"descriptionNode":"$L1313"},"400":{"description":"Bad request\n\nReturned, for example, when you provide invalid query parameters.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1314"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1315"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_limit_parameter":{"summary":"Invalid limit parameter","value":{"code":2101,"message":"Parameter limit must be a valid integer in range: [1, 100]."}},"invalid_created_before_format":{"summary":"Invalid created_before format","value":{"code":2101,"message":"Parameter created_before must be a valid timestamp"}},"invalid_state_parameter":{"summary":"Invalid state parameter","value":{"code":2101,"message":"Invalid card invitation state: active"}}}}},"descriptionNode":"$L1316"},"401":{"description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","content":{"application/json":{"schema":{"type":"object","description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","allOf":[{"type":"object","description":"Error returning a status instead of code.","properties":{"status":{"type":"integer","description":"The error code.","descriptionNode":"$L1317"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1318"}},"required":"$53:props:children:0:props:children:props:responses:401:content:application/json:schema:allOf:0:required","descriptionNode":"$L1319"}],"descriptionNode":"$L131a"},"examples":{"unauthorized":{"summary":"Unauthorized","value":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value"}}}},"descriptionNode":"$L131b"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L131c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L131d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L131e"}},"requestBody":"$undefined","variantLabels":[],"children":["$L131f","$L1320"]}]}],false]}] 56:["$","$98","get-counterparties",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of your counterparties","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty.","descriptionNode":"$L1321"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L1322"},"revtag":{"type":"string","description":"The [Revtag](https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/) of the counterparty.","descriptionNode":"$L1323"},"profile_type":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:profile_type:enum","description":"The type of the counterparty.\nIndicates whether the recipient is an individual or a company.","descriptionNode":"$L1324"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The counterparty's bank country, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L1325"},"state":{"enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"Indicates the state of the counterparty.","type":"string","descriptionNode":"$L1326"},"created_at":{"type":"string","format":"date-time","description":"The date and time the counterparty was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1327"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the counterparty was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1328"},"accounts":{"type":"array","description":"The list of public accounts associated with this counterparty.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty's account.","descriptionNode":"$L1329"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L132a"},"bank_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$2b4:props:children:0:props:children:1:props:parameters:0:schema:examples","descriptionNode":"$L132b"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L132c"},"type":{"enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:type:enum","description":"Indicates the type of account.","type":"string","descriptionNode":"$L132d"},"account_no":{"type":"string","description":"The bank account number of the counterparty.","descriptionNode":"$L132e"},"iban":{"type":"string","description":"The IBAN number of the counterparty's account if applicable.","descriptionNode":"$L132f"},"sort_code":{"type":"string","description":"The sort code of the counterparty's account if applicable.","descriptionNode":"$L1330"},"routing_number":{"type":"string","description":"The routing number of the counterparty's account if applicable.","descriptionNode":"$L1331"},"bic":{"type":"string","description":"The BIC number of the counterparty's account if applicable.","descriptionNode":"$L1332"},"clabe":{"type":"string","description":"The CLABE number of the counterparty's account if applicable.","descriptionNode":"$L1333"},"ifsc":{"type":"string","description":"The IFSC number of the counterparty's account if applicable.","descriptionNode":"$L1334"},"bsb_code":{"type":"string","description":"The BSB number of the counterparty's account if applicable.","descriptionNode":"$L1335"},"route":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:route:enum","description":"Routing method for US/USD transfers. Defaults to `ach` for US-registered businesses and `fedwire` for non-US businesses.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:route:examples","descriptionNode":"$L1336"},"bank_number":{"type":"string","description":"Brazilian bank identification code (COMPE). Returned for BR counterparties.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:bank_number:examples","descriptionNode":"$L1337"},"branch_code":{"type":"string","description":"Brazilian branch (agência) code. Returned for BR counterparties.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:branch_code:examples","descriptionNode":"$L1338"},"account_type":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:account_type:enum","description":"Bank account type. Returned for BR, CO, and CL counterparties. Defaults to `checking` for US ACH transfers.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:account_type:examples","descriptionNode":"$L1339"},"tax_id":{"type":"string","maxLength":20,"description":"Tax identification number.\nRouted based on `bank_country` and recipient type:\n- **BR**:\n - **Individual**: CPF (Cadastro de Pessoas Físicas). Accepted formats: `^\\d{11}$` or `^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$`.\n - **Company**: CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: `^\\d{14}$` or `^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$`.\n- **CO (company)**: NIT (Número de Identificación Tributaria). Accepted format: `^\\d{10}$`.\n- **CL (individual, company)**: RUT (Rol Único Tributario).","descriptionNode":"$L133a"},"national_id":{"type":"string","description":"National identification number.\nSpecifies Colombian Cédula de Ciudadanía when `bank_country` is `CO` and `profile_type` is `personal`.","descriptionNode":"$L133b"},"phone":{"type":"string","maxLength":20,"description":"The phone number of the counterparty in [E.164](https://en.wikipedia.org/wiki/E.164) format.\n\nCountry-specific formats:\n- **CO**: `+57` followed by 10 digits (`^\\+?57\\d{10}$`)\n- **LK**: `+94` followed by 10 digits (`^\\+?94\\d{10}$`)\n- **KR**: `+82` followed by 10 digits (`^\\+?82\\d{10}$`)","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:phone:examples","descriptionNode":"$L133c"},"business_registration_id":{"type":"string","maxLength":64,"description":"Company registration number. Used for business LK counterparties.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:business_registration_id:examples","descriptionNode":"$L133d"},"recipient_charges":{"enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:recipient_charges:enum","description":"Indicates the possibility of the recipient charges.\n\n:::warning\nThis field is deprecated and should be disregarded.\nIt is returned for legacy purposes only.\n:::","type":"string","deprecated":true,"descriptionNode":"$L133e"},"address":{"type":"object","description":"The address of the counterparty's account.","required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:address:required","properties":{"street_line1":{"type":"string","maxLength":100,"description":"Street line 1 information.","descriptionNode":"$L133f"},"street_line2":{"type":"string","maxLength":100,"description":"Street line 2 information.","descriptionNode":"$L1340"},"region":{"type":"string","maxLength":50,"description":"The name of the region (state or province), for example, Ontario for Canada.","descriptionNode":"$L1341"},"city":{"type":"string","maxLength":50,"description":"The name of the city.","descriptionNode":"$L1342"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the counterparty, as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L1343"},"postcode":{"type":"string","maxLength":15,"description":"The postcode of the counterparty address.","descriptionNode":"$L1344"}},"descriptionNode":"$L1345"}},"required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:required"},"descriptionNode":"$L1346"},"cards":{"type":"array","description":"The list of cards associated with this counterparty.","items":{"type":"object","required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:cards:items:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty's card.","descriptionNode":"$L1347"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L1348"},"last_digits":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L1349"},"scheme":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:cards:items:properties:scheme:enum","description":"The card brand.","descriptionNode":"$L134a"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the card issuer, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L134b"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L134c"}}},"descriptionNode":"$L134d"}},"required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:required"}},"examples":{"all_counterparties":{"summary":"A list of your counterparties","value":[{"id":"239d6f1f-2222-4ae6-1111-5cc603341b4e","name":"Jane Doe Co.","profile_type":"business","state":"created","created_at":"2022-09-14T14:47:12.273718Z","updated_at":"2022-09-14T14:47:12.273718Z","accounts":[{"iban":"GB66REVO00996995908786","bic":"REVOGB21","id":"b209281b-aakk-9911-8d83-ac72469cef8f","name":"Jane Doe Co.","bank_country":"GB","currency":"EUR","type":"external","address":{"street_line1":"Revolut LTD","street_line2":"1 Canada Square","region":"Greater London","city":"London","country":"GB","postcode":"E14 5AB"}}]},{"id":"8e0e9886-0af1-4b0c-acf4-111180d2892b","name":"John Smith","revtag":"johnsmith","profile_type":"personal","country":"GB","state":"created","created_at":"2022-09-14T14:41:39.312017Z","updated_at":"2022-09-14T14:41:39.312017Z"},{"id":"11cae5ef-ec24-401d-98a3-e5baa0041671","name":"John Smith Co.","revtag":"jsmithco1","profile_type":"business","country":"GB","state":"created","created_at":"2025-09-16T09:34:41.790401Z","updated_at":"2025-09-16T09:34:41.790401Z","accounts":[{"id":"ad3c3b03-611e-461e-99b2-572f4785e44b","name":"Main GBP","currency":"GBP","type":"revolut"},{"id":"67fe3eaa-c994-40c0-b3e0-7b6bfe0cedca","name":"Main EUR","currency":"EUR","type":"revolut"}]},{"id":"e7e36cce-2e9c-4e96-818e-1c2fed325852","name":"John Doe Co.","profile_type":"business","state":"created","created_at":"2022-08-14T14:34:11.168340Z","updated_at":"2022-08-14T14:34:11.168340Z","accounts":[{"account_no":"12345674","sort_code":"540107","id":"e277b2bd-3a6d-423b-933d-3d425094bb13","name":"John Doe Co.","bank_country":"GB","currency":"GBP","type":"external","address":{"street_line1":"7 King's Road","region":"Greater London","city":"London","country":"GB","postcode":"SW3 4PQ"}}]},{"id":"239d6f1f-2222-4ae6-1111-5cc603341b4e","name":"Bleu Blanc Conseil SARL","profile_type":"business","state":"created","created_at":"2022-09-14T14:47:12.273718Z","updated_at":"2022-09-14T14:47:12.273718Z","accounts":[{"iban":"FR1420041010050500013M02606","bic":"PSSTFRPPLIL","id":"b209281b-aakk-9911-8d83-ac72469cef8f","name":"Bleu Blanc Conseil SARL","bank_country":"FR","currency":"EUR","type":"external","address":{"street_line1":"12 Rue de la Paix","city":"Paris","country":"FR","postcode":"75002"}}]},{"id":"b8ce3922-d518-4ae6-9426-e8cc117e5332","name":"Johann Meier Co.","profile_type":"business","state":"created","created_at":"2023-08-10T12:43:20.273500Z","updated_at":"2026-01-30T12:43:20.273500Z","accounts":[{"iban":"CH9300762011623852957","bic":"UBSWCHZH80A","id":"d95bc455-f495-4f18-95fa-32f99479318c","name":"Johann Meier Co.","bank_country":"CH","currency":"EUR","type":"external","address":{"street_line1":"Bahnhofstrasse 10","city":"Zurich","country":"CH","postcode":"8001"}}]},{"id":"173e6a6b-d955-465f-8f31-7f6f7c03927c","name":"Edelweiss Handel GmbH","profile_type":"business","state":"created","created_at":"2023-08-10T12:43:20.273500Z","updated_at":"2026-01-32T10:54:03.350240Z","accounts":[{"iban":"CH5604835012345678009","bic":"UBSWCHZH80A","id":"b3cc43e8-f141-459b-9bd5-3505cf9797f8","name":"Edelweiss Handel GmbH","bank_country":"CH","currency":"CHF","type":"external","address":{"street_line1":"Marktgasse 22","city":"Bern","country":"CH","postcode":"3011"}}]},{"id":"1d9013c8-84bf-474c-b3d9-690f2ae2e65c","name":"Jane Doe","state":"created","created_at":"2024-01-10T15:32:10.172300Z","updated_at":"2024-01-10T15:32:10.172300Z","cards":[{"id":"0130f363-eeaf-4aa8-b77f-a6a629c603f5","name":"Jane Doe","last_digits":1234,"scheme":"visa","country":"GB","currency":"GBP"},{"id":"fa05f2e5-d253-4661-85cc-bcff98b136ac","name":"Jane Doe","last_digits":5678,"scheme":"mastercard","country":"GB","currency":"GBP"}]}]},"no_search_results":{"summary":"No matching search results","value":[]}}}},"descriptionNode":"$L134e"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L134f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1350"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"bad_limit":{"summary":"Bad limit","value":{"message":"limit must be between 1 and 1000","code":2101}},"bic_only_allowed_with_iban":{"summary":"BIC can be used only in combination with IBAN","value":{"message":"bic param can be used only combined with iban param","code":2101}},"sort_code_only_allowed_with_account_no":{"summary":"Sort code can be used only in combination with account number","value":{"message":"sort_code param can be used only combined with account_no param","code":2101}},"invalid_timestamp":{"summary":"Invalid timestamp","value":{"message":"Parameter created_before must be a valid timestamp","code":2101}}}}},"descriptionNode":"$L1351"},"401":{"description":"Anauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1352"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1353"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"The request should be authorized."}}}}},"descriptionNode":"$L1354"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1355"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1356"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1357"}},"requestBody":"$undefined","variantLabels":["A list of your counterparties","No matching search results"],"children":["$L1358","$L1359"]}]}],false]}] 135a:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)12ee:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$135a","descriptionNode":"$L135b"}}}] 12ef:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 12f0:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"revolut_counterparty_individual","label":"Revolut individual counterparty","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:revolut_counterparty_individual:value","block":"$L135c"},{"key":"revolut_counterparty_business","label":"Revolut business counterparty","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:revolut_counterparty_business:value","block":"$L135d"},{"key":"uk_counterparty","label":"UK counterparty","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:uk_counterparty:value","block":"$L135e"},{"key":"international_business_eurozone","label":"International business counterparty (eurozone with EUR)","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:international_business_eurozone:value","block":"$L135f"},{"key":"international_business_ch_eur","label":"International business counterparty (outside eurozone, with EUR)","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:international_business_ch_eur:value","block":"$L1360"},{"key":"international_business_ch_chf","label":"International business counterparty (outside eurozone, non-EUR)","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:international_business_ch_chf:value","block":"$L1361"},{"key":"card_counterparty","label":"Card counterparty","rawValue":"$5a:props:children:0:props:children:props:responses:200:content:application/json:examples:card_counterparty:value","block":"$L1362"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1363"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 12f1:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 12f2:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 131f:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-card-invitations","children":[["$L1364","$undefined"],["$","$L3a",null,{"id":"get-card-invitations"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-card-invitations.md"}]]}]}],"$undefined"]}] 136a:T905,
fetch("https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
136b:Tded,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
136d:T1591,
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://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
136f:T90d,
fetch("https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1370:Tdf5,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1372:T1599,
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-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1373:T14b9,
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-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1320:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1365",["$","$Lac",null,{"parameters":[{"name":"created_before","in":"query","required":false,"description":"Retrieves only card invitations created before this timestamp (`created_at` < `created_before`).\nUsed for pagination.\nThe default value is the current date and time at which you are calling the endpoint.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","schema":{"type":"string","format":"date-time","default":"the date-time at which the request is made"},"examples":{"default":{"value":"2025-10-15T14:30:00Z"}},"descriptionNode":"$L1366"},{"name":"limit","in":"query","required":false,"description":"The maximum number of card invitations to return per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last card invitation returned in the previous response as the value for `created_before`.","schema":{"type":"number","format":"integer","minimum":1,"maximum":100,"default":100},"descriptionNode":"$L1367"},{"name":"state","in":"query","required":false,"description":"Retrieves card invitations filtered by the specified state(s).\nTo specify multiple values, follow this pattern: `state={VALUE1}&state={VALUE2}`. \nIf not provided, all states are returned.","schema":{"type":"array","items":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"The current state of the card invitation:\n- **`created`**: Invitation has been created but not yet claimed.\n- **`expired`**: Invitation has expired due to expiry date being reached or manual cancellation.\n- **`failed`**: Invitation claim attempt failed.\n- **`redeemed`**: Invitation has been successfully claimed.\n\nTo learn more about card invitation lifecycle, see the guide: [Manage card invitations → Card invitation state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state).","descriptionNode":"$L1368"}},"style":"form","explode":false,"examples":{"default":{"value":"state=created&state=redeemed"}},"descriptionNode":"$L1369"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$50:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$136a","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$136b","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$136c","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","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://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$136d","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","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://b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$136e","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$136f","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1370","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1371","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","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-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1372","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","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-b2b.revolut.com/api/1.0/card-invitations?created_before=__RP_TOK_0__&limit=__RP_TOK_1__&state=__RP_TOK_2__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1373","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","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":"state","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100","query:state":"[]"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/card-invitations","parameters":["$1320:props:children:0:props:children:1:props:parameters:0","$1320:props:children:0:props:children:1:props:parameters:1","$1320:props:children:0:props:children:1:props:parameters:2"]}],"$L1374"],"$L1375","$L1376"]}]]}] 1358:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-counterparties","children":[["$L1377","$undefined"],["$","$L3a",null,{"id":"get-counterparties"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-counterparties.md"}]]}]}],"$undefined"]}] 1380:T968,
fetch("https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1381:Te50,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1383:T15f4,
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://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1385:T970,
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1386:Te58,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1388:T15fc,
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-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1389:T151c,
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-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1359:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1378",["$","$Lac",null,{"parameters":[{"in":"query","name":"name","schema":{"type":"string"},"description":"The name of the counterparty to retrieve. It does not need to be an exact match, partial match is also supported. \n\n:::note\nSpecial characters must be properly URL-encoded.\n:::","descriptionNode":"$L1379"},{"in":"query","name":"account_no","schema":{"type":"string"},"description":"The exact account number of the counterparty to retrieve.","descriptionNode":"$L137a"},{"in":"query","name":"sort_code","schema":{"type":"string"},"description":"The exact sort code of the counterparty to retrieve. \nOnly allowed in combination with the `account_no` parameter.","descriptionNode":"$L137b"},{"in":"query","name":"iban","schema":{"type":"string"},"description":"The exact IBAN of the counterparty to retrieve.","descriptionNode":"$L137c"},{"in":"query","name":"bic","schema":{"type":"string"},"description":"The exact BIC of the counterparty to retrieve. \nOnly allowed in combination with the `iban` parameter.","descriptionNode":"$L137d"},{"in":"query","name":"created_before","schema":{"type":"string","format":"date-time","default":"the date-time at which the request is made"},"description":"Retrieves counterparties with `created_at` < `created_before`.\nThe default value is the current date and time at which you are calling the endpoint. \n\nProvide it in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L137e"},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":1000,"default":100},"description":"The maximum number of counterparties returned per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last counterparty returned in the previous response as the value for `created_before`.","descriptionNode":"$L137f"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$56:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1380","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1381","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1382","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1383","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1384","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1385","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1386","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1387","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1388","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/counterparties?name=__RP_TOK_0__&account_no=__RP_TOK_1__&sort_code=__RP_TOK_2__&iban=__RP_TOK_3__&bic=__RP_TOK_4__&created_before=__RP_TOK_5__&limit=__RP_TOK_6__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1389","tokens":[{"marker":"__RP_TOK_0__","paramName":"name","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"account_no","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_2__","paramName":"sort_code","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_3__","paramName":"iban","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_4__","paramName":"bic","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_5__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_6__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:name":"string","query:account_no":"string","query:sort_code":"string","query:iban":"string","query:bic":"string","query:created_before":"the date-time at which the request is made","query:limit":"100"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparties","parameters":["$1359:props:children:0:props:children:1:props:parameters:0","$1359:props:children:0:props:children:1:props:parameters:1","$1359:props:children:0:props:children:1:props:parameters:2","$1359:props:children:0:props:children:1:props:parameters:3","$1359:props:children:0:props:children:1:props:parameters:4","$1359:props:children:0:props:children:1:props:parameters:5","$1359:props:children:0:props:children:1:props:parameters:6"]}],"$L138a"],"$L138b","$L138c"]}]]}] 12a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L138d","\n","$L138e","\n"]}]]}] 138f:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1374:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$138f","descriptionNode":"$L1390"}}}] 1375:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1376:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_card_invitations","label":"List of card invitations","rawValue":"$50:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_card_invitations:value","block":"$L1391"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_limit_parameter","label":"Invalid limit parameter","rawValue":"$50:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_limit_parameter:value","block":"$L1392"},{"key":"invalid_created_before_format","label":"Invalid created_before format","rawValue":"$50:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_created_before_format:value","block":"$L1393"},{"key":"invalid_state_parameter","label":"Invalid state parameter","rawValue":"$50:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_state_parameter:value","block":"$L1394"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"unauthorized","label":"Unauthorized","rawValue":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value","block":"$L1395"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1396"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 1397:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)138a:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1397","descriptionNode":"$L1398"}}}] 138b:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 138c:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"all_counterparties","label":"A list of your counterparties","rawValue":"$56:props:children:0:props:children:props:responses:200:content:application/json:examples:all_counterparties:value","block":"$L1399"},{"key":"no_search_results","label":"No matching search results","rawValue":"$56:props:children:0:props:children:props:responses:200:content:application/json:examples:no_search_results:value","block":"$L139a"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"bad_limit","label":"Bad limit","rawValue":"$56:props:children:0:props:children:props:responses:400:content:application/json:examples:bad_limit:value","block":"$L139b"},{"key":"bic_only_allowed_with_iban","label":"BIC can be used only in combination with IBAN","rawValue":"$56:props:children:0:props:children:props:responses:400:content:application/json:examples:bic_only_allowed_with_iban:value","block":"$L139c"},{"key":"sort_code_only_allowed_with_account_no","label":"Sort code can be used only in combination with account number","rawValue":"$56:props:children:0:props:children:props:responses:400:content:application/json:examples:sort_code_only_allowed_with_account_no:value","block":"$L139d"},{"key":"invalid_timestamp","label":"Invalid timestamp","rawValue":"$56:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_timestamp:value","block":"$L139e"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$56:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L139f"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L13a0"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 138d:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 138e:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 12e1:"Retrieve a counterparty" 12ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty."}]]}] 12af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 12b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/","target":"_blank","rel":"noreferrer","children":"Revtag"}]," of the counterparty."]}]]}] 12b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the counterparty.\nIndicates whether the recipient is an individual or a company."}]]}] 12b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty's bank country, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 12b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the counterparty."}]]}] 12b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the counterparty was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 12b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the counterparty was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 12b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty's account."}]]}] 12b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 12b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 12b9:["$","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."]}]]}] 12ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the type of account."}]]}] 12bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The bank account number of the counterparty."}]]}] 12bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN number of the counterparty's account if applicable."}]]}] 12bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The sort code of the counterparty's account if applicable."}]]}] 12be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The routing number of the counterparty's account if applicable."}]]}] 12bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC number of the counterparty's account if applicable."}]]}] 12c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The CLABE number of the counterparty's account if applicable."}]]}] 12c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IFSC number of the counterparty's account if applicable."}]]}] 12c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BSB number of the counterparty's account if applicable."}]]}] 12c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Routing method for US/USD transfers. Defaults to ",["$","code","code-0",{"children":"ach"}]," for US-registered businesses and ",["$","code","code-1",{"children":"fedwire"}]," for non-US businesses."]}]]}] 12c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian bank identification code (COMPE). Returned for BR counterparties."}]]}] 1364:"Retrieve a list of card invitations" 1377:"Retrieve a list of counterparties" 13a1:T1bee,
{
  "id": "640dc0b7-1234-aaaa-1234-92ac4de1dacd",
  "type": "exchange",
  "state": "completed",
  "request_id": "d8f041ab-1234-aaaa-1234-78b6a0b2801f",
  "created_at": "2023-03-12T12:08:07.833414Z",
  "updated_at": "2023-03-12T12:08:07.833414Z",
  "completed_at": "2023-03-12T12:08:07.833705Z",
  "legs": [
    {
      "leg_id": "640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd",
      "account_id": "0d1848dc-aaaa-4a9a-aaaa-cae53cbd4baf",
      "amount": -1,
      "currency": "GBP",
      "bill_amount": -8.39,
      "bill_currency": "DKK",
      "description": "Exchanged to DKK",
      "balance": 8.74
    },
    {
      "leg_id": "640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd",
      "account_id": "246bc9de-aaaa-4f86-aaaa-4d291a5d0390",
      "amount": 8.39,
      "fee": 0.08,
      "currency": "DKK",
      "description": "Exchanged from GBP Main",
      "balance": 19.33
    }
  ]
}
120b:["$","div","200-application/json-exchange",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13a1"}}]}]],"$L13a2"]}] 13a3:T1ffd,
{
  "id": "640c2b97-aaaa-1234-aaaa-c47a165c2e7e",
  "type": "card_payment",
  "state": "completed",
  "request_id": "REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf",
  "created_at": "2023-03-11T07:19:51.302559Z",
  "updated_at": "2023-03-12T02:13:36.842322Z",
  "completed_at": "2023-03-12T02:13:36.836595Z",
  "merchant": {
    "name": "Acme Corp.",
    "city": "New York",
    "category_code": "7311",
    "country": "USA"
  },
  "legs": [
    {
      "leg_id": "640c2b97-aaaa-1234-aaaa-c47a165c2e7e",
      "account_id": "92e43866-aaaa-1234-aaaa-6e31dd23f024",
      "amount": -47.8,
      "fee": 0.66,
      "currency": "AED",
      "bill_amount": -13,
      "bill_currency": "USD",
      "description": "Acm *1234mn1ha2",
      "balance": 7.74
    }
  ],
  "card": {
    "id": "2b1a31bc-4795-4f95-b939-ae9cf911dc6e",
    "card_number": "516760******1234",
    "first_name": "John",
    "last_name": "Smith",
    "phone": "+12412341234"
  }
}
120c:["$","div","200-application/json-card_payment",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13a3"}}]}]],"$L13a4"]}] 13a5:T2107,
{
  "id": "6886001b-c4a4-4920-912b-c9d7d2575bf7",
  "type": "card_payment",
  "state": "completed",
  "request_id": "REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f",
  "created_at": "2025-09-11T07:19:51.302559Z",
  "updated_at": "2025-09-12T02:13:36.842322Z",
  "completed_at": "2025-03-12T02:13:36.836595Z",
  "merchant": {
    "name": "Alfa",
    "city": "Paris",
    "category_code": "7311",
    "country": "FRA"
  },
  "legs": [
    {
      "leg_id": "0e82681d-10db-40b7-b6c8-f99c595f1c82",
      "account_id": "5e85a129-74c9-4714-bbd2-d762b42b15fb",
      "amount": -153.32,
      "fee": 0,
      "currency": "EUR",
      "description": "Al 1234abcxyz0",
      "balance": 3210.43
    }
  ],
  "card": {
    "id": "12d6d4c2-288b-4670-8297-444720bd811b",
    "card_number": "456230******1433",
    "references": [
      {
        "name": "PNR",
        "value": "RT12345"
      },
      {
        "name": "Traveller",
        "value": "John Smith"
      }
    ]
  }
}
120d:["$","div","200-application/json-company_card_payment",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13a5"}}]}]],"$L13a6"]}] 13a7:T17e7,
{
  "id": "640c1963-aaaa-1234-aaaa-a6b451197c6a",
  "type": "transfer",
  "state": "completed",
  "request_id": "8cc6f5db-aaaa-1234-aaaa-068a05af424e",
  "created_at": "2023-03-11T06:02:11.785704Z",
  "updated_at": "2023-03-11T06:02:14.628964Z",
  "completed_at": "2023-03-11T06:02:14.624946Z",
  "reference": "Reference example",
  "legs": [
    {
      "leg_id": "640c1963-aaaa-1234-aaaa-a6b451197c6a",
      "account_id": "0d1848dc-aaaa-1234-aaaa-cae53cbd4baf",
      "counterparty": {
        "id": "f5a9a06b-aaaa-1234-aaaa-c51df843e30d",
        "account_type": "external",
        "account_id": "25c9d813-aaaa-1234-aaaa-28334fc4d133"
      },
      "amount": -100,
      "fee": 0.1,
      "currency": "GBP",
      "description": "To John Smith",
      "balance": 9.74
    }
  ]
}
120e:["$","div","200-application/json-outbound_transfer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13a7"}}]}]],"$L13a8"]}] 13a9:T146e,
{
  "id": "63f3a305-aaaa-1234-aaaa-54f06420ae58",
  "type": "transfer",
  "state": "completed",
  "request_id": "7d3a3358-aaaa-1234-aaaa-c332c49b6431",
  "created_at": "2023-02-20T16:42:45.897576Z",
  "updated_at": "2023-02-20T16:42:45.897576Z",
  "completed_at": "2023-02-20T16:42:45.897845Z",
  "reference": "Reference 1234",
  "legs": [
    {
      "leg_id": "63f3a305-aaaa-1234-aaaa-54f06420ae58",
      "account_id": "74d4d6cb-aaaa-1234-aaaa-9604b94e3019",
      "counterparty": {
        "account_type": "revolut"
      },
      "amount": 10,
      "currency": "GBP",
      "description": "From JOHN SMITH",
      "balance": 3.7
    }
  ]
}
120f:["$","div","200-application/json-inbound_transfer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13a9"}}]}]],"$L13aa"]}] 13ab:T18bb,
{
  "id": "640b4fbf-aaaa-1234-aaaa-17a2d10142af",
  "type": "transfer",
  "state": "completed",
  "request_id": "f8bbea44-aaaa-1234-aaaa-113df56660f7",
  "created_at": "2023-03-10T15:41:51.304765Z",
  "updated_at": "2023-03-10T15:41:51.395348Z",
  "completed_at": "2023-03-10T15:41:51.388279Z",
  "legs": [
    {
      "leg_id": "640b4fbf-aaaa-1234-aaaa-17a2d10142af",
      "account_id": "0d1848dc-aaaa-1234-aaaa-cae53cbd4baf",
      "amount": 100,
      "currency": "GBP",
      "description": "To GBP Deposit pocket",
      "balance": 100.84
    },
    {
      "leg_id": "640b4fbf-aaaa-1234-aaaa-17a2d10142af",
      "account_id": "87f2f697-aaaa-1234-aaaa-a20c78c0d24f",
      "amount": 100,
      "currency": "GBP",
      "description": "From GBP Regular pocket",
      "balance": 100.65
    }
  ]
}
1210:["$","div","200-application/json-internal_transfer",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13ab"}}]}]],"$L13ac"]}] 13ad:T1ff8,
{
  "id": "62d5161d-aaaa-1234-aaaa-219f88258175",
  "type": "atm",
  "state": "completed",
  "request_id": "REVP:b46e51ca-aaaa-1234-aaaa-e54321796ff0",
  "created_at": "2022-07-18T08:13:17.025950Z",
  "updated_at": "2022-07-19T16:21:22.521625Z",
  "completed_at": "2022-07-19T16:21:22.515565Z",
  "merchant": {
    "name": "Barclays",
    "city": "Canary Wharf",
    "category_code": "6011",
    "country": "GBR"
  },
  "legs": [
    {
      "leg_id": "c84cec91-aaaa-1234-aaaa-62d1979dcf3a",
      "account_id": "dbd3c68b-aaaa-1234-aaaa-5621a117ecbf",
      "amount": -21.22,
      "fee": 0.48,
      "currency": "GBP",
      "bill_amount": -25,
      "bill_currency": "EUR",
      "description": "Cash at Barclays",
      "balance": 9.9
    }
  ],
  "card": {
    "id": "2b1a31bc-4795-4f95-b939-ae9cf911dc6e",
    "card_number": "516760******1234",
    "first_name": "John",
    "last_name": "Smith",
    "phone": "+447712341234"
  }
}
1211:["$","div","200-application/json-atm_withdrawal",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13ad"}}]}]],"$L13ae"]}] 13af:T1299,
{
  "id": "63c95e75-aaaa-1234-aaaa-4e7a7768c663",
  "type": "topup",
  "state": "completed",
  "request_id": "9d4d90c5-aaaa-1234-aaaa-ac65bf589532",
  "created_at": "2023-01-19T15:15:01.895737Z",
  "updated_at": "2023-01-19T15:16:14.839234Z",
  "completed_at": "2023-01-19T15:16:14.833964Z",
  "reference": "Top up Revolut account",
  "legs": [
    {
      "leg_id": "63c95e75-aaaa-1234-aaaa-4e7a7768c663",
      "account_id": "6ce35350-aaaa-1234-aaaa-006d3f739b80",
      "amount": 100,
      "currency": "EUR",
      "description": "Payment from John Smith",
      "balance": 1
    }
  ]
}
1212:["$","div","200-application/json-top_up",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13af"}}]}]],"$L13b0"]}] 13b1:T11a7,
{
  "id": "6409e928-aaaa-1234-aaaa-872a41309af1",
  "type": "card_chargeback",
  "state": "completed",
  "request_id": "CARD_CHARGEBACK_eabeb099-aaaa-1234-aaaa-ce72583866bb_0",
  "created_at": "2023-03-09T14:11:52.453528Z",
  "updated_at": "2023-03-09T14:11:52.453528Z",
  "completed_at": "2023-03-09T14:11:52.453740Z",
  "legs": [
    {
      "leg_id": "6409e928-aaaa-1234-aaaa-872a41309af1",
      "account_id": "0d1848dc-aaaa-1234-aaaa-cae53cbd4baf",
      "amount": 4.68,
      "currency": "GBP",
      "description": "Card chargeback for Rev*www.revolut.com",
      "balance": 13.08
    }
  ]
}
1213:["$","div","200-application/json-card_chargeback",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13b1"}}]}]],"$L13b2"]}] 13b3:T12be,
{
  "id": "172884ea-a529-4d5f-8a81-8ebab9f23e33",
  "type": "refund",
  "state": "completed",
  "request_id": "79fb7626-df83-46eb-b89a-b31b1e1ae2d7",
  "created_at": "2024-03-17T06:05:10.575740Z",
  "updated_at": "2024-03-17T06:05:10.575740Z",
  "completed_at": "2024-03-17T06:05:10.575740Z",
  "related_transaction_id": "640c1963-aaaa-1234-aaaa-a6b451197c6a",
  "legs": [
    {
      "leg_id": "172884ea-a529-4d5f-8a81-8ebab9f23e33",
      "account_id": "74d4d6cb-aaaa-1234-aaaa-9604b94e3019",
      "amount": 100,
      "currency": "GBP",
      "description": "A sample refund description",
      "balance": 109.74
    }
  ]
}
1214:["$","div","200-application/json-refund",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13b3"}}]}]],"$L13b4"]}] 1215:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 13a2:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"640dc0b7-1234-aaaa-1234-92ac4de1dacd\",\n \"type\": \"exchange\",\n \"state\": \"completed\",\n \"request_id\": \"d8f041ab-1234-aaaa-1234-78b6a0b2801f\",\n \"created_at\": \"2023-03-12T12:08:07.833414Z\",\n \"updated_at\": \"2023-03-12T12:08:07.833414Z\",\n \"completed_at\": \"2023-03-12T12:08:07.833705Z\",\n \"legs\": [\n {\n \"leg_id\": \"640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd\",\n \"account_id\": \"0d1848dc-aaaa-4a9a-aaaa-cae53cbd4baf\",\n \"amount\": -1,\n \"currency\": \"GBP\",\n \"bill_amount\": -8.39,\n \"bill_currency\": \"DKK\",\n \"description\": \"Exchanged to DKK\",\n \"balance\": 8.74\n },\n {\n \"leg_id\": \"640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd\",\n \"account_id\": \"246bc9de-aaaa-4f86-aaaa-4d291a5d0390\",\n \"amount\": 8.39,\n \"fee\": 0.08,\n \"currency\": \"DKK\",\n \"description\": \"Exchanged from GBP Main\",\n \"balance\": 19.33\n }\n ]\n}"}]}] 13a4:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"640c2b97-aaaa-1234-aaaa-c47a165c2e7e\",\n \"type\": \"card_payment\",\n \"state\": \"completed\",\n \"request_id\": \"REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf\",\n \"created_at\": \"2023-03-11T07:19:51.302559Z\",\n \"updated_at\": \"2023-03-12T02:13:36.842322Z\",\n \"completed_at\": \"2023-03-12T02:13:36.836595Z\",\n \"merchant\": {\n \"name\": \"Acme Corp.\",\n \"city\": \"New York\",\n \"category_code\": \"7311\",\n \"country\": \"USA\"\n },\n \"legs\": [\n {\n \"leg_id\": \"640c2b97-aaaa-1234-aaaa-c47a165c2e7e\",\n \"account_id\": \"92e43866-aaaa-1234-aaaa-6e31dd23f024\",\n \"amount\": -47.8,\n \"fee\": 0.66,\n \"currency\": \"AED\",\n \"bill_amount\": -13,\n \"bill_currency\": \"USD\",\n \"description\": \"Acm *1234mn1ha2\",\n \"balance\": 7.74\n }\n ],\n \"card\": {\n \"id\": \"2b1a31bc-4795-4f95-b939-ae9cf911dc6e\",\n \"card_number\": \"516760******1234\",\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"phone\": \"+12412341234\"\n }\n}"}]}] 13a6:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6886001b-c4a4-4920-912b-c9d7d2575bf7\",\n \"type\": \"card_payment\",\n \"state\": \"completed\",\n \"request_id\": \"REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f\",\n \"created_at\": \"2025-09-11T07:19:51.302559Z\",\n \"updated_at\": \"2025-09-12T02:13:36.842322Z\",\n \"completed_at\": \"2025-03-12T02:13:36.836595Z\",\n \"merchant\": {\n \"name\": \"Alfa\",\n \"city\": \"Paris\",\n \"category_code\": \"7311\",\n \"country\": \"FRA\"\n },\n \"legs\": [\n {\n \"leg_id\": \"0e82681d-10db-40b7-b6c8-f99c595f1c82\",\n \"account_id\": \"5e85a129-74c9-4714-bbd2-d762b42b15fb\",\n \"amount\": -153.32,\n \"fee\": 0,\n \"currency\": \"EUR\",\n \"description\": \"Al 1234abcxyz0\",\n \"balance\": 3210.43\n }\n ],\n \"card\": {\n \"id\": \"12d6d4c2-288b-4670-8297-444720bd811b\",\n \"card_number\": \"456230******1433\",\n \"references\": [\n {\n \"name\": \"PNR\",\n \"value\": \"RT12345\"\n },\n {\n \"name\": \"Traveller\",\n \"value\": \"John Smith\"\n }\n ]\n }\n}"}]}] 13a8:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"640c1963-aaaa-1234-aaaa-a6b451197c6a\",\n \"type\": \"transfer\",\n \"state\": \"completed\",\n \"request_id\": \"8cc6f5db-aaaa-1234-aaaa-068a05af424e\",\n \"created_at\": \"2023-03-11T06:02:11.785704Z\",\n \"updated_at\": \"2023-03-11T06:02:14.628964Z\",\n \"completed_at\": \"2023-03-11T06:02:14.624946Z\",\n \"reference\": \"Reference example\",\n \"legs\": [\n {\n \"leg_id\": \"640c1963-aaaa-1234-aaaa-a6b451197c6a\",\n \"account_id\": \"0d1848dc-aaaa-1234-aaaa-cae53cbd4baf\",\n \"counterparty\": {\n \"id\": \"f5a9a06b-aaaa-1234-aaaa-c51df843e30d\",\n \"account_type\": \"external\",\n \"account_id\": \"25c9d813-aaaa-1234-aaaa-28334fc4d133\"\n },\n \"amount\": -100,\n \"fee\": 0.1,\n \"currency\": \"GBP\",\n \"description\": \"To John Smith\",\n \"balance\": 9.74\n }\n ]\n}"}]}] 13aa:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"63f3a305-aaaa-1234-aaaa-54f06420ae58\",\n \"type\": \"transfer\",\n \"state\": \"completed\",\n \"request_id\": \"7d3a3358-aaaa-1234-aaaa-c332c49b6431\",\n \"created_at\": \"2023-02-20T16:42:45.897576Z\",\n \"updated_at\": \"2023-02-20T16:42:45.897576Z\",\n \"completed_at\": \"2023-02-20T16:42:45.897845Z\",\n \"reference\": \"Reference 1234\",\n \"legs\": [\n {\n \"leg_id\": \"63f3a305-aaaa-1234-aaaa-54f06420ae58\",\n \"account_id\": \"74d4d6cb-aaaa-1234-aaaa-9604b94e3019\",\n \"counterparty\": {\n \"account_type\": \"revolut\"\n },\n \"amount\": 10,\n \"currency\": \"GBP\",\n \"description\": \"From JOHN SMITH\",\n \"balance\": 3.7\n }\n ]\n}"}]}] 13ac:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"640b4fbf-aaaa-1234-aaaa-17a2d10142af\",\n \"type\": \"transfer\",\n \"state\": \"completed\",\n \"request_id\": \"f8bbea44-aaaa-1234-aaaa-113df56660f7\",\n \"created_at\": \"2023-03-10T15:41:51.304765Z\",\n \"updated_at\": \"2023-03-10T15:41:51.395348Z\",\n \"completed_at\": \"2023-03-10T15:41:51.388279Z\",\n \"legs\": [\n {\n \"leg_id\": \"640b4fbf-aaaa-1234-aaaa-17a2d10142af\",\n \"account_id\": \"0d1848dc-aaaa-1234-aaaa-cae53cbd4baf\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"description\": \"To GBP Deposit pocket\",\n \"balance\": 100.84\n },\n {\n \"leg_id\": \"640b4fbf-aaaa-1234-aaaa-17a2d10142af\",\n \"account_id\": \"87f2f697-aaaa-1234-aaaa-a20c78c0d24f\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"description\": \"From GBP Regular pocket\",\n \"balance\": 100.65\n }\n ]\n}"}]}] 13ae:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"62d5161d-aaaa-1234-aaaa-219f88258175\",\n \"type\": \"atm\",\n \"state\": \"completed\",\n \"request_id\": \"REVP:b46e51ca-aaaa-1234-aaaa-e54321796ff0\",\n \"created_at\": \"2022-07-18T08:13:17.025950Z\",\n \"updated_at\": \"2022-07-19T16:21:22.521625Z\",\n \"completed_at\": \"2022-07-19T16:21:22.515565Z\",\n \"merchant\": {\n \"name\": \"Barclays\",\n \"city\": \"Canary Wharf\",\n \"category_code\": \"6011\",\n \"country\": \"GBR\"\n },\n \"legs\": [\n {\n \"leg_id\": \"c84cec91-aaaa-1234-aaaa-62d1979dcf3a\",\n \"account_id\": \"dbd3c68b-aaaa-1234-aaaa-5621a117ecbf\",\n \"amount\": -21.22,\n \"fee\": 0.48,\n \"currency\": \"GBP\",\n \"bill_amount\": -25,\n \"bill_currency\": \"EUR\",\n \"description\": \"Cash at Barclays\",\n \"balance\": 9.9\n }\n ],\n \"card\": {\n \"id\": \"2b1a31bc-4795-4f95-b939-ae9cf911dc6e\",\n \"card_number\": \"516760******1234\",\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"phone\": \"+447712341234\"\n }\n}"}]}] 13b0:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"63c95e75-aaaa-1234-aaaa-4e7a7768c663\",\n \"type\": \"topup\",\n \"state\": \"completed\",\n \"request_id\": \"9d4d90c5-aaaa-1234-aaaa-ac65bf589532\",\n \"created_at\": \"2023-01-19T15:15:01.895737Z\",\n \"updated_at\": \"2023-01-19T15:16:14.839234Z\",\n \"completed_at\": \"2023-01-19T15:16:14.833964Z\",\n \"reference\": \"Top up Revolut account\",\n \"legs\": [\n {\n \"leg_id\": \"63c95e75-aaaa-1234-aaaa-4e7a7768c663\",\n \"account_id\": \"6ce35350-aaaa-1234-aaaa-006d3f739b80\",\n \"amount\": 100,\n \"currency\": \"EUR\",\n \"description\": \"Payment from John Smith\",\n \"balance\": 1\n }\n ]\n}"}]}] 13b2:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"6409e928-aaaa-1234-aaaa-872a41309af1\",\n \"type\": \"card_chargeback\",\n \"state\": \"completed\",\n \"request_id\": \"CARD_CHARGEBACK_eabeb099-aaaa-1234-aaaa-ce72583866bb_0\",\n \"created_at\": \"2023-03-09T14:11:52.453528Z\",\n \"updated_at\": \"2023-03-09T14:11:52.453528Z\",\n \"completed_at\": \"2023-03-09T14:11:52.453740Z\",\n \"legs\": [\n {\n \"leg_id\": \"6409e928-aaaa-1234-aaaa-872a41309af1\",\n \"account_id\": \"0d1848dc-aaaa-1234-aaaa-cae53cbd4baf\",\n \"amount\": 4.68,\n \"currency\": \"GBP\",\n \"description\": \"Card chargeback for Rev*www.revolut.com\",\n \"balance\": 13.08\n }\n ]\n}"}]}] 13b4:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"172884ea-a529-4d5f-8a81-8ebab9f23e33\",\n \"type\": \"refund\",\n \"state\": \"completed\",\n \"request_id\": \"79fb7626-df83-46eb-b89a-b31b1e1ae2d7\",\n \"created_at\": \"2024-03-17T06:05:10.575740Z\",\n \"updated_at\": \"2024-03-17T06:05:10.575740Z\",\n \"completed_at\": \"2024-03-17T06:05:10.575740Z\",\n \"related_transaction_id\": \"640c1963-aaaa-1234-aaaa-a6b451197c6a\",\n \"legs\": [\n {\n \"leg_id\": \"172884ea-a529-4d5f-8a81-8ebab9f23e33\",\n \"account_id\": \"74d4d6cb-aaaa-1234-aaaa-9604b94e3019\",\n \"amount\": 100,\n \"currency\": \"GBP\",\n \"description\": \"A sample refund description\",\n \"balance\": 109.74\n }\n ]\n}"}]}] 12c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian branch (agência) code. Returned for BR counterparties."}]]}] 12c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Bank account type. Returned for BR, CO, and CL counterparties. Defaults to ",["$","code","code-0",{"children":"checking"}]," for US ACH transfers."]}]]}] 12c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Tax identification number.\nRouted based on ",["$","code","code-0",{"children":"bank_country"}]," and recipient type:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"BR"}],":\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Individual"}],": CPF (Cadastro de Pessoas Físicas). Accepted formats: ",["$","code","code-0",{"children":"^\\d{11}$"}]," or ",["$","code","code-1",{"children":"^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$"}],"."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Company"}],": CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: ",["$","code","code-0",{"children":"^\\d{14}$"}]," or ",["$","code","code-1",{"children":"^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$"}],"."]}],"\n"]}],"\n"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"CO (company)"}],": NIT (Número de Identificación Tributaria). Accepted format: ",["$","code","code-0",{"children":"^\\d{10}$"}],"."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"CL (individual, company)"}],": RUT (Rol Único Tributario)."]}],"\n"]}]]}] 12c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["National identification number.\nSpecifies Colombian Cédula de Ciudadanía when ",["$","code","code-0",{"children":"bank_country"}]," is ",["$","code","code-1",{"children":"CO"}]," and ",["$","code","code-2",{"children":"profile_type"}]," is ",["$","code","code-3",{"children":"personal"}],"."]}]]}] 12c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the counterparty in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164"}]," format."]}],"\n",["$","p","p-1",{"children":"Country-specific formats:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"CO"}],": ",["$","code","code-0",{"children":"+57"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?57\\d{10}$"}],")"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"LK"}],": ",["$","code","code-0",{"children":"+94"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?94\\d{10}$"}],")"]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"KR"}],": ",["$","code","code-0",{"children":"+82"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?82\\d{10}$"}],")"]}],"\n"]}]]}] 12ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Company registration number. Used for business LK counterparties."}]]}] 12cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the possibility of the recipient charges."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This field is deprecated and should be disregarded.\nIt is returned for legacy purposes only."}]}]]}]]}] 12cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 12cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 12ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the region (state or province), for example, Ontario for Canada."}]]}] 12cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the city."}]]}] 12d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the counterparty, as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 12d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode of the counterparty address."}]]}] 12d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the counterparty's account."}]]}] 12d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of public accounts associated with this counterparty."}]]}] 12d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty's card."}]]}] 12d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 12d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 12d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card brand."}]]}] 12d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the card issuer, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 12d9:["$","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."]}]]}] 12da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of cards associated with this counterparty."}]]}] 12db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The information about a specific counterparty"}]]}] 12dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 12dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 12de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 12e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the information about a specific counterparty by ID."}]]}] 12e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty to retrieve."}]]}] 12f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation."}]]}] 12f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the card invitation:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"created"}]}],": Invitation has been created but not yet claimed."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"expired"}]}],": Invitation has expired due to expiry date being reached or manual cancellation."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"failed"}]}],": Invitation claim attempt failed."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"redeemed"}]}],": Invitation has been successfully claimed."]}],"\n"]}],"\n",["$","p","p-1",{"children":["To learn more about card invitation lifecycle, see the guide: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"Manage card invitations → Card invitation state"}],"."]}]]}] 12f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 12f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 12f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 invitations in state ",["$","code","code-0",{"children":"created"}],"."]}],["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For other states, to find out when a card invitation transitioned to its ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"final state"}],", check the ",["$","code","code-0",{"children":"updated_at"}]," value."]}]}]]}]]}]]}]]}] 12f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card issued after this invitation was claimed."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 invitations in state ",["$","code","code-0",{"children":"redeemed"}],"."]}]}]]}]]}] 12f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["If the team member has been deleted since the invitation was created, the ",["$","code","code-0",{"children":"holder_id"}]," is not returned."]}]}]]}]]}] 12fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the issued card will be a virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],") one."]}]]}] 12fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 12fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the spend program."}]]}] 12fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/","target":"_blank","rel":"noreferrer","children":"spend program"}]," assigned to the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To use this property, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 12fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1321:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty."}]]}] 1322:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 1323:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/","target":"_blank","rel":"noreferrer","children":"Revtag"}]," of the counterparty."]}]]}] 1324:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the counterparty.\nIndicates whether the recipient is an individual or a company."}]]}] 1325:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty's bank country, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 1326:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the counterparty."}]]}] 1327:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the counterparty was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1328:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the counterparty was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1329:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty's account."}]]}] 132a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 132b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 132c:["$","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."]}]]}] 132d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the type of account."}]]}] 132e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The bank account number of the counterparty."}]]}] 132f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN number of the counterparty's account if applicable."}]]}] 1330:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The sort code of the counterparty's account if applicable."}]]}] 1331:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The routing number of the counterparty's account if applicable."}]]}] 1332:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC number of the counterparty's account if applicable."}]]}] 1333:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The CLABE number of the counterparty's account if applicable."}]]}] 1334:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IFSC number of the counterparty's account if applicable."}]]}] 1335:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BSB number of the counterparty's account if applicable."}]]}] 1336:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Routing method for US/USD transfers. Defaults to ",["$","code","code-0",{"children":"ach"}]," for US-registered businesses and ",["$","code","code-1",{"children":"fedwire"}]," for non-US businesses."]}]]}] 1337:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian bank identification code (COMPE). Returned for BR counterparties."}]]}] 1338:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian branch (agência) code. Returned for BR counterparties."}]]}] 135b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L13b5","\n","$L13b6","\n"]}]]}] 12ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1300:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 1301:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1302:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1303:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 1304:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 1305:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1306:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 1307:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 1308:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1309:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 130a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 130b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 130c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card will become available or unavailable for spending, and define what happens after the end date."}]]}] 130d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of merchant categories that will be available for card spending.",["$","br","br-0",{}],"\nIf this parameter is not specified, categories are not restricted."]}]]}] 130e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 130f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 1310:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the team member will be able to use the card.\nSpecified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 1311:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of accounts that will be linked to the card."}]]}] 1312:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of card invitations"}]]}] 1313:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of card invitations for your business"}]]}] 1314:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1315:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1316:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide invalid query parameters."}]]}] 1317:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1318:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1319:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Error returning a status instead of code."}]]}] 131a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 131b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 131c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 131d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 131e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1365:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the list of all card invitations in your organisation."}],"\n",["$","p","p-1",{"children":["The results are paginated and sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations","target":"_blank","rel":"noreferrer","children":"Manage card invitations"}],"."]}]]}] 1366:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves only card invitations created before this timestamp (",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],").\nUsed for pagination.\nThe default value is the current date and time at which you are calling the endpoint.\nProvided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1367:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of card invitations to return per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last card invitation returned in the previous response as the value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] 1368:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the card invitation:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"created"}]}],": Invitation has been created but not yet claimed."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"expired"}]}],": Invitation has expired due to expiry date being reached or manual cancellation."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"failed"}]}],": Invitation claim attempt failed."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"redeemed"}]}],": Invitation has been successfully claimed."]}],"\n"]}],"\n",["$","p","p-1",{"children":["To learn more about card invitation lifecycle, see the guide: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"Manage card invitations → Card invitation state"}],"."]}]]}] 1369:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves card invitations filtered by the specified state(s).\nTo specify multiple values, follow this pattern: ",["$","code","code-0",{"children":"state={VALUE1}&state={VALUE2}"}],".\nIf not provided, all states are returned."]}]]}] 1339:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Bank account type. Returned for BR, CO, and CL counterparties. Defaults to ",["$","code","code-0",{"children":"checking"}]," for US ACH transfers."]}]]}] 133a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Tax identification number.\nRouted based on ",["$","code","code-0",{"children":"bank_country"}]," and recipient type:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"BR"}],":\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Individual"}],": CPF (Cadastro de Pessoas Físicas). Accepted formats: ",["$","code","code-0",{"children":"^\\d{11}$"}]," or ",["$","code","code-1",{"children":"^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$"}],"."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Company"}],": CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: ",["$","code","code-0",{"children":"^\\d{14}$"}]," or ",["$","code","code-1",{"children":"^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$"}],"."]}],"\n"]}],"\n"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"CO (company)"}],": NIT (Número de Identificación Tributaria). Accepted format: ",["$","code","code-0",{"children":"^\\d{10}$"}],"."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"CL (individual, company)"}],": RUT (Rol Único Tributario)."]}],"\n"]}]]}] 133b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["National identification number.\nSpecifies Colombian Cédula de Ciudadanía when ",["$","code","code-0",{"children":"bank_country"}]," is ",["$","code","code-1",{"children":"CO"}]," and ",["$","code","code-2",{"children":"profile_type"}]," is ",["$","code","code-3",{"children":"personal"}],"."]}]]}] 133c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the counterparty in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164"}]," format."]}],"\n",["$","p","p-1",{"children":"Country-specific formats:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"CO"}],": ",["$","code","code-0",{"children":"+57"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?57\\d{10}$"}],")"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"LK"}],": ",["$","code","code-0",{"children":"+94"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?94\\d{10}$"}],")"]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"KR"}],": ",["$","code","code-0",{"children":"+82"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?82\\d{10}$"}],")"]}],"\n"]}]]}] 133d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Company registration number. Used for business LK counterparties."}]]}] 133e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the possibility of the recipient charges."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This field is deprecated and should be disregarded.\nIt is returned for legacy purposes only."}]}]]}]]}] 133f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 1340:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 1341:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the region (state or province), for example, Ontario for Canada."}]]}] 1342:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the city."}]]}] 1343:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the counterparty, as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 1344:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode of the counterparty address."}]]}] 1345:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the counterparty's account."}]]}] 1346:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of public accounts associated with this counterparty."}]]}] 1347:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty's card."}]]}] 1348:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 1349:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 134a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card brand."}]]}] 134b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the card issuer, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 134c:["$","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."]}]]}] 134d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of cards associated with this counterparty."}]]}] 134e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of your counterparties"}]]}] 134f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1350:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1351:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}]]}] 1352:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1353:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1354:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Anauthorized"}]]}] 1355:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1356:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1357:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1378:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get all the counterparties that you have created, or use the query parameters to filter the results."}],"\n",["$","p","p-1",{"children":["The counterparties are sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order."]}],"\n",["$","p","p-2",{"children":["The returned counterparties are ",["$","strong","strong-0",{"children":"paginated"}],".\nThe maximum number of counterparties returned per page is specified by the ",["$","code","code-0",{"children":"limit"}]," parameter.\nTo get to the next page, make a new request and use the ",["$","code","code-1",{"children":"created_at"}]," date of the last counterparty returned in the previous response."]}],"\n",["$","p","p-3",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/retrieve-counterparties","target":"_blank","rel":"noreferrer","children":"Retrieve counterparties"}],"."]}]]}] 1379:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty to retrieve. It does not need to be an exact match, partial match is also supported."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Special characters must be properly URL-encoded."}]}]]}]]}] 137a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The exact account number of the counterparty to retrieve."}]]}] 137b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The exact sort code of the counterparty to retrieve.\nOnly allowed in combination with the ",["$","code","code-0",{"children":"account_no"}]," parameter."]}]]}] 137c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The exact IBAN of the counterparty to retrieve."}]]}] 137d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The exact BIC of the counterparty to retrieve.\nOnly allowed in combination with the ",["$","code","code-0",{"children":"iban"}]," parameter."]}]]}] 137e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves counterparties with ",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],".\nThe default value is the current date and time at which you are calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Provide it in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 137f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of counterparties returned per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last counterparty returned in the previous response as the value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] 13b5:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 13b6:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1390:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L13b7","\n","$L13b8","\n"]}]]}] 1398:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L13b9","\n","$L13ba","\n"]}]]}] 13b7:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 13b8:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 13b9:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 13ba:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 13bb:T5691,
[
  {
    "id": "630f9890-95e3-add1-be4a-95f126988221",
    "type": "transfer",
    "state": "pending",
    "request_id": "invoice00912345",
    "created_at": "2024-08-31T17:21:20.364171Z",
    "updated_at": "2024-08-31T17:21:20.364171Z",
    "reference": "invoice00912345",
    "legs": [
      {
        "leg_id": "630f9890-95e3-add1-0000-95f1269f0000",
        "account_id": "812fff9a-3b0c-4ad1-b41a-cc60899d9900",
        "counterparty": {
          "account_type": "revolut",
          "account_id": "e0af9f24-504c-4c5d-bd1d-07edf9f49876"
        },
        "amount": -1.16,
        "currency": "EUR",
        "bill_amount": -1,
        "bill_currency": "GBP",
        "description": "To John Doe"
      }
    ]
  },
  {
    "id": "640c2b97-aaaa-1234-aaaa-c47a165c2e7e",
    "type": "card_payment",
    "state": "completed",
    "request_id": "REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf",
    "created_at": "2024-03-11T07:19:51.302559Z",
    "updated_at": "2024-03-12T02:13:36.842322Z",
    "completed_at": "2024-03-12T02:13:36.836595Z",
    "merchant": {
      "name": "Acme Corp.",
      "city": "New York",
      "category_code": "7311",
      "country": "USA"
    },
    "legs": [
      {
        "leg_id": "640c2b97-aaaa-1234-aaaa-c47a165c2e7e",
        "account_id": "92e43866-aaaa-1234-aaaa-6e31dd23f024",
        "amount": -47.8,
        "fee": 0.66,
        "currency": "AED",
        "bill_amount": -13,
        "bill_currency": "USD",
        "description": "Acm *1234mn1ha2",
        "balance": 7.74
      }
    ],
    "card": {
      "id": "2b1a31bc-4795-4f95-b939-ae9cf911dc6e",
      "card_number": "516760******1234",
      "first_name": "John",
      "last_name": "Smith",
      "phone": "+12412341234"
    }
  },
  {
    "id": "6886001b-c4a4-4920-912b-c9d7d2575bf7",
    "type": "card_payment",
    "state": "completed",
    "request_id": "REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f",
    "created_at": "2025-09-11T07:19:51.302559Z",
    "updated_at": "2025-09-12T02:13:36.842322Z",
    "completed_at": "2025-03-12T02:13:36.836595Z",
    "merchant": {
      "name": "Alfa",
      "city": "Paris",
      "category_code": "7311",
      "country": "FRA"
    },
    "legs": [
      {
        "leg_id": "0e82681d-10db-40b7-b6c8-f99c595f1c82",
        "account_id": "5e85a129-74c9-4714-bbd2-d762b42b15fb",
        "amount": -153.32,
        "fee": 0,
        "currency": "EUR",
        "description": "Al 1234abcxyz0",
        "balance": 3210.43
      }
    ],
    "card": {
      "id": "12d6d4c2-288b-4670-8297-444720bd811b",
      "card_number": "456230******1433",
      "references": [
        {
          "name": "PNR",
          "value": "RT12345"
        },
        {
          "name": "Traveller",
          "value": "John Smith"
        }
      ]
    }
  }
]
128f:["$","div","200-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13bb"}}]}]],"$L13bc"]}] 1290:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 13bd:Tadd,[ { "id": "630f9890-95e3-add1-be4a-95f126988221", "type": "transfer", "state": "pending", "request_id": "invoice00912345", "created_at": "2024-08-31T17:21:20.364171Z", "updated_at": "2024-08-31T17:21:20.364171Z", "reference": "invoice00912345", "legs": [ { "leg_id": "630f9890-95e3-add1-0000-95f1269f0000", "account_id": "812fff9a-3b0c-4ad1-b41a-cc60899d9900", "counterparty": { "account_type": "revolut", "account_id": "e0af9f24-504c-4c5d-bd1d-07edf9f49876" }, "amount": -1.16, "currency": "EUR", "bill_amount": -1, "bill_currency": "GBP", "description": "To John Doe" } ] }, { "id": "640c2b97-aaaa-1234-aaaa-c47a165c2e7e", "type": "card_payment", "state": "completed", "request_id": "REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf", "created_at": "2024-03-11T07:19:51.302559Z", "updated_at": "2024-03-12T02:13:36.842322Z", "completed_at": "2024-03-12T02:13:36.836595Z", "merchant": { "name": "Acme Corp.", "city": "New York", "category_code": "7311", "country": "USA" }, "legs": [ { "leg_id": "640c2b97-aaaa-1234-aaaa-c47a165c2e7e", "account_id": "92e43866-aaaa-1234-aaaa-6e31dd23f024", "amount": -47.8, "fee": 0.66, "currency": "AED", "bill_amount": -13, "bill_currency": "USD", "description": "Acm *1234mn1ha2", "balance": 7.74 } ], "card": { "id": "2b1a31bc-4795-4f95-b939-ae9cf911dc6e", "card_number": "516760******1234", "first_name": "John", "last_name": "Smith", "phone": "+12412341234" } }, { "id": "6886001b-c4a4-4920-912b-c9d7d2575bf7", "type": "card_payment", "state": "completed", "request_id": "REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f", "created_at": "2025-09-11T07:19:51.302559Z", "updated_at": "2025-09-12T02:13:36.842322Z", "completed_at": "2025-03-12T02:13:36.836595Z", "merchant": { "name": "Alfa", "city": "Paris", "category_code": "7311", "country": "FRA" }, "legs": [ { "leg_id": "0e82681d-10db-40b7-b6c8-f99c595f1c82", "account_id": "5e85a129-74c9-4714-bbd2-d762b42b15fb", "amount": -153.32, "fee": 0, "currency": "EUR", "description": "Al 1234abcxyz0", "balance": 3210.43 } ], "card": { "id": "12d6d4c2-288b-4670-8297-444720bd811b", "card_number": "456230******1433", "references": [ { "name": "PNR", "value": "RT12345" }, { "name": "Traveller", "value": "John Smith" } ] } } ]13bc:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$13bd"}]}] 13be:T1cd6,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T00:00:00Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_limits": {
    "single": {
      "amount": 50,
      "currency": "GBP"
    },
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-31",
    "end_date_action": "lock"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
12a3:["$","div","200-application/json-invitation_created",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13be"}}]}]],"$L13bf"]}] 13c0:T14ef,
{
  "id": "809d745d-9598-4680-8464-d82113e9024b",
  "state": "redeemed",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-23T09:01:13Z",
  "card_id": "744b29d4-19e9-40f8-89e6-bfb264ef5710",
  "holder_id": "19c76bef-3583-4848-af09-4b2a96c75a14",
  "virtual": true,
  "label": "Manuel Haleigh - WFH",
  "spend_program": {
    "label": "WFH equipment"
  },
  "spending_period": {
    "start_date": "2025-11-23",
    "end_date": "2025-12-23",
    "end_date_action": "terminate"
  },
  "categories": [
    "furniture",
    "hardware"
  ],
  "countries": [
    "GB"
  ],
  "accounts": [
    "6b472c0e-f595-4681-88b4-76eaa0522824"
  ]
}
12a4:["$","div","200-application/json-invitation_redeemed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13c0"}}]}]],"$L13c1"]}] 13c2:T1cda,
{
  "id": "0c0d252e-5fff-498e-83f8-f9b635904275",
  "state": "expired",
  "created_at": "2025-11-22T00:00:00Z",
  "updated_at": "2025-11-30T00:00:00Z",
  "holder_id": "5ea0ffa1-5dc5-43c4-ac5e-b9e0deb9ec12",
  "virtual": true,
  "label": "Valeria Keone - meals",
  "spending_limits": {
    "single": {
      "amount": 50,
      "currency": "GBP"
    },
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-11-29",
    "end_date": "2025-12-29",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "6b472c0e-f595-4681-88b4-76eaa0522824"
  ]
}
12a5:["$","div","200-application/json-invitation_expired",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13c2"}}]}]],"$L13c3"]}] 13c4:T162c,
{
  "id": "9ab6019a-6a26-41f8-b034-44b591f8b1a8",
  "state": "failed",
  "created_at": "2025-11-27T00:00:00Z",
  "updated_at": "2025-11-27T00:00:00Z",
  "holder_id": "af686385-4ec0-4139-a4a0-963ee9fa5bc8",
  "virtual": true,
  "label": "Connor Thato - meals",
  "spending_period": {
    "start_date": "2025-12-01",
    "end_date": "2026-01-01",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "6b472c0e-f595-4681-88b4-76eaa0522824"
  ]
}
12a6:["$","div","200-application/json-invitation_failed",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13c4"}}]}]],"$L13c5"]}] 13c6:T14ff,
{
  "id": "bfc40b73-1e8b-4cba-ad7d-2f54ee707a21",
  "state": "failed",
  "created_at": "2025-11-28T00:00:00Z",
  "updated_at": "2025-12-02T11:31:15Z",
  "virtual": true,
  "label": "Natália Popović - offb",
  "spending_period": {
    "start_date": "2025-11-30",
    "end_date": "2026-11-30",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "6b472c0e-f595-4681-88b4-76eaa0522824"
  ]
}
12a7:["$","div","200-application/json-invitation_failed_team_member_deleted",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13c6"}}]}]],"$L13c7"]}] 12a8:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 12a9:["$","div","401-application/json-unauthorized",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"status\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"status\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 12aa:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card invitation not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card invitation not found\"\n}"}]}]]}] 12ab:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 13bf:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"state\": \"created\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-21T00:00:00Z\",\n \"expiry_date\": \"2025-12-06T00:00:00Z\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 50,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-31\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 13c1:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"809d745d-9598-4680-8464-d82113e9024b\",\n \"state\": \"redeemed\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-23T09:01:13Z\",\n \"card_id\": \"744b29d4-19e9-40f8-89e6-bfb264ef5710\",\n \"holder_id\": \"19c76bef-3583-4848-af09-4b2a96c75a14\",\n \"virtual\": true,\n \"label\": \"Manuel Haleigh - WFH\",\n \"spend_program\": {\n \"label\": \"WFH equipment\"\n },\n \"spending_period\": {\n \"start_date\": \"2025-11-23\",\n \"end_date\": \"2025-12-23\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"furniture\",\n \"hardware\"\n ],\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"6b472c0e-f595-4681-88b4-76eaa0522824\"\n ]\n}"}]}] 13c3:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"0c0d252e-5fff-498e-83f8-f9b635904275\",\n \"state\": \"expired\",\n \"created_at\": \"2025-11-22T00:00:00Z\",\n \"updated_at\": \"2025-11-30T00:00:00Z\",\n \"holder_id\": \"5ea0ffa1-5dc5-43c4-ac5e-b9e0deb9ec12\",\n \"virtual\": true,\n \"label\": \"Valeria Keone - meals\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 50,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-11-29\",\n \"end_date\": \"2025-12-29\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"6b472c0e-f595-4681-88b4-76eaa0522824\"\n ]\n}"}]}] 13c5:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"9ab6019a-6a26-41f8-b034-44b591f8b1a8\",\n \"state\": \"failed\",\n \"created_at\": \"2025-11-27T00:00:00Z\",\n \"updated_at\": \"2025-11-27T00:00:00Z\",\n \"holder_id\": \"af686385-4ec0-4139-a4a0-963ee9fa5bc8\",\n \"virtual\": true,\n \"label\": \"Connor Thato - meals\",\n \"spending_period\": {\n \"start_date\": \"2025-12-01\",\n \"end_date\": \"2026-01-01\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"6b472c0e-f595-4681-88b4-76eaa0522824\"\n ]\n}"}]}] 13c7:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"bfc40b73-1e8b-4cba-ad7d-2f54ee707a21\",\n \"state\": \"failed\",\n \"created_at\": \"2025-11-28T00:00:00Z\",\n \"updated_at\": \"2025-12-02T11:31:15Z\",\n \"virtual\": true,\n \"label\": \"Natália Popović - offb\",\n \"spending_period\": {\n \"start_date\": \"2025-11-30\",\n \"end_date\": \"2026-11-30\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"6b472c0e-f595-4681-88b4-76eaa0522824\"\n ]\n}"}]}] 13c8:T9f6,
{
  "id": "8e0e9886-0af1-4b0c-acf4-111180d2892b",
  "name": "John Smith",
  "revtag": "johnsmith",
  "profile_type": "personal",
  "country": "GB",
  "state": "created",
  "created_at": "2022-09-14T14:41:39.312017Z",
  "updated_at": "2022-09-14T14:41:39.312017Z"
}
135c:["$","div","200-application/json-revolut_counterparty_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13c8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"8e0e9886-0af1-4b0c-acf4-111180d2892b\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\",\n \"profile_type\": \"personal\",\n \"country\": \"GB\",\n \"state\": \"created\",\n \"created_at\": \"2022-09-14T14:41:39.312017Z\",\n \"updated_at\": \"2022-09-14T14:41:39.312017Z\"\n}"}]}]]}] 13c9:T9fa,
{
  "id": "11cae5ef-ec24-401d-98a3-e5baa0041671",
  "name": "John Smith Co.",
  "revtag": "jsmithco1",
  "profile_type": "business",
  "country": "GB",
  "state": "created",
  "created_at": "2025-09-16T09:34:41.790401Z",
  "updated_at": "2025-09-16T09:34:41.790401Z"
}
135d:["$","div","200-application/json-revolut_counterparty_business",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13c9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"11cae5ef-ec24-401d-98a3-e5baa0041671\",\n \"name\": \"John Smith Co.\",\n \"revtag\": \"jsmithco1\",\n \"profile_type\": \"business\",\n \"country\": \"GB\",\n \"state\": \"created\",\n \"created_at\": \"2025-09-16T09:34:41.790401Z\",\n \"updated_at\": \"2025-09-16T09:34:41.790401Z\"\n}"}]}]]}] 13ca:T18cb,
{
  "id": "b53fdd78-8d67-4f63-a103-eeeeef53cac8",
  "name": "John Smith Co.",
  "profile_type": "business",
  "state": "created",
  "created_at": "2022-09-14T14:34:11.168340Z",
  "updated_at": "2022-09-14T14:34:11.168340Z",
  "accounts": [
    {
      "account_no": "12345678",
      "sort_code": "540105",
      "id": "5c9e171c-7e23-4d6a-b768-aaaaaba535f3",
      "name": "John Smith Co.",
      "bank_country": "GB",
      "currency": "GBP",
      "type": "external",
      "address": {
        "street_line1": "Revolut LTD",
        "street_line2": "1 Canada Square",
        "region": "Greater London",
        "city": "London",
        "country": "GB",
        "postcode": "E14 5AB"
      }
    }
  ]
}
135e:["$","div","200-application/json-uk_counterparty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13ca"}}]}]],"$L13cb"]}] 13cc:T16a9,
{
  "id": "239d6f1f-2222-4ae6-1111-5cc603341b4e",
  "name": "Bleu Blanc Conseil SARL",
  "profile_type": "business",
  "state": "created",
  "created_at": "2022-09-14T14:47:12.273718Z",
  "updated_at": "2022-09-14T14:47:12.273718Z",
  "accounts": [
    {
      "iban": "FR1420041010050500013M02606",
      "bic": "PSSTFRPPLIL",
      "id": "b209281b-aakk-9911-8d83-ac72469cef8f",
      "name": "Bleu Blanc Conseil SARL",
      "bank_country": "FR",
      "currency": "EUR",
      "type": "external",
      "address": {
        "street_line1": "12 Rue de la Paix",
        "city": "Paris",
        "country": "FR",
        "postcode": "75002"
      }
    }
  ]
}
135f:["$","div","200-application/json-international_business_eurozone",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13cc"}}]}]],"$L13cd"]}] 13ce:T1695,
{
  "id": "b8ce3922-d518-4ae6-9426-e8cc117e5332",
  "name": "Johann Meier Co.",
  "profile_type": "business",
  "state": "created",
  "created_at": "2023-08-10T12:43:20.273500Z",
  "updated_at": "2026-01-30T12:43:20.273500Z",
  "accounts": [
    {
      "iban": "CH9300762011623852957",
      "bic": "UBSWCHZH80A",
      "id": "d95bc455-f495-4f18-95fa-32f99479318c",
      "name": "Johann Meier Co.",
      "bank_country": "CH",
      "currency": "EUR",
      "type": "external",
      "address": {
        "street_line1": "Bahnhofstrasse 10",
        "city": "Zurich",
        "country": "CH",
        "postcode": "8001"
      }
    }
  ]
}
1360:["$","div","200-application/json-international_business_ch_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13ce"}}]}]],"$L13cf"]}] 13d0:T1699,
{
  "id": "173e6a6b-d955-465f-8f31-7f6f7c03927c",
  "name": "Edelweiss Handel GmbH",
  "profile_type": "business",
  "state": "created",
  "created_at": "2023-08-10T12:43:20.273500Z",
  "updated_at": "2026-01-32T10:54:03.350240Z",
  "accounts": [
    {
      "iban": "CH5604835012345678009",
      "bic": "UBSWCHZH80A",
      "id": "b3cc43e8-f141-459b-9bd5-3505cf9797f8",
      "name": "Edelweiss Handel GmbH",
      "bank_country": "CH",
      "currency": "CHF",
      "type": "external",
      "address": {
        "street_line1": "Marktgasse 22",
        "city": "Bern",
        "country": "CH",
        "postcode": "3011"
      }
    }
  ]
}
1361:["$","div","200-application/json-international_business_ch_chf",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13d0"}}]}]],"$L13d1"]}] 13d2:T15f1,
{
  "id": "1d9013c8-84bf-474c-b3d9-690f2ae2e65c",
  "name": "Jane Doe",
  "state": "created",
  "created_at": "2024-01-10T15:32:10.172300Z",
  "updated_at": "2024-01-10T15:32:10.172300Z",
  "cards": [
    {
      "id": "0130f363-eeaf-4aa8-b77f-a6a629c603f5",
      "name": "Jane Doe",
      "last_digits": 1234,
      "scheme": "visa",
      "country": "GB",
      "currency": "GBP"
    },
    {
      "id": "fa05f2e5-d253-4661-85cc-bcff98b136ac",
      "name": "Jane Doe",
      "last_digits": 5678,
      "scheme": "mastercard",
      "country": "GB",
      "currency": "GBP"
    }
  ]
}
1362:["$","div","200-application/json-card_counterparty",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$13d2"}}]}]],"$L13d3"]}] 1363:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 13e0:T4be,References for the card. Up to 5 name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, they will only be applied to future transactions. Existing transaction are not affected. :::13e1:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::13e6:T4e0,The state that the card is in. Possible values: - `active`: The card is available for spending. Newly created cards typically go into `active` unless subject to certain conditions, for example, spending period starting in the future. - `frozen`: The card has been frozen and is temporarily unavailable for spending. - `locked`: The card is locked, typically due to an [admin lock](https://developer.revolut.com/docs/api/business#lock-card) or spending period settings, i.e. when its `spending_period.start_date` is in the future or `spending_period.end_date` is in the past. A locked card is unavailable for spending until it's [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) and active. :::tip To see if the card can be unlocked, check the `can_be_unlocked` parameter. Note that you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock it. ::: - `created`: The card has been created but is not yet active. Used only for a specific type of cards. - `pending`: This status is currently not in use. - `terminated`: The card is terminated and cannot be used. This is a final state and cannot be reversed.44:["$","$98","get-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the card","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card.","format":"uuid","descriptionNode":"$L13d4"},"holder_id":{"type":"string","description":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty.\n\nFor more information, see the guides: [Manage Cards - Create a virtual card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card).","format":"uuid","descriptionNode":"$L13d5"},"contact_ids":{"description":"The list of contacts for a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"One of the card's contacts.","type":"string","format":"uuid","descriptionNode":"$L13d6"},"descriptionNode":"$L13d7"},"created_at":{"type":"string","description":"The date and time the card was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L13d8"},"updated_at":{"type":"string","description":"The date and time the card was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L13d9"},"product":{"description":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under.\n\n:::note\nThis property is only available to travel intermediaries using our travel solution.\nTo use it, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","properties":{"code":{"type":"string","description":"The code of the card product.","descriptionNode":"$L13da"}},"required":["code"],"descriptionNode":"$L13db"},"virtual":{"type":"boolean","description":"Specifies whether the card is virtual (`true`) or physical (`false`).","descriptionNode":"$L13dc"},"last_digits":{"type":"string","description":"The last 4 digits of the card's PAN.","pattern":"^[0-9]{4}$","descriptionNode":"$L13dd"},"expiry":{"type":"string","format":"DD/YYYY","description":"The card expiration date.","pattern":"^[0-9]{2}/[0-9]{4}$","descriptionNode":"$L13de"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L13df"},"references":{"description":"$13e0","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$13e1","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L13e2"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L13e3"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L13e4"},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:examples","descriptionNode":"$L13e5"},"state":{"enum":["created","pending","active","frozen","locked","terminated"],"description":"$13e6","type":"string","descriptionNode":"$L13e7"},"can_be_unlocked":{"type":"boolean","description":"Returned for locked cards (`state=locked`).\nIndicates whether the card can be [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) manually (via API or in-app).\nIf `true`, you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock the card.\n\n:::info\nCards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually.\n:::","descriptionNode":"$L13e8"},"spend_program":{"description":"The [spend program](https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/) assigned to the card.\n:::note\nTo use this property, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","readOnly":true,"properties":{"label":{"description":"The name of the spend program.","type":"string","maxLength":30,"descriptionNode":"$L13e9"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spend_program:required","descriptionNode":"$L13ea"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L13eb"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L13ec"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L13ed"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L13ee"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L13ef"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L13f0"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L13f1"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L13f2"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L13f3"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L13f4"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L13f5"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L13f6"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L13f7"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L13f8"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L13f9"},"categories":{"type":"array","description":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L13fa"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey block or allow the card to only transact with specific merchants: \n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set)\n- `block`: blocks the specified merchants (can be used with or without `categories`)","type":"object","allOf":[{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L13fb"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L13fc"}}}],"descriptionNode":"$L13fd"},"countries":{"description":"The list of countries where the card can be used, specified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":["GB"]},"descriptionNode":"$L13fe"},"accounts":{"type":"array","description":"The list of linked accounts.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L13ff"}},"required":["id","created_at","updated_at","virtual","last_digits","expiry","state","accounts"]},"examples":{"virtual_card":{"summary":"Virtual card details","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","spending_limits":{"single":{"amount":200.22,"currency":"GBP"},"month":{"amount":200.44,"currency":"GBP"}},"spending_period":{"start_date":"2025-09-20","end_date":"2026-12-20","end_date_action":"terminate"},"categories":["restaurants","groceries"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51"]}},"physical_card":{"summary":"Physical card details","value":{"id":"b8b56da4-1fde-4320-a8d7-cb7560252f7e","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","virtual":false,"last_digits":"2672","expiry":"09/2030","state":"active"}},"card_with_spend_program":{"summary":"Card with a spend program","value":{"id":"f9bea0b8-ddbd-47c8-bccd-40c60c8fa266","contact_ids":["3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9","02b969cb-b984-4a70-873d-f93220805e5e","36d9604d-4821-45fc-bf1a-a2881f6336c0"],"created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","virtual":true,"last_digits":"3467","expiry":"09/2030","label":"Company lunches","state":"locked","spend_program":{"label":"Lunch"},"merchant_controls":{"control_type":"allow","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}},"team_member_card":{"summary":"Team member card","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","spending_limits":{"single":{"amount":200.22,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-15","end_date_action":"terminate","week":{"amount":200.44,"currency":"GBP"}},"categories":["restaurants","groceries"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51"]}},"company_card":{"summary":"Company card","value":{"id":"448b9493-8bd7-48f9-a7ce-59293b5118ec","contact_ids":["3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9","02b969cb-b984-4a70-873d-f93220805e5e","36d9604d-4821-45fc-bf1a-a2881f6336c0"],"created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","virtual":true,"last_digits":"4321","expiry":"09/2030","label":"Engagement team","state":"active","spending_limits":{"single":{"amount":200,"currency":"GBP"},"week":{"amount":1000,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-15","end_date_action":"terminate"},"categories":["accommodation"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}},"autogenerated_card":{"summary":"Auto-issued card","value":{"id":"f296f3b6-d28c-44e7-aae5-3d540e6a20e9","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","product":{"code":"MBJ"},"virtual":true,"last_digits":"9876","expiry":"09/2030","label":"Reservation 123456","references":[{"name":"PNR","value":"RT12345"},{"name":"Traveller","value":"John Smith"}],"state":"active","spending_limits":{"single":{"amount":1500,"currency":"GBP"},"week":{"amount":3000,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-15","end_date_action":"terminate"},"categories":["airlines"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}},"card_with_spending_period_start_date":{"summary":"Card with a spending period start date","value":{"id":"e466e17f-7727-46b3-be0f-56acf9209195","holder_id":"d2d68875-55b4-42d9-a816-19449b8e0840","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","virtual":true,"last_digits":"1289","expiry":"09/2030","label":"Kim Took","state":"locked","can_be_unlocked":true,"spending_limits":{"single":{"amount":200.22,"currency":"GBP"},"week":{"amount":200.44,"currency":"GBP"}},"spending_period":{"start_date":"2025-11-16","end_date":"2026-12-15","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}}}}},"descriptionNode":"$L1400"},"400":{"description":"Bad request\n\nReturned, for example, when you provide an invalid card ID in the path.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1401"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1402"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"}}}},"descriptionNode":"$L1403"},"404":{"description":"Card doesn't exist","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1404"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1405"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L1406"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1407"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1408"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1409"}},"requestBody":"$undefined","variantLabels":["Virtual card details","Physical card details","Card with a spend program","Team member card","Company card","Auto-issued card","Card with a spending period start date"],"children":["$L140a","$L140b"]}]}],false]}] 13cb:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"b53fdd78-8d67-4f63-a103-eeeeef53cac8\",\n \"name\": \"John Smith Co.\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2022-09-14T14:34:11.168340Z\",\n \"updated_at\": \"2022-09-14T14:34:11.168340Z\",\n \"accounts\": [\n {\n \"account_no\": \"12345678\",\n \"sort_code\": \"540105\",\n \"id\": \"5c9e171c-7e23-4d6a-b768-aaaaaba535f3\",\n \"name\": \"John Smith Co.\",\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"type\": \"external\",\n \"address\": {\n \"street_line1\": \"Revolut LTD\",\n \"street_line2\": \"1 Canada Square\",\n \"region\": \"Greater London\",\n \"city\": \"London\",\n \"country\": \"GB\",\n \"postcode\": \"E14 5AB\"\n }\n }\n ]\n}"}]}] 13cd:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"239d6f1f-2222-4ae6-1111-5cc603341b4e\",\n \"name\": \"Bleu Blanc Conseil SARL\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2022-09-14T14:47:12.273718Z\",\n \"updated_at\": \"2022-09-14T14:47:12.273718Z\",\n \"accounts\": [\n {\n \"iban\": \"FR1420041010050500013M02606\",\n \"bic\": \"PSSTFRPPLIL\",\n \"id\": \"b209281b-aakk-9911-8d83-ac72469cef8f\",\n \"name\": \"Bleu Blanc Conseil SARL\",\n \"bank_country\": \"FR\",\n \"currency\": \"EUR\",\n \"type\": \"external\",\n \"address\": {\n \"street_line1\": \"12 Rue de la Paix\",\n \"city\": \"Paris\",\n \"country\": \"FR\",\n \"postcode\": \"75002\"\n }\n }\n ]\n}"}]}] 13cf:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"b8ce3922-d518-4ae6-9426-e8cc117e5332\",\n \"name\": \"Johann Meier Co.\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2023-08-10T12:43:20.273500Z\",\n \"updated_at\": \"2026-01-30T12:43:20.273500Z\",\n \"accounts\": [\n {\n \"iban\": \"CH9300762011623852957\",\n \"bic\": \"UBSWCHZH80A\",\n \"id\": \"d95bc455-f495-4f18-95fa-32f99479318c\",\n \"name\": \"Johann Meier Co.\",\n \"bank_country\": \"CH\",\n \"currency\": \"EUR\",\n \"type\": \"external\",\n \"address\": {\n \"street_line1\": \"Bahnhofstrasse 10\",\n \"city\": \"Zurich\",\n \"country\": \"CH\",\n \"postcode\": \"8001\"\n }\n }\n ]\n}"}]}] 13d1:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"173e6a6b-d955-465f-8f31-7f6f7c03927c\",\n \"name\": \"Edelweiss Handel GmbH\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2023-08-10T12:43:20.273500Z\",\n \"updated_at\": \"2026-01-32T10:54:03.350240Z\",\n \"accounts\": [\n {\n \"iban\": \"CH5604835012345678009\",\n \"bic\": \"UBSWCHZH80A\",\n \"id\": \"b3cc43e8-f141-459b-9bd5-3505cf9797f8\",\n \"name\": \"Edelweiss Handel GmbH\",\n \"bank_country\": \"CH\",\n \"currency\": \"CHF\",\n \"type\": \"external\",\n \"address\": {\n \"street_line1\": \"Marktgasse 22\",\n \"city\": \"Bern\",\n \"country\": \"CH\",\n \"postcode\": \"3011\"\n }\n }\n ]\n}"}]}] 13d3:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"1d9013c8-84bf-474c-b3d9-690f2ae2e65c\",\n \"name\": \"Jane Doe\",\n \"state\": \"created\",\n \"created_at\": \"2024-01-10T15:32:10.172300Z\",\n \"updated_at\": \"2024-01-10T15:32:10.172300Z\",\n \"cards\": [\n {\n \"id\": \"0130f363-eeaf-4aa8-b77f-a6a629c603f5\",\n \"name\": \"Jane Doe\",\n \"last_digits\": 1234,\n \"scheme\": \"visa\",\n \"country\": \"GB\",\n \"currency\": \"GBP\"\n },\n {\n \"id\": \"fa05f2e5-d253-4661-85cc-bcff98b136ac\",\n \"name\": \"Jane Doe\",\n \"last_digits\": 5678,\n \"scheme\": \"mastercard\",\n \"country\": \"GB\",\n \"currency\": \"GBP\"\n }\n ]\n}"}]}] 140a:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-card","children":[["$L140c","$undefined"],["$","$L3a",null,{"id":"get-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-card.md"}]]}]}],"$undefined"]}] 140f:T8bb,
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1410:Tda3,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1412: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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1413: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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1414:T8c3,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1415:Tdab,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1417:T154f,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1418:T146f,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
140b:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L140d",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L140e"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$44:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$140f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1410","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1411","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1412","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1413","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1414","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1415","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$1416","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1417","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1418","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}","parameters":["$140b:props:children:0:props:children:1:props:parameters:0"]}],"$L1419"],"$L141a","$L141b"]}]]}] 141c:T7908,
[
  {
    "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
    "state": "created",
    "created_at": "2025-11-21T00:00:00Z",
    "updated_at": "2025-11-21T00:00:00Z",
    "expiry_date": "2025-12-06T00:00:00Z",
    "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
    "virtual": true,
    "label": "Dariel Pattie",
    "spending_limits": {
      "single": {
        "amount": 50,
        "currency": "GBP"
      },
      "week": {
        "amount": 250,
        "currency": "GBP"
      }
    },
    "spending_period": {
      "end_date": "2026-12-31",
      "end_date_action": "lock"
    },
    "categories": [
      "groceries",
      "restaurants"
    ],
    "merchant_controls": {
      "control_type": "block",
      "merchant_ids": [
        "14c8d663-2093-4086-96ed-334a4011333f",
        "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
      ]
    },
    "countries": [
      "GB"
    ],
    "accounts": [
      "26a852b8-4046-4e71-949d-22f4cb6be26a"
    ]
  },
  {
    "id": "809d745d-9598-4680-8464-d82113e9024b",
    "state": "redeemed",
    "created_at": "2025-11-21T00:00:00Z",
    "updated_at": "2025-11-23T09:01:13Z",
    "card_id": "744b29d4-19e9-40f8-89e6-bfb264ef5710",
    "holder_id": "19c76bef-3583-4848-af09-4b2a96c75a14",
    "virtual": true,
    "label": "Manuel Haleigh - WFH",
    "spend_program": {
      "label": "WFH equipment"
    },
    "spending_period": {
      "start_date": "2025-11-23",
      "end_date": "2025-12-23",
      "end_date_action": "terminate"
    },
    "categories": [
      "furniture",
      "hardware"
    ],
    "countries": [
      "GB"
    ],
    "accounts": [
      "6b472c0e-f595-4681-88b4-76eaa0522824"
    ]
  },
  {
    "id": "0c0d252e-5fff-498e-83f8-f9b635904275",
    "state": "expired",
    "created_at": "2025-11-22T00:00:00Z",
    "updated_at": "2025-11-30T00:00:00Z",
    "holder_id": "5ea0ffa1-5dc5-43c4-ac5e-b9e0deb9ec12",
    "virtual": true,
    "label": "Valeria Keone - meals",
    "spending_limits": {
      "single": {
        "amount": 50,
        "currency": "GBP"
      },
      "week": {
        "amount": 250,
        "currency": "GBP"
      }
    },
    "spending_period": {
      "start_date": "2025-11-29",
      "end_date": "2025-12-29",
      "end_date_action": "terminate"
    },
    "categories": [
      "groceries",
      "restaurants"
    ],
    "merchant_controls": {
      "control_type": "block",
      "merchant_ids": [
        "14c8d663-2093-4086-96ed-334a4011333f",
        "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
      ]
    },
    "countries": [
      "GB"
    ],
    "accounts": [
      "6b472c0e-f595-4681-88b4-76eaa0522824"
    ]
  },
  {
    "id": "9ab6019a-6a26-41f8-b034-44b591f8b1a8",
    "state": "failed",
    "created_at": "2025-11-27T00:00:00Z",
    "updated_at": "2025-11-27T00:00:00Z",
    "holder_id": "af686385-4ec0-4139-a4a0-963ee9fa5bc8",
    "virtual": true,
    "label": "Connor Thato - meals",
    "spending_period": {
      "start_date": "2025-12-01",
      "end_date": "2026-01-01",
      "end_date_action": "terminate"
    },
    "categories": [
      "groceries",
      "restaurants"
    ],
    "merchant_controls": {
      "control_type": "block",
      "merchant_ids": [
        "14c8d663-2093-4086-96ed-334a4011333f",
        "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
      ]
    },
    "countries": [
      "GB"
    ],
    "accounts": [
      "6b472c0e-f595-4681-88b4-76eaa0522824"
    ]
  },
  {
    "id": "bfc40b73-1e8b-4cba-ad7d-2f54ee707a21",
    "state": "failed",
    "created_at": "2025-11-28T00:00:00Z",
    "updated_at": "2025-12-02T11:31:15Z",
    "virtual": true,
    "label": "Natália Popović - offb",
    "spending_period": {
      "start_date": "2025-11-30",
      "end_date": "2026-11-30",
      "end_date_action": "terminate"
    },
    "categories": [
      "groceries",
      "restaurants"
    ],
    "merchant_controls": {
      "control_type": "block",
      "merchant_ids": [
        "14c8d663-2093-4086-96ed-334a4011333f",
        "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
      ]
    },
    "countries": [
      "GB"
    ],
    "accounts": [
      "6b472c0e-f595-4681-88b4-76eaa0522824"
    ]
  }
]
1391:["$","div","200-application/json-list_of_card_invitations",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$141c"}}]}]],"$L141d"]}] 1392:["$","div","400-application/json-invalid_limit_parameter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Parameter limit must be a valid integer in range: [1, 100].\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Parameter limit must be a valid integer in range: [1, 100].\"\n}"}]}]]}] 1393:["$","div","400-application/json-invalid_created_before_format",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Parameter created_before must be a valid timestamp\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Parameter created_before must be a valid timestamp\"\n}"}]}]]}] 1394:["$","div","400-application/json-invalid_state_parameter",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Invalid card invitation state: active\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Invalid card invitation state: active\"\n}"}]}]]}] 1395:["$","div","401-application/json-unauthorized",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"status\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"status\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 1396:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 141e:Ta65d,
[
  {
    "id": "239d6f1f-2222-4ae6-1111-5cc603341b4e",
    "name": "Jane Doe Co.",
    "profile_type": "business",
    "state": "created",
    "created_at": "2022-09-14T14:47:12.273718Z",
    "updated_at": "2022-09-14T14:47:12.273718Z",
    "accounts": [
      {
        "iban": "GB66REVO00996995908786",
        "bic": "REVOGB21",
        "id": "b209281b-aakk-9911-8d83-ac72469cef8f",
        "name": "Jane Doe Co.",
        "bank_country": "GB",
        "currency": "EUR",
        "type": "external",
        "address": {
          "street_line1": "Revolut LTD",
          "street_line2": "1 Canada Square",
          "region": "Greater London",
          "city": "London",
          "country": "GB",
          "postcode": "E14 5AB"
        }
      }
    ]
  },
  {
    "id": "8e0e9886-0af1-4b0c-acf4-111180d2892b",
    "name": "John Smith",
    "revtag": "johnsmith",
    "profile_type": "personal",
    "country": "GB",
    "state": "created",
    "created_at": "2022-09-14T14:41:39.312017Z",
    "updated_at": "2022-09-14T14:41:39.312017Z"
  },
  {
    "id": "11cae5ef-ec24-401d-98a3-e5baa0041671",
    "name": "John Smith Co.",
    "revtag": "jsmithco1",
    "profile_type": "business",
    "country": "GB",
    "state": "created",
    "created_at": "2025-09-16T09:34:41.790401Z",
    "updated_at": "2025-09-16T09:34:41.790401Z",
    "accounts": [
      {
        "id": "ad3c3b03-611e-461e-99b2-572f4785e44b",
        "name": "Main GBP",
        "currency": "GBP",
        "type": "revolut"
      },
      {
        "id": "67fe3eaa-c994-40c0-b3e0-7b6bfe0cedca",
        "name": "Main EUR",
        "currency": "EUR",
        "type": "revolut"
      }
    ]
  },
  {
    "id": "e7e36cce-2e9c-4e96-818e-1c2fed325852",
    "name": "John Doe Co.",
    "profile_type": "business",
    "state": "created",
    "created_at": "2022-08-14T14:34:11.168340Z",
    "updated_at": "2022-08-14T14:34:11.168340Z",
    "accounts": [
      {
        "account_no": "12345674",
        "sort_code": "540107",
        "id": "e277b2bd-3a6d-423b-933d-3d425094bb13",
        "name": "John Doe Co.",
        "bank_country": "GB",
        "currency": "GBP",
        "type": "external",
        "address": {
          "street_line1": "7 King's Road",
          "region": "Greater London",
          "city": "London",
          "country": "GB",
          "postcode": "SW3 4PQ"
        }
      }
    ]
  },
  {
    "id": "239d6f1f-2222-4ae6-1111-5cc603341b4e",
    "name": "Bleu Blanc Conseil SARL",
    "profile_type": "business",
    "state": "created",
    "created_at": "2022-09-14T14:47:12.273718Z",
    "updated_at": "2022-09-14T14:47:12.273718Z",
    "accounts": [
      {
        "iban": "FR1420041010050500013M02606",
        "bic": "PSSTFRPPLIL",
        "id": "b209281b-aakk-9911-8d83-ac72469cef8f",
        "name": "Bleu Blanc Conseil SARL",
        "bank_country": "FR",
        "currency": "EUR",
        "type": "external",
        "address": {
          "street_line1": "12 Rue de la Paix",
          "city": "Paris",
          "country": "FR",
          "postcode": "75002"
        }
      }
    ]
  },
  {
    "id": "b8ce3922-d518-4ae6-9426-e8cc117e5332",
    "name": "Johann Meier Co.",
    "profile_type": "business",
    "state": "created",
    "created_at": "2023-08-10T12:43:20.273500Z",
    "updated_at": "2026-01-30T12:43:20.273500Z",
    "accounts": [
      {
        "iban": "CH9300762011623852957",
        "bic": "UBSWCHZH80A",
        "id": "d95bc455-f495-4f18-95fa-32f99479318c",
        "name": "Johann Meier Co.",
        "bank_country": "CH",
        "currency": "EUR",
        "type": "external",
        "address": {
          "street_line1": "Bahnhofstrasse 10",
          "city": "Zurich",
          "country": "CH",
          "postcode": "8001"
        }
      }
    ]
  },
  {
    "id": "173e6a6b-d955-465f-8f31-7f6f7c03927c",
    "name": "Edelweiss Handel GmbH",
    "profile_type": "business",
    "state": "created",
    "created_at": "2023-08-10T12:43:20.273500Z",
    "updated_at": "2026-01-32T10:54:03.350240Z",
    "accounts": [
      {
        "iban": "CH5604835012345678009",
        "bic": "UBSWCHZH80A",
        "id": "b3cc43e8-f141-459b-9bd5-3505cf9797f8",
        "name": "Edelweiss Handel GmbH",
        "bank_country": "CH",
        "currency": "CHF",
        "type": "external",
        "address": {
          "street_line1": "Marktgasse 22",
          "city": "Bern",
          "country": "CH",
          "postcode": "3011"
        }
      }
    ]
  },
  {
    "id": "1d9013c8-84bf-474c-b3d9-690f2ae2e65c",
    "name": "Jane Doe",
    "state": "created",
    "created_at": "2024-01-10T15:32:10.172300Z",
    "updated_at": "2024-01-10T15:32:10.172300Z",
    "cards": [
      {
        "id": "0130f363-eeaf-4aa8-b77f-a6a629c603f5",
        "name": "Jane Doe",
        "last_digits": 1234,
        "scheme": "visa",
        "country": "GB",
        "currency": "GBP"
      },
      {
        "id": "fa05f2e5-d253-4661-85cc-bcff98b136ac",
        "name": "Jane Doe",
        "last_digits": 5678,
        "scheme": "mastercard",
        "country": "GB",
        "currency": "GBP"
      }
    ]
  }
]
1399:["$","div","200-application/json-all_counterparties",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$141e"}}]}]],"$L141f"]}] 139a:["$","div","200-application/json-no_search_results",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
[]
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"[]"}]}]]}] 139b:["$","div","400-application/json-bad_limit",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"limit must be between 1 and 1000\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"limit must be between 1 and 1000\",\n \"code\": 2101\n}"}]}]]}] 139c:["$","div","400-application/json-bic_only_allowed_with_iban",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"bic param can be used only combined with iban param\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"bic param can be used only combined with iban param\",\n \"code\": 2101\n}"}]}]]}] 139d:["$","div","400-application/json-sort_code_only_allowed_with_account_no",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"sort_code param can be used only combined with account_no param\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"sort_code param can be used only combined with account_no param\",\n \"code\": 2101\n}"}]}]]}] 139e:["$","div","400-application/json-invalid_timestamp",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Parameter created_before must be a valid timestamp\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Parameter created_before must be a valid timestamp\",\n \"code\": 2101\n}"}]}]]}] 139f:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 13a0:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 1420:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1419:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1420","descriptionNode":"$L1421"}}}] 141a:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 141b:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"virtual_card","label":"Virtual card details","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value","block":"$L1422"},{"key":"physical_card","label":"Physical card details","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:physical_card:value","block":"$L1423"},{"key":"card_with_spend_program","label":"Card with a spend program","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:card_with_spend_program:value","block":"$L1424"},{"key":"team_member_card","label":"Team member card","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:team_member_card:value","block":"$L1425"},{"key":"company_card","label":"Company card","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:company_card:value","block":"$L1426"},{"key":"autogenerated_card","label":"Auto-issued card","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:autogenerated_card:value","block":"$L1427"},{"key":"card_with_spending_period_start_date","label":"Card with a spending period start date","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:card_with_spending_period_start_date:value","block":"$L1428"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L1429"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$44:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L142a"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L142b"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 142c:T1024,[ { "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd", "state": "created", "created_at": "2025-11-21T00:00:00Z", "updated_at": "2025-11-21T00:00:00Z", "expiry_date": "2025-12-06T00:00:00Z", "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b", "virtual": true, "label": "Dariel Pattie", "spending_limits": { "single": { "amount": 50, "currency": "GBP" }, "week": { "amount": 250, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-31", "end_date_action": "lock" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "14c8d663-2093-4086-96ed-334a4011333f", "06e0f7fa-38a2-4fcf-a115-df5caf190b55" ] }, "countries": [ "GB" ], "accounts": [ "26a852b8-4046-4e71-949d-22f4cb6be26a" ] }, { "id": "809d745d-9598-4680-8464-d82113e9024b", "state": "redeemed", "created_at": "2025-11-21T00:00:00Z", "updated_at": "2025-11-23T09:01:13Z", "card_id": "744b29d4-19e9-40f8-89e6-bfb264ef5710", "holder_id": "19c76bef-3583-4848-af09-4b2a96c75a14", "virtual": true, "label": "Manuel Haleigh - WFH", "spend_program": { "label": "WFH equipment" }, "spending_period": { "start_date": "2025-11-23", "end_date": "2025-12-23", "end_date_action": "terminate" }, "categories": [ "furniture", "hardware" ], "countries": [ "GB" ], "accounts": [ "6b472c0e-f595-4681-88b4-76eaa0522824" ] }, { "id": "0c0d252e-5fff-498e-83f8-f9b635904275", "state": "expired", "created_at": "2025-11-22T00:00:00Z", "updated_at": "2025-11-30T00:00:00Z", "holder_id": "5ea0ffa1-5dc5-43c4-ac5e-b9e0deb9ec12", "virtual": true, "label": "Valeria Keone - meals", "spending_limits": { "single": { "amount": 50, "currency": "GBP" }, "week": { "amount": 250, "currency": "GBP" } }, "spending_period": { "start_date": "2025-11-29", "end_date": "2025-12-29", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "14c8d663-2093-4086-96ed-334a4011333f", "06e0f7fa-38a2-4fcf-a115-df5caf190b55" ] }, "countries": [ "GB" ], "accounts": [ "6b472c0e-f595-4681-88b4-76eaa0522824" ] }, { "id": "9ab6019a-6a26-41f8-b034-44b591f8b1a8", "state": "failed", "created_at": "2025-11-27T00:00:00Z", "updated_at": "2025-11-27T00:00:00Z", "holder_id": "af686385-4ec0-4139-a4a0-963ee9fa5bc8", "virtual": true, "label": "Connor Thato - meals", "spending_period": { "start_date": "2025-12-01", "end_date": "2026-01-01", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "14c8d663-2093-4086-96ed-334a4011333f", "06e0f7fa-38a2-4fcf-a115-df5caf190b55" ] }, "countries": [ "GB" ], "accounts": [ "6b472c0e-f595-4681-88b4-76eaa0522824" ] }, { "id": "bfc40b73-1e8b-4cba-ad7d-2f54ee707a21", "state": "failed", "created_at": "2025-11-28T00:00:00Z", "updated_at": "2025-12-02T11:31:15Z", "virtual": true, "label": "Natália Popović - offb", "spending_period": { "start_date": "2025-11-30", "end_date": "2026-11-30", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "14c8d663-2093-4086-96ed-334a4011333f", "06e0f7fa-38a2-4fcf-a115-df5caf190b55" ] }, "countries": [ "GB" ], "accounts": [ "6b472c0e-f595-4681-88b4-76eaa0522824" ] } ]141d:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$142c"}]}] 142d:T1409,[ { "id": "239d6f1f-2222-4ae6-1111-5cc603341b4e", "name": "Jane Doe Co.", "profile_type": "business", "state": "created", "created_at": "2022-09-14T14:47:12.273718Z", "updated_at": "2022-09-14T14:47:12.273718Z", "accounts": [ { "iban": "GB66REVO00996995908786", "bic": "REVOGB21", "id": "b209281b-aakk-9911-8d83-ac72469cef8f", "name": "Jane Doe Co.", "bank_country": "GB", "currency": "EUR", "type": "external", "address": { "street_line1": "Revolut LTD", "street_line2": "1 Canada Square", "region": "Greater London", "city": "London", "country": "GB", "postcode": "E14 5AB" } } ] }, { "id": "8e0e9886-0af1-4b0c-acf4-111180d2892b", "name": "John Smith", "revtag": "johnsmith", "profile_type": "personal", "country": "GB", "state": "created", "created_at": "2022-09-14T14:41:39.312017Z", "updated_at": "2022-09-14T14:41:39.312017Z" }, { "id": "11cae5ef-ec24-401d-98a3-e5baa0041671", "name": "John Smith Co.", "revtag": "jsmithco1", "profile_type": "business", "country": "GB", "state": "created", "created_at": "2025-09-16T09:34:41.790401Z", "updated_at": "2025-09-16T09:34:41.790401Z", "accounts": [ { "id": "ad3c3b03-611e-461e-99b2-572f4785e44b", "name": "Main GBP", "currency": "GBP", "type": "revolut" }, { "id": "67fe3eaa-c994-40c0-b3e0-7b6bfe0cedca", "name": "Main EUR", "currency": "EUR", "type": "revolut" } ] }, { "id": "e7e36cce-2e9c-4e96-818e-1c2fed325852", "name": "John Doe Co.", "profile_type": "business", "state": "created", "created_at": "2022-08-14T14:34:11.168340Z", "updated_at": "2022-08-14T14:34:11.168340Z", "accounts": [ { "account_no": "12345674", "sort_code": "540107", "id": "e277b2bd-3a6d-423b-933d-3d425094bb13", "name": "John Doe Co.", "bank_country": "GB", "currency": "GBP", "type": "external", "address": { "street_line1": "7 King's Road", "region": "Greater London", "city": "London", "country": "GB", "postcode": "SW3 4PQ" } } ] }, { "id": "239d6f1f-2222-4ae6-1111-5cc603341b4e", "name": "Bleu Blanc Conseil SARL", "profile_type": "business", "state": "created", "created_at": "2022-09-14T14:47:12.273718Z", "updated_at": "2022-09-14T14:47:12.273718Z", "accounts": [ { "iban": "FR1420041010050500013M02606", "bic": "PSSTFRPPLIL", "id": "b209281b-aakk-9911-8d83-ac72469cef8f", "name": "Bleu Blanc Conseil SARL", "bank_country": "FR", "currency": "EUR", "type": "external", "address": { "street_line1": "12 Rue de la Paix", "city": "Paris", "country": "FR", "postcode": "75002" } } ] }, { "id": "b8ce3922-d518-4ae6-9426-e8cc117e5332", "name": "Johann Meier Co.", "profile_type": "business", "state": "created", "created_at": "2023-08-10T12:43:20.273500Z", "updated_at": "2026-01-30T12:43:20.273500Z", "accounts": [ { "iban": "CH9300762011623852957", "bic": "UBSWCHZH80A", "id": "d95bc455-f495-4f18-95fa-32f99479318c", "name": "Johann Meier Co.", "bank_country": "CH", "currency": "EUR", "type": "external", "address": { "street_line1": "Bahnhofstrasse 10", "city": "Zurich", "country": "CH", "postcode": "8001" } } ] }, { "id": "173e6a6b-d955-465f-8f31-7f6f7c03927c", "name": "Edelweiss Handel GmbH", "profile_type": "business", "state": "created", "created_at": "2023-08-10T12:43:20.273500Z", "updated_at": "2026-01-32T10:54:03.350240Z", "accounts": [ { "iban": "CH5604835012345678009", "bic": "UBSWCHZH80A", "id": "b3cc43e8-f141-459b-9bd5-3505cf9797f8", "name": "Edelweiss Handel GmbH", "bank_country": "CH", "currency": "CHF", "type": "external", "address": { "street_line1": "Marktgasse 22", "city": "Bern", "country": "CH", "postcode": "3011" } } ] }, { "id": "1d9013c8-84bf-474c-b3d9-690f2ae2e65c", "name": "Jane Doe", "state": "created", "created_at": "2024-01-10T15:32:10.172300Z", "updated_at": "2024-01-10T15:32:10.172300Z", "cards": [ { "id": "0130f363-eeaf-4aa8-b77f-a6a629c603f5", "name": "Jane Doe", "last_digits": 1234, "scheme": "visa", "country": "GB", "currency": "GBP" }, { "id": "fa05f2e5-d253-4661-85cc-bcff98b136ac", "name": "Jane Doe", "last_digits": 5678, "scheme": "mastercard", "country": "GB", "currency": "GBP" } ] } ]141f:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$142d"}]}] 143a:T4be,References for the card. Up to 5 name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, they will only be applied to future transactions. Existing transaction are not affected. :::143b:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::1440:T477,The state that the card is in. Possible values: - `active`: The card is available for spending. Newly created cards typically go into `active` unless subject to certain conditions, for example, spending period starting in the future. - `frozen`: The card has been frozen and is temporarily unavailable for spending. - `locked`: The card is locked, typically due to an [admin lock](https://developer.revolut.com/docs/api/business#lock-card) or spending period settings, i.e. when its `spending_period.start_date` is in the future or `spending_period.end_date` is in the past. A locked card is unavailable for spending until it's [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) and active. :::tip To see if the card can be unlocked, check the `can_be_unlocked` parameter. Note that you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock it. ::: - `created`: The card has been created but is not yet active. Used only for a specific type of cards. - `pending`: This status is currently not in use.42:["$","$98","get-cards",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"List of cards of the business","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card.","format":"uuid","descriptionNode":"$L142e"},"holder_id":{"type":"string","description":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty.\n\nFor more information, see the guides: [Manage Cards - Create a virtual card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card).","format":"uuid","descriptionNode":"$L142f"},"contact_ids":{"description":"The list of contacts for a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"One of the card's contacts.","type":"string","format":"uuid","descriptionNode":"$L1430"},"descriptionNode":"$L1431"},"created_at":{"type":"string","description":"The date and time the card was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L1432"},"updated_at":{"type":"string","description":"The date and time the card was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L1433"},"product":{"description":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under.\n\n:::note\nThis property is only available to travel intermediaries using our travel solution.\nTo use it, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","properties":{"code":{"type":"string","description":"The code of the card product.","descriptionNode":"$L1434"}},"required":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:product:required","descriptionNode":"$L1435"},"virtual":{"type":"boolean","description":"Specifies whether the card is virtual (`true`) or physical (`false`).","descriptionNode":"$L1436"},"last_digits":{"type":"string","description":"The last 4 digits of the card's PAN.","pattern":"^[0-9]{4}$","descriptionNode":"$L1437"},"expiry":{"type":"string","format":"DD/YYYY","description":"The card expiration date.","pattern":"^[0-9]{2}/[0-9]{4}$","descriptionNode":"$L1438"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L1439"},"references":{"description":"$143a","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$143b","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L143c"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L143d"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L143e"},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:examples","descriptionNode":"$L143f"},"state":{"enum":["created","pending","active","frozen","locked"],"description":"$1440","type":"string","descriptionNode":"$L1441"},"can_be_unlocked":{"type":"boolean","description":"Returned for locked cards (`state=locked`).\nIndicates whether the card can be [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) manually (via API or in-app).\nIf `true`, you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock the card.\n\n:::info\nCards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually.\n:::","descriptionNode":"$L1442"},"spend_program":{"description":"The [spend program](https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/) assigned to the card.\n:::note\nTo use this property, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","readOnly":true,"properties":{"label":{"description":"The name of the spend program.","type":"string","maxLength":30,"descriptionNode":"$L1443"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spend_program:required","descriptionNode":"$L1444"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1445"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1446"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L1447"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1448"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1449"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L144a"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:amount","currency":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L144b"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:amount","currency":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L144c"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:amount","currency":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L144d"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:amount","currency":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L144e"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:amount","currency":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L144f"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L1450"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L1451"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L1452"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L1453"},"categories":{"type":"array","description":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L1454"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey block or allow the card to only transact with specific merchants: \n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set)\n- `block`: blocks the specified merchants (can be used with or without `categories`)","type":"object","allOf":[{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L1455"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1456"}}}],"descriptionNode":"$L1457"},"countries":{"description":"The list of countries where the card can be used, specified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:countries:items:examples"},"descriptionNode":"$L1458"},"accounts":{"type":"array","description":"The list of linked accounts.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1459"}},"required":["id","created_at","updated_at","virtual","last_digits","expiry","state","accounts"]},"description":"A list of cards.","descriptionNode":"$L145a"},"examples":{"list_of_cards":{"summary":"List of cards - virtual and physical","value":[{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","spending_limits":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value:spending_limits","spending_period":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value:spending_period","categories":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value:categories","merchant_controls":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value:merchant_controls","countries":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value:countries","accounts":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:virtual_card:value:accounts"},{"id":"b8b56da4-1fde-4320-a8d7-cb7560252f7e","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-15T11:04:11.047305Z","virtual":false,"last_digits":"2672","expiry":"09/2030","state":"active"}]}}}},"descriptionNode":"$L145b"},"400":{"description":"Bad pagination parameters","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L145c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L145d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":2101,"message":"Parameter limit must be a valid integer in range: [1, 100]."}}}}},"descriptionNode":"$L145e"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L145f"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1460"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L1461"}},"requestBody":"$undefined","variantLabels":[],"children":["$L1462","$L1463"]}]}],false]}] 1462:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"get-cards","children":[["$L1464","$undefined"],["$","$L3a",null,{"id":"get-cards"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/get-cards.md"}]]}]}],"$undefined"]}] 1468:T8e2,
fetch("https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
1469:Tdca,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
146b:T156e,
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://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Get,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
146d:T8ea,
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>"
  }
})
  .then(response => response.json())
  .then(data => console.log(data));
146e:Tdd2,
package main

import (
  "fmt"
  "net/http"
)

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
  req, _ := http.NewRequest("GET", url, nil)
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>"
}

response = requests.get(url, headers=headers)
print(response.json())
1470:T1576,
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-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .GET(HttpRequest.BodyPublishers.noBody())
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1471:T1496,
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-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1463:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1465",["$","$Lac",null,{"parameters":[{"in":"query","name":"created_before","schema":{"type":"string","format":"date-time","default":"the date-time at which the request is made"},"description":"Retrieves cards with `created_at` < `created_before`.\nThe default value is the current date and time at which you are calling the endpoint.\n\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1466"},{"name":"limit","in":"query","required":false,"description":"The maximum number of cards to return per page.\n\nTo get to the next page, make a new request and use the `created_at` date of the last card returned in the previous response as the value for `created_before`.","schema":{"type":"number","format":"integer","default":100,"maximum":100,"minimum":1},"descriptionNode":"$L1467"}],"requestBody":"$undefined","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$42:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1468","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1469","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$146a","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$146b","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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://b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$146c","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n -H \"Authorization: Bearer \"","templateHtml":"
curl -X GET \"https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\" \\\n  -H \"Authorization: Bearer <yourSecretApiKey>\"
","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","shell-double-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","shell-double-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"javascript","label":"JavaScript","templateCode":"fetch(\"https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\", {\n method: \"GET\",\n headers: {\n \"Authorization\": \"Bearer \"\n }\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$146d","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"go","label":"Go","templateCode":"package main\n\nimport (\n \"fmt\"\n \"net/http\"\n)\n\nfunc main() {\n url := \"https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\n req, _ := http.NewRequest(\"GET\", url, nil)\n req.Header.Add(\"Authorization\", \"Bearer \")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$146e","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"\nheaders = {\n \"Authorization\": \"Bearer \"\n}\n\nresponse = requests.get(url, headers=headers)\nprint(response.json())","templateHtml":"$146f","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"))\n .header(\"Authorization\", \"Bearer \")\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":"$1470","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}},{"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-b2b.revolut.com/api/1.0/cards?created_before=__RP_TOK_0__&limit=__RP_TOK_1__\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\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":"$1471","tokens":[{"marker":"__RP_TOK_0__","paramName":"created_before","paramIn":"query","pipeline":["url-component","json-string-inner"]},{"marker":"__RP_TOK_1__","paramName":"limit","paramIn":"query","pipeline":["url-component","json-string-inner"]}],"defaults":{"query:created_before":"the date-time at which the request is made","query:limit":"100"}}]},"method":"get","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards","parameters":["$1463:props:children:0:props:children:1:props:parameters:0","$1463:props:children:0:props:children:1:props:parameters:1"]}],"$L1472"],"$L1473","$L1474"]}]]}] 140c:"Retrieve card details" 1475:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1472:["$","$L1f6",null,{"security":[{"AccessToken":["READ"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1475","descriptionNode":"$L1476"}}}] 1473:["$","$L1f9",null,{"exampleBlocks":{},"title":"Request body samples","headingAs":"h4"}] 1474:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"list_of_cards","label":"List of cards - virtual and physical","rawValue":"$42:props:children:0:props:children:props:responses:200:content:application/json:examples:list_of_cards:value","block":"$L1477"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$42:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L1478"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1479"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 13d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 13d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card","target":"_blank","rel":"noreferrer","children":"Manage Cards - Create a virtual card"}],"."]}]]}] 13d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"One of the card's contacts."}]]}] 13d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of contacts for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 13d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 13d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 13da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the card product."}]]}] 13db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This property is only available to travel intermediaries using our travel solution.\nTo use it, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 13dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the card is virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],")."]}]]}] 13dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last 4 digits of the card's PAN."}]]}] 13de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card expiration date."}]]}] 13df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 13e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 13e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 13e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 13e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times."]}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 13e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the card is in."}],"\n",["$","p","p-1",{"children":"Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"active"}],": The card is available for spending.\nNewly created cards typically go into ",["$","code","code-1",{"children":"active"}]," unless subject to certain conditions, for example, spending period starting in the future."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"frozen"}],": The card has been frozen and is temporarily unavailable for spending."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"locked"}],": The card is locked, typically due to an ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#lock-card","target":"_blank","rel":"noreferrer","children":"admin lock"}]," or spending period settings, i.e. when its ",["$","code","code-1",{"children":"spending_period.start_date"}]," is in the future or ",["$","code","code-2",{"children":"spending_period.end_date"}]," is in the past.\nA locked card is unavailable for spending until it's ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," and active.\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To see if the card can be unlocked, check the ",["$","code","code-0",{"children":"can_be_unlocked"}]," parameter.\nNote that you'll still need the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock it."]}]}]]}],"\n"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"created"}],": The card has been created but is not yet active.\nUsed only for a specific type of cards."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"pending"}],": This status is currently not in use."]}],"\n",["$","li","li-5",{"children":[["$","code","code-0",{"children":"terminated"}],": The card is terminated and cannot be used. This is a final state and cannot be reversed."]}],"\n"]}]]}] 13e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Returned for locked cards (",["$","code","code-0",{"children":"state=locked"}],").\nIndicates whether the card can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," manually (via API or in-app).\nIf ",["$","code","code-1",{"children":"true"}],", you'll still need the ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Cards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually."}]}]]}]]}] 13e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the spend program."}]]}] 13ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/","target":"_blank","rel":"noreferrer","children":"spend program"}]," assigned to the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To use this property, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 13eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 13ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 13ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 13ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 13ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 13f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 13f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 13f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 13f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 13f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 13f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 13f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 13f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 13f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 13f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}]]}] 13fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted."}]]}] 13fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 13fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 13fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")"]}],"\n"]}]]}] 13fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the card can be used, specified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 13ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of linked accounts."}]]}] 1400:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the card"}]]}] 1401:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1402:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1403:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when you provide an invalid card ID in the path."}]]}] 1404:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1405:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1406:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}]]}] 1407:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1408:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1409:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 140d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the details of a specific card, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 140e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 1464:"Retrieve a list of cards" 1421:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L147a","\n","$L147b","\n"]}]]}] 142e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 142f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card","target":"_blank","rel":"noreferrer","children":"Manage Cards - Create a virtual card"}],"."]}]]}] 1430:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"One of the card's contacts."}]]}] 1431:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of contacts for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 1432:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1433:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1434:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the card product."}]]}] 1435:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This property is only available to travel intermediaries using our travel solution.\nTo use it, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 1436:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the card is virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],")."]}]]}] 1437:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last 4 digits of the card's PAN."}]]}] 1438:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card expiration date."}]]}] 1439:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 147a:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 147b:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 143c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 143d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 143e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 143f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times."]}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 1441:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the card is in."}],"\n",["$","p","p-1",{"children":"Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"active"}],": The card is available for spending.\nNewly created cards typically go into ",["$","code","code-1",{"children":"active"}]," unless subject to certain conditions, for example, spending period starting in the future."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"frozen"}],": The card has been frozen and is temporarily unavailable for spending."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"locked"}],": The card is locked, typically due to an ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#lock-card","target":"_blank","rel":"noreferrer","children":"admin lock"}]," or spending period settings, i.e. when its ",["$","code","code-1",{"children":"spending_period.start_date"}]," is in the future or ",["$","code","code-2",{"children":"spending_period.end_date"}]," is in the past.\nA locked card is unavailable for spending until it's ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," and active.\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To see if the card can be unlocked, check the ",["$","code","code-0",{"children":"can_be_unlocked"}]," parameter.\nNote that you'll still need the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock it."]}]}]]}],"\n"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"created"}],": The card has been created but is not yet active.\nUsed only for a specific type of cards."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"pending"}],": This status is currently not in use."]}],"\n"]}]]}] 1442:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Returned for locked cards (",["$","code","code-0",{"children":"state=locked"}],").\nIndicates whether the card can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," manually (via API or in-app).\nIf ",["$","code","code-1",{"children":"true"}],", you'll still need the ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Cards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually."}]}]]}]]}] 1443:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the spend program."}]]}] 1444:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/","target":"_blank","rel":"noreferrer","children":"spend program"}]," assigned to the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To use this property, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 1445:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1446:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1447:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 1448:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1449:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 144a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 144b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 144c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 144d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 144e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 144f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1450:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1451:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1452:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 1453:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}]]}] 1454:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted."}]]}] 1455:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 1456:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 1457:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")"]}],"\n"]}]]}] 1458:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the card can be used, specified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 1459:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of linked accounts."}]]}] 145a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A list of cards."}]]}] 145b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"List of cards of the business"}]]}] 145c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 145d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 145e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad pagination parameters"}]]}] 145f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1460:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1461:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 1465:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Get the list of all cards in your organisation."}],"\n",["$","p","p-1",{"children":["The results are paginated and sorted by the ",["$","code","code-0",{"children":"created_at"}]," date in reverse chronological order.\nTerminated cards are not included in the list.\nTo check the status of a specific terminated card, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card","target":"_blank","rel":"noreferrer","children":"retrieve it by its ID"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 1466:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Retrieves cards with ",["$","code","code-0",{"children":"created_at"}]," < ",["$","code","code-1",{"children":"created_before"}],".\nThe default value is the current date and time at which you are calling the endpoint."]}],"\n",["$","p","p-1",{"children":["Provided in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 1467:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The maximum number of cards to return per page."}],"\n",["$","p","p-1",{"children":["To get to the next page, make a new request and use the ",["$","code","code-0",{"children":"created_at"}]," date of the last card returned in the previous response as the value for ",["$","code","code-1",{"children":"created_before"}],"."]}]]}] 1476:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L147c","\n","$L147d","\n"]}]]}] 147c:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 147d:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 147e:T1f9f,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-17T08:32:11.024721Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "month": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-20",
    "end_date": "2026-12-20",
    "end_date_action": "terminate"
  },
  "categories": [
    "restaurants",
    "groceries"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
1422:["$","div","200-application/json-virtual_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$147e"}}]}]],"$L147f"]}] 1480:T8dd,
{
  "id": "b8b56da4-1fde-4320-a8d7-cb7560252f7e",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": false,
  "last_digits": "2672",
  "expiry": "09/2030",
  "state": "active"
}
1423:["$","div","200-application/json-physical_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1480"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"b8b56da4-1fde-4320-a8d7-cb7560252f7e\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": false,\n \"last_digits\": \"2672\",\n \"expiry\": \"09/2030\",\n \"state\": \"active\"\n}"}]}]]}] 1481:T15d1,
{
  "id": "f9bea0b8-ddbd-47c8-bccd-40c60c8fa266",
  "contact_ids": [
    "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
    "02b969cb-b984-4a70-873d-f93220805e5e",
    "36d9604d-4821-45fc-bf1a-a2881f6336c0"
  ],
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "3467",
  "expiry": "09/2030",
  "label": "Company lunches",
  "state": "locked",
  "spend_program": {
    "label": "Lunch"
  },
  "merchant_controls": {
    "control_type": "allow",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1424:["$","div","200-application/json-card_with_spend_program",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1481"}}]}]],"$L1482"]}] 1483:T1ebc,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate",
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "categories": [
    "restaurants",
    "groceries"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
1425:["$","div","200-application/json-team_member_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1483"}}]}]],"$L1484"]}] 1485:T1f94,
{
  "id": "448b9493-8bd7-48f9-a7ce-59293b5118ec",
  "contact_ids": [
    "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
    "02b969cb-b984-4a70-873d-f93220805e5e",
    "36d9604d-4821-45fc-bf1a-a2881f6336c0"
  ],
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "4321",
  "expiry": "09/2030",
  "label": "Engagement team",
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 200,
      "currency": "GBP"
    },
    "week": {
      "amount": 1000,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "accommodation"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1426:["$","div","200-application/json-company_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1485"}}]}]],"$L1486"]}] 1487:T24ab,
{
  "id": "f296f3b6-d28c-44e7-aae5-3d540e6a20e9",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "product": {
    "code": "MBJ"
  },
  "virtual": true,
  "last_digits": "9876",
  "expiry": "09/2030",
  "label": "Reservation 123456",
  "references": [
    {
      "name": "PNR",
      "value": "RT12345"
    },
    {
      "name": "Traveller",
      "value": "John Smith"
    }
  ],
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 1500,
      "currency": "GBP"
    },
    "week": {
      "amount": 3000,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "airlines"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1427:["$","div","200-application/json-autogenerated_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1487"}}]}]],"$L1488"]}] 1489:T20ae,
{
  "id": "e466e17f-7727-46b3-be0f-56acf9209195",
  "holder_id": "d2d68875-55b4-42d9-a816-19449b8e0840",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "1289",
  "expiry": "09/2030",
  "label": "Kim Took",
  "state": "locked",
  "can_be_unlocked": true,
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-11-16",
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1428:["$","div","200-application/json-card_with_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1489"}}]}]],"$L148a"]}] 1429:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 142a:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 142b:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 147f:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-17T08:32:11.024721Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-09-20\",\n \"end_date\": \"2026-12-20\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"restaurants\",\n \"groceries\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 1482:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"f9bea0b8-ddbd-47c8-bccd-40c60c8fa266\",\n \"contact_ids\": [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n ],\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"3467\",\n \"expiry\": \"09/2030\",\n \"label\": \"Company lunches\",\n \"state\": \"locked\",\n \"spend_program\": {\n \"label\": \"Lunch\"\n },\n \"merchant_controls\": {\n \"control_type\": \"allow\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 1484:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\",\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"categories\": [\n \"restaurants\",\n \"groceries\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 1486:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"448b9493-8bd7-48f9-a7ce-59293b5118ec\",\n \"contact_ids\": [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n ],\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"4321\",\n \"expiry\": \"09/2030\",\n \"label\": \"Engagement team\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 1000,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"accommodation\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 148b:T405,{ "id": "f296f3b6-d28c-44e7-aae5-3d540e6a20e9", "created_at": "2025-09-15T11:04:11.047305Z", "updated_at": "2025-09-15T11:04:11.047305Z", "product": { "code": "MBJ" }, "virtual": true, "last_digits": "9876", "expiry": "09/2030", "label": "Reservation 123456", "references": [ { "name": "PNR", "value": "RT12345" }, { "name": "Traveller", "value": "John Smith" } ], "state": "active", "spending_limits": { "single": { "amount": 1500, "currency": "GBP" }, "week": { "amount": 3000, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "airlines" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] }1488:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$148b"}]}] 148a:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"e466e17f-7727-46b3-be0f-56acf9209195\",\n \"holder_id\": \"d2d68875-55b4-42d9-a816-19449b8e0840\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"1289\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kim Took\",\n \"state\": \"locked\",\n \"can_be_unlocked\": true,\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-11-16\",\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 148c:T28de,
[
  {
    "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
    "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
    "created_at": "2025-09-15T11:04:11.047305Z",
    "updated_at": "2025-09-17T08:32:11.024721Z",
    "virtual": true,
    "last_digits": "2671",
    "expiry": "09/2030",
    "label": "Kirby Janette",
    "state": "active",
    "spending_limits": {
      "single": {
        "amount": 200.22,
        "currency": "GBP"
      },
      "month": {
        "amount": 200.44,
        "currency": "GBP"
      }
    },
    "spending_period": {
      "start_date": "2025-09-20",
      "end_date": "2026-12-20",
      "end_date_action": "terminate"
    },
    "categories": [
      "restaurants",
      "groceries"
    ],
    "merchant_controls": {
      "control_type": "block",
      "merchant_ids": [
        "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
        "e8a87432-f71e-4deb-be84-969a02792929"
      ]
    },
    "countries": [
      "GB",
      "SG"
    ],
    "accounts": [
      "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
    ]
  },
  {
    "id": "b8b56da4-1fde-4320-a8d7-cb7560252f7e",
    "created_at": "2025-09-15T11:04:11.047305Z",
    "updated_at": "2025-09-15T11:04:11.047305Z",
    "virtual": false,
    "last_digits": "2672",
    "expiry": "09/2030",
    "state": "active"
  }
]
1477:["$","div","200-application/json-list_of_cards",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$148c"}}]}]],"$L148d"]}] 1478:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Parameter limit must be a valid integer in range: [1, 100].\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Parameter limit must be a valid integer in range: [1, 100].\"\n}"}]}]]}] 1479:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 148e:T50e,[ { "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "created_at": "2025-09-15T11:04:11.047305Z", "updated_at": "2025-09-17T08:32:11.024721Z", "virtual": true, "last_digits": "2671", "expiry": "09/2030", "label": "Kirby Janette", "state": "active", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "month": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-20", "end_date": "2026-12-20", "end_date_action": "terminate" }, "categories": [ "restaurants", "groceries" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51" ] }, { "id": "b8b56da4-1fde-4320-a8d7-cb7560252f7e", "created_at": "2025-09-15T11:04:11.047305Z", "updated_at": "2025-09-15T11:04:11.047305Z", "virtual": false, "last_digits": "2672", "expiry": "09/2030", "state": "active" } ]148d:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$148e"}]}] 148f:T428,The result of the check. Possible values for UK: - **`matched`:** The name and account type match the provided details. - **`close_match`:** The name and/or account type are similar to the provided values: - The name is a match, but the account type is incorrect. For example, an individual recipient's name was provided under `company_name`. The **actual account type** is returned. - The name is similar to the provided values. Account type is correct. The **actual name** is returned. - The name is similar to the provided values, and the account type is incorrect. The **actual values** are returned. The actual values are returned. - **`not_matched`:** The name and account type don't match the provided values. - **`cannot_be_checked`:** The check cannot be performed and retries won't help. For example, the recipient's bank doesn't support CoP. - **`temporarily_unavailable`:** The check cannot be performed right now. For example, the recipient's bank didn't respond to our request. You should retry the request later.1492:T488,The reason code. Possible values for UK: - **`close_match`**: The provided name is similar to the account name, the account type is correct. The actual name is returned. - **`individual_account_name_matched`**: The names match but the counterparty is an individual, not a business. - **`company_account_name_matched`**: The names match but the counterparty is a business, not an individual. - **`individual_account_close_match`**: The provided name is similar to the account name, and the account type is incorrect – the counterparty is an individual, not a business. The actual name is returned. - **`company_account_close_match`**: The provided name is similar to the account name, and the account type is incorrect - the counterparty is a business, not an individual. The actual name is returned. - **`not_matched`**: The account details don't match the provided values. - **`account_does_not_exist`**: The account does not exist. - **`account_switched`**: The account has been switched using the Current Account Switching Service. Please contact the recipient for updated account details. - **`cannot_be_checked`**: The account cannot be checked.55:["$","$98","validate-account-name",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Account name validation result\n\n:::note\n- The actual results returned in the response come from the CoP services, not from Revolut.\n The Business API passes them on as received.\n\n Because of this, the descriptions below should be treated as an approximation rather than complete documentation.\n- The responses differ depending on the CoP service, even when the schema appears the same.\n Make sure that you refer to the appropriate response variant.\n:::","content":{"application/json":{"schema":{"discriminator":{"mapping":{"UK":"#/components/schemas/ValidateAccountNameResponseUK","AU":"#/components/schemas/ValidateAccountNameResponseAU","RO":"#/components/schemas/ValidateAccountNameResponseRO","EUR":"#/components/schemas/ValidateAccountNameResponseEUR"}},"oneOf":[{"title":"UK","type":"object","properties":{"result_code":{"description":"$148f","type":"string","enum":["matched","close_match","not_matched","cannot_be_checked","temporarily_unavailable"],"descriptionNode":"$L1490"},"reason":{"type":"object","description":"A code which explains why a given result was returned, and the service that returned it.\nFor example, it might happen that the details you provided match the account details, but you specified the counterparty as an individual, and the account type is business.","properties":{"type":{"type":"string","description":"The reason type.\nDetermines the [service](https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services) used for the validation that returned the reason code.\nFor UK, the values is: `uk_cop`.","enum":["uk_cop","eu_cop","ro_cop","au_cop"],"descriptionNode":"$L1491"},"code":{"type":"string","description":"$1492","enum":["close_match","individual_account_name_matched","company_account_name_matched","individual_account_close_match","company_account_close_match","not_matched","account_does_not_exist","account_switched","cannot_be_checked"],"descriptionNode":"$L1493"}},"descriptionNode":"$L1494"},"company_name":{"type":"string","description":"The name of the recipient when the account type is business.\nProvided only if `individual_name` is not specified.\n\nWhen the name is a close match, the actual full name is returned, otherwise, the name you provided is returned.","descriptionNode":"$L1495"},"individual_name":{"type":"object","required":["first_name","last_name"],"description":"The name of the recipient when the account type is personal.\nProvided only if `company_name` is not specified.\n\nWhen the name is a close match, the actual first and last names are returned in full.","properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L1496"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L1497"}},"descriptionNode":"$L1498"}},"required":["result_code"]},{"title":"AU","type":"object","properties":{"result_code":{"description":"The result of the check. \n\nPossible values for AU:\n- **`matched`:** The name matches the provided details.\n For personal accounts, this also covers **close matches**, in which case the **actual name** is returned.\n- **`close_match` (business account):** The name is similar to the provided value.\n- **`not_matched`:** The name doesn't match the provided values.\n- **`cannot_be_checked`:** The check cannot be performed and retries won't help.\n For example, the recipient's bank doesn't support CoP.\n- **`temporarily_unavailable`:** The check cannot be performed right now.\n For example, the recipient's bank didn't respond to our request.\n You should retry the request later.","type":"string","enum":["matched","close_match","not_matched","cannot_be_checked","temporarily_unavailable"],"descriptionNode":"$L1499"},"reason":{"type":"object","description":"A code which explains why a given result was returned, and the service that returned it.\nIn some cases, it may provide more details about the result.","properties":{"type":{"type":"string","description":"The reason type.\nDetermines the [service](https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services) used for the validation that returned the reason code.\nFor AU, the value is: `au_cop`.","enum":["uk_cop","eu_cop","ro_cop","au_cop"],"descriptionNode":"$L149a"},"code":{"type":"string","description":"The reason code. Possible values for AU:\n- **`close_match`** (business accounts): The provided name is similar to the account name.\n The actual name is returned. Mismatched account type is corrected.\n- **`not_matched`**: The account details don't match the provided values.\n- **`account_does_not_exist`**: The account does not exist.\n- **`account_switched`**: The account has been switched using the Current Account Switching Service.\n Please contact the recipient for updated account details.\n- **`cannot_be_checked`**: The account cannot be checked.","enum":["close_match","individual_account_name_matched","company_account_name_matched","individual_account_close_match","company_account_close_match","not_matched","account_does_not_exist","account_switched","cannot_be_checked"],"descriptionNode":"$L149b"}},"descriptionNode":"$L149c"},"company_name":{"type":"string","description":"The name of the recipient when the account type is business.\nProvided only if `individual_name` is not specified.\n\nWhen the name is a close match, the actual full name is returned.\nOtherwise, the name you provided is returned.\n\n:::tip[Mismatched name type is corrected]\nThe mismatched name type in the request is corrected in the response.\nThis means that, for example, if an individual recipient's name was provided under `company_name`, in the response it is returned under `individual_name`.\n:::","descriptionNode":"$L149d"},"individual_name":{"type":"object","required":["first_name","last_name"],"description":"The name of the recipient when the account type is personal.\nProvided only if `company_name` is not specified.\n\nWhen the name is a close match, the actual first and last names are returned.\nOtherwise, the name you provided is returned.\n\n:::tip[Mismatched name type is corrected]\nThe mismatched name type in the request is corrected in the response.\nThis means that, for example, if an individual recipient's name was provided under `company_name`, in the response it is returned under `individual_name`.\n:::","properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L149e"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L149f"}},"descriptionNode":"$L14a0"}},"required":["result_code"]},{"title":"RO","type":"object","properties":{"result_code":{"description":"The result of the check. \n\nFor RO CoP, the API **checks if an account exists for the provided IBAN**.\nPossible results are:\n- **`matched`:** An account with the provided IBAN was found.\n When this status is returned, the API also returns a partial name of the account holder.\n Use this returned name to validate your recipient's details.\n- **`cannot_be_checked`:** The check cannot be performed and retries won't help.\n For example, the recipient's bank doesn't support CoP.\n- **`temporarily_unavailable`:** The check cannot be performed right now.\n For example, the recipient's bank didn't respond to our request.\n You should retry the request later.","type":"string","enum":["matched","close_match","not_matched","cannot_be_checked","temporarily_unavailable"],"descriptionNode":"$L14a1"},"reason":{"type":"object","description":"A code which explains why a given result was returned, and the service that returned it.","properties":{"type":{"type":"string","description":"The reason type.\nDetermines the [service](https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services) used for the validation that returned the reason code.\nFor RO, the value is: `ro_cop`.","enum":["uk_cop","eu_cop","ro_cop","au_cop"],"descriptionNode":"$L14a2"},"code":{"type":"string","description":"The reason code. Possible values for RO:\n- **`cannot_be_checked`**: The account cannot be checked.","enum":["close_match","individual_account_name_matched","company_account_name_matched","individual_account_close_match","company_account_close_match","not_matched","account_does_not_exist","account_switched","cannot_be_checked"],"descriptionNode":"$L14a3"}},"descriptionNode":"$L14a4"},"company_name":{"type":"string","description":"The **partially masked** name of the recipient when the account type is business.\nProvided only if `individual_name` is not specified.\n\n:::warning[Name considerations]\n- The name you provide helps identify the request, but is not used for the actual check.\n The API simply returns the partial name associated with the IBAN for you to validate.\n Therefore, the **returned name may differ** from the one you provided.\n- **Mismatched name type is not corrected**.\n This means that the name type in the response is returned as it was provided in the request.\n For example, if an individual recipient's name was provided under `company_name`, in the response it's still returned under `company_name` (instead of `individual_name`).\n:::","examples":["Rodri**** SA"],"descriptionNode":"$L14a5"},"individual_name":{"type":"object","required":["first_name","last_name"],"description":"The partial name of the recipient when the account type is personal, that is, the first name and the last name's initial.\nProvided only if `company_name` is not specified.\n\n:::warning[Name considerations]\n- The name you provide helps identify the request, but is not used for the actual check.\n The API simply returns the partial name associated with the IBAN for you to validate.\n Therefore, the **returned name may differ** from the one you provided.\n- **Mismatched name type is not corrected**.\n This means that the name type in the response is returned as it was provided in the request.\n For example, if an individual recipient's name was provided under `company_name`, in the response it's still returned under `company_name` (instead of `individual_name`).\n:::","properties":{"first_name":{"type":"string","description":"The first name of the recipient.","examples":["Alexandru"],"descriptionNode":"$L14a6"},"last_name":{"type":"string","description":"The initial of the last name of the recipient.","examples":["I."],"descriptionNode":"$L14a7"}},"descriptionNode":"$L14a8"}},"required":["result_code"]},{"title":"EUR","type":"object","properties":{"result_code":{"description":"The result of the check. \n\nPossible values for EUR:\n- **`matched`:** The name matches the provided details.\n- **`close_match`:** The recipient's name is similar to the provided value.\n The **actual name** is returned.\n- **`not_matched`:** The name and account type don't match the provided values.\n The **name provided in the request** is returned.\n- **`cannot_be_checked`:** The check cannot be performed and retries won't help.\n For example, the recipient's bank doesn't support VoP.\n- **`temporarily_unavailable`:** The check cannot be performed right now.\n For example, the recipient's bank didn't respond to our request.\n You should retry the request later.","type":"string","enum":["matched","close_match","not_matched","cannot_be_checked","temporarily_unavailable"],"descriptionNode":"$L14a9"},"reason":{"type":"object","description":"A code which explains why a given result was returned, and the service that returned it.\nFor example, it might happen that the details you provided match the account details, but you specified the counterparty as an individual, and the account type is business.","properties":{"type":{"type":"string","description":"The reason type.\nDetermines the [service](https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services) used for the validation that returned the reason code.\nFor EUR, the value is: `eu_cop`.","enum":["uk_cop","eu_cop","ro_cop","au_cop"],"descriptionNode":"$L14aa"},"code":{"type":"string","description":"The reason code. Possible values for EUR:\n- **`close_match`**: The provided name is similar to the account name.\n The actual name is returned.\n- **`not_matched`**: The account details don't match the provided values.\n- **`account_does_not_exist`**: The account does not exist.\n- **`account_switched`**: The account has been switched using the Current Account Switching Service.\n Please contact the recipient for updated account details.\n- **`cannot_be_checked`**: The account cannot be checked.","enum":["close_match","individual_account_name_matched","company_account_name_matched","individual_account_close_match","company_account_close_match","not_matched","account_does_not_exist","account_switched","cannot_be_checked"],"descriptionNode":"$L14ab"}},"descriptionNode":"$L14ac"},"company_name":{"type":"string","description":"The name of the recipient when the account type is business.\nProvided only if `individual_name` is not specified.\n\nWhen the name is a close match, the actual name is returned.\nOtherwise, the name you provided is returned.\n\n:::warning[Mismatched name type is not corrected]\nThe name type in the response is returned as it was provided in the request.\nFor example, if an individual recipient's name was provided under `company_name`, in the response it's still returned under `company_name` (instead of `individual_name`).\n:::","descriptionNode":"$L14ad"},"individual_name":{"type":"object","required":["first_name","last_name"],"description":"The name of the recipient when the account type is personal.\nProvided only if `company_name` is not specified.\n\nWhen the name is a close match, the actual name is returned.\nOtherwise, the name you provided is returned.\n\n:::warning[Mismatched name type is not corrected]\nThe name type in the response is returned as it was provided in the request.\nFor example, if an individual recipient's name was provided under `company_name`, in the response it's still returned under `company_name` (instead of `individual_name`).\n:::","properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L14ae"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L14af"}},"descriptionNode":"$L14b0"}},"required":["result_code"]}]},"examples":{"match_individual_uk":{"summary":"(UK) Individual account name and number match","value":{"result_code":"matched","individual_name":{"first_name":"John","last_name":"Smith"}}},"match_company_uk":{"summary":"(UK) Company account name and number match","value":{"result_code":"matched","company_name":"John Smith Co."}},"match_but_individual_account_type_uk":{"summary":"(UK) Names match but counterparty is an individual, not a company","value":{"result_code":"close_match","reason":{"type":"uk_cop","code":"individual_account_name_matched"},"individual_name":{"first_name":"John","last_name":"Smith"}}},"match_but_company_account_type_uk":{"summary":"(UK) Names match but counterparty is a company, not an individual","value":{"result_code":"close_match","reason":{"type":"uk_cop","code":"company_account_name_matched"},"company_name":"John Smith Co."}},"close_match_individual_name_uk":{"summary":"(UK) Individual account name is a close match","value":{"result_code":"close_match","reason":{"type":"uk_cop","code":"close_match"},"individual_name":{"first_name":"Joan","last_name":"Smith"}}},"close_match_company_name_uk":{"summary":"(UK) Company account name is a close match","value":{"result_code":"close_match","reason":{"type":"uk_cop","code":"close_match"},"company_name":"Joan Smith Co."}},"close_match_individual_name_and_account_type_uk":{"summary":"(UK) Names are similar and counterparty is an individual, not a company","value":{"result_code":"close_match","reason":{"type":"uk_cop","code":"individual_account_close_match"},"individual_name":{"first_name":"Joan","last_name":"Smith"}}},"close_match_company_name_and_account_type_uk":{"summary":"(UK) Names are similar and counterparty is a company, not an individual","value":{"result_code":"close_match","reason":{"type":"uk_cop","code":"company_account_close_match"},"company_name":"Joan Smith Co."}},"account_does_not_match_individual_uk":{"summary":"(UK) Provided details for individual do not match account details","value":{"result_code":"not_matched","reason":{"type":"uk_cop","code":"not_matched"},"individual_name":{"first_name":"John","last_name":"Smith"}}},"account_does_not_match_company_uk":{"summary":"(UK) Provided details for company do not match account details","value":{"result_code":"not_matched","reason":{"type":"uk_cop","code":"not_matched"},"company_name":"John Smith Co."}},"account_does_not_exist_uk":{"summary":"(UK) Account does not exist","value":{"result_code":"not_matched","reason":{"type":"uk_cop","code":"account_does_not_exist"}}},"account_switched_uk":{"summary":"(UK) Account switched","value":{"result_code":"cannot_be_checked","reason":{"type":"uk_cop","code":"account_switched"}}},"cannot_be_checked_uk":{"summary":"(UK) Account cannot be checked","value":{"result_code":"cannot_be_checked","reason":{"type":"uk_cop","code":"cannot_be_checked"},"individual_name":{"first_name":"Jane","last_name":"Doe"}}},"match_individual_au":{"summary":"(AU) Individual account name and number match","value":{"result_code":"matched","individual_name":{"first_name":"Joseph","last_name":"Bloggs"}}},"match_company_au":{"summary":"(AU) Company account name and number match","value":{"result_code":"matched","company_name":"Joseph Bloggs Pty Ltd"}},"match_but_individual_account_type_au":{"summary":"(AU) Names match but counterparty is an individual, not a company","value":{"result_code":"matched","individual_name":{"first_name":"Joseph","last_name":"Bloggs"}}},"match_but_company_account_type_au":{"summary":"(AU) Names match but counterparty is a company, not an individual","value":{"result_code":"matched","company_name":"Joseph Bloggs Pty Ltd"}},"close_match_company_name_au":{"summary":"(AU) Company account name is a close match","value":{"result_code":"close_match","reason":{"type":"au_cop","code":"close_match"},"company_name":"Josef Bloggs Pty Ltd"}},"account_does_not_match_individual_au":{"summary":"(AU) Provided details for individual do not match account details","value":{"result_code":"not_matched","reason":{"type":"au_cop","code":"not_matched"},"individual_name":{"first_name":"Jane","last_name":"Bloggs"}}},"account_does_not_match_company_au":{"summary":"(AU) Provided details for company do not match account details","value":{"result_code":"not_matched","reason":{"type":"uk_cop","code":"not_matched"},"company_name":"Jane Bloggs Pty Ltd"}},"match_individual_eur":{"summary":"(EUR) Individual account name and number match","value":{"result_code":"matched","individual_name":{"first_name":"Petras","last_name":"Petrauskas"}}},"match_company_eur":{"summary":"(EUR) Company account name and number match","value":{"result_code":"matched","company_name":"Petras Petrauskas UAB"}},"match_but_individual_account_type_eur":{"summary":"(EUR) Names match, though counterparty is an individual, not a company","value":{"result_code":"matched","company_name":"Petras Petrauskas"}},"match_but_company_account_type_eur":{"summary":"(EUR) Names match, though counterparty is a company, not an individual","value":{"result_code":"matched","individual_name":{"first_name":"Petras","last_name":"Petrauskas UAB"}}},"close_match_individual_name_eur":{"summary":"(EUR) Individual account name is a close match","value":{"result_code":"close_match","reason":{"type":"eu_cop","code":"close_match"},"individual_name":{"first_name":"Petras","last_name":"Petrauskas"}}},"close_match_company_name_eur":{"summary":"(EUR) Company account name is a close match","value":{"result_code":"close_match","reason":{"type":"eu_cop","code":"close_match"},"company_name":"Petras Petrauskas UAB"}},"account_does_not_match_individual_eur":{"summary":"(EUR) Provided details for individual do not match account details","value":{"result_code":"not_matched","reason":{"type":"au_cop","code":"not_matched"},"individual_name":{"first_name":"Piter","last_name":"Petrauskas"}}},"account_does_not_match_company_eur":{"summary":"(EUR) Provided details for company do not match account details","value":{"result_code":"not_matched","reason":{"type":"uk_cop","code":"not_matched"},"company_name":"Piter Petrauskas Ltd"}},"match_individual_ro":{"summary":"(RO) Account found, partial name returned for individual","value":{"result_code":"matched","individual_name":{"first_name":"Alexandru","last_name":"I."}}},"match_company_ro":{"summary":"(RO) Account found, partial name returned for company","value":{"result_code":"matched","company_name":"Rodri**** SA"}},"cannot_be_checked_not_supported":{"summary":"The specified currency+country combination is invalid or not supported for your region","value":{"result_code":"cannot_be_checked","reason":{"code":"not_supported"}}},"unavailable":{"summary":"Temporarily unavailable","value":{"result_code":"temporarily_unavailable"}}}}},"descriptionNode":"$L14b1"},"400":{"description":"Bad request\n\nReturned, for example, when the data you provided is invalid or required data is missing.\n","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L14b2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L14b3"}},"required":["code","message"]},"examples":{"invalid_sort_code_uk":{"summary":"Invalid sort code (UK)","value":{"message":"Invalid sort code: 54-01-050","code":3000}},"invalid_iban_ro":{"summary":"Invalid IBAN (RO)","value":{"message":"RO49AAAA1B31007593840000 is not a valid IBAN","code":3000}},"country_missing":{"summary":"Country prefix is missing in IBAN","value":{"message":"Required 'country' is missing","code":3000}},"name_missing_eur":{"summary":"Recipient's name is missing","value":{"message":"company_name or individual_name should be provided","code":3000}},"last_name_is_empty_ro":{"summary":"Last name is required but was not provided","value":{"message":"last_name is empty","code":3000}}}}},"descriptionNode":"$L14b4"},"401":{"description":"Unauthorized\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L14b5"},"status":{"type":"string","description":"The HTTP error code.","descriptionNode":"$L14b6"}},"required":["message"]},"examples":{"default":{"value":{"message":"The request should be authorized.","status":401}}}}},"descriptionNode":"$L14b7"},"404":{"description":"Not found\n\nReturned, for example, when your account does not have access to CoP.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L14b8"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L14b9"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"message":"Resource not found","code":3006}}}}},"descriptionNode":"$L14ba"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L14bb"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L14bc"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L14bd"}},"requestBody":{"description":"Counterparty account details","required":true,"content":{"application/json":{"schema":{"discriminator":{"mapping":{"UK":"#/components/schemas/ValidateAccountNameRequestUK","AU":"#/components/schemas/ValidateAccountNameRequestAU","RO":"#/components/schemas/ValidateAccountNameRequestRO","EUR":"#/components/schemas/ValidateAccountNameRequestEUR"}},"oneOf":[{"title":"UK","type":"object","properties":{"account_no":{"type":"string","description":"The account number of the counterparty.","descriptionNode":"$L14be"},"sort_code":{"type":"string","description":"The sort code of the counterparty's account.","descriptionNode":"$L14bf"},"company_name":{"type":"string","description":"The name of the business counterparty.\n\n**Required** when the account type is business (`individual_name` is not specified).\n","descriptionNode":"$L14c0"},"individual_name":{"type":"object","description":"The name of the individual counterparty, split into first name and last name.\n\n**Required** when the account type is personal (`company_name` isn't specified).\n","required":["first_name","last_name"],"properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L14c1"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L14c2"}},"descriptionNode":"$L14c3"}},"required":["account_no","sort_code"]},{"title":"AU","type":"object","properties":{"account_no":{"type":"string","description":"The account number of the counterparty.","descriptionNode":"$L14c4"},"bsb":{"type":"string","description":"The BSB (Bank-State-Branch) number for the counterparty's account.\nUsed to identify the bank and branch in Australia.","descriptionNode":"$L14c5"},"company_name":{"type":"string","description":"The name of the business counterparty.\n\n**Required** when the account type is business (`individual_name` is not specified).\n","descriptionNode":"$L14c6"},"individual_name":{"type":"object","description":"The name of the individual counterparty, split into first name and last name.\n\n**Required** when the account type is personal (`company_name` isn't specified).\n","required":["first_name","last_name"],"properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L14c7"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L14c8"}},"descriptionNode":"$L14c9"}},"required":["account_no","bsb"]},{"title":"RO","type":"object","properties":{"iban":{"type":"string","description":"The IBAN (International Bank Account Number) for the counterparty's account.","descriptionNode":"$L14ca"},"bic":{"type":"string","description":"The BIC (Bank Identifier Code) for the counterparty's account.\nAlso known as the SWIFT code.\nThis value is optional. \nIt can be provided, for example, when the automatic BIC detection fails and the check is unsuccessful.","descriptionNode":"$L14cb"},"recipient_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The counterparty's bank country, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.\n\nFor RO CoP, the **possible value** is `RO`.","examples":["RO"],"descriptionNode":"$L14cc"},"recipient_currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The counterparty account’s currency, provided as a 3-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code.\n\nFor RO CoP, the **possible value** is `RON`.\n","examples":["RON"],"descriptionNode":"$L14cd"},"company_name":{"type":"string","description":"The name of the business counterparty.\n\n**Required** when the account type is business (`individual_name` is not specified).\n\nⓘ Note that for [RO](https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services), the name you provide helps identify the request, but is **not** used for the actual check.\nThe API simply returns the partially masked name associated with the IBAN for you to validate.\nTherefore, the returned name may differ from the one you provide.\n","descriptionNode":"$L14ce"},"individual_name":{"type":"object","description":"The name of the individual counterparty, split into first name and last name.\n\n**Required** when the account type is personal (`company_name` isn't specified).\n\nⓘ Note that for [RO](https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services), the name you provide helps identify the request, but is **not** used for the actual check.\nThe API simply returns the partially masked name associated with the IBAN for you to validate.\nTherefore, the returned name may differ from the one you provide.\n","required":["first_name","last_name"],"properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L14cf"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L14d0"}},"descriptionNode":"$L14d1"}},"required":["iban","recipient_country","recipient_currency"]},{"title":"EUR","type":"object","properties":{"iban":{"type":"string","description":"The IBAN (International Bank Account Number) for the counterparty's account.","descriptionNode":"$L14d2"},"bic":{"type":"string","description":"The BIC (Bank Identifier Code) for the counterparty's account.\nAlso known as the SWIFT code.\nIt can be provided, for example, when the automatic BIC detection fails and the check is unsuccessful.","descriptionNode":"$L14d3"},"recipient_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The counterparty's bank country, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":["FR"],"descriptionNode":"$L14d4"},"recipient_currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The counterparty account’s currency, provided as a 3-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code.\n\nFor VoP, the **possible value** is `EUR`.\n","examples":["EUR"],"descriptionNode":"$L14d5"},"company_name":{"type":"string","description":"The name of the business counterparty.\n\n**Required** when the account type is business (`individual_name` is not specified).\n","descriptionNode":"$L14d6"},"individual_name":{"type":"object","description":"The name of the individual counterparty, split into first name and last name.\n\n**Required** when the account type is personal (`company_name` isn't specified).\n","required":["first_name","last_name"],"properties":{"first_name":{"type":"string","description":"The first name of the recipient.","descriptionNode":"$L14d7"},"last_name":{"type":"string","description":"The last name of the recipient.","descriptionNode":"$L14d8"}},"descriptionNode":"$L14d9"}},"required":["iban","recipient_country","recipient_currency"]}]},"examples":{"uk_individual":{"summary":"UK individual counterparty (personal account)","value":{"sort_code":"54-01-05","account_no":"12345678","individual_name":{"first_name":"John","last_name":"Smith"}}},"uk_company":{"summary":"UK company (business account)","value":{"sort_code":"54-01-05","account_no":"12345678","company_name":"John Smith Co."}},"eu_individual":{"summary":"EUR individual counterparty (personal account)","value":{"iban":"LT479258808892168739","recipient_country":"LT","recipient_currency":"EUR","individual_name":{"first_name":"Petras","last_name":"Petrauskas"}}},"eu_company":{"summary":"EUR company (business account)","value":{"iban":"LT479258808892168739","recipient_country":"LT","recipient_currency":"EUR","company_name":"Petras Petrauskas UAB"}},"ro_individual":{"summary":"RO individual counterparty (personal account)","value":{"iban":"RO1598536106002528374911","recipient_country":"RO","recipient_currency":"RON","individual_name":{"first_name":"Alexandru","last_name":"Ionescu"}}},"ro_company":{"summary":"RO company (business account)","value":{"iban":"RO1598536106002528374911","recipient_country":"RO","recipient_currency":"RON","company_name":"Alexandru Ionescu SRL"}},"au_individual":{"summary":"AU individual counterparty (personal account)","value":{"account_no":"486196918","bsb":"159517","individual_name":{"first_name":"Joseph","last_name":"Bloggs"}}},"au_company":{"summary":"AU company (business account)","value":{"account_no":"486196918","bsb":"159517","company_name":"Joseph Bloggs Pty Ltd"}}}}},"descriptionNode":"$L14da"},"variantLabels":["(UK) Individual account name and number match","(UK) Company account name and number match","(UK) Names match but counterparty is an individual, not a company","(UK) Names match but counterparty is a company, not an individual","(UK) Individual account name is a close match","(UK) Company account name is a close match","(UK) Names are similar and counterparty is an individual, not a company","(UK) Names are similar and counterparty is a company, not an individual","(UK) Provided details for individual do not match account details","(UK) Provided details for company do not match account details","(UK) Account does not exist","(UK) Account switched","(UK) Account cannot be checked","(AU) Individual account name and number match","(AU) Company account name and number match","(AU) Names match but counterparty is an individual, not a company","(AU) Names match but counterparty is a company, not an individual","(AU) Company account name is a close match","(AU) Provided details for individual do not match account details","(AU) Provided details for company do not match account details","(EUR) Individual account name and number match","(EUR) Company account name and number match","(EUR) Names match, though counterparty is an individual, not a company","(EUR) Names match, though counterparty is a company, not an individual","(EUR) Individual account name is a close match","(EUR) Company account name is a close match","(EUR) Provided details for individual do not match account details","(EUR) Provided details for company do not match account details","(RO) Account found, partial name returned for individual","(RO) Account found, partial name returned for company","The specified currency+country combination is invalid or not supported for your region","Temporarily unavailable"],"children":["$L14db","$L14dc"]}]}],false]}] 14db:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"validate-account-name","children":[["$L14dd","$undefined"],["$","$L3a",null,{"id":"validate-account-name"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/validate-account-name.md"}]]}]}],"$undefined"]}] 14df:T767,
curl -X POST "https://b2b.revolut.com/api/1.0/account-name-validation" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}'
14e0:T11a8,
const payload = {
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
};
fetch("https://b2b.revolut.com/api/1.0/account-name-validation", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
14e1:T165f,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/account-name-validation"
  jsonData := []byte(`
{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/account-name-validation"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
14e3:T1bc6,
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 = """
{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/account-name-validation"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/account-name-validation"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""sort_code"": ""54-01-05"",
  ""account_no"": ""12345678"",
  ""individual_name"": {
    ""first_name"": ""John"",
    ""last_name"": ""Smith""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
14e5:T76f,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/account-name-validation" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}'
14e6:T11b0,
const payload = {
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/account-name-validation", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
14e7:T1667,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/account-name-validation"
  jsonData := []byte(`
{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/account-name-validation"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
14e9:T1bce,
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 = """
{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/account-name-validation"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
14ea:T237a,
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-b2b.revolut.com/api/1.0/account-name-validation"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""sort_code"": ""54-01-05"",
  ""account_no"": ""12345678"",
  ""individual_name"": {
    ""first_name"": ""John"",
    ""last_name"": ""Smith""
  }
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
14dc:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L14de",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$55:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$55:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/account-name-validation\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}'","templateHtml":"$14df","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n};\nfetch(\"https://b2b.revolut.com/api/1.0/account-name-validation\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$14e0","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/account-name-validation\"\n jsonData := []byte(`\n{\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$14e1","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/account-name-validation\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$14e2","tokens":[],"defaults":{}},{"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 \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/account-name-validation\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$14e3","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/account-name-validation\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"sort_code\"\": \"\"54-01-05\"\",\n \"\"account_no\"\": \"\"12345678\"\",\n \"\"individual_name\"\": {\n \"\"first_name\"\": \"\"John\"\",\n \"\"last_name\"\": \"\"Smith\"\"\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":"$14e4","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/account-name-validation\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}'","templateHtml":"$14e5","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/account-name-validation\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$14e6","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/account-name-validation\"\n jsonData := []byte(`\n{\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$14e7","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/account-name-validation\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$14e8","tokens":[],"defaults":{}},{"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 \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/account-name-validation\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$14e9","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/account-name-validation\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"sort_code\"\": \"\"54-01-05\"\",\n \"\"account_no\"\": \"\"12345678\"\",\n \"\"individual_name\"\": {\n \"\"first_name\"\": \"\"John\"\",\n \"\"last_name\"\": \"\"Smith\"\"\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":"$14ea","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/account-name-validation","parameters":[]}],"$L14eb"],"$L14ec","$L14ed"]}]]}] 14ee:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)14eb:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$14ee","descriptionNode":"$L14ef"}}}] 14ec:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"uk_individual","label":"UK individual counterparty (personal account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:uk_individual:value","block":"$L14f0"},{"key":"uk_company","label":"UK company (business account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:uk_company:value","block":"$L14f1"},{"key":"eu_individual","label":"EUR individual counterparty (personal account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:eu_individual:value","block":"$L14f2"},{"key":"eu_company","label":"EUR company (business account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:eu_company:value","block":"$L14f3"},{"key":"ro_individual","label":"RO individual counterparty (personal account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:ro_individual:value","block":"$L14f4"},{"key":"ro_company","label":"RO company (business account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:ro_company:value","block":"$L14f5"},{"key":"au_individual","label":"AU individual counterparty (personal account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:au_individual:value","block":"$L14f6"},{"key":"au_company","label":"AU company (business account)","rawValue":"$55:props:children:0:props:children:props:requestBody:content:application/json:examples:au_company:value","block":"$L14f7"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 14ed:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"match_individual_uk","label":"(UK) Individual account name and number match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_individual_uk:value","block":"$L14f8"},{"key":"match_company_uk","label":"(UK) Company account name and number match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_company_uk:value","block":"$L14f9"},{"key":"match_but_individual_account_type_uk","label":"(UK) Names match but counterparty is an individual, not a company","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_but_individual_account_type_uk:value","block":"$L14fa"},{"key":"match_but_company_account_type_uk","label":"(UK) Names match but counterparty is a company, not an individual","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_but_company_account_type_uk:value","block":"$L14fb"},{"key":"close_match_individual_name_uk","label":"(UK) Individual account name is a close match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_individual_name_uk:value","block":"$L14fc"},{"key":"close_match_company_name_uk","label":"(UK) Company account name is a close match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_company_name_uk:value","block":"$L14fd"},{"key":"close_match_individual_name_and_account_type_uk","label":"(UK) Names are similar and counterparty is an individual, not a company","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_individual_name_and_account_type_uk:value","block":"$L14fe"},{"key":"close_match_company_name_and_account_type_uk","label":"(UK) Names are similar and counterparty is a company, not an individual","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_company_name_and_account_type_uk:value","block":"$L14ff"},{"key":"account_does_not_match_individual_uk","label":"(UK) Provided details for individual do not match account details","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_match_individual_uk:value","block":"$L1500"},{"key":"account_does_not_match_company_uk","label":"(UK) Provided details for company do not match account details","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_match_company_uk:value","block":"$L1501"},{"key":"account_does_not_exist_uk","label":"(UK) Account does not exist","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_exist_uk:value","block":"$L1502"},{"key":"account_switched_uk","label":"(UK) Account switched","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_switched_uk:value","block":"$L1503"},{"key":"cannot_be_checked_uk","label":"(UK) Account cannot be checked","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:cannot_be_checked_uk:value","block":"$L1504"},{"key":"match_individual_au","label":"(AU) Individual account name and number match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_individual_au:value","block":"$L1505"},{"key":"match_company_au","label":"(AU) Company account name and number match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_company_au:value","block":"$L1506"},{"key":"match_but_individual_account_type_au","label":"(AU) Names match but counterparty is an individual, not a company","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_but_individual_account_type_au:value","block":"$L1507"},{"key":"match_but_company_account_type_au","label":"(AU) Names match but counterparty is a company, not an individual","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_but_company_account_type_au:value","block":"$L1508"},{"key":"close_match_company_name_au","label":"(AU) Company account name is a close match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_company_name_au:value","block":"$L1509"},{"key":"account_does_not_match_individual_au","label":"(AU) Provided details for individual do not match account details","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_match_individual_au:value","block":"$L150a"},{"key":"account_does_not_match_company_au","label":"(AU) Provided details for company do not match account details","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_match_company_au:value","block":"$L150b"},{"key":"match_individual_eur","label":"(EUR) Individual account name and number match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_individual_eur:value","block":"$L150c"},{"key":"match_company_eur","label":"(EUR) Company account name and number match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_company_eur:value","block":"$L150d"},{"key":"match_but_individual_account_type_eur","label":"(EUR) Names match, though counterparty is an individual, not a company","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_but_individual_account_type_eur:value","block":"$L150e"},{"key":"match_but_company_account_type_eur","label":"(EUR) Names match, though counterparty is a company, not an individual","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_but_company_account_type_eur:value","block":"$L150f"},{"key":"close_match_individual_name_eur","label":"(EUR) Individual account name is a close match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_individual_name_eur:value","block":"$L1510"},{"key":"close_match_company_name_eur","label":"(EUR) Company account name is a close match","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:close_match_company_name_eur:value","block":"$L1511"},{"key":"account_does_not_match_individual_eur","label":"(EUR) Provided details for individual do not match account details","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_match_individual_eur:value","block":"$L1512"},{"key":"account_does_not_match_company_eur","label":"(EUR) Provided details for company do not match account details","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:account_does_not_match_company_eur:value","block":"$L1513"},{"key":"match_individual_ro","label":"(RO) Account found, partial name returned for individual","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_individual_ro:value","block":"$L1514"},{"key":"match_company_ro","label":"(RO) Account found, partial name returned for company","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:match_company_ro:value","block":"$L1515"},{"key":"cannot_be_checked_not_supported","label":"The specified currency+country combination is invalid or not supported for your region","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:cannot_be_checked_not_supported:value","block":"$L1516"},{"key":"unavailable","label":"Temporarily unavailable","rawValue":"$55:props:children:0:props:children:props:responses:200:content:application/json:examples:unavailable:value","block":"$L1517"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"invalid_sort_code_uk","label":"Invalid sort code (UK)","rawValue":"$55:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_sort_code_uk:value","block":"$L1518"},{"key":"invalid_iban_ro","label":"Invalid IBAN (RO)","rawValue":"$55:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_iban_ro:value","block":"$L1519"},{"key":"country_missing","label":"Country prefix is missing in IBAN","rawValue":"$55:props:children:0:props:children:props:responses:400:content:application/json:examples:country_missing:value","block":"$L151a"},{"key":"name_missing_eur","label":"Recipient's name is missing","rawValue":"$55:props:children:0:props:children:props:responses:400:content:application/json:examples:name_missing_eur:value","block":"$L151b"},{"key":"last_name_is_empty_ro","label":"Last name is required but was not provided","rawValue":"$55:props:children:0:props:children:props:responses:400:content:application/json:examples:last_name_is_empty_ro:value","block":"$L151c"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$55:props:children:0:props:children:props:responses:401:content:application/json:examples:default:value","block":"$L151d"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$55:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L151e"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L151f"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 14dd:"Validate an account name (CoP/VoP)" 1490:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of the check."}],"\n",["$","p","p-1",{"children":"Possible values for UK:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"matched"}],":"]}]," The name and account type match the provided details."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"close_match"}],":"]}]," The name and/or account type are similar to the provided values:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["The name is a match, but the account type is incorrect.\nFor example, an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],".\nThe ",["$","strong","strong-0",{"children":"actual account type"}]," is returned."]}],"\n",["$","li","li-1",{"children":["The name is similar to the provided values.\nAccount type is correct.\nThe ",["$","strong","strong-0",{"children":"actual name"}]," is returned."]}],"\n",["$","li","li-2",{"children":["The name is similar to the provided values, and the account type is incorrect.\nThe ",["$","strong","strong-0",{"children":"actual values"}]," are returned."]}],"\n"]}],"\n",["$","p","p-1",{"children":"The actual values are returned."}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"not_matched"}],":"]}]," The name and account type don't match the provided values."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"cannot_be_checked"}],":"]}]," The check cannot be performed and retries won't help.\nFor example, the recipient's bank doesn't support CoP."]}],"\n"]}],"\n",["$","li","li-4",{"children":["\n",["$","p","p-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"temporarily_unavailable"}],":"]}]," The check cannot be performed right now.\nFor example, the recipient's bank didn't respond to our request.\nYou should retry the request later."]}],"\n"]}],"\n"]}]]}] 1491:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason type.\nDetermines the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"service"}]," used for the validation that returned the reason code.\nFor UK, the values is: ",["$","code","code-0",{"children":"uk_cop"}],"."]}]]}] 1493:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason code. Possible values for UK:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"close_match"}]}],": The provided name is similar to the account name, the account type is correct.\nThe actual name is returned."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"individual_account_name_matched"}]}],": The names match but the counterparty is an individual, not a business."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"company_account_name_matched"}]}],": The names match but the counterparty is a business, not an individual."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"individual_account_close_match"}]}],": The provided name is similar to the account name, and the account type is incorrect – the counterparty is an individual, not a business.\nThe actual name is returned."]}],"\n",["$","li","li-4",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"company_account_close_match"}]}],": The provided name is similar to the account name, and the account type is incorrect - the counterparty is a business, not an individual.\nThe actual name is returned."]}],"\n",["$","li","li-5",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"not_matched"}]}],": The account details don't match the provided values."]}],"\n",["$","li","li-6",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"account_does_not_exist"}]}],": The account does not exist."]}],"\n",["$","li","li-7",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"account_switched"}]}],": The account has been switched using the Current Account Switching Service.\nPlease contact the recipient for updated account details."]}],"\n",["$","li","li-8",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"cannot_be_checked"}]}],": The account cannot be checked."]}],"\n"]}]]}] 1494:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A code which explains why a given result was returned, and the service that returned it.\nFor example, it might happen that the details you provided match the account details, but you specified the counterparty as an individual, and the account type is business."}]]}] 1495:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the recipient when the account type is business.\nProvided only if ",["$","code","code-0",{"children":"individual_name"}]," is not specified."]}],"\n",["$","p","p-1",{"children":"When the name is a close match, the actual full name is returned, otherwise, the name you provided is returned."}]]}] 1496:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 1497:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 1498:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the recipient when the account type is personal.\nProvided only if ",["$","code","code-0",{"children":"company_name"}]," is not specified."]}],"\n",["$","p","p-1",{"children":"When the name is a close match, the actual first and last names are returned in full."}]]}] 1499:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of the check."}],"\n",["$","p","p-1",{"children":"Possible values for AU:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"matched"}],":"]}]," The name matches the provided details.\nFor personal accounts, this also covers ",["$","strong","strong-1",{"children":"close matches"}],", in which case the ",["$","strong","strong-2",{"children":"actual name"}]," is returned."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"close_match"}]," (business account):"]}]," The name is similar to the provided value."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"not_matched"}],":"]}]," The name doesn't match the provided values."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"cannot_be_checked"}],":"]}]," The check cannot be performed and retries won't help.\nFor example, the recipient's bank doesn't support CoP."]}],"\n",["$","li","li-4",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"temporarily_unavailable"}],":"]}]," The check cannot be performed right now.\nFor example, the recipient's bank didn't respond to our request.\nYou should retry the request later."]}],"\n"]}]]}] 149a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason type.\nDetermines the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"service"}]," used for the validation that returned the reason code.\nFor AU, the value is: ",["$","code","code-0",{"children":"au_cop"}],"."]}]]}] 149b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason code. Possible values for AU:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"close_match"}]}]," (business accounts): The provided name is similar to the account name.\nThe actual name is returned. Mismatched account type is corrected."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"not_matched"}]}],": The account details don't match the provided values."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"account_does_not_exist"}]}],": The account does not exist."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"account_switched"}]}],": The account has been switched using the Current Account Switching Service.\nPlease contact the recipient for updated account details."]}],"\n",["$","li","li-4",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"cannot_be_checked"}]}],": The account cannot be checked."]}],"\n"]}]]}] 149c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A code which explains why a given result was returned, and the service that returned it.\nIn some cases, it may provide more details about the result."}]]}] 149d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the recipient when the account type is business.\nProvided only if ",["$","code","code-0",{"children":"individual_name"}]," is not specified."]}],"\n",["$","p","p-1",{"children":"When the name is a close match, the actual full name is returned.\nOtherwise, the name you provided is returned."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Mismatched name type is corrected"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The mismatched name type in the request is corrected in the response.\nThis means that, for example, if an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],", in the response it is returned under ",["$","code","code-1",{"children":"individual_name"}],"."]}]}]]}]]}] 149e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 149f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 14a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the recipient when the account type is personal.\nProvided only if ",["$","code","code-0",{"children":"company_name"}]," is not specified."]}],"\n",["$","p","p-1",{"children":"When the name is a close match, the actual first and last names are returned.\nOtherwise, the name you provided is returned."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Mismatched name type is corrected"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The mismatched name type in the request is corrected in the response.\nThis means that, for example, if an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],", in the response it is returned under ",["$","code","code-1",{"children":"individual_name"}],"."]}]}]]}]]}] 14a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of the check."}],"\n",["$","p","p-1",{"children":["For RO CoP, the API ",["$","strong","strong-0",{"children":"checks if an account exists for the provided IBAN"}],".\nPossible results are:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"matched"}],":"]}]," An account with the provided IBAN was found.\nWhen this status is returned, the API also returns a partial name of the account holder.\nUse this returned name to validate your recipient's details."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"cannot_be_checked"}],":"]}]," The check cannot be performed and retries won't help.\nFor example, the recipient's bank doesn't support CoP."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"temporarily_unavailable"}],":"]}]," The check cannot be performed right now.\nFor example, the recipient's bank didn't respond to our request.\nYou should retry the request later."]}],"\n"]}]]}] 14a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason type.\nDetermines the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"service"}]," used for the validation that returned the reason code.\nFor RO, the value is: ",["$","code","code-0",{"children":"ro_cop"}],"."]}]]}] 14a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason code. Possible values for RO:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"cannot_be_checked"}]}],": The account cannot be checked."]}],"\n"]}]]}] 14a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A code which explains why a given result was returned, and the service that returned it."}]]}] 14a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","strong","strong-0",{"children":"partially masked"}]," name of the recipient when the account type is business.\nProvided only if ",["$","code","code-0",{"children":"individual_name"}]," is not specified."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Name considerations"}],["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["The name you provide helps identify the request, but is not used for the actual check.\nThe API simply returns the partial name associated with the IBAN for you to validate.\nTherefore, the ",["$","strong","strong-0",{"children":"returned name may differ"}]," from the one you provided."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Mismatched name type is not corrected"}],".\nThis means that the name type in the response is returned as it was provided in the request.\nFor example, if an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],", in the response it's still returned under ",["$","code","code-1",{"children":"company_name"}]," (instead of ",["$","code","code-2",{"children":"individual_name"}],")."]}],"\n"]}]}]]}]]}] 14a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 14a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The initial of the last name of the recipient."}]]}] 14a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The partial name of the recipient when the account type is personal, that is, the first name and the last name's initial.\nProvided only if ",["$","code","code-0",{"children":"company_name"}]," is not specified."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Name considerations"}],["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["The name you provide helps identify the request, but is not used for the actual check.\nThe API simply returns the partial name associated with the IBAN for you to validate.\nTherefore, the ",["$","strong","strong-0",{"children":"returned name may differ"}]," from the one you provided."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Mismatched name type is not corrected"}],".\nThis means that the name type in the response is returned as it was provided in the request.\nFor example, if an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],", in the response it's still returned under ",["$","code","code-1",{"children":"company_name"}]," (instead of ",["$","code","code-2",{"children":"individual_name"}],")."]}],"\n"]}]}]]}]]}] 14a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The result of the check."}],"\n",["$","p","p-1",{"children":"Possible values for EUR:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"matched"}],":"]}]," The name matches the provided details."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"close_match"}],":"]}]," The recipient's name is similar to the provided value.\nThe ",["$","strong","strong-1",{"children":"actual name"}]," is returned."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"not_matched"}],":"]}]," The name and account type don't match the provided values.\nThe ",["$","strong","strong-1",{"children":"name provided in the request"}]," is returned."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"cannot_be_checked"}],":"]}]," The check cannot be performed and retries won't help.\nFor example, the recipient's bank doesn't support VoP."]}],"\n",["$","li","li-4",{"children":[["$","strong","strong-0",{"children":[["$","code","code-0",{"children":"temporarily_unavailable"}],":"]}]," The check cannot be performed right now.\nFor example, the recipient's bank didn't respond to our request.\nYou should retry the request later."]}],"\n"]}]]}] 14aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The reason type.\nDetermines the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"service"}]," used for the validation that returned the reason code.\nFor EUR, the value is: ",["$","code","code-0",{"children":"eu_cop"}],"."]}]]}] 14ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The reason code. Possible values for EUR:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"close_match"}]}],": The provided name is similar to the account name.\nThe actual name is returned."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"not_matched"}]}],": The account details don't match the provided values."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"account_does_not_exist"}]}],": The account does not exist."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"account_switched"}]}],": The account has been switched using the Current Account Switching Service.\nPlease contact the recipient for updated account details."]}],"\n",["$","li","li-4",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"cannot_be_checked"}]}],": The account cannot be checked."]}],"\n"]}]]}] 14ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A code which explains why a given result was returned, and the service that returned it.\nFor example, it might happen that the details you provided match the account details, but you specified the counterparty as an individual, and the account type is business."}]]}] 14ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the recipient when the account type is business.\nProvided only if ",["$","code","code-0",{"children":"individual_name"}]," is not specified."]}],"\n",["$","p","p-1",{"children":"When the name is a close match, the actual name is returned.\nOtherwise, the name you provided is returned."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Mismatched name type is not corrected"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The name type in the response is returned as it was provided in the request.\nFor example, if an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],", in the response it's still returned under ",["$","code","code-1",{"children":"company_name"}]," (instead of ",["$","code","code-2",{"children":"individual_name"}],")."]}]}]]}]]}] 14ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 14af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 14b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the recipient when the account type is personal.\nProvided only if ",["$","code","code-0",{"children":"company_name"}]," is not specified."]}],"\n",["$","p","p-1",{"children":"When the name is a close match, the actual name is returned.\nOtherwise, the name you provided is returned."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Mismatched name type is not corrected"}],["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The name type in the response is returned as it was provided in the request.\nFor example, if an individual recipient's name was provided under ",["$","code","code-0",{"children":"company_name"}],", in the response it's still returned under ",["$","code","code-1",{"children":"company_name"}]," (instead of ",["$","code","code-2",{"children":"individual_name"}],")."]}]}]]}]]}] 14b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Account name validation result"}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":["\n",["$","p","p-0",{"children":"The actual results returned in the response come from the CoP services, not from Revolut.\nThe Business API passes them on as received."}],"\n",["$","p","p-1",{"children":"Because of this, the descriptions below should be treated as an approximation rather than complete documentation."}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":"The responses differ depending on the CoP service, even when the schema appears the same.\nMake sure that you refer to the appropriate response variant."}],"\n"]}],"\n"]}]}]]}]]}] 14b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 14b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 14b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the data you provided is invalid or required data is missing."}]]}] 14b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 14b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The HTTP error code."}]]}] 14b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorized"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 14b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 14b9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 14ba:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not found"}],"\n",["$","p","p-1",{"children":"Returned, for example, when your account does not have access to CoP."}]]}] 14bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 14bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 14bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 14be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account number of the counterparty."}]]}] 14bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The sort code of the counterparty's account."}]]}] 14c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the business counterparty."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is business (",["$","code","code-0",{"children":"individual_name"}]," is not specified)."]}]]}] 14c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 14c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 14c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the individual counterparty, split into first name and last name."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is personal (",["$","code","code-0",{"children":"company_name"}]," isn't specified)."]}]]}] 14c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The account number of the counterparty."}]]}] 14c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BSB (Bank-State-Branch) number for the counterparty's account.\nUsed to identify the bank and branch in Australia."}]]}] 14c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the business counterparty."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is business (",["$","code","code-0",{"children":"individual_name"}]," is not specified)."]}]]}] 14c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 14c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 14c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the individual counterparty, split into first name and last name."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is personal (",["$","code","code-0",{"children":"company_name"}]," isn't specified)."]}]]}] 14ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN (International Bank Account Number) for the counterparty's account."}]]}] 14cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC (Bank Identifier Code) for the counterparty's account.\nAlso known as the SWIFT code.\nThis value is optional.\nIt can be provided, for example, when the automatic BIC detection fails and the check is unsuccessful."}]]}] 14cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty's bank country, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}],"\n",["$","p","p-1",{"children":["For RO CoP, the ",["$","strong","strong-0",{"children":"possible value"}]," is ",["$","code","code-0",{"children":"RO"}],"."]}]]}] 14cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty account’s currency, provided as a 3-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code."]}],"\n",["$","p","p-1",{"children":["For RO CoP, the ",["$","strong","strong-0",{"children":"possible value"}]," is ",["$","code","code-0",{"children":"RON"}],"."]}]]}] 14ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the business counterparty."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is business (",["$","code","code-0",{"children":"individual_name"}]," is not specified)."]}],"\n",["$","p","p-2",{"children":["ⓘ Note that for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"RO"}],", the name you provide helps identify the request, but is ",["$","strong","strong-0",{"children":"not"}]," used for the actual check.\nThe API simply returns the partially masked name associated with the IBAN for you to validate.\nTherefore, the returned name may differ from the one you provide."]}]]}] 14cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 14d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 14d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the individual counterparty, split into first name and last name."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is personal (",["$","code","code-0",{"children":"company_name"}]," isn't specified)."]}],"\n",["$","p","p-2",{"children":["ⓘ Note that for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"RO"}],", the name you provide helps identify the request, but is ",["$","strong","strong-0",{"children":"not"}]," used for the actual check.\nThe API simply returns the partially masked name associated with the IBAN for you to validate.\nTherefore, the returned name may differ from the one you provide."]}]]}] 14d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN (International Bank Account Number) for the counterparty's account."}]]}] 14d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC (Bank Identifier Code) for the counterparty's account.\nAlso known as the SWIFT code.\nIt can be provided, for example, when the automatic BIC detection fails and the check is unsuccessful."}]]}] 14d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty's bank country, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 14d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty account’s currency, provided as a 3-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code."]}],"\n",["$","p","p-1",{"children":["For VoP, the ",["$","strong","strong-0",{"children":"possible value"}]," is ",["$","code","code-0",{"children":"EUR"}],"."]}]]}] 14d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the business counterparty."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is business (",["$","code","code-0",{"children":"individual_name"}]," is not specified)."]}]]}] 14d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the recipient."}]]}] 14d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the recipient."}]]}] 14d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the individual counterparty, split into first name and last name."}],"\n",["$","p","p-1",{"children":[["$","strong","strong-0",{"children":"Required"}]," when the account type is personal (",["$","code","code-0",{"children":"company_name"}]," isn't specified)."]}]]}] 14da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Counterparty account details"}]]}] 14de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Validate a counterparty's account name against their account details when ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#add-counterparty","target":"_blank","rel":"noreferrer","children":"adding a counterparty"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#create-payment","target":"_blank","rel":"noreferrer","children":"making a transfer"}]," to a new or existing counterparty."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["The CoP check is ",["$","strong","strong-0",{"children":"not"}]," a complete fraud-prevention tool, and it does ",["$","strong","strong-1",{"children":"not"}]," guarantee the person is who they claim to be.\nIt only confirms that the name and account details your provide match the bank's records."]}],["$","p","p-1",{"children":"Even if the counterparty's details match, you should still exercise due caution when transferring funds."}]]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Availability & Sandbox behaviour"}],["$","div",null,{"className":"_25vm6y3","children":["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["This feature is only available to businesses in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee#supported-regions-and-services","target":"_blank","rel":"noreferrer","children":"supported regions"}],".\nAdditionally, to get access to CoP in the UK, eligible businesses must contact ",["$","a","a-1",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n",["$","li","li-1",{"children":["In Sandbox, this feature is only available for ",["$","strong","strong-0",{"children":"testing"}],".\nWhile ",["$","strong","strong-1",{"children":"incomplete or invalid requests"}]," will return production-like error responses, ",["$","strong","strong-2",{"children":"complete and valid requests"}]," in Sandbox do ",["$","strong","strong-3",{"children":"not"}]," undergo real validation and will always return ",["$","code","code-0",{"children":"cannot_be_checked"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":"The validation relies on different underlying services, depending on the recipient's payment scheme (region and currency).\nThese factors determine which fields you must provide and what response you get."}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"For examples, refer to the request body samples."}],"\n",["$","li","li-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/confirmation-of-payee","target":"_blank","rel":"noreferrer","children":"Validate an account name (CoP/VoP)"}],"."]}],"\n"]}]]}] 14ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L1520","\n","$L1521","\n"]}]]}] 1520:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 1521:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1522:T66a,
{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
14f0:["$","div","request-application/json-uk_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1522"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}"}]}]]}] 1523:T469,
{
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "company_name": "John Smith Co."
}
14f1:["$","div","request-application/json-uk_company",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1523"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"company_name\": \"John Smith Co.\"\n}"}]}]]}] 1524:T792,
{
  "iban": "LT479258808892168739",
  "recipient_country": "LT",
  "recipient_currency": "EUR",
  "individual_name": {
    "first_name": "Petras",
    "last_name": "Petrauskas"
  }
}
14f2:["$","div","request-application/json-eu_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1524"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"iban\": \"LT479258808892168739\",\n \"recipient_country\": \"LT\",\n \"recipient_currency\": \"EUR\",\n \"individual_name\": {\n \"first_name\": \"Petras\",\n \"last_name\": \"Petrauskas\"\n }\n}"}]}]]}] 1525:T591,
{
  "iban": "LT479258808892168739",
  "recipient_country": "LT",
  "recipient_currency": "EUR",
  "company_name": "Petras Petrauskas UAB"
}
14f3:["$","div","request-application/json-eu_company",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1525"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"iban\": \"LT479258808892168739\",\n \"recipient_country\": \"LT\",\n \"recipient_currency\": \"EUR\",\n \"company_name\": \"Petras Petrauskas UAB\"\n}"}]}]]}] 1526:T796,
{
  "iban": "RO1598536106002528374911",
  "recipient_country": "RO",
  "recipient_currency": "RON",
  "individual_name": {
    "first_name": "Alexandru",
    "last_name": "Ionescu"
  }
}
14f4:["$","div","request-application/json-ro_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1526"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"iban\": \"RO1598536106002528374911\",\n \"recipient_country\": \"RO\",\n \"recipient_currency\": \"RON\",\n \"individual_name\": {\n \"first_name\": \"Alexandru\",\n \"last_name\": \"Ionescu\"\n }\n}"}]}]]}] 1527:T595,
{
  "iban": "RO1598536106002528374911",
  "recipient_country": "RO",
  "recipient_currency": "RON",
  "company_name": "Alexandru Ionescu SRL"
}
14f5:["$","div","request-application/json-ro_company",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1527"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"iban\": \"RO1598536106002528374911\",\n \"recipient_country\": \"RO\",\n \"recipient_currency\": \"RON\",\n \"company_name\": \"Alexandru Ionescu SRL\"\n}"}]}]]}] 1528:T666,
{
  "account_no": "486196918",
  "bsb": "159517",
  "individual_name": {
    "first_name": "Joseph",
    "last_name": "Bloggs"
  }
}
14f6:["$","div","request-application/json-au_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1528"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_no\": \"486196918\",\n \"bsb\": \"159517\",\n \"individual_name\": {\n \"first_name\": \"Joseph\",\n \"last_name\": \"Bloggs\"\n }\n}"}]}]]}] 1529:T469,
{
  "account_no": "486196918",
  "bsb": "159517",
  "company_name": "Joseph Bloggs Pty Ltd"
}
14f7:["$","div","request-application/json-au_company",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1529"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"account_no\": \"486196918\",\n \"bsb\": \"159517\",\n \"company_name\": \"Joseph Bloggs Pty Ltd\"\n}"}]}]]}] 152a:T555,
{
  "result_code": "matched",
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
14f8:["$","div","200-application/json-match_individual_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$152a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}"}]}]]}] 14f9:["$","div","200-application/json-match_company_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"matched\",\n  \"company_name\": \"John Smith Co.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"company_name\": \"John Smith Co.\"\n}"}]}]]}] 152b:T848,
{
  "result_code": "close_match",
  "reason": {
    "type": "uk_cop",
    "code": "individual_account_name_matched"
  },
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
14fa:["$","div","200-application/json-match_but_individual_account_type_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$152b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"individual_account_name_matched\"\n },\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}"}]}]]}] 152c:T644,
{
  "result_code": "close_match",
  "reason": {
    "type": "uk_cop",
    "code": "company_account_name_matched"
  },
  "company_name": "John Smith Co."
}
14fb:["$","div","200-application/json-match_but_company_account_type_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$152c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"company_account_name_matched\"\n },\n \"company_name\": \"John Smith Co.\"\n}"}]}]]}] 152d:T834,
{
  "result_code": "close_match",
  "reason": {
    "type": "uk_cop",
    "code": "close_match"
  },
  "individual_name": {
    "first_name": "Joan",
    "last_name": "Smith"
  }
}
14fc:["$","div","200-application/json-close_match_individual_name_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$152d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"close_match\"\n },\n \"individual_name\": {\n \"first_name\": \"Joan\",\n \"last_name\": \"Smith\"\n }\n}"}]}]]}] 152e:T633,
{
  "result_code": "close_match",
  "reason": {
    "type": "uk_cop",
    "code": "close_match"
  },
  "company_name": "Joan Smith Co."
}
14fd:["$","div","200-application/json-close_match_company_name_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$152e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"close_match\"\n },\n \"company_name\": \"Joan Smith Co.\"\n}"}]}]]}] 152f:T847,
{
  "result_code": "close_match",
  "reason": {
    "type": "uk_cop",
    "code": "individual_account_close_match"
  },
  "individual_name": {
    "first_name": "Joan",
    "last_name": "Smith"
  }
}
14fe:["$","div","200-application/json-close_match_individual_name_and_account_type_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$152f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"individual_account_close_match\"\n },\n \"individual_name\": {\n \"first_name\": \"Joan\",\n \"last_name\": \"Smith\"\n }\n}"}]}]]}] 1530:T643,
{
  "result_code": "close_match",
  "reason": {
    "type": "uk_cop",
    "code": "company_account_close_match"
  },
  "company_name": "Joan Smith Co."
}
14ff:["$","div","200-application/json-close_match_company_name_and_account_type_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1530"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"company_account_close_match\"\n },\n \"company_name\": \"Joan Smith Co.\"\n}"}]}]]}] 1531:T834,
{
  "result_code": "not_matched",
  "reason": {
    "type": "uk_cop",
    "code": "not_matched"
  },
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  }
}
1500:["$","div","200-application/json-account_does_not_match_individual_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1531"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"not_matched\"\n },\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n }\n}"}]}]]}] 1532:T633,
{
  "result_code": "not_matched",
  "reason": {
    "type": "uk_cop",
    "code": "not_matched"
  },
  "company_name": "John Smith Co."
}
1501:["$","div","200-application/json-account_does_not_match_company_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1532"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"not_matched\"\n },\n \"company_name\": \"John Smith Co.\"\n}"}]}]]}] 1533:T558,
{
  "result_code": "not_matched",
  "reason": {
    "type": "uk_cop",
    "code": "account_does_not_exist"
  }
}
1502:["$","div","200-application/json-account_does_not_exist_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1533"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"account_does_not_exist\"\n }\n}"}]}]]}] 1534:T558,
{
  "result_code": "cannot_be_checked",
  "reason": {
    "type": "uk_cop",
    "code": "account_switched"
  }
}
1503:["$","div","200-application/json-account_switched_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1534"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"cannot_be_checked\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"account_switched\"\n }\n}"}]}]]}] 1535:T83e,
{
  "result_code": "cannot_be_checked",
  "reason": {
    "type": "uk_cop",
    "code": "cannot_be_checked"
  },
  "individual_name": {
    "first_name": "Jane",
    "last_name": "Doe"
  }
}
1504:["$","div","200-application/json-cannot_be_checked_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1535"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"cannot_be_checked\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"cannot_be_checked\"\n },\n \"individual_name\": {\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\"\n }\n}"}]}]]}] 1536:T558,
{
  "result_code": "matched",
  "individual_name": {
    "first_name": "Joseph",
    "last_name": "Bloggs"
  }
}
1505:["$","div","200-application/json-match_individual_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1536"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"individual_name\": {\n \"first_name\": \"Joseph\",\n \"last_name\": \"Bloggs\"\n }\n}"}]}]]}] 1506:["$","div","200-application/json-match_company_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"matched\",\n  \"company_name\": \"Joseph Bloggs Pty Ltd\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"company_name\": \"Joseph Bloggs Pty Ltd\"\n}"}]}]]}] 1537:T558,
{
  "result_code": "matched",
  "individual_name": {
    "first_name": "Joseph",
    "last_name": "Bloggs"
  }
}
1507:["$","div","200-application/json-match_but_individual_account_type_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1537"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"individual_name\": {\n \"first_name\": \"Joseph\",\n \"last_name\": \"Bloggs\"\n }\n}"}]}]]}] 1508:["$","div","200-application/json-match_but_company_account_type_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"matched\",\n  \"company_name\": \"Joseph Bloggs Pty Ltd\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"company_name\": \"Joseph Bloggs Pty Ltd\"\n}"}]}]]}] 1538:T639,
{
  "result_code": "close_match",
  "reason": {
    "type": "au_cop",
    "code": "close_match"
  },
  "company_name": "Josef Bloggs Pty Ltd"
}
1509:["$","div","200-application/json-close_match_company_name_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1538"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"au_cop\",\n \"code\": \"close_match\"\n },\n \"company_name\": \"Josef Bloggs Pty Ltd\"\n}"}]}]]}] 1539:T835,
{
  "result_code": "not_matched",
  "reason": {
    "type": "au_cop",
    "code": "not_matched"
  },
  "individual_name": {
    "first_name": "Jane",
    "last_name": "Bloggs"
  }
}
150a:["$","div","200-application/json-account_does_not_match_individual_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1539"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"au_cop\",\n \"code\": \"not_matched\"\n },\n \"individual_name\": {\n \"first_name\": \"Jane\",\n \"last_name\": \"Bloggs\"\n }\n}"}]}]]}] 153a:T638,
{
  "result_code": "not_matched",
  "reason": {
    "type": "uk_cop",
    "code": "not_matched"
  },
  "company_name": "Jane Bloggs Pty Ltd"
}
150b:["$","div","200-application/json-account_does_not_match_company_au",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$153a"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"not_matched\"\n },\n \"company_name\": \"Jane Bloggs Pty Ltd\"\n}"}]}]]}] 153b:T55c,
{
  "result_code": "matched",
  "individual_name": {
    "first_name": "Petras",
    "last_name": "Petrauskas"
  }
}
150c:["$","div","200-application/json-match_individual_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$153b"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"individual_name\": {\n \"first_name\": \"Petras\",\n \"last_name\": \"Petrauskas\"\n }\n}"}]}]]}] 150d:["$","div","200-application/json-match_company_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"matched\",\n  \"company_name\": \"Petras Petrauskas UAB\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"company_name\": \"Petras Petrauskas UAB\"\n}"}]}]]}] 150e:["$","div","200-application/json-match_but_individual_account_type_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"matched\",\n  \"company_name\": \"Petras Petrauskas\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"company_name\": \"Petras Petrauskas\"\n}"}]}]]}] 153c:T560,
{
  "result_code": "matched",
  "individual_name": {
    "first_name": "Petras",
    "last_name": "Petrauskas UAB"
  }
}
150f:["$","div","200-application/json-match_but_company_account_type_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$153c"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"individual_name\": {\n \"first_name\": \"Petras\",\n \"last_name\": \"Petrauskas UAB\"\n }\n}"}]}]]}] 153d:T83b,
{
  "result_code": "close_match",
  "reason": {
    "type": "eu_cop",
    "code": "close_match"
  },
  "individual_name": {
    "first_name": "Petras",
    "last_name": "Petrauskas"
  }
}
1510:["$","div","200-application/json-close_match_individual_name_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$153d"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"eu_cop\",\n \"code\": \"close_match\"\n },\n \"individual_name\": {\n \"first_name\": \"Petras\",\n \"last_name\": \"Petrauskas\"\n }\n}"}]}]]}] 153e:T63a,
{
  "result_code": "close_match",
  "reason": {
    "type": "eu_cop",
    "code": "close_match"
  },
  "company_name": "Petras Petrauskas UAB"
}
1511:["$","div","200-application/json-close_match_company_name_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$153e"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"close_match\",\n \"reason\": {\n \"type\": \"eu_cop\",\n \"code\": \"close_match\"\n },\n \"company_name\": \"Petras Petrauskas UAB\"\n}"}]}]]}] 153f:T83a,
{
  "result_code": "not_matched",
  "reason": {
    "type": "au_cop",
    "code": "not_matched"
  },
  "individual_name": {
    "first_name": "Piter",
    "last_name": "Petrauskas"
  }
}
1512:["$","div","200-application/json-account_does_not_match_individual_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$153f"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"au_cop\",\n \"code\": \"not_matched\"\n },\n \"individual_name\": {\n \"first_name\": \"Piter\",\n \"last_name\": \"Petrauskas\"\n }\n}"}]}]]}] 1540:T639,
{
  "result_code": "not_matched",
  "reason": {
    "type": "uk_cop",
    "code": "not_matched"
  },
  "company_name": "Piter Petrauskas Ltd"
}
1513:["$","div","200-application/json-account_does_not_match_company_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1540"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"not_matched\",\n \"reason\": {\n \"type\": \"uk_cop\",\n \"code\": \"not_matched\"\n },\n \"company_name\": \"Piter Petrauskas Ltd\"\n}"}]}]]}] 1541:T557,
{
  "result_code": "matched",
  "individual_name": {
    "first_name": "Alexandru",
    "last_name": "I."
  }
}
1514:["$","div","200-application/json-match_individual_ro",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1541"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"individual_name\": {\n \"first_name\": \"Alexandru\",\n \"last_name\": \"I.\"\n }\n}"}]}]]}] 1515:["$","div","200-application/json-match_company_ro",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"matched\",\n  \"company_name\": \"Rodri**** SA\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"matched\",\n \"company_name\": \"Rodri**** SA\"\n}"}]}]]}] 1542:T445,
{
  "result_code": "cannot_be_checked",
  "reason": {
    "code": "not_supported"
  }
}
1516:["$","div","200-application/json-cannot_be_checked_not_supported",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1542"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"cannot_be_checked\",\n \"reason\": {\n \"code\": \"not_supported\"\n }\n}"}]}]]}] 1517:["$","div","200-application/json-unavailable",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"result_code\": \"temporarily_unavailable\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"result_code\": \"temporarily_unavailable\"\n}"}]}]]}] 1518:["$","div","400-application/json-invalid_sort_code_uk",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid sort code: 54-01-050\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid sort code: 54-01-050\",\n \"code\": 3000\n}"}]}]]}] 1519:["$","div","400-application/json-invalid_iban_ro",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"RO49AAAA1B31007593840000 is not a valid IBAN\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"RO49AAAA1B31007593840000 is not a valid IBAN\",\n \"code\": 3000\n}"}]}]]}] 151a:["$","div","400-application/json-country_missing",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Required 'country' is missing\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Required 'country' is missing\",\n \"code\": 3000\n}"}]}]]}] 151b:["$","div","400-application/json-name_missing_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"company_name or individual_name should be provided\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"company_name or individual_name should be provided\",\n \"code\": 3000\n}"}]}]]}] 151c:["$","div","400-application/json-last_name_is_empty_ro",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"last_name is empty\",\n  \"code\": 3000\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"last_name is empty\",\n \"code\": 3000\n}"}]}]]}] 151d:["$","div","401-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"The request should be authorized.\",\n  \"status\": 401\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"The request should be authorized.\",\n \"status\": 401\n}"}]}]]}] 151e:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Resource not found\",\n  \"code\": 3006\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Resource not found\",\n \"code\": 3006\n}"}]}]]}] 151f:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 57:["$","$98","add-counterparty",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Added counterparty","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty.","descriptionNode":"$L1543"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L1544"},"revtag":{"type":"string","description":"The [Revtag](https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/) of the counterparty.","descriptionNode":"$L1545"},"profile_type":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:profile_type:enum","description":"The type of the counterparty.\nIndicates whether the recipient is an individual or a company.","descriptionNode":"$L1546"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The counterparty's bank country, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L1547"},"state":{"enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"Indicates the state of the counterparty.","type":"string","descriptionNode":"$L1548"},"created_at":{"type":"string","format":"date-time","description":"The date and time the counterparty was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L1549"},"updated_at":{"type":"string","format":"date-time","description":"The date and time the counterparty was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","descriptionNode":"$L154a"},"accounts":{"type":"array","description":"The list of public accounts associated with this counterparty.","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty's account.","descriptionNode":"$L154b"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L154c"},"bank_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$2b4:props:children:0:props:children:1:props:parameters:0:schema:examples","descriptionNode":"$L154d"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L154e"},"type":{"enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:type:enum","description":"Indicates the type of account.","type":"string","descriptionNode":"$L154f"},"account_no":{"type":"string","description":"The bank account number of the counterparty.","descriptionNode":"$L1550"},"iban":{"type":"string","description":"The IBAN number of the counterparty's account if applicable.","descriptionNode":"$L1551"},"sort_code":{"type":"string","description":"The sort code of the counterparty's account if applicable.","descriptionNode":"$L1552"},"routing_number":{"type":"string","description":"The routing number of the counterparty's account if applicable.","descriptionNode":"$L1553"},"bic":{"type":"string","description":"The BIC number of the counterparty's account if applicable.","descriptionNode":"$L1554"},"clabe":{"type":"string","description":"The CLABE number of the counterparty's account if applicable.","descriptionNode":"$L1555"},"ifsc":{"type":"string","description":"The IFSC number of the counterparty's account if applicable.","descriptionNode":"$L1556"},"bsb_code":{"type":"string","description":"The BSB number of the counterparty's account if applicable.","descriptionNode":"$L1557"},"route":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:route:enum","description":"Routing method for US/USD transfers. Defaults to `ach` for US-registered businesses and `fedwire` for non-US businesses.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:route:examples","descriptionNode":"$L1558"},"bank_number":{"type":"string","description":"Brazilian bank identification code (COMPE). Returned for BR counterparties.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:bank_number:examples","descriptionNode":"$L1559"},"branch_code":{"type":"string","description":"Brazilian branch (agência) code. Returned for BR counterparties.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:branch_code:examples","descriptionNode":"$L155a"},"account_type":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:account_type:enum","description":"Bank account type. Returned for BR, CO, and CL counterparties. Defaults to `checking` for US ACH transfers.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:account_type:examples","descriptionNode":"$L155b"},"tax_id":{"type":"string","maxLength":20,"description":"Tax identification number.\nRouted based on `bank_country` and recipient type:\n- **BR**:\n - **Individual**: CPF (Cadastro de Pessoas Físicas). Accepted formats: `^\\d{11}$` or `^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$`.\n - **Company**: CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: `^\\d{14}$` or `^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$`.\n- **CO (company)**: NIT (Número de Identificación Tributaria). Accepted format: `^\\d{10}$`.\n- **CL (individual, company)**: RUT (Rol Único Tributario).","descriptionNode":"$L155c"},"national_id":{"type":"string","description":"National identification number.\nSpecifies Colombian Cédula de Ciudadanía when `bank_country` is `CO` and `profile_type` is `personal`.","descriptionNode":"$L155d"},"phone":{"type":"string","maxLength":20,"description":"The phone number of the counterparty in [E.164](https://en.wikipedia.org/wiki/E.164) format.\n\nCountry-specific formats:\n- **CO**: `+57` followed by 10 digits (`^\\+?57\\d{10}$`)\n- **LK**: `+94` followed by 10 digits (`^\\+?94\\d{10}$`)\n- **KR**: `+82` followed by 10 digits (`^\\+?82\\d{10}$`)","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:phone:examples","descriptionNode":"$L155e"},"business_registration_id":{"type":"string","maxLength":64,"description":"Company registration number. Used for business LK counterparties.","examples":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:business_registration_id:examples","descriptionNode":"$L155f"},"recipient_charges":{"enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:recipient_charges:enum","description":"Indicates the possibility of the recipient charges.\n\n:::warning\nThis field is deprecated and should be disregarded.\nIt is returned for legacy purposes only.\n:::","type":"string","deprecated":true,"descriptionNode":"$L1560"},"address":{"type":"object","description":"The address of the counterparty's account.","required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:properties:address:required","properties":{"street_line1":{"type":"string","maxLength":100,"description":"Street line 1 information.","descriptionNode":"$L1561"},"street_line2":{"type":"string","maxLength":100,"description":"Street line 2 information.","descriptionNode":"$L1562"},"region":{"type":"string","maxLength":50,"description":"The name of the region (state or province), for example, Ontario for Canada.","descriptionNode":"$L1563"},"city":{"type":"string","maxLength":50,"description":"The name of the city.","descriptionNode":"$L1564"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the counterparty, as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L1565"},"postcode":{"type":"string","maxLength":15,"description":"The postcode of the counterparty address.","descriptionNode":"$L1566"}},"descriptionNode":"$L1567"}},"required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:accounts:items:required"},"descriptionNode":"$L1568"},"cards":{"type":"array","description":"The list of cards associated with this counterparty.","items":{"type":"object","required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:cards:items:required","properties":{"id":{"type":"string","format":"uuid","description":"The ID of the counterparty's card.","descriptionNode":"$L1569"},"name":{"type":"string","description":"The name of the counterparty.","descriptionNode":"$L156a"},"last_digits":{"type":"string","description":"The last four digits of the card number.","descriptionNode":"$L156b"},"scheme":{"type":"string","enum":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:cards:items:properties:scheme:enum","description":"The card brand.","descriptionNode":"$L156c"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the card issuer, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","descriptionNode":"$L156d"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L156e"}}},"descriptionNode":"$L156f"}},"required":"$5a:props:children:0:props:children:props:responses:200:content:application/json:schema:required"},"examples":{"revolut_counterparty_individual":{"summary":"Revolut individual counterparty","value":{"id":"54ee57d7-1234-abcd-1234-0e1f79164d5e","name":"John Smith","revtag":"johnsmith","profile_type":"personal","country":"GB","state":"created","created_at":"2023-07-26T09:34:41.790401Z","updated_at":"2023-07-26T09:34:41.790401Z"}},"revolut_counterparty_business":{"summary":"Revolut business counterparty","value":{"id":"11cae5ef-ec24-401d-98a3-e5baa0041671","name":"John Smith Co.","revtag":"jsmithco1","profile_type":"business","country":"GB","state":"created","created_at":"2025-09-16T09:34:41.790401Z","updated_at":"2025-09-16T09:34:41.790401Z"}},"uk_individual":{"summary":"UK individual counterparty","value":{"id":"19dcf5a2-110f-43f7-9d5f-98aaf4b8f0d6","name":"John Smith","profile_type":"personal","state":"created","created_at":"2023-03-13T09:34:41.790401Z","updated_at":"2023-03-13T09:34:41.790401Z","accounts":[{"account_no":"12345678","sort_code":"540105","id":"6f45a49a-710c-4ef4-b42b-6c247c82af75","name":"John Doe","bank_country":"GB","currency":"GBP","type":"external"}]}},"uk_business":{"summary":"UK business counterparty","value":{"id":"b53fdd78-8d67-4f63-a103-eeeeef53cac8","name":"John Smith Co.","profile_type":"business","state":"created","created_at":"2022-09-14T14:34:11.168340Z","updated_at":"2022-09-14T14:34:11.168340Z","accounts":[{"account_no":"12345678","sort_code":"540105","id":"5c9e171c-7e23-4d6a-b768-aaaaaba535f3","name":"John Smith Co.","bank_country":"GB","currency":"GBP","type":"external"}]}},"international_business_eurozone":{"summary":"International business counterparty (eurozone with EUR)","value":{"id":"239d6f1f-2222-4ae6-1111-5cc603341b4e","name":"Bleu Blanc Conseil SARL","profile_type":"business","state":"created","created_at":"2022-09-14T14:47:12.273718Z","updated_at":"2022-09-14T14:47:12.273718Z","accounts":[{"iban":"FR1420041010050500013M02606","bic":"PSSTFRPPLIL","id":"b209281b-aakk-9911-8d83-ac72469cef8f","name":"Bleu Blanc Conseil SARL","bank_country":"FR","currency":"EUR","type":"external"}]}},"international_business_ch_eur":{"summary":"International business counterparty (outside eurozone, with EUR)","value":{"id":"b8ce3922-d518-4ae6-9426-e8cc117e5332","name":"Johann Meier Co.","profile_type":"business","state":"created","created_at":"2026-01-30T12:43:20.273500Z","updated_at":"2026-01-30T12:43:20.273500Z","accounts":[{"iban":"CH9300762011623852957","bic":"UBSWCHZH80A","id":"d95bc455-f495-4f18-95fa-32f99479318c","name":"Johann Meier Co.","bank_country":"CH","currency":"EUR","type":"external"}]}},"international_business_ch_chf":{"summary":"International business counterparty (outside eurozone, non-EUR)","value":{"id":"173e6a6b-d955-465f-8f31-7f6f7c03927c","name":"Edelweiss Handel GmbH","profile_type":"business","state":"created","created_at":"2023-08-10T12:43:20.273500Z","updated_at":"2023-08-10T12:43:20.273500Z","accounts":[{"iban":"CH5604835012345678009","bic":"UBSWCHZH80A","id":"b3cc43e8-f141-459b-9bd5-3505cf9797f8","name":"Edelweiss Handel GmbH","bank_country":"CH","currency":"CHF","type":"external"}]}}}}},"descriptionNode":"$L1570"},"400":{"description":"Bad Request\n\nReturned, for example, when the provided IBAN is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1571"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1572"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3000,"message":"FR66995908786 is not a valid IBAN"}}}}},"descriptionNode":"$L1573"},"404":{"description":"Not Found\n\nReturned, for example, when the counterparty that you're trying to add doesn't exist, or when the name that you provide for the Revtag counterparty doesn't match the actual name on the account.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1574"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1575"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3006,"message":"Resource not found"}}}}},"descriptionNode":"$L1576"},"422":{"description":"Unprocessable Content\n\nReturned, for example, when the Revolut counterparty that you're trying to add using Revtag already exists, or when the counterparty cannot be added.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1577"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1578"},"params":{"type":"object","description":"Additional parameters related to the error.","properties":{"counterparty_id":{"type":"string","format":"uuid","description":"The ID of the Revolut counterparty (i.e. internal counterparty) that already exists.","descriptionNode":"$L1579"}},"descriptionNode":"$L157a"}},"required":["code","message"]},"examples":{"counterparty_exists":{"summary":"Counterparty already exists","value":{"message":"This counterparty already exists","code":3012,"params":{"counterparty_id":"878029d4-5972-4424-ae8c-80fe5f59407b"}}},"counterparty_cannot_be_added":{"summary":"Counterparty cannot be added","value":{"message":"Recipient can't be added","code":2101}}}}},"descriptionNode":"$L157b"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L157c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L157d"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L157e"}},"requestBody":{"description":"Counterparty to add","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile_type":{"type":"string","enum":["personal","business"],"description":"The type of the Revolut profile.\nIndicates whether the counterparty is a personal or business account.\nProvide it when adding a Revolut counterparty via Revtag.","descriptionNode":"$L157f"},"revtag":{"type":"string","description":"The [Revtag](https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/) of the counterparty to add.","descriptionNode":"$L1580"},"name":{"type":"string","description":"The name of the counterparty, provided when the counterparty is being added via **Revtag**.\n\nIf specified, `individual_name` and `company_name` must be empty.\n\n:::note\nThe name that you provide must match or closely match the actual name associated with the account that you're trying to add.\nOtherwise, the creation fails and a `404` error is returned.\n:::\n","descriptionNode":"$L1581"},"company_name":{"type":"string","description":"The name of the counterparty, provided when the counterparty is a **company** (business account type) and is **not** being added via Revtag.\n\nIf specified, `individual_name` and `name` must be empty.\n\n:::warning\nThe `company_name` must contain at least 2 letters (not just characters).\nFor example, names like `12` will fail validation because they are two characters but not two letters.\n:::","descriptionNode":"$L1582"},"individual_name":{"type":"object","description":"The name of the counterparty, provided when the counterparty is an **individual** (personal account type) and is **not** being added via Revtag.\n\nIf specified, `company_name` and `name` must be empty.","properties":{"first_name":{"type":"string","description":"The first name of the individual counterparty.","descriptionNode":"$L1583"},"last_name":{"type":"string","description":"The last name of the individual counterparty.","descriptionNode":"$L1584"}},"descriptionNode":"$L1585"},"bank_country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the bank, provided as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$2b4:props:children:0:props:children:1:props:parameters:0:schema:examples","descriptionNode":"$L1586"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.","descriptionNode":"$L1587"},"account_no":{"type":"string","description":"The bank account number of the counterparty.","descriptionNode":"$L1588"},"iban":{"type":"string","description":"The IBAN number of the counterparty's account. This field is displayed for IBAN countries.","descriptionNode":"$L1589"},"sort_code":{"type":"string","description":"The sort code of the counterparty's account. This field is required for GBP accounts.","descriptionNode":"$L158a"},"routing_number":{"type":"string","description":"The routing number of the counterparty's account. This field is required for USD accounts.","descriptionNode":"$L158b"},"bic":{"type":"string","description":"The BIC number of the counterparty's account. This field is required for non-SEPA IBAN/SWIFT.","descriptionNode":"$L158c"},"clabe":{"type":"string","description":"The CLABE number of the counterparty's account. This field is required for SWIFT MX.","descriptionNode":"$L158d"},"ifsc":{"type":"string","description":"The IFSC number of the counterparty's account. This field is required for INR accounts.","descriptionNode":"$L158e"},"bsb_code":{"type":"string","description":"The BSB number of the counterparty's account. This field is required for AUD accounts.","descriptionNode":"$L158f"},"address":{"type":"object","description":"The address of the counterparty.","properties":{"street_line1":{"type":"string","description":"Street line 1 information.","examples":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:properties:street_line1:examples","descriptionNode":"$L1590"},"street_line2":{"type":"string","description":"Street line 2 information.","examples":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:properties:street_line2:examples","descriptionNode":"$L1591"},"region":{"type":"string","description":"The name of the region (state or province), for example, Ontario for Canada.","examples":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:properties:region:examples","descriptionNode":"$L1592"},"city":{"type":"string","description":"The name of the city.","examples":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:properties:city:examples","descriptionNode":"$L1593"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"The country of the counterparty, as a 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) code.","examples":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:properties:country:examples","descriptionNode":"$L1594"},"postcode":{"type":"string","description":"The postcode of the counterparty address.","examples":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:properties:postcode:examples","descriptionNode":"$L1595"}},"required":"$40:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:beneficiary_address:required","descriptionNode":"$L1596"},"route":{"type":"string","enum":["ach","fedwire","swift"],"description":"Routing method for US USD transfers. When omitted, defaults to `ach` for US-registered businesses and `fedwire` for non-US businesses. \n\nRequired when `bank_country` is `US` and the desired routing method differs from the default.","examples":["ach"],"descriptionNode":"$L1597"},"bank_number":{"type":"string","minLength":3,"maxLength":3,"description":"Brazilian bank identification code (COMPE). Required for BR counterparties.","examples":["033"],"descriptionNode":"$L1598"},"branch_code":{"type":"string","minLength":4,"maxLength":4,"description":"Brazilian branch (agência) code. Required for BR counterparties.","examples":["0001"],"descriptionNode":"$L1599"},"account_type":{"type":"string","enum":["checking","savings"],"description":"Bank account type. Defaults to `checking` for US ACH transfers when omitted. \n\nRequired for BR, CO, and CL counterparties.","examples":["checking"],"descriptionNode":"$L159a"},"tax_id":{"type":"string","maxLength":20,"description":"Tax identification number.\n\nRequired and routed based on `bank_country` and recipient type:\n- **BR**:\n - **Individual**: CPF (Cadastro de Pessoas Físicas). Accepted formats: `^\\d{11}$` or `^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$`.\n - **Company**: CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: `^\\d{14}$` or `^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$`.\n- **CO (company)**: NIT (Número de Identificación Tributaria). Accepted format: `^\\d{10}$`.\n- **CL (individual, company)**: RUT (Rol Único Tributario).","descriptionNode":"$L159b"},"national_id":{"type":"string","description":"National identification number. Required when `bank_country` is `CO` and `profile_type` is `personal`, must specify Colombian Cédula de Ciudadanía.","descriptionNode":"$L159c"},"phone":{"type":"string","maxLength":20,"description":"The phone number of the counterparty in [E.164](https://en.wikipedia.org/wiki/E.164) format.\n\n- For internal (Revolut) counterparties: the recipient's Revolut phone number used to look them up.\n- For external counterparties in CO, KR, and LK: the bank account phone number. Required when `bank_country` is `CO`, `KR`, or `LK`.\n\nCountry-specific formats:\n- **CO**: `+57` followed by 10 digits (`^\\+?57\\d{10}$`)\n- **KR**: `+82` followed by 10 digits (`^\\+?82\\d{10}$`)\n- **LK**: `+94` followed by 10 digits (`^\\+?94\\d{10}$`)","examples":["+573001234567"],"descriptionNode":"$L159d"},"business_registration_id":{"type":"string","maxLength":64,"description":"Company registration number. Required for business LK counterparties (`profile_type`: `business`).","examples":["PV12345"],"descriptionNode":"$L159e"}}},"examples":{"revolut_counterparty_individual":{"summary":"Revolut individual counterparty","value":{"profile_type":"personal","name":"John Smith","revtag":"johnsmith"}},"revolut_counterparty_business":{"summary":"Revolut business counterparty","value":{"profile_type":"business","name":"John Smith Co.","revtag":"jsmithco1"}},"uk_individual":{"summary":"UK individual counterparty","value":{"individual_name":{"first_name":"John","last_name":"Smith"},"bank_country":"GB","currency":"GBP","sort_code":"54-01-05","account_no":"12345678"}},"uk_individual_with_address":{"summary":"UK individual counterparty with address","value":{"individual_name":{"first_name":"John","last_name":"Smith"},"bank_country":"GB","currency":"GBP","sort_code":"54-01-05","account_no":"12345678","address":{"city":"London","street_line1":"20 Upping St","country":"GB","postcode":"SW1A 2AB"}}},"uk_business":{"summary":"UK business counterparty","value":{"company_name":"John Smith Co.","bank_country":"GB","currency":"GBP","sort_code":"54-01-05","account_no":"12345678"}},"uk_business_with_address":{"summary":"UK business counterparty with address","value":{"company_name":"John Smith Co.","bank_country":"GB","currency":"GBP","sort_code":"54-01-05","account_no":"12345678","address":{"city":"London","street_line1":"20 Upping St","country":"GB","postcode":"SW1A 2AB"}}},"international_business_eurozone":{"summary":"International business counterparty (eurozone with EUR)","value":{"company_name":"Bleu Blanc Conseil SARL","bank_country":"FR","currency":"EUR","iban":"FR1420041010050500013M02606"}},"international_business_ch_eur":{"summary":"International business counterparty (outside eurozone, with EUR)","value":{"company_name":"Johann Meier Co.","bank_country":"CH","currency":"EUR","iban":"CH9300762011623852957"}},"international_business_ch_chf":{"summary":"International business counterparty (outside eurozone, non-EUR)","value":{"company_name":"Edelweiss Handel GmbH","bank_country":"CH","currency":"CHF","iban":"CH5604835012345678009","address":{"street_line1":"Bahnhofstrasse 4a/8","city":"Zurich","country":"CH","postcode":"8001"}}}}}},"descriptionNode":"$L159f"},"variantLabels":["Revolut individual counterparty","Revolut business counterparty","UK individual counterparty","UK business counterparty","International business counterparty (eurozone with EUR)","International business counterparty (outside eurozone, with EUR)","International business counterparty (outside eurozone, non-EUR)"],"children":["$L15a0","$L15a1"]}]}],false]}] 15a0:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"add-counterparty","children":[["$L15a2","$undefined"],["$","$L3a",null,{"id":"add-counterparty"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/add-counterparty.md"}]]}]}],"$undefined"]}] 15a4:T62f,
curl -X POST "https://b2b.revolut.com/api/1.0/counterparty" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}'
15a5:Tf90,
const payload = {
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
};
fetch("https://b2b.revolut.com/api/1.0/counterparty", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
15a6:T1527,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/counterparty"
  jsonData := []byte(`
{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/counterparty"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
15a8:T1a8e,
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 = """
{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/counterparty"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/counterparty"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""profile_type"": ""personal"",
  ""name"": ""John Smith"",
  ""revtag"": ""johnsmith""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
15aa:T637,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/counterparty" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}'
15ab:Tf98,
const payload = {
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/counterparty", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
15ac:T152f,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/counterparty"
  jsonData := []byte(`
{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/counterparty"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
15ae:T1a96,
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 = """
{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/counterparty"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
15af:T200c,
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-b2b.revolut.com/api/1.0/counterparty"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""profile_type"": ""personal"",
  ""name"": ""John Smith"",
  ""revtag"": ""johnsmith""
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
15a1:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L15a3",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$57:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$57:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/counterparty\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}'","templateHtml":"$15a4","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n};\nfetch(\"https://b2b.revolut.com/api/1.0/counterparty\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$15a5","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/counterparty\"\n jsonData := []byte(`\n{\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$15a6","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/counterparty\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$15a7","tokens":[],"defaults":{}},{"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 \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/counterparty\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$15a8","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/counterparty\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"profile_type\"\": \"\"personal\"\",\n \"\"name\"\": \"\"John Smith\"\",\n \"\"revtag\"\": \"\"johnsmith\"\"\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":"$15a9","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/counterparty\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}'","templateHtml":"$15aa","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/counterparty\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$15ab","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/counterparty\"\n jsonData := []byte(`\n{\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$15ac","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/counterparty\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$15ad","tokens":[],"defaults":{}},{"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 \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/counterparty\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$15ae","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/counterparty\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"profile_type\"\": \"\"personal\"\",\n \"\"name\"\": \"\"John Smith\"\",\n \"\"revtag\"\": \"\"johnsmith\"\"\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":"$15af","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/counterparty","parameters":[]}],"$L15b0"],"$L15b1","$L15b2"]}]]}] 15b3:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)15b0:["$","$L1f6",null,{"security":[{"AccessToken":["READ","WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$15b3","descriptionNode":"$L15b4"}}}] 15b1:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"revolut_counterparty_individual","label":"Revolut individual counterparty","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:revolut_counterparty_individual:value","block":"$L15b5"},{"key":"revolut_counterparty_business","label":"Revolut business counterparty","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:revolut_counterparty_business:value","block":"$L15b6"},{"key":"uk_individual","label":"UK individual counterparty","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:uk_individual:value","block":"$L15b7"},{"key":"uk_individual_with_address","label":"UK individual counterparty with address","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:uk_individual_with_address:value","block":"$L15b8"},{"key":"uk_business","label":"UK business counterparty","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:uk_business:value","block":"$L15b9"},{"key":"uk_business_with_address","label":"UK business counterparty with address","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:uk_business_with_address:value","block":"$L15ba"},{"key":"international_business_eurozone","label":"International business counterparty (eurozone with EUR)","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:international_business_eurozone:value","block":"$L15bb"},{"key":"international_business_ch_eur","label":"International business counterparty (outside eurozone, with EUR)","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:international_business_ch_eur:value","block":"$L15bc"},{"key":"international_business_ch_chf","label":"International business counterparty (outside eurozone, non-EUR)","rawValue":"$57:props:children:0:props:children:props:requestBody:content:application/json:examples:international_business_ch_chf:value","block":"$L15bd"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 15b2:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"revolut_counterparty_individual","label":"Revolut individual counterparty","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:revolut_counterparty_individual:value","block":"$L15be"},{"key":"revolut_counterparty_business","label":"Revolut business counterparty","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:revolut_counterparty_business:value","block":"$L15bf"},{"key":"uk_individual","label":"UK individual counterparty","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:uk_individual:value","block":"$L15c0"},{"key":"uk_business","label":"UK business counterparty","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:uk_business:value","block":"$L15c1"},{"key":"international_business_eurozone","label":"International business counterparty (eurozone with EUR)","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:international_business_eurozone:value","block":"$L15c2"},{"key":"international_business_ch_eur","label":"International business counterparty (outside eurozone, with EUR)","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:international_business_ch_eur:value","block":"$L15c3"},{"key":"international_business_ch_chf","label":"International business counterparty (outside eurozone, non-EUR)","rawValue":"$57:props:children:0:props:children:props:responses:200:content:application/json:examples:international_business_ch_chf:value","block":"$L15c4"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$57:props:children:0:props:children:props:responses:400:content:application/json:examples:default:value","block":"$L15c5"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$57:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L15c6"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"counterparty_exists","label":"Counterparty already exists","rawValue":"$57:props:children:0:props:children:props:responses:422:content:application/json:examples:counterparty_exists:value","block":"$L15c7"},{"key":"counterparty_cannot_be_added","label":"Counterparty cannot be added","rawValue":"$57:props:children:0:props:children:props:responses:422:content:application/json:examples:counterparty_cannot_be_added:value","block":"$L15c8"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L15c9"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 4f:["$","$98","create-card-invitation",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Successfully created card invitation","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card invitation.","format":"uuid","descriptionNode":"$L15ca"},"state":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"The current state of the card invitation:\n- **`created`**: Invitation has been created but not yet claimed.\n- **`expired`**: Invitation has expired due to expiry date being reached or manual cancellation.\n- **`failed`**: Invitation claim attempt failed.\n- **`redeemed`**: Invitation has been successfully claimed.\n\nTo learn more about card invitation lifecycle, see the guide: [Manage card invitations → Card invitation state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state).","descriptionNode":"$L15cb"},"created_at":{"type":"string","description":"The date and time the card invitation was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L15cc"},"updated_at":{"type":"string","description":"The date and time the card invitation was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L15cd"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n:::note\nOnly returned for invitations in state `created`.\n:::tip\nFor other states, to find out when a card invitation transitioned to its [final state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state), check the `updated_at` value. \n:::","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:expiry_date:examples","descriptionNode":"$L15ce"},"holder_id":{"type":"string","description":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed.","format":"uuid","descriptionNode":"$L15cf"},"virtual":{"type":"boolean","description":"Specifies whether the issued card will be a virtual (`true`) or physical (`false`) one.","descriptionNode":"$L15d0"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L15d1"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L15d2"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L15d3"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L15d4"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L15d5"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L15d6"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L15d7"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L15d8"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L15d9"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L15da"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L15db"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L15dc"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card will become available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L15dd"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L15de"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L15df"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L15e0"},"categories":{"type":"array","description":"The list of merchant categories that will be available for card spending. \nIf this parameter is not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L15e1"},"merchant_controls":{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L15e2"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L15e3"}}},"countries":{"description":"The list of countries where the team member will be able to use the card.\nSpecified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:countries:items:examples"},"descriptionNode":"$L15e4"},"accounts":{"type":"array","description":"The list of accounts that will be linked to the card.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L15e5"}},"required":["id","created_at","updated_at","virtual","state","accounts"]},"examples":{"card_invitation_response":{"summary":"Created (active) invitation (example with spending limits)","value":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value"}}}},"descriptionNode":"$L15e6"},"400":{"description":"Bad Request\n\nReturned, for example, when your request is malformed, missing required fields, or when it contains fields that cannot co-exist or unsupported values.\n\nIf the invalid value is an array item, the error might indicate the array index of this faulty item, counting from `0`. \nFor example, if you provide the list of countries, such as `\"countries\": [\"GB\", \"USA\", ...]`, the first item (`GB`) has index `0`, the second item (`USA`) has index `1`, and so on.\nIn the example, `USA` is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that `countries[1]` is invalid, thus pointing to the second item in the array, i.e. `USA`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L15e7"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L15e8"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"missing_required_field":{"summary":"Merchant controls are missing merchant IDs","value":{"code":3000,"message":"merchant_ids is empty"}},"categories_and_allowed_merchants_cannot_coexist":{"summary":"Cannot set both categories and allowed merchants","value":{"code":2101,"message":"Allowed merchant categories must be empty when merchant controls of type ALLOW is present"}},"expiry_period_too_long":{"summary":"Expiry period is too long (max.90 days)","value":{"code":3000,"message":"expiry_period must be between PT24H and PT2160H"}},"invalid_json":{"summary":"Invalid request body","value":{"code":3000,"message":"Cannot parse request: invalid JSON"}},"wrong_spending_period_date":{"summary":"Wrong spending period date","value":{"code":2101,"message":"Spending period start_date must be in the future"}},"invalid_account_id":{"summary":"Invalid account ID","value":{"code":2101,"message":"Invalid account ids provided=[0f187658-8c07-491f-9129-ae567b829137]"}},"invalid_country_code":{"summary":"Invalid country code (when countries=[\"GB\", \"USA\"])","value":{"code":3000,"message":"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US')."}}}}},"descriptionNode":"$L15e9"},"401":{"description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","content":{"application/json":{"schema":{"type":"object","description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","allOf":[{"type":"object","description":"Error returning a status instead of code.","properties":{"status":{"type":"integer","description":"The error code.","descriptionNode":"$L15ea"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L15eb"}},"required":"$53:props:children:0:props:children:props:responses:401:content:application/json:schema:allOf:0:required","descriptionNode":"$L15ec"}],"descriptionNode":"$L15ed"},"examples":{"unauthorized":{"summary":"Unauthorized","value":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value"}}}},"descriptionNode":"$L15ee"},"404":{"description":"Team member not found\n\nReturned when the team member specified as cardholder in `holder_id` does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L15ef"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L15f0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3042,"message":"Team member not found"}}}}},"descriptionNode":"$L15f1"},"422":{"description":"Unprocessable Entity\n\nFor example, you try to set more than one periodic limit at a time, create an invitation for a deleted team member, or an unexpected error occurred when the initial request with the same `request_id` was sent.","content":{"application/json":{"schema":{"type":"object","description":"Unprocessable entity\n\nReturned, for example, when you try to modify a resource which is not a in state that would allow for modifications, e.g. a card invitation in state `failed`.","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L15f2"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L15f3"}},"required":"$53:props:children:0:props:children:props:responses:422:content:application/json:schema:required","descriptionNode":"$L15f4"},"examples":{"multiple_periodic_limits":{"summary":"Only one periodic spending limit at a time is allowed","value":{"code":33000,"message":"Only one periodic limit can be set on a card"}},"inactive_team_member":{"summary":"Team member not in supported state, e.g. team member was deleted","value":{"message":"Card invitations are only allowed for users in created state"}},"unexpected_error":{"summary":"Unexpected error on initial request","value":{"code":33009,"message":"Idempotent replay failed: first execution was not successful"}}}}},"descriptionNode":"$L15f5"},"429":{"description":"Concurrent requests with the same idempotency key","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L15f6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L15f7"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3162,"message":"Parallel requests conflict. Please synchronize your requests. request_id=5baa6989-ae59-4668-bb09-042fca180518"}}}}},"descriptionNode":"$L15f8"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L15f9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L15fa"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L15fb"}},"requestBody":{"description":"Card to create an invitation for","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string","description":"A unique ID of the request that you provide.\n\nThere is no strict requirement on the format of this ID, but we suggest using v4 UUIDs.\n\n:::warning\nThis ID is used to prevent duplicate card creation requests in case of a lost connection or client error, so make sure you use the same `request_id` for requests related to the same card invitation.\nThe deduplication is limited to 24 hours counting from the first request using a given ID.\n:::\nFor more information, see the guides: [Manage card invitations - Idempotency](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#idempotency).","maxLength":40,"descriptionNode":"$L15fc"},"expiry_period":{"type":"string","description":"The period after which the card invitation expires if it hasn't been claimed or cancelled. \nMust be specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) duration format.\nThe duration is counted from the card invitation creation.\n- **Minimum duration:** 1 day (`P1D`)\n- **Maximum duration:** 90 days (`P90D`)\n- **Default duration:** 90 days (`P90D`)","pattern":"^P\\d+D$","default":"P90D","examples":["P3D"],"descriptionNode":"$L15fd"},"holder_id":{"type":"string","format":"uuid","description":"The ID of the team member who will be assigned as the holder of the card after the invitation is claimed.\n\n:::tip\nTo retrieve a team member's ID, use the [`GET /team-members` operation](https://developer.revolut.com/docs/api/business#get-team-members).\n:::","descriptionNode":"$L15fe"},"virtual":{"type":"boolean","enum":[true],"description":"Specifies the type of the card. \nMust be set to `true`, as with the API, you can create only virtual cards.\n\n:::tip\nTo create physical cards, use the [Revolut Business app](https://business.revolut.com).\n:::","descriptionNode":"$L15ff"},"label":{"type":"string","description":"The label for the card to be issued, displayed in the UI to help distinguish between cards.\nIf not specified, the default label will be set according to the card's type.\nFor card invitations created via API, it's always `Virtual`.","minLength":1,"maxLength":30,"default":"Virtual","descriptionNode":"$L1600"},"spending_limits":{"description":"All spending limits set for the card.\n\nYou can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error.","type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1601"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1602"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L1603"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1604"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1605"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1606"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1607"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1608"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1609"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L160a"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$4f:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L160b"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples","descriptionNode":"$L160c"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey let you set the dates when the card becomes available or unavailable for spending, and define what happens after the end date.\n\nIf specified, you must provide at least one of these:\n- `start_date`\n- `end_date` together with `end_date_action`\n\nThe dates provided must be in the future.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L160d"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L160e"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L160f"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L1610"},"categories":{"type":"array","description":"The list of merchant categories to be available for card spending.\nIf not specified, all categories will be allowed.\n\n:::note\nThe `categories` and `merchant_controls` parameters have the following restrictions:\n- If you set `categories`, you **cannot** set `merchant_controls.control_type` to `allow`.\n- You **can** set `merchant_controls.control_type` to `block`.\n- You may also set **either** `categories` or `merchant_controls` independently, or **set neither**.\n- Both parameters can be used together **only** if `merchant_controls.control_type` is `block`.\n:::","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L1611"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey let you block or allow the card to only transact with specific merchants: \n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set).\n- `block`: blocks the specified merchants (can be used with or without `categories`).","type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L1612"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1613"}},"descriptionNode":"$L1614"},"countries":{"description":"Restricts card use to specified countries, provided as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":["GB"]},"descriptionNode":"$L1615"},"accounts":{"type":"array","description":"The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the [`GET /accounts` operation](https://developer.revolut.com/docs/api/business#get-accounts).","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1616"}},"required":["request_id","holder_id","virtual"]},"examples":{"card_invitation_minimal_example":{"summary":"Card invitation for an onboarding team member - minimal example","value":{"request_id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true}},"card_invitation_full_example":{"summary":"Card invitation for an onboarding team member - full example","value":{"request_id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","expiry_period":"P14D","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_limits":{"single":{"amount":50,"currency":"GBP"},"week":{"amount":250,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-31","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["26a852b8-4046-4e71-949d-22f4cb6be26a"]}}}}},"descriptionNode":"$L1617"},"variantLabels":["Card invitation for an onboarding team member - minimal example","Card invitation for an onboarding team member - full example"],"children":["$L1618","$L1619"]}]}],false]}] 1658:T4d0,The controls for the card's spending period. They let you set or modify the dates when the card should become available or unavailable for spending, and define what happens after the end date. If specified, you must provide at least one of these: - `start_date` - `end_date` together with `end_date_action` The spending period dates must be in the future. The dates are inclusive. This means that: - If you set the `start_date` to `2026-03-31`, the card will become active on that day. - If you set the `end_date` to `2027-12-31`, the card will be active through that day, and will be locked/terminated starting on 1st Jan 2028. :::note You can update the spending period settings in a few ways, depending on your use case: - To remove the start date, but keep the end date settings, provide the current `spending_period` settings without the `start_date`. - To remove the start date when no end date is set, provide the `spending_period.start_date` set to `null`. - To remove **all** spending period settings, provide `spending_period` set to `null`. If you wish to erase a spending period end date, you can do this in a similar way, applying the steps to `spending_period.end_date` and `spending_period.end_date_action`. :::52:["$","$98","update-card-invitation",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the updated card invitation","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card invitation.","format":"uuid","descriptionNode":"$L161a"},"state":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:state:enum","description":"The current state of the card invitation:\n- **`created`**: Invitation has been created but not yet claimed.\n- **`expired`**: Invitation has expired due to expiry date being reached or manual cancellation.\n- **`failed`**: Invitation claim attempt failed.\n- **`redeemed`**: Invitation has been successfully claimed.\n\nTo learn more about card invitation lifecycle, see the guide: [Manage card invitations → Card invitation state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state).","descriptionNode":"$L161b"},"created_at":{"type":"string","description":"The date and time the card invitation was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L161c"},"updated_at":{"type":"string","description":"The date and time the card invitation was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L161d"},"expiry_date":{"type":"string","format":"date-time","description":"The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\n:::note\nOnly returned for invitations in state `created`.\n:::tip\nFor other states, to find out when a card invitation transitioned to its [final state](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state), check the `updated_at` value. \n:::","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:expiry_date:examples","descriptionNode":"$L161e"},"holder_id":{"type":"string","description":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed.","format":"uuid","descriptionNode":"$L161f"},"virtual":{"type":"boolean","description":"Specifies whether the issued card will be a virtual (`true`) or physical (`false`) one.","descriptionNode":"$L1620"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L1621"},"spend_program":{"description":"The [spend program](https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/) assigned to the card.\n:::note\nTo use this property, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","readOnly":true,"properties":{"label":{"description":"The name of the spend program.","type":"string","maxLength":30,"descriptionNode":"$L1622"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spend_program:required","descriptionNode":"$L1623"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1624"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1625"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L1626"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1627"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1628"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1629"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L162a"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L162b"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L162c"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L162d"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L162e"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card will become available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L162f"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L1630"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L1631"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L1632"},"categories":{"type":"array","description":"The list of merchant categories that will be available for card spending. \nIf this parameter is not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L1633"},"merchant_controls":{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L1634"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1635"}}},"countries":{"description":"The list of countries where the team member will be able to use the card.\nSpecified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:countries:items:examples"},"descriptionNode":"$L1636"},"accounts":{"type":"array","description":"The list of accounts that will be linked to the card.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1637"}},"required":["id","created_at","updated_at","virtual","state","accounts"]},"examples":{"update_all_properties":{"summary":"Update all properties","value":{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T10:27:15Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"New card label","spending_limits":{"single":{"amount":100,"currency":"GBP"},"week":{"amount":300,"currency":"GBP"}},"spending_period":{"start_date":"2025-12-20","end_date":"2027-12-20","end_date_action":"lock"},"categories":["services","shopping","furniture"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929","3f09819f-63d1-473a-966c-54d8b9f43a93"]},"countries":["GB","SG","ES"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51","9ae4345a-5ee5-496b-b776-241fcc5a5ba4"]}},"erase_spending_period_start_date":{"summary":"Erase spending period start date and update end date","value":{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T10:27:15Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_limits":{"single":{"amount":50,"currency":"GBP"},"week":{"amount":250,"currency":"GBP"}},"spending_period":{"end_date":"2027-12-20","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["26a852b8-4046-4e71-949d-22f4cb6be26a"]}},"erase_all_spending_limits":{"summary":"Erase all spending limits","value":{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T10:27:15Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_period":{"start_date":"2025-12-20","end_date":"2026-12-31","end_date_action":"lock"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["26a852b8-4046-4e71-949d-22f4cb6be26a"]}},"erase_single_transaction_limit":{"summary":"Erase single-transaction limit","value":{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T10:27:15Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_limits":{"week":{"amount":250,"currency":"GBP"}},"spending_period":{"start_date":"2025-12-20","end_date":"2026-12-31","end_date_action":"lock"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["14c8d663-2093-4086-96ed-334a4011333f","06e0f7fa-38a2-4fcf-a115-df5caf190b55"]},"countries":["GB"],"accounts":["26a852b8-4046-4e71-949d-22f4cb6be26a"]}},"allow_specific_merchants":{"summary":"Erase single-transaction limit","value":{"id":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd","state":"created","created_at":"2025-11-21T00:00:00Z","updated_at":"2025-11-21T10:27:15Z","expiry_date":"2025-12-06T00:00:00Z","holder_id":"3791712d-e5b5-4d5f-b1f1-79a93d57e08b","virtual":true,"label":"Dariel Pattie","spending_limits":{"single":{"amount":50,"currency":"GBP"},"week":{"amount":250,"currency":"GBP"}},"spending_period":{"start_date":"2025-12-20","end_date":"2026-12-31","end_date_action":"lock"},"merchant_controls":{"control_type":"allow","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB"],"accounts":["26a852b8-4046-4e71-949d-22f4cb6be26a"]}}}}},"descriptionNode":"$L1638"},"400":{"description":"Bad request\n\nReturned, for example, when there's nothing to update or the provided details are unsupported for this operation.\n\nIf the invalid value is an array item, the error might indicate the array index of this faulty item, counting from `0`. \nFor example, if you provide the list of countries, such as `\"countries\": [\"GB\", \"USA\", ...]`, the first item (`GB`) has index `0`, the second item (`USA`) has index `1`, and so on.\nIn the example, `USA` is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that `countries[1]` is invalid, thus pointing to the second item in the array, i.e. `USA`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1639"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L163a"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"nothing_to_update":{"summary":"Empty request body - nothing to update","value":{"code":1112,"message":"Specify at least one parameter for card update"}},"invalid_spending_period_date_settings":{"summary":"Invalid spending period date settings","value":{"code":3000,"message":"At least one of start_date or end_date must be present"}},"invalid_spending_period_end_settings":{"summary":"Invalid spending period end settings","value":{"code":3000,"message":"end_date and end_date_action must be either both present or both empty"}},"spending_period_end_date_before_start_date":{"summary":"Spending period end date is sooner than start date","value":{"code":3000,"message":"end_date must be at or after 2025-12-28, but is 2024-12-20"}},"past_spending_period_end_date":{"summary":"Spending period start date is in the past","value":{"code":2102,"message":"Spending period start_date must be in the future"}},"multiple_periodic_limits":{"summary":"Multiple periodic spending limits at a time","value":{"code":3000,"message":"Only one periodic limit can be specified"}},"label_too_long":{"summary":"Card label too long","value":{"code":3000,"message":"Card label cannot contain more than 30 characters"}},"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"},"invalid_country_code":{"summary":"Invalid country code (when countries=[\"GB\", \"USA\"])","value":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value"}}}},"descriptionNode":"$L163b"},"401":{"description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","content":{"application/json":{"schema":{"type":"object","description":"Unauthorised\n\nReturned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the **Authorization** section.","allOf":[{"type":"object","description":"Error returning a status instead of code.","properties":{"status":{"type":"integer","description":"The error code.","descriptionNode":"$L163c"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L163d"}},"required":"$53:props:children:0:props:children:props:responses:401:content:application/json:schema:allOf:0:required","descriptionNode":"$L163e"}],"descriptionNode":"$L163f"},"examples":{"unauthorized":{"summary":"Unauthorized","value":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value"}}}},"descriptionNode":"$L1640"},"404":{"description":"Card invitation doesn't exist\n\nThe card invitation for which you wish to update details does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1641"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1642"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3088,"message":"Card invitation '3c059a42-24e1-4fd6-bfbe-f3c09234315f not found"}}}}},"descriptionNode":"$L1643"},"422":{"description":"Unprocessable Entity\n\nReturned, for example, when you try to update a card invitation that's not in state `created`.\nSuch an invitation is no longer active and therefore cannot be modified.","content":{"application/json":{"schema":{"type":"object","description":"Unprocessable entity\n\nReturned, for example, when you try to modify a resource which is not a in state that would allow for modifications, e.g. a card invitation in state `failed`.","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1644"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1645"}},"required":"$53:props:children:0:props:children:props:responses:422:content:application/json:schema:required","descriptionNode":"$L1646"},"examples":{"unsupported_card_invitation_state":{"summary":"Card invitation is not in state 'created'","value":{"message":"Unable to update card invitation with state=redeemed"}}}}},"descriptionNode":"$L1647"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1648"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1649"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L164a"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"label":{"type":"string","description":"The label of the card.\n\nCards without labels are not allowed.\nIf set to `null`, the default label will be set according to the card's type.\n\n:::tip[Default labels]\nFor virtual cards, the default label is `Virtual`.\nFor physical cards, depending on the type, it can be, for example, `Standard` or `Metal`. \n\nAs these values depend on available card types, they are subject to change over time.\n:::","minLength":1,"maxLength":30,"default":"Default label according to card's type","descriptionNode":"$L164b"},"spending_limits":{"description":"All spending limits to be set for the card.\n\nYou can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error.\n\nUse `null` as the value for a specific limit to erase that limit.\nUse `null` as the value for the `spending_limits` object to erase all limits.","type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L164c"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L164d"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L164e"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L164f"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1650"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1651"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1652"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1653"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1654"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1655"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$52:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1656"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples","descriptionNode":"$L1657"},"spending_period":{"description":"$1658","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L1659"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L165a"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L165b"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L165c"},"categories":{"type":"array","description":"The list of merchant categories to be available for card spending.\nUse `null` to erase the value and reset to empty (all categories will be allowed).\n\n:::note\nThe `categories` and `merchant_controls` parameters have the following restrictions:\n- If you set `categories`, you **cannot** set `merchant_controls.control_type` to `allow`.\n- You **can** set `merchant_controls.control_type` to `block`.\n- You may also set **either** `categories` or `merchant_controls` independently, or **set neither**.\n- Both parameters can be used together **only** if `merchant_controls.control_type` is `block`.\n:::","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L165d"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey let you block or allow the card to only transact with specific merchants:\n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set).\n- `block`: blocks the specified merchants (can be used with or without `categories`).","type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L165e"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L165f"}},"descriptionNode":"$L1660"},"countries":{"description":"The list of countries where the card can be used, provided as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":["GB"]},"descriptionNode":"$L1661"},"accounts":{"type":"array","description":"The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the [`GET /accounts` operation](https://developer.revolut.com/docs/api/business#get-accounts).","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1662"}}},"examples":{"update_all_properties":{"summary":"Update all properties","value":{"label":"New card label","spending_limits":{"single":{"amount":100,"currency":"GBP"},"month":{"amount":300,"currency":"GBP"}},"spending_period":{"start_date":"2025-12-20","end_date":"2027-12-20","end_date_action":"lock"},"categories":["services","shopping","furniture"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929","3f09819f-63d1-473a-966c-54d8b9f43a93"]},"countries":["GB","SG","ES"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51","9ae4345a-5ee5-496b-b776-241fcc5a5ba4"]}},"erase_spending_period_start_date":{"summary":"Erase spending period start date and update end date","value":{"spending_period":{"start_date":null,"end_date":"2027-12-20","end_date_action":"terminate"}}},"erase_all_spending_limits":{"summary":"Erase all spending limits","value":{"spending_limits":null}},"erase_single_transaction_limit":{"summary":"Erase the single-transaction limit","value":{"spending_limits":{"single":null}}},"allow_specific_merchants":{"summary":"Allow only specific merchants","value":{"categories":[],"merchant_controls":{"control_type":"allow","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]}}}}}}},"variantLabels":["Update all properties","Erase spending period start date and update end date","Erase all spending limits","Erase single-transaction limit","Erase single-transaction limit"],"children":["$L1663","$L1664"]}]}],false]}] 15a2:"Create a counterparty" 1618:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-card-invitation","children":[["$L1665","$undefined"],["$","$L3a",null,{"id":"create-card-invitation"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-card-invitation.md"}]]}]}],"$undefined"]}] 1667:T666,
curl -X POST "https://b2b.revolut.com/api/1.0/card-invitations" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}'
1668:Tfc7,
const payload = {
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
};
fetch("https://b2b.revolut.com/api/1.0/card-invitations", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1669:T155e,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/card-invitations"
  jsonData := []byte(`
{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/card-invitations"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
166b:T1ac5,
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 = """
{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/card-invitations"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

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

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/card-invitations"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""4016b891-bb50-4bd2-8a1b-adb74f4aacdd"",
  ""holder_id"": ""3791712d-e5b5-4d5f-b1f1-79a93d57e08b"",
  ""virtual"": true
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
166d:T66e,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/card-invitations" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}'
166e:Tfcf,
const payload = {
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/card-invitations", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
166f:T1566,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/card-invitations"
  jsonData := []byte(`
{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://sandbox-b2b.revolut.com/api/1.0/card-invitations"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
1671:T1acd,
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 = """
{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/card-invitations"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1672:T1f99,
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-b2b.revolut.com/api/1.0/card-invitations"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""4016b891-bb50-4bd2-8a1b-adb74f4aacdd"",
  ""holder_id"": ""3791712d-e5b5-4d5f-b1f1-79a93d57e08b"",
  ""virtual"": true
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1619:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1666",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$4f:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$4f:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/card-invitations\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}'","templateHtml":"$1667","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n};\nfetch(\"https://b2b.revolut.com/api/1.0/card-invitations\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$1668","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/card-invitations\"\n jsonData := []byte(`\n{\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$1669","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/card-invitations\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$166a","tokens":[],"defaults":{}},{"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 \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://b2b.revolut.com/api/1.0/card-invitations\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$166b","tokens":[],"defaults":{}},{"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://b2b.revolut.com/api/1.0/card-invitations\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"request_id\"\": \"\"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\"\",\n \"\"holder_id\"\": \"\"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\"\",\n \"\"virtual\"\": true\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":"$166c","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}'","templateHtml":"$166d","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"const payload = {\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n};\nfetch(\"https://sandbox-b2b.revolut.com/api/1.0/card-invitations\", {\n method: \"POST\",\n headers: {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify(payload)\n})\n .then(response => response.json())\n .then(data => console.log(data));","templateHtml":"$166e","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/card-invitations\"\n jsonData := []byte(`\n{\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}\n `)\n req, _ := http.NewRequest(\"POST\", url, bytes.NewBuffer(jsonData))\n req.Header.Add(\"Authorization\", \"Bearer \")\n req.Header.Add(\"Content-Type\", \"application/json\")\n\n res, _ := http.DefaultClient.Do(req)\n defer res.Body.Close()\n fmt.Println(res)\n}","templateHtml":"$166f","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$1670","tokens":[],"defaults":{}},{"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 \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}\n \"\"\";\n\n HttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://sandbox-b2b.revolut.com/api/1.0/card-invitations\"))\n .header(\"Authorization\", \"Bearer \")\n .header(\"Content-Type\", \"application/json\")\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":"$1671","tokens":[],"defaults":{}},{"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-b2b.revolut.com/api/1.0/card-invitations\"),\n Headers =\n {\n { \"Authorization\", \"Bearer \" },\n },\n Content = new StringContent(@\"{\n \"\"request_id\"\": \"\"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\"\",\n \"\"holder_id\"\": \"\"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\"\",\n \"\"virtual\"\": true\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":"$1672","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/card-invitations","parameters":[]}],"$L1673"],"$L1674","$L1675"]}]]}] 1663:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-card-invitation","children":[["$L1676","$undefined"],["$","$L3a",null,{"id":"update-card-invitation"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-card-invitation.md"}]]}]}],"$undefined"]}] 1679:T1425,
curl -X PATCH "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}'
167a:T443,const payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] }; fetch("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__", { method: "PATCH", headers: { "Authorization": "Bearer ", "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(response => response.json()) .then(data => console.log(data));167b:T2486,
const payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
};
fetch("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
167c:T4cc,package main import ( "fmt" "net/http" "bytes" "encoding/json" ) func main() { url := "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__" jsonData := []byte(` { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } `) req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData)) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() fmt.Println(res) }167d:T231d,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
  jsonData := []byte(`
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
167e:T419,import requests url = "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__" headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } response = requests.patch(url, headers=headers, json=payload) print(response.json())167f:T21bc,
import requests

url = "https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
1680:T5f5,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 = """ { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }1681:T2884,
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 = """
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1682:T5c3,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Patch, RequestUri = new Uri("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""label"": ""New card label"", ""spending_limits"": { ""single"": { ""amount"": 100, ""currency"": ""GBP"" }, ""month"": { ""amount"": 300, ""currency"": ""GBP"" } }, ""spending_period"": { ""start_date"": ""2025-12-20"", ""end_date"": ""2027-12-20"", ""end_date_action"": ""lock"" }, ""categories"": [ ""services"", ""shopping"", ""furniture"" ], ""merchant_controls"": { ""control_type"": ""block"", ""merchant_ids"": [ ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"", ""e8a87432-f71e-4deb-be84-969a02792929"", ""3f09819f-63d1-473a-966c-54d8b9f43a93"" ] }, ""countries"": [ ""GB"", ""SG"", ""ES"" ], ""accounts"": [ ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"", ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4"" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }1683:T4176,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""label"": ""New card label"",
  ""spending_limits"": {
    ""single"": {
      ""amount"": 100,
      ""currency"": ""GBP""
    },
    ""month"": {
      ""amount"": 300,
      ""currency"": ""GBP""
    }
  },
  ""spending_period"": {
    ""start_date"": ""2025-12-20"",
    ""end_date"": ""2027-12-20"",
    ""end_date_action"": ""lock""
  },
  ""categories"": [
    ""services"",
    ""shopping"",
    ""furniture""
  ],
  ""merchant_controls"": {
    ""control_type"": ""block"",
    ""merchant_ids"": [
      ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"",
      ""e8a87432-f71e-4deb-be84-969a02792929"",
      ""3f09819f-63d1-473a-966c-54d8b9f43a93""
    ]
  },
  ""countries"": [
    ""GB"",
    ""SG"",
    ""ES""
  ],
  ""accounts"": [
    ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"",
    ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1684:T142d,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}'
1685:T44b,const payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] }; fetch("https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__", { method: "PATCH", headers: { "Authorization": "Bearer ", "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(response => response.json()) .then(data => console.log(data));1686:T248e,
const payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1687:T4d4,package main import ( "fmt" "net/http" "bytes" "encoding/json" ) func main() { url := "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__" jsonData := []byte(` { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } `) req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData)) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() fmt.Println(res) }1688:T2325,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
  jsonData := []byte(`
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
1689:T421,import requests url = "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__" headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } response = requests.patch(url, headers=headers, json=payload) print(response.json())168a:T21c4,
import requests

url = "https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
168b:T5fd,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 = """ { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }168c:T288c,
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 = """
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
168d:T5cb,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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""label"": ""New card label"", ""spending_limits"": { ""single"": { ""amount"": 100, ""currency"": ""GBP"" }, ""month"": { ""amount"": 300, ""currency"": ""GBP"" } }, ""spending_period"": { ""start_date"": ""2025-12-20"", ""end_date"": ""2027-12-20"", ""end_date_action"": ""lock"" }, ""categories"": [ ""services"", ""shopping"", ""furniture"" ], ""merchant_controls"": { ""control_type"": ""block"", ""merchant_ids"": [ ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"", ""e8a87432-f71e-4deb-be84-969a02792929"", ""3f09819f-63d1-473a-966c-54d8b9f43a93"" ] }, ""countries"": [ ""GB"", ""SG"", ""ES"" ], ""accounts"": [ ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"", ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4"" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }168e:T417e,
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-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""label"": ""New card label"",
  ""spending_limits"": {
    ""single"": {
      ""amount"": 100,
      ""currency"": ""GBP""
    },
    ""month"": {
      ""amount"": 300,
      ""currency"": ""GBP""
    }
  },
  ""spending_period"": {
    ""start_date"": ""2025-12-20"",
    ""end_date"": ""2027-12-20"",
    ""end_date_action"": ""lock""
  },
  ""categories"": [
    ""services"",
    ""shopping"",
    ""furniture""
  ],
  ""merchant_controls"": {
    ""control_type"": ""block"",
    ""merchant_ids"": [
      ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"",
      ""e8a87432-f71e-4deb-be84-969a02792929"",
      ""3f09819f-63d1-473a-966c-54d8b9f43a93""
    ]
  },
  ""countries"": [
    ""GB"",
    ""SG"",
    ""ES""
  ],
  ""accounts"": [
    ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"",
    ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1664:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1677",["$","$Lac",null,{"parameters":[{"name":"card_invitation_id","in":"path","required":true,"description":"The ID of the card invitation.","schema":{"type":"string","format":"uuid"},"examples":{"default":{"value":"4016b891-bb50-4bd2-8a1b-adb74f4aacdd"}},"descriptionNode":"$L1678"}],"requestBody":"$52:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$52:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"label\": \"New card label\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 100,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 300,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2027-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"services\",\n \"shopping\",\n \"furniture\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\",\n \"3f09819f-63d1-473a-966c-54d8b9f43a93\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\",\n \"ES\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\",\n \"9ae4345a-5ee5-496b-b776-241fcc5a5ba4\"\n ]\n}'","templateHtml":"$1679","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"$167a","templateHtml":"$167b","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"$167c","templateHtml":"$167d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"$167e","templateHtml":"$167f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$1680","templateHtml":"$1681","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"$1682","templateHtml":"$1683","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/card-invitations/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"label\": \"New card label\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 100,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 300,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2027-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"services\",\n \"shopping\",\n \"furniture\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\",\n \"3f09819f-63d1-473a-966c-54d8b9f43a93\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\",\n \"ES\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\",\n \"9ae4345a-5ee5-496b-b776-241fcc5a5ba4\"\n ]\n}'","templateHtml":"$1684","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"$1685","templateHtml":"$1686","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"$1687","templateHtml":"$1688","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"$1689","templateHtml":"$168a","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$168b","templateHtml":"$168c","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"$168d","templateHtml":"$168e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_invitation_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_invitation_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/card-invitations/{card_invitation_id}","parameters":["$1664:props:children:0:props:children:1:props:parameters:0"]}],"$L168f"],"$L1690","$L1691"]}]]}] 1543:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty."}]]}] 1544:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 1545:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/","target":"_blank","rel":"noreferrer","children":"Revtag"}]," of the counterparty."]}]]}] 1546:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the counterparty.\nIndicates whether the recipient is an individual or a company."}]]}] 1547:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The counterparty's bank country, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 1548:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the state of the counterparty."}]]}] 1549:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the counterparty was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 154a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the counterparty was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 154b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty's account."}]]}] 154c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 154d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 154e:["$","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."]}]]}] 154f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the type of account."}]]}] 1550:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The bank account number of the counterparty."}]]}] 1551:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN number of the counterparty's account if applicable."}]]}] 1552:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The sort code of the counterparty's account if applicable."}]]}] 1553:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The routing number of the counterparty's account if applicable."}]]}] 1554:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC number of the counterparty's account if applicable."}]]}] 1555:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The CLABE number of the counterparty's account if applicable."}]]}] 1556:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IFSC number of the counterparty's account if applicable."}]]}] 1557:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BSB number of the counterparty's account if applicable."}]]}] 1558:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Routing method for US/USD transfers. Defaults to ",["$","code","code-0",{"children":"ach"}]," for US-registered businesses and ",["$","code","code-1",{"children":"fedwire"}]," for non-US businesses."]}]]}] 1559:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian bank identification code (COMPE). Returned for BR counterparties."}]]}] 155a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian branch (agência) code. Returned for BR counterparties."}]]}] 16be:I["8537fdff809d",[],"Expandable",1] 1692:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1673:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1692","descriptionNode":"$L1693"}}}] 1674:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"card_invitation_minimal_example","label":"Card invitation for an onboarding team member - minimal example","rawValue":"$4f:props:children:0:props:children:props:requestBody:content:application/json:examples:card_invitation_minimal_example:value","block":"$L1694"},{"key":"card_invitation_full_example","label":"Card invitation for an onboarding team member - full example","rawValue":"$4f:props:children:0:props:children:props:requestBody:content:application/json:examples:card_invitation_full_example:value","block":"$L1695"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1675:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"card_invitation_response","label":"Created (active) invitation (example with spending limits)","rawValue":"$51:props:children:0:props:children:props:responses:200:content:application/json:examples:invitation_created:value","block":"$L1696"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"missing_required_field","label":"Merchant controls are missing merchant IDs","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_required_field:value","block":"$L1697"},{"key":"categories_and_allowed_merchants_cannot_coexist","label":"Cannot set both categories and allowed merchants","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:categories_and_allowed_merchants_cannot_coexist:value","block":"$L1698"},{"key":"expiry_period_too_long","label":"Expiry period is too long (max.90 days)","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:expiry_period_too_long:value","block":"$L1699"},{"key":"invalid_json","label":"Invalid request body","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L169a"},{"key":"wrong_spending_period_date","label":"Wrong spending period date","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:wrong_spending_period_date:value","block":"$L169b"},{"key":"invalid_account_id","label":"Invalid account ID","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_account_id:value","block":"$L169c"},{"key":"invalid_country_code","label":"Invalid country code (when countries=[\"GB\", \"USA\"])","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value","block":"$L169d"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"unauthorized","label":"Unauthorized","rawValue":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value","block":"$L169e"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4f:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L169f"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"multiple_periodic_limits","label":"Only one periodic spending limit at a time is allowed","rawValue":"$4f:props:children:0:props:children:props:responses:422:content:application/json:examples:multiple_periodic_limits:value","block":"$L16a0"},{"key":"inactive_team_member","label":"Team member not in supported state, e.g. team member was deleted","rawValue":"$4f:props:children:0:props:children:props:responses:422:content:application/json:examples:inactive_team_member:value","block":"$L16a1"},{"key":"unexpected_error","label":"Unexpected error on initial request","rawValue":"$4f:props:children:0:props:children:props:responses:422:content:application/json:examples:unexpected_error:value","block":"$L16a2"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$4f:props:children:0:props:children:props:responses:429:content:application/json:examples:default:value","block":"$L16a3"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L16a4"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 16a5:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)168f:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$16a5","descriptionNode":"$L16a6"}}}] 1690:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"update_all_properties","label":"Update all properties","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:update_all_properties:value","block":"$L16a7"},{"key":"erase_spending_period_start_date","label":"Erase spending period start date and update end date","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:erase_spending_period_start_date:value","block":"$L16a8"},{"key":"erase_all_spending_limits","label":"Erase all spending limits","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:erase_all_spending_limits:value","block":"$L16a9"},{"key":"erase_single_transaction_limit","label":"Erase the single-transaction limit","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:erase_single_transaction_limit:value","block":"$L16aa"},{"key":"allow_specific_merchants","label":"Allow only specific merchants","rawValue":"$52:props:children:0:props:children:props:requestBody:content:application/json:examples:allow_specific_merchants:value","block":"$L16ab"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1691:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"update_all_properties","label":"Update all properties","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:update_all_properties:value","block":"$L16ac"},{"key":"erase_spending_period_start_date","label":"Erase spending period start date and update end date","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:erase_spending_period_start_date:value","block":"$L16ad"},{"key":"erase_all_spending_limits","label":"Erase all spending limits","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:erase_all_spending_limits:value","block":"$L16ae"},{"key":"erase_single_transaction_limit","label":"Erase single-transaction limit","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:erase_single_transaction_limit:value","block":"$L16af"},{"key":"allow_specific_merchants","label":"Erase single-transaction limit","rawValue":"$52:props:children:0:props:children:props:responses:200:content:application/json:examples:allow_specific_merchants:value","block":"$L16b0"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"nothing_to_update","label":"Empty request body - nothing to update","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:nothing_to_update:value","block":"$L16b1"},{"key":"invalid_spending_period_date_settings","label":"Invalid spending period date settings","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_spending_period_date_settings:value","block":"$L16b2"},{"key":"invalid_spending_period_end_settings","label":"Invalid spending period end settings","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_spending_period_end_settings:value","block":"$L16b3"},{"key":"spending_period_end_date_before_start_date","label":"Spending period end date is sooner than start date","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:spending_period_end_date_before_start_date:value","block":"$L16b4"},{"key":"past_spending_period_end_date","label":"Spending period start date is in the past","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:past_spending_period_end_date:value","block":"$L16b5"},{"key":"multiple_periodic_limits","label":"Multiple periodic spending limits at a time","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:multiple_periodic_limits:value","block":"$L16b6"},{"key":"label_too_long","label":"Card label too long","rawValue":"$52:props:children:0:props:children:props:responses:400:content:application/json:examples:label_too_long:value","block":"$L16b7"},{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L16b8"},{"key":"invalid_country_code","label":"Invalid country code (when countries=[\"GB\", \"USA\"])","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value","block":"$L16b9"}],"syncedPropertyName":"$undefined"}},"401":{"application/json":{"variants":[{"key":"unauthorized","label":"Unauthorized","rawValue":"$53:props:children:0:props:children:props:responses:401:content:application/json:examples:unauthorized:value","block":"$L16ba"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$52:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L16bb"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"unsupported_card_invitation_state","label":"Card invitation is not in state 'created'","rawValue":"$52:props:children:0:props:children:props:responses:422:content:application/json:examples:unsupported_card_invitation_state:value","block":"$L16bc"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L16bd"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 155b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Bank account type. Returned for BR, CO, and CL counterparties. Defaults to ",["$","code","code-0",{"children":"checking"}]," for US ACH transfers."]}]]}] 155c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Tax identification number.\nRouted based on ",["$","code","code-0",{"children":"bank_country"}]," and recipient type:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"BR"}],":\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Individual"}],": CPF (Cadastro de Pessoas Físicas). Accepted formats: ",["$","code","code-0",{"children":"^\\d{11}$"}]," or ",["$","code","code-1",{"children":"^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$"}],"."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Company"}],": CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: ",["$","code","code-0",{"children":"^\\d{14}$"}]," or ",["$","code","code-1",{"children":"^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$"}],"."]}],"\n"]}],"\n"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"CO (company)"}],": NIT (Número de Identificación Tributaria). Accepted format: ",["$","code","code-0",{"children":"^\\d{10}$"}],"."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"CL (individual, company)"}],": RUT (Rol Único Tributario)."]}],"\n"]}]]}] 155d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["National identification number.\nSpecifies Colombian Cédula de Ciudadanía when ",["$","code","code-0",{"children":"bank_country"}]," is ",["$","code","code-1",{"children":"CO"}]," and ",["$","code","code-2",{"children":"profile_type"}]," is ",["$","code","code-3",{"children":"personal"}],"."]}]]}] 155e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the counterparty in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164"}]," format."]}],"\n",["$","p","p-1",{"children":"Country-specific formats:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"CO"}],": ",["$","code","code-0",{"children":"+57"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?57\\d{10}$"}],")"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"LK"}],": ",["$","code","code-0",{"children":"+94"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?94\\d{10}$"}],")"]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"KR"}],": ",["$","code","code-0",{"children":"+82"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?82\\d{10}$"}],")"]}],"\n"]}]]}] 155f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Company registration number. Used for business LK counterparties."}]]}] 1560:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Indicates the possibility of the recipient charges."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"This field is deprecated and should be disregarded.\nIt is returned for legacy purposes only."}]}]]}]]}] 1561:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 1562:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 1563:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the region (state or province), for example, Ontario for Canada."}]]}] 1564:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the city."}]]}] 1565:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the counterparty, as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 1566:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode of the counterparty address."}]]}] 1567:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the counterparty's account."}]]}] 1568:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of public accounts associated with this counterparty."}]]}] 1569:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the counterparty's card."}]]}] 156a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the counterparty."}]]}] 156b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last four digits of the card number."}]]}] 156c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card brand."}]]}] 156d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the card issuer, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 156e:["$","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."]}]]}] 156f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of cards associated with this counterparty."}]]}] 1570:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Added counterparty"}]]}] 1571:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1572:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1573:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the provided IBAN is invalid."}]]}] 1574:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1575:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1576:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Not Found"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the counterparty that you're trying to add doesn't exist, or when the name that you provide for the Revtag counterparty doesn't match the actual name on the account."}]]}] 1577:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1578:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1579:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the Revolut counterparty (i.e. internal counterparty) that already exists."}]]}] 157a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Additional parameters related to the error."}]]}] 157b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Content"}],"\n",["$","p","p-1",{"children":"Returned, for example, when the Revolut counterparty that you're trying to add using Revtag already exists, or when the counterparty cannot be added."}]]}] 157c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 157d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 157e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 157f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of the Revolut profile.\nIndicates whether the counterparty is a personal or business account.\nProvide it when adding a Revolut counterparty via Revtag."}]]}] 1580:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/help/transfers/internal-transfers/username-payments/revtags/","target":"_blank","rel":"noreferrer","children":"Revtag"}]," of the counterparty to add."]}]]}] 1581:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the counterparty, provided when the counterparty is being added via ",["$","strong","strong-0",{"children":"Revtag"}],"."]}],"\n",["$","p","p-1",{"children":["If specified, ",["$","code","code-0",{"children":"individual_name"}]," and ",["$","code","code-1",{"children":"company_name"}]," must be empty."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["The name that you provide must match or closely match the actual name associated with the account that you're trying to add.\nOtherwise, the creation fails and a ",["$","code","code-0",{"children":"404"}]," error is returned."]}]}]]}]]}] 1582:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the counterparty, provided when the counterparty is a ",["$","strong","strong-0",{"children":"company"}]," (business account type) and is ",["$","strong","strong-1",{"children":"not"}]," being added via Revtag."]}],"\n",["$","p","p-1",{"children":["If specified, ",["$","code","code-0",{"children":"individual_name"}]," and ",["$","code","code-1",{"children":"name"}]," must be empty."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"company_name"}]," must contain at least 2 letters (not just characters).\nFor example, names like ",["$","code","code-1",{"children":"12"}]," will fail validation because they are two characters but not two letters."]}]}]]}]]}] 1583:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The first name of the individual counterparty."}]]}] 1584:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last name of the individual counterparty."}]]}] 1585:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The name of the counterparty, provided when the counterparty is an ",["$","strong","strong-0",{"children":"individual"}]," (personal account type) and is ",["$","strong","strong-1",{"children":"not"}]," being added via Revtag."]}],"\n",["$","p","p-1",{"children":["If specified, ",["$","code","code-0",{"children":"company_name"}]," and ",["$","code","code-1",{"children":"name"}]," must be empty."]}]]}] 1586:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the bank, provided as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 1587:["$","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."]}]]}] 1588:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The bank account number of the counterparty."}]]}] 1589:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IBAN number of the counterparty's account. This field is displayed for IBAN countries."}]]}] 158a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The sort code of the counterparty's account. This field is required for GBP accounts."}]]}] 158b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The routing number of the counterparty's account. This field is required for USD accounts."}]]}] 158c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BIC number of the counterparty's account. This field is required for non-SEPA IBAN/SWIFT."}]]}] 158d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The CLABE number of the counterparty's account. This field is required for SWIFT MX."}]]}] 158e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The IFSC number of the counterparty's account. This field is required for INR accounts."}]]}] 158f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The BSB number of the counterparty's account. This field is required for AUD accounts."}]]}] 1590:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 1 information."}]]}] 1591:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Street line 2 information."}]]}] 1592:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the region (state or province), for example, Ontario for Canada."}]]}] 1593:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the city."}]]}] 1594:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The country of the counterparty, as a 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," code."]}]]}] 1595:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The postcode of the counterparty address."}]]}] 1596:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The address of the counterparty."}]]}] 1597:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Routing method for US USD transfers. When omitted, defaults to ",["$","code","code-0",{"children":"ach"}]," for US-registered businesses and ",["$","code","code-1",{"children":"fedwire"}]," for non-US businesses."]}],"\n",["$","p","p-1",{"children":["Required when ",["$","code","code-0",{"children":"bank_country"}]," is ",["$","code","code-1",{"children":"US"}]," and the desired routing method differs from the default."]}]]}] 1598:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian bank identification code (COMPE). Required for BR counterparties."}]]}] 1599:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Brazilian branch (agência) code. Required for BR counterparties."}]]}] 159a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Bank account type. Defaults to ",["$","code","code-0",{"children":"checking"}]," for US ACH transfers when omitted."]}],"\n",["$","p","p-1",{"children":"Required for BR, CO, and CL counterparties."}]]}] 159b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Tax identification number."}],"\n",["$","p","p-1",{"children":["Required and routed based on ",["$","code","code-0",{"children":"bank_country"}]," and recipient type:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"BR"}],":\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Individual"}],": CPF (Cadastro de Pessoas Físicas). Accepted formats: ",["$","code","code-0",{"children":"^\\d{11}$"}]," or ",["$","code","code-1",{"children":"^\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}$"}],"."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Company"}],": CNPJ (Cadastro Nacional da Pessoa Jurídica). Accepted formats: ",["$","code","code-0",{"children":"^\\d{14}$"}]," or ",["$","code","code-1",{"children":"^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$"}],"."]}],"\n"]}],"\n"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"CO (company)"}],": NIT (Número de Identificación Tributaria). Accepted format: ",["$","code","code-0",{"children":"^\\d{10}$"}],"."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"CL (individual, company)"}],": RUT (Rol Único Tributario)."]}],"\n"]}]]}] 159c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["National identification number. Required when ",["$","code","code-0",{"children":"bank_country"}]," is ",["$","code","code-1",{"children":"CO"}]," and ",["$","code","code-2",{"children":"profile_type"}]," is ",["$","code","code-3",{"children":"personal"}],", must specify Colombian Cédula de Ciudadanía."]}]]}] 159d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The phone number of the counterparty in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/E.164","target":"_blank","rel":"noreferrer","children":"E.164"}]," format."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":"For internal (Revolut) counterparties: the recipient's Revolut phone number used to look them up."}],"\n",["$","li","li-1",{"children":["For external counterparties in CO, KR, and LK: the bank account phone number. Required when ",["$","code","code-0",{"children":"bank_country"}]," is ",["$","code","code-1",{"children":"CO"}],", ",["$","code","code-2",{"children":"KR"}],", or ",["$","code","code-3",{"children":"LK"}],"."]}],"\n"]}],"\n",["$","p","p-1",{"children":"Country-specific formats:"}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"CO"}],": ",["$","code","code-0",{"children":"+57"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?57\\d{10}$"}],")"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"KR"}],": ",["$","code","code-0",{"children":"+82"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?82\\d{10}$"}],")"]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"LK"}],": ",["$","code","code-0",{"children":"+94"}]," followed by 10 digits (",["$","code","code-1",{"children":"^\\+?94\\d{10}$"}],")"]}],"\n"]}]]}] 159e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Company registration number. Required for business LK counterparties (",["$","code","code-0",{"children":"profile_type"}],": ",["$","code","code-1",{"children":"business"}],")."]}]]}] 159f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Counterparty to add"}]]}] 15a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Create a new counterparty to transact with."}],"\n",["$","h3","h3-0",{"children":"Revtags in Sandbox"}],"\n",["$","p","p-1",{"children":["In the Sandbox environment, you cannot add real people and businesses as Revolut counterparties.\nTo help you simulate adding counterparties using Revtag, we created some test accounts of profile type ",["$","code","code-0",{"children":"personal"}]," that you can use."]}],"\n",["$","$L16be","Expandable-0",{"title":"Test accounts for Sandbox","children":["\n ","\n",["$","p","p-0",{"children":["To add a counterparty via Revtag, use one of these pairs for the ",["$","code","code-0",{"children":"name"}]," and ",["$","code","code-1",{"children":"revtag"}]," fields respectively:"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"Test User 1"}]," & ",["$","code","code-1",{"children":"john1pvki"}]]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"Test User 2"}]," & ",["$","code","code-1",{"children":"john2pvki"}]]}],"\n",["$","li","li-2",{"children":"..."}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"Test User 9"}]," & ",["$","code","code-1",{"children":"john9pvki"}]]}],"\n"]}],"\n"]}],"\n",["$","h5","h5-0",{"children":"Address field recommendations"}],"\n",["$","p","p-2",{"children":["Some payment rails may have stricter requirements regarding the ",["$","code","code-0",{"children":"address"}]," field – for example, by also requiring the ",["$","code","code-1",{"children":"region"}]," field.",["$","br","br-0",{}],"\nThis is why we recommend that you use ",["$","strong","strong-0",{"children":"all"}]," available address fields (including ",["$","code","code-2",{"children":"street_line1"}],", ",["$","code","code-3",{"children":"region"}]," and ",["$","code","code-4",{"children":"city"}],") when creating a counterparty."]}],"\n",["$","p","p-3",{"children":"This significantly reduces the risk of any disruption to payments made via the API."}],"\n",["$","h5","h5-1",{"children":"Multiple counterparties with the same details"}],"\n",["$","p","p-4",{"children":"You cannot create multiple counterparties with the same Revtag.\nThis restriction does not apply to other details.\nFor example:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Revtag"}],": If you've already added ",["$","code","code-0",{"children":"johnsmith"}]," as a Revolut counterparty, you can't add another counterparty with the ",["$","code","code-1",{"children":"johnsmith"}]," Revtag.\nIf you try to do so, you'll get an error."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Other details"}],": If you've added John Smith as an individual UK counterparty using GBP with ",["$","code","code-0",{"children":"sort_code=54-01-05"}]," and ",["$","code","code-1",{"children":"account_no=12345678"}],", you can still use the same details to create another counterparty."]}],"\n"]}],"\n",["$","h5","h5-2",{"children":"Counterparty name"}],"\n",["$","p","p-5",{"children":"When creating a counterparty, ensure that you use the correct field to define the counterparty's name."}],"\n",["$","div","table-0",{"className":"eowryt0","children":["$","table",null,{"className":"eowryt1","children":[["$","thead","thead-0",{"children":[["$","tr","tr-0",{"children":[["$","th","th-0",{"rowSpan":2,"children":" Counterparty type","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"colSpan":2,"children":"Name field to use when added with:","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],["$","tr","tr-1",{"children":[["$","th","th-0",{"children":"Revtag","className":"eowryt6","ref":"$undefined"}],["$","th","th-1",{"children":"Other details","className":"eowryt6","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}]],"className":"eowryt2","ref":"$undefined"}],["$","tbody","tbody-0",{"children":[["$","tr","tr-0",{"children":[["$","th","th-0",{"children":"Individual","className":"eowryt6","ref":"$undefined"}],["$","td","td-0",{"children":[["$","code","code-0",{"children":"name"}]," (string)"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"individual_name"}]," (",["$","b","b-0",{"children":"object"}]," with string subfields for first and last name)"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}],"$L16bf"],"className":"eowryt3","ref":"$undefined"}]]}]}],"\n","$L16c0","\n","$L16c1"]}] 16bf:["$","tr","tr-1",{"children":[["$","th","th-0",{"children":"Company","className":"eowryt6","ref":"$undefined"}],["$","td","td-0",{"children":[["$","code","code-0",{"children":"name"}]," (string)"],"className":"eowryt7","ref":"$undefined"}],["$","td","td-1",{"children":[["$","code","code-0",{"children":"company_name"}]," (string)"],"className":"eowryt7","ref":"$undefined"}]],"className":"eowryt5","ref":"$undefined"}] 16c0:["$","hr","hr-0",{}] 16c1:["$","p","p-6",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/counterparties/create-a-counterparty","target":"_blank","rel":"noreferrer","children":"Create a counterparty"}],"."]}] 15b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L16c2","\n","$L16c3","\n"]}]]}] 1665:"Create a card invitation" 16c2:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 16c3:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1676:"Update card invitation settings" 15ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation."}]]}] 15cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the card invitation:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"created"}]}],": Invitation has been created but not yet claimed."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"expired"}]}],": Invitation has expired due to expiry date being reached or manual cancellation."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"failed"}]}],": Invitation claim attempt failed."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"redeemed"}]}],": Invitation has been successfully claimed."]}],"\n"]}],"\n",["$","p","p-1",{"children":["To learn more about card invitation lifecycle, see the guide: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"Manage card invitations → Card invitation state"}],"."]}]]}] 15cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 15cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 15ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 invitations in state ",["$","code","code-0",{"children":"created"}],"."]}],["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For other states, to find out when a card invitation transitioned to its ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"final state"}],", check the ",["$","code","code-0",{"children":"updated_at"}]," value."]}]}]]}]]}]]}]]}] 15cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed."}]]}] 15d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the issued card will be a virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],") one."]}]]}] 15d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 15d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 15d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 15d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 15d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 15d6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 15d7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 15d8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 15d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 15da:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 161a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation."}]]}] 161b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The current state of the card invitation:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"created"}]}],": Invitation has been created but not yet claimed."]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"expired"}]}],": Invitation has expired due to expiry date being reached or manual cancellation."]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"failed"}]}],": Invitation claim attempt failed."]}],"\n",["$","li","li-3",{"children":[["$","strong","strong-0",{"children":["$","code","code-0",{"children":"redeemed"}]}],": Invitation has been successfully claimed."]}],"\n"]}],"\n",["$","p","p-1",{"children":["To learn more about card invitation lifecycle, see the guide: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"Manage card invitations → Card invitation state"}],"."]}]]}] 161c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 161d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card invitation was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 161e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time after which this card invitation expires if not claimed or cancelled before then.\nSpecified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 invitations in state ",["$","code","code-0",{"children":"created"}],"."]}],["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["For other states, to find out when a card invitation transitioned to its ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#card-invitation-state","target":"_blank","rel":"noreferrer","children":"final state"}],", check the ",["$","code","code-0",{"children":"updated_at"}]," value."]}]}]]}]]}]]}]]}] 161f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member to be assigned as the holder of the card after the invitation is claimed."}]]}] 1620:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the issued card will be a virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],") one."]}]]}] 1621:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 1622:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the spend program."}]]}] 1623:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/","target":"_blank","rel":"noreferrer","children":"spend program"}]," assigned to the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To use this property, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 1624:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1625:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1626:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 1627:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 15db:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 15dc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 15dd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 15de:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 15df:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 15e0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card will become available or unavailable for spending, and define what happens after the end date."}]]}] 15e1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of merchant categories that will be available for card spending.",["$","br","br-0",{}],"\nIf this parameter is not specified, categories are not restricted."]}]]}] 15e2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 15e3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 15e4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the team member will be able to use the card.\nSpecified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 15e5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of accounts that will be linked to the card."}]]}] 15e6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Successfully created card invitation"}]]}] 15e7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 15e8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 15e9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when your request is malformed, missing required fields, or when it contains fields that cannot co-exist or unsupported values."}],"\n",["$","p","p-2",{"children":["If the invalid value is an array item, the error might indicate the array index of this faulty item, counting from ",["$","code","code-0",{"children":"0"}],".\nFor example, if you provide the list of countries, such as ",["$","code","code-1",{"children":"\"countries\": [\"GB\", \"USA\", ...]"}],", the first item (",["$","code","code-2",{"children":"GB"}],") has index ",["$","code","code-3",{"children":"0"}],", the second item (",["$","code","code-4",{"children":"USA"}],") has index ",["$","code","code-5",{"children":"1"}],", and so on.\nIn the example, ",["$","code","code-6",{"children":"USA"}]," is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that ",["$","code","code-7",{"children":"countries[1]"}]," is invalid, thus pointing to the second item in the array, i.e. ",["$","code","code-8",{"children":"USA"}],"."]}]]}] 15ea:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 15eb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 15ec:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Error returning a status instead of code."}]]}] 15ed:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 15ee:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 15ef:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 15f0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 15f1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Team member not found"}],"\n",["$","p","p-1",{"children":["Returned when the team member specified as cardholder in ",["$","code","code-0",{"children":"holder_id"}]," does not exist."]}]]}] 15f2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 15f3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 15f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to modify a resource which is not a in state that would allow for modifications, e.g. a card invitation in state ",["$","code","code-0",{"children":"failed"}],"."]}]]}] 15f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}],"\n",["$","p","p-1",{"children":["For example, you try to set more than one periodic limit at a time, create an invitation for a deleted team member, or an unexpected error occurred when the initial request with the same ",["$","code","code-0",{"children":"request_id"}]," was sent."]}]]}] 15f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 15f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 15f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Concurrent requests with the same idempotency key"}]]}] 15f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 15fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 15fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 15fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique ID of the request that you provide."}],"\n",["$","p","p-1",{"children":"There is no strict requirement on the format of this ID, but we suggest using v4 UUIDs."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This ID is used to prevent duplicate card creation requests in case of a lost connection or client error, so make sure you use the same ",["$","code","code-0",{"children":"request_id"}]," for requests related to the same card invitation.\nThe deduplication is limited to 24 hours counting from the first request using a given ID."]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations#idempotency","target":"_blank","rel":"noreferrer","children":"Manage card invitations - Idempotency"}],"."]}]]}] 15fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The period after which the card invitation expires if it hasn't been claimed or cancelled.\nMust be specified in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," duration format.\nThe duration is counted from the card invitation creation."]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Minimum duration:"}]," 1 day (",["$","code","code-0",{"children":"P1D"}],")"]}],"\n",["$","li","li-1",{"children":[["$","strong","strong-0",{"children":"Maximum duration:"}]," 90 days (",["$","code","code-0",{"children":"P90D"}],")"]}],"\n",["$","li","li-2",{"children":[["$","strong","strong-0",{"children":"Default duration:"}]," 90 days (",["$","code","code-0",{"children":"P90D"}],")"]}],"\n"]}]]}] 15fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member who will be assigned as the holder of the card after the invitation is claimed."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To retrieve a team member's ID, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-team-members","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /team-members"}]," operation"]}],"."]}]}]]}]]}] 15ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies the type of the card.\nMust be set to ",["$","code","code-0",{"children":"true"}],", as with the API, you can create only virtual cards."]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To create physical cards, use the ",["$","a","a-0",{"href":"https://business.revolut.com","target":"_blank","rel":"noreferrer","children":"Revolut Business app"}],"."]}]}]]}]]}] 1600:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The label for the card to be issued, displayed in the UI to help distinguish between cards.\nIf not specified, the default label will be set according to the card's type.\nFor card invitations created via API, it's always ",["$","code","code-0",{"children":"Virtual"}],"."]}]]}] 1601:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1602:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1603:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 1604:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1605:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1606:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 1607:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 1608:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1609:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 160a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 160b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 160c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"All spending limits set for the card."}],"\n",["$","p","p-1",{"children":"You can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error."}]]}] 160d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 160e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 160f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 1610:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They let you set the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}],"\n",["$","p","p-2",{"children":"If specified, you must provide at least one of these:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"start_date"}]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"end_date"}]," together with ",["$","code","code-1",{"children":"end_date_action"}]]}],"\n"]}],"\n",["$","p","p-3",{"children":"The dates provided must be in the future."}]]}] 1611:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of merchant categories to be available for card spending.\nIf not specified, all categories will be allowed."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"categories"}]," and ",["$","code","code-1",{"children":"merchant_controls"}]," parameters have the following restrictions:"]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If you set ",["$","code","code-0",{"children":"categories"}],", you ",["$","strong","strong-0",{"children":"cannot"}]," set ",["$","code","code-1",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-2",{"children":"allow"}],"."]}],"\n",["$","li","li-1",{"children":["You ",["$","strong","strong-0",{"children":"can"}]," set ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-1",{"children":"block"}],"."]}],"\n",["$","li","li-2",{"children":["You may also set ",["$","strong","strong-0",{"children":"either"}]," ",["$","code","code-0",{"children":"categories"}]," or ",["$","code","code-1",{"children":"merchant_controls"}]," independently, or ",["$","strong","strong-1",{"children":"set neither"}],"."]}],"\n",["$","li","li-3",{"children":["Both parameters can be used together ",["$","strong","strong-0",{"children":"only"}]," if ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," is ",["$","code","code-1",{"children":"block"}],"."]}],"\n"]}]]}]]}]]}] 1612:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 1613:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 1614:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They let you block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")."]}],"\n"]}]]}] 1615:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Restricts card use to specified countries, provided as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 1616:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-accounts","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /accounts"}]," operation"]}],"."]}]]}] 1617:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card to create an invitation for"}]]}] 1666:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Create an invitation for a virtual ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member card"}]," for a new, not-yet-onboarded team member.\nWhen the team member completes onboarding before the invitation's expiry date, the invitation will automatically be claimed, and the card will then be issued for the team member immediately."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations","target":"_blank","rel":"noreferrer","children":"Manage card invitations"}],"."]}]]}] 1628:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1629:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 162a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 162b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 162c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 162d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 162e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 162f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1630:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1631:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 1632:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card will become available or unavailable for spending, and define what happens after the end date."}]]}] 1633:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of merchant categories that will be available for card spending.",["$","br","br-0",{}],"\nIf this parameter is not specified, categories are not restricted."]}]]}] 1634:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 1635:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 1636:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the team member will be able to use the card.\nSpecified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 1637:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of accounts that will be linked to the card."}]]}] 1638:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the updated card invitation"}]]}] 1639:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 163a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 163b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when there's nothing to update or the provided details are unsupported for this operation."}],"\n",["$","p","p-2",{"children":["If the invalid value is an array item, the error might indicate the array index of this faulty item, counting from ",["$","code","code-0",{"children":"0"}],".\nFor example, if you provide the list of countries, such as ",["$","code","code-1",{"children":"\"countries\": [\"GB\", \"USA\", ...]"}],", the first item (",["$","code","code-2",{"children":"GB"}],") has index ",["$","code","code-3",{"children":"0"}],", the second item (",["$","code","code-4",{"children":"USA"}],") has index ",["$","code","code-5",{"children":"1"}],", and so on.\nIn the example, ",["$","code","code-6",{"children":"USA"}]," is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that ",["$","code","code-7",{"children":"countries[1]"}]," is invalid, thus pointing to the second item in the array, i.e. ",["$","code","code-8",{"children":"USA"}],"."]}]]}] 163c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 163d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 163e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Error returning a status instead of code."}]]}] 163f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 1640:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unauthorised"}],"\n",["$","p","p-1",{"children":["Returned, for example, when the credentials you used to make the request are invalid.\nFor more information, see the ",["$","strong","strong-0",{"children":"Authorization"}]," section."]}]]}] 1641:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1642:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1643:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card invitation doesn't exist"}],"\n",["$","p","p-1",{"children":"The card invitation for which you wish to update details does not exist."}]]}] 1644:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1645:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1646:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to modify a resource which is not a in state that would allow for modifications, e.g. a card invitation in state ",["$","code","code-0",{"children":"failed"}],"."]}]]}] 1647:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable Entity"}],"\n",["$","p","p-1",{"children":["Returned, for example, when you try to update a card invitation that's not in state ",["$","code","code-0",{"children":"created"}],".\nSuch an invitation is no longer active and therefore cannot be modified."]}]]}] 1648:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1649:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 164a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 164b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}],"\n",["$","p","p-1",{"children":["Cards without labels are not allowed.\nIf set to ",["$","code","code-0",{"children":"null"}],", the default label will be set according to the card's type."]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],["$","div",null,{"className":"_25vm6y2","children":"Default labels"}],["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["For virtual cards, the default label is ",["$","code","code-0",{"children":"Virtual"}],".\nFor physical cards, depending on the type, it can be, for example, ",["$","code","code-1",{"children":"Standard"}]," or ",["$","code","code-2",{"children":"Metal"}],"."]}],["$","p","p-1",{"children":"As these values depend on available card types, they are subject to change over time."}]]}]]}]]}] 164c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 164d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 164e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 164f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1650:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1651:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 1652:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 1653:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1654:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 1655:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 1656:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1657:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"All spending limits to be set for the card."}],"\n",["$","p","p-1",{"children":"You can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error."}],"\n",["$","p","p-2",{"children":["Use ",["$","code","code-0",{"children":"null"}]," as the value for a specific limit to erase that limit.\nUse ",["$","code","code-1",{"children":"null"}]," as the value for the ",["$","code","code-2",{"children":"spending_limits"}]," object to erase all limits."]}]]}] 1659:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 165a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 165b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 165c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They let you set or modify the dates when the card should become available or unavailable for spending, and define what happens after the end date."}],"\n",["$","p","p-2",{"children":"If specified, you must provide at least one of these:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"start_date"}]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"end_date"}]," together with ",["$","code","code-1",{"children":"end_date_action"}]]}],"\n"]}],"\n",["$","p","p-3",{"children":"The spending period dates must be in the future."}],"\n",["$","p","p-4",{"children":"The dates are inclusive.\nThis means that:"}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":["If you set the ",["$","code","code-0",{"children":"start_date"}]," to ",["$","code","code-1",{"children":"2026-03-31"}],", the card will become active on that day."]}],"\n",["$","li","li-1",{"children":["If you set the ",["$","code","code-0",{"children":"end_date"}]," to ",["$","code","code-1",{"children":"2027-12-31"}],", the card will be active through that day, and will be locked/terminated starting on 1st Jan 2028."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":"You can update the spending period settings in a few ways, depending on your use case:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["To remove the start date, but keep the end date settings, provide the current ",["$","code","code-0",{"children":"spending_period"}]," settings without the ",["$","code","code-1",{"children":"start_date"}],"."]}],"\n",["$","li","li-1",{"children":["To remove the start date when no end date is set, provide the ",["$","code","code-0",{"children":"spending_period.start_date"}]," set to ",["$","code","code-1",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["To remove ",["$","strong","strong-0",{"children":"all"}]," spending period settings, provide ",["$","code","code-0",{"children":"spending_period"}]," set to ",["$","code","code-1",{"children":"null"}],"."]}],"\n"]}],["$","p","p-1",{"children":["If you wish to erase a spending period end date, you can do this in a similar way, applying the steps to ",["$","code","code-0",{"children":"spending_period.end_date"}]," and ",["$","code","code-1",{"children":"spending_period.end_date_action"}],"."]}]]}]]}]]}] 165d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of merchant categories to be available for card spending.\nUse ",["$","code","code-0",{"children":"null"}]," to erase the value and reset to empty (all categories will be allowed)."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"categories"}]," and ",["$","code","code-1",{"children":"merchant_controls"}]," parameters have the following restrictions:"]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If you set ",["$","code","code-0",{"children":"categories"}],", you ",["$","strong","strong-0",{"children":"cannot"}]," set ",["$","code","code-1",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-2",{"children":"allow"}],"."]}],"\n",["$","li","li-1",{"children":["You ",["$","strong","strong-0",{"children":"can"}]," set ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-1",{"children":"block"}],"."]}],"\n",["$","li","li-2",{"children":["You may also set ",["$","strong","strong-0",{"children":"either"}]," ",["$","code","code-0",{"children":"categories"}]," or ",["$","code","code-1",{"children":"merchant_controls"}]," independently, or ",["$","strong","strong-1",{"children":"set neither"}],"."]}],"\n",["$","li","li-3",{"children":["Both parameters can be used together ",["$","strong","strong-0",{"children":"only"}]," if ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," is ",["$","code","code-1",{"children":"block"}],"."]}],"\n"]}]]}]]}]]}] 165e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 165f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 1660:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They let you block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")."]}],"\n"]}]]}] 1661:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the card can be used, provided as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 1662:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-accounts","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /accounts"}]," operation"]}],"."]}]]}] 1677:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Update settings for a specific card invitation, based on its ID.\nYou can update successfully created invitations that have not been claimed yet (",["$","code","code-0",{"children":"state=created"}],")."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Some spend control parameters can affect one another.\nWhen updating spend controls, review the resulting settings in the response to ensure they reflect the configuration you intended."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-card-invitations","target":"_blank","rel":"noreferrer","children":"Manage card invitations"}],"."]}]]}] 1678:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card invitation."}]]}] 1693:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L16c4","\n","$L16c5","\n"]}]]}] 16a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L16c6","\n","$L16c7","\n"]}]]}] 16c4:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 16c5:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 16c6:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 16c7:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 16c8:T45d,
{
  "profile_type": "personal",
  "name": "John Smith",
  "revtag": "johnsmith"
}
15b5:["$","div","request-application/json-revolut_counterparty_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16c8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"profile_type\": \"personal\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\"\n}"}]}]]}] 16c9:T461,
{
  "profile_type": "business",
  "name": "John Smith Co.",
  "revtag": "jsmithco1"
}
15b6:["$","div","request-application/json-revolut_counterparty_business",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16c9"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"profile_type\": \"business\",\n \"name\": \"John Smith Co.\",\n \"revtag\": \"jsmithco1\"\n}"}]}]]}] 16ca:T853,
{
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  },
  "bank_country": "GB",
  "currency": "GBP",
  "sort_code": "54-01-05",
  "account_no": "12345678"
}
15b7:["$","div","request-application/json-uk_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16ca"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n },\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\"\n}"}]}]]}] 16cb:Td95,
{
  "individual_name": {
    "first_name": "John",
    "last_name": "Smith"
  },
  "bank_country": "GB",
  "currency": "GBP",
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "address": {
    "city": "London",
    "street_line1": "20 Upping St",
    "country": "GB",
    "postcode": "SW1A 2AB"
  }
}
15b8:["$","div","request-application/json-uk_individual_with_address",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16cb"}}]}]],"$L16cc"]}] 16cd:T68a,
{
  "company_name": "John Smith Co.",
  "bank_country": "GB",
  "currency": "GBP",
  "sort_code": "54-01-05",
  "account_no": "12345678"
}
15b9:["$","div","request-application/json-uk_business",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16cd"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"company_name\": \"John Smith Co.\",\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\"\n}"}]}]]}] 16ce:Tbcc,
{
  "company_name": "John Smith Co.",
  "bank_country": "GB",
  "currency": "GBP",
  "sort_code": "54-01-05",
  "account_no": "12345678",
  "address": {
    "city": "London",
    "street_line1": "20 Upping St",
    "country": "GB",
    "postcode": "SW1A 2AB"
  }
}
15ba:["$","div","request-application/json-uk_business_with_address",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16ce"}}]}]],"$L16cf"]}] 16d0:T58b,
{
  "company_name": "Bleu Blanc Conseil SARL",
  "bank_country": "FR",
  "currency": "EUR",
  "iban": "FR1420041010050500013M02606"
}
15bb:["$","div","request-application/json-international_business_eurozone",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"company_name\": \"Bleu Blanc Conseil SARL\",\n \"bank_country\": \"FR\",\n \"currency\": \"EUR\",\n \"iban\": \"FR1420041010050500013M02606\"\n}"}]}]]}] 16d1:T57e,
{
  "company_name": "Johann Meier Co.",
  "bank_country": "CH",
  "currency": "EUR",
  "iban": "CH9300762011623852957"
}
15bc:["$","div","request-application/json-international_business_ch_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d1"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"company_name\": \"Johann Meier Co.\",\n \"bank_country\": \"CH\",\n \"currency\": \"EUR\",\n \"iban\": \"CH9300762011623852957\"\n}"}]}]]}] 16d2:Tac8,
{
  "company_name": "Edelweiss Handel GmbH",
  "bank_country": "CH",
  "currency": "CHF",
  "iban": "CH5604835012345678009",
  "address": {
    "street_line1": "Bahnhofstrasse 4a/8",
    "city": "Zurich",
    "country": "CH",
    "postcode": "8001"
  }
}
15bd:["$","div","request-application/json-international_business_ch_chf",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d2"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"company_name\": \"Edelweiss Handel GmbH\",\n \"bank_country\": \"CH\",\n \"currency\": \"CHF\",\n \"iban\": \"CH5604835012345678009\",\n \"address\": {\n \"street_line1\": \"Bahnhofstrasse 4a/8\",\n \"city\": \"Zurich\",\n \"country\": \"CH\",\n \"postcode\": \"8001\"\n }\n}"}]}]]}] 16d3:T9f6,
{
  "id": "54ee57d7-1234-abcd-1234-0e1f79164d5e",
  "name": "John Smith",
  "revtag": "johnsmith",
  "profile_type": "personal",
  "country": "GB",
  "state": "created",
  "created_at": "2023-07-26T09:34:41.790401Z",
  "updated_at": "2023-07-26T09:34:41.790401Z"
}
15be:["$","div","200-application/json-revolut_counterparty_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d3"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"54ee57d7-1234-abcd-1234-0e1f79164d5e\",\n \"name\": \"John Smith\",\n \"revtag\": \"johnsmith\",\n \"profile_type\": \"personal\",\n \"country\": \"GB\",\n \"state\": \"created\",\n \"created_at\": \"2023-07-26T09:34:41.790401Z\",\n \"updated_at\": \"2023-07-26T09:34:41.790401Z\"\n}"}]}]]}] 16d4:T9fa,
{
  "id": "11cae5ef-ec24-401d-98a3-e5baa0041671",
  "name": "John Smith Co.",
  "revtag": "jsmithco1",
  "profile_type": "business",
  "country": "GB",
  "state": "created",
  "created_at": "2025-09-16T09:34:41.790401Z",
  "updated_at": "2025-09-16T09:34:41.790401Z"
}
15bf:["$","div","200-application/json-revolut_counterparty_business",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"11cae5ef-ec24-401d-98a3-e5baa0041671\",\n \"name\": \"John Smith Co.\",\n \"revtag\": \"jsmithco1\",\n \"profile_type\": \"business\",\n \"country\": \"GB\",\n \"state\": \"created\",\n \"created_at\": \"2025-09-16T09:34:41.790401Z\",\n \"updated_at\": \"2025-09-16T09:34:41.790401Z\"\n}"}]}]]}] 16d5:T1126,
{
  "id": "19dcf5a2-110f-43f7-9d5f-98aaf4b8f0d6",
  "name": "John Smith",
  "profile_type": "personal",
  "state": "created",
  "created_at": "2023-03-13T09:34:41.790401Z",
  "updated_at": "2023-03-13T09:34:41.790401Z",
  "accounts": [
    {
      "account_no": "12345678",
      "sort_code": "540105",
      "id": "6f45a49a-710c-4ef4-b42b-6c247c82af75",
      "name": "John Doe",
      "bank_country": "GB",
      "currency": "GBP",
      "type": "external"
    }
  ]
}
15c0:["$","div","200-application/json-uk_individual",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d5"}}]}]],"$L16d6"]}] 16d7:T1130,
{
  "id": "b53fdd78-8d67-4f63-a103-eeeeef53cac8",
  "name": "John Smith Co.",
  "profile_type": "business",
  "state": "created",
  "created_at": "2022-09-14T14:34:11.168340Z",
  "updated_at": "2022-09-14T14:34:11.168340Z",
  "accounts": [
    {
      "account_no": "12345678",
      "sort_code": "540105",
      "id": "5c9e171c-7e23-4d6a-b768-aaaaaba535f3",
      "name": "John Smith Co.",
      "bank_country": "GB",
      "currency": "GBP",
      "type": "external"
    }
  ]
}
15c1:["$","div","200-application/json-uk_business",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d7"}}]}]],"$L16d8"]}] 16d9:T114e,
{
  "id": "239d6f1f-2222-4ae6-1111-5cc603341b4e",
  "name": "Bleu Blanc Conseil SARL",
  "profile_type": "business",
  "state": "created",
  "created_at": "2022-09-14T14:47:12.273718Z",
  "updated_at": "2022-09-14T14:47:12.273718Z",
  "accounts": [
    {
      "iban": "FR1420041010050500013M02606",
      "bic": "PSSTFRPPLIL",
      "id": "b209281b-aakk-9911-8d83-ac72469cef8f",
      "name": "Bleu Blanc Conseil SARL",
      "bank_country": "FR",
      "currency": "EUR",
      "type": "external"
    }
  ]
}
15c2:["$","div","200-application/json-international_business_eurozone",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16d9"}}]}]],"$L16da"]}] 16db:T113a,
{
  "id": "b8ce3922-d518-4ae6-9426-e8cc117e5332",
  "name": "Johann Meier Co.",
  "profile_type": "business",
  "state": "created",
  "created_at": "2026-01-30T12:43:20.273500Z",
  "updated_at": "2026-01-30T12:43:20.273500Z",
  "accounts": [
    {
      "iban": "CH9300762011623852957",
      "bic": "UBSWCHZH80A",
      "id": "d95bc455-f495-4f18-95fa-32f99479318c",
      "name": "Johann Meier Co.",
      "bank_country": "CH",
      "currency": "EUR",
      "type": "external"
    }
  ]
}
15c3:["$","div","200-application/json-international_business_ch_eur",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16db"}}]}]],"$L16dc"]}] 16dd:T1144,
{
  "id": "173e6a6b-d955-465f-8f31-7f6f7c03927c",
  "name": "Edelweiss Handel GmbH",
  "profile_type": "business",
  "state": "created",
  "created_at": "2023-08-10T12:43:20.273500Z",
  "updated_at": "2023-08-10T12:43:20.273500Z",
  "accounts": [
    {
      "iban": "CH5604835012345678009",
      "bic": "UBSWCHZH80A",
      "id": "b3cc43e8-f141-459b-9bd5-3505cf9797f8",
      "name": "Edelweiss Handel GmbH",
      "bank_country": "CH",
      "currency": "CHF",
      "type": "external"
    }
  ]
}
15c4:["$","div","200-application/json-international_business_ch_chf",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16dd"}}]}]],"$L16de"]}] 15c5:["$","div","400-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"FR66995908786 is not a valid IBAN\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"FR66995908786 is not a valid IBAN\"\n}"}]}]]}] 15c6:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3006,\n  \"message\": \"Resource not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3006,\n \"message\": \"Resource not found\"\n}"}]}]]}] 16df:T57c,
{
  "message": "This counterparty already exists",
  "code": 3012,
  "params": {
    "counterparty_id": "878029d4-5972-4424-ae8c-80fe5f59407b"
  }
}
15c7:["$","div","422-application/json-counterparty_exists",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16df"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"This counterparty already exists\",\n \"code\": 3012,\n \"params\": {\n \"counterparty_id\": \"878029d4-5972-4424-ae8c-80fe5f59407b\"\n }\n}"}]}]]}] 15c8:["$","div","422-application/json-counterparty_cannot_be_added",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Recipient can't be added\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Recipient can't be added\",\n \"code\": 2101\n}"}]}]]}] 15c9:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 16cc:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"individual_name\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\"\n },\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"address\": {\n \"city\": \"London\",\n \"street_line1\": \"20 Upping St\",\n \"country\": \"GB\",\n \"postcode\": \"SW1A 2AB\"\n }\n}"}]}] 16cf:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"company_name\": \"John Smith Co.\",\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"sort_code\": \"54-01-05\",\n \"account_no\": \"12345678\",\n \"address\": {\n \"city\": \"London\",\n \"street_line1\": \"20 Upping St\",\n \"country\": \"GB\",\n \"postcode\": \"SW1A 2AB\"\n }\n}"}]}] 16d6:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"19dcf5a2-110f-43f7-9d5f-98aaf4b8f0d6\",\n \"name\": \"John Smith\",\n \"profile_type\": \"personal\",\n \"state\": \"created\",\n \"created_at\": \"2023-03-13T09:34:41.790401Z\",\n \"updated_at\": \"2023-03-13T09:34:41.790401Z\",\n \"accounts\": [\n {\n \"account_no\": \"12345678\",\n \"sort_code\": \"540105\",\n \"id\": \"6f45a49a-710c-4ef4-b42b-6c247c82af75\",\n \"name\": \"John Doe\",\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"type\": \"external\"\n }\n ]\n}"}]}] 16d8:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"b53fdd78-8d67-4f63-a103-eeeeef53cac8\",\n \"name\": \"John Smith Co.\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2022-09-14T14:34:11.168340Z\",\n \"updated_at\": \"2022-09-14T14:34:11.168340Z\",\n \"accounts\": [\n {\n \"account_no\": \"12345678\",\n \"sort_code\": \"540105\",\n \"id\": \"5c9e171c-7e23-4d6a-b768-aaaaaba535f3\",\n \"name\": \"John Smith Co.\",\n \"bank_country\": \"GB\",\n \"currency\": \"GBP\",\n \"type\": \"external\"\n }\n ]\n}"}]}] 16da:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"239d6f1f-2222-4ae6-1111-5cc603341b4e\",\n \"name\": \"Bleu Blanc Conseil SARL\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2022-09-14T14:47:12.273718Z\",\n \"updated_at\": \"2022-09-14T14:47:12.273718Z\",\n \"accounts\": [\n {\n \"iban\": \"FR1420041010050500013M02606\",\n \"bic\": \"PSSTFRPPLIL\",\n \"id\": \"b209281b-aakk-9911-8d83-ac72469cef8f\",\n \"name\": \"Bleu Blanc Conseil SARL\",\n \"bank_country\": \"FR\",\n \"currency\": \"EUR\",\n \"type\": \"external\"\n }\n ]\n}"}]}] 16dc:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"b8ce3922-d518-4ae6-9426-e8cc117e5332\",\n \"name\": \"Johann Meier Co.\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2026-01-30T12:43:20.273500Z\",\n \"updated_at\": \"2026-01-30T12:43:20.273500Z\",\n \"accounts\": [\n {\n \"iban\": \"CH9300762011623852957\",\n \"bic\": \"UBSWCHZH80A\",\n \"id\": \"d95bc455-f495-4f18-95fa-32f99479318c\",\n \"name\": \"Johann Meier Co.\",\n \"bank_country\": \"CH\",\n \"currency\": \"EUR\",\n \"type\": \"external\"\n }\n ]\n}"}]}] 16de:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"173e6a6b-d955-465f-8f31-7f6f7c03927c\",\n \"name\": \"Edelweiss Handel GmbH\",\n \"profile_type\": \"business\",\n \"state\": \"created\",\n \"created_at\": \"2023-08-10T12:43:20.273500Z\",\n \"updated_at\": \"2023-08-10T12:43:20.273500Z\",\n \"accounts\": [\n {\n \"iban\": \"CH5604835012345678009\",\n \"bic\": \"UBSWCHZH80A\",\n \"id\": \"b3cc43e8-f141-459b-9bd5-3505cf9797f8\",\n \"name\": \"Edelweiss Handel GmbH\",\n \"bank_country\": \"CH\",\n \"currency\": \"CHF\",\n \"type\": \"external\"\n }\n ]\n}"}]}] 16e0:T490,
{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true
}
1694:["$","div","request-application/json-card_invitation_minimal_example",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e0"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true\n}"}]}]]}] 16e1:T1981,
{
  "request_id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "expiry_period": "P14D",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_limits": {
    "single": {
      "amount": 50,
      "currency": "GBP"
    },
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-31",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
1695:["$","div","request-application/json-card_invitation_full_example",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e1"}}]}]],"$L16e2"]}] 16e3:T1cd6,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T00:00:00Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_limits": {
    "single": {
      "amount": 50,
      "currency": "GBP"
    },
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-31",
    "end_date_action": "lock"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
1696:["$","div","200-application/json-card_invitation_response",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e3"}}]}]],"$L16e4"]}] 1697:["$","div","400-application/json-missing_required_field",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"merchant_ids is empty\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"merchant_ids is empty\"\n}"}]}]]}] 1698:["$","div","400-application/json-categories_and_allowed_merchants_cannot_coexist",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Allowed merchant categories must be empty when merchant controls of type ALLOW is present\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Allowed merchant categories must be empty when merchant controls of type ALLOW is present\"\n}"}]}]]}] 1699:["$","div","400-application/json-expiry_period_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"expiry_period must be between PT24H and PT2160H\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"expiry_period must be between PT24H and PT2160H\"\n}"}]}]]}] 169a:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Cannot parse request: invalid JSON\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Cannot parse request: invalid JSON\"\n}"}]}]]}] 169b:["$","div","400-application/json-wrong_spending_period_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Spending period start_date must be in the future\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Spending period start_date must be in the future\"\n}"}]}]]}] 169c:["$","div","400-application/json-invalid_account_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Invalid account ids provided=[0f187658-8c07-491f-9129-ae567b829137]\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Invalid account ids provided=[0f187658-8c07-491f-9129-ae567b829137]\"\n}"}]}]]}] 169d:["$","div","400-application/json-invalid_country_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}"}]}]]}] 169e:["$","div","401-application/json-unauthorized",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"status\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"status\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 169f:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3042,\n  \"message\": \"Team member not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3042,\n \"message\": \"Team member not found\"\n}"}]}]]}] 16a0:["$","div","422-application/json-multiple_periodic_limits",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33000,\n  \"message\": \"Only one periodic limit can be set on a card\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33000,\n \"message\": \"Only one periodic limit can be set on a card\"\n}"}]}]]}] 16a1:["$","div","422-application/json-inactive_team_member",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Card invitations are only allowed for users in created state\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Card invitations are only allowed for users in created state\"\n}"}]}]]}] 16a2:["$","div","422-application/json-unexpected_error",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33009,\n  \"message\": \"Idempotent replay failed: first execution was not successful\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33009,\n \"message\": \"Idempotent replay failed: first execution was not successful\"\n}"}]}]]}] 16a3:["$","div","429-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3162,\n  \"message\": \"Parallel requests conflict. Please synchronize your requests. request_id=5baa6989-ae59-4668-bb09-042fca180518\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3162,\n \"message\": \"Parallel requests conflict. Please synchronize your requests. request_id=5baa6989-ae59-4668-bb09-042fca180518\"\n}"}]}]]}] 16a4:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 16e5:T1941,
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
16a7:["$","div","request-application/json-update_all_properties",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e5"}}]}]],"$L16e6"]}] 16e7:T55f,
{
  "spending_period": {
    "start_date": null,
    "end_date": "2027-12-20",
    "end_date_action": "terminate"
  }
}
16a8:["$","div","request-application/json-erase_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e7"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"spending_period\": {\n \"start_date\": null,\n \"end_date\": \"2027-12-20\",\n \"end_date_action\": \"terminate\"\n }\n}"}]}]]}] 16a9:["$","div","request-application/json-erase_all_spending_limits",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"spending_limits\": null\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"spending_limits\": null\n}"}]}]]}] 16aa:["$","div","request-application/json-erase_single_transaction_limit",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"spending_limits\": {\n    \"single\": null\n  }\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"spending_limits\": {\n \"single\": null\n }\n}"}]}]]}] 16e8:T636,
{
  "categories": [],
  "merchant_controls": {
    "control_type": "allow",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  }
}
16ab:["$","div","request-application/json-allow_specific_merchants",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e8"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"categories\": [],\n \"merchant_controls\": {\n \"control_type\": \"allow\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n }\n}"}]}]]}] 16e9:T211f,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T10:27:15Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "week": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2027-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
16ac:["$","div","200-application/json-update_all_properties",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16e9"}}]}]],"$L16ea"]}] 16eb:T1cdb,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T10:27:15Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_limits": {
    "single": {
      "amount": 50,
      "currency": "GBP"
    },
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2027-12-20",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
16ad:["$","div","200-application/json-erase_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16eb"}}]}]],"$L16ec"]}] 16ed:T1744,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T10:27:15Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2026-12-31",
    "end_date_action": "lock"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
16ae:["$","div","200-application/json-erase_all_spending_limits",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16ed"}}]}]],"$L16ee"]}] 16ef:T1b15,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T10:27:15Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_limits": {
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2026-12-31",
    "end_date_action": "lock"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "14c8d663-2093-4086-96ed-334a4011333f",
      "06e0f7fa-38a2-4fcf-a115-df5caf190b55"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
16af:["$","div","200-application/json-erase_single_transaction_limit",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16ef"}}]}]],"$L16f0"]}] 16f1:T1bfe,
{
  "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd",
  "state": "created",
  "created_at": "2025-11-21T00:00:00Z",
  "updated_at": "2025-11-21T10:27:15Z",
  "expiry_date": "2025-12-06T00:00:00Z",
  "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b",
  "virtual": true,
  "label": "Dariel Pattie",
  "spending_limits": {
    "single": {
      "amount": 50,
      "currency": "GBP"
    },
    "week": {
      "amount": 250,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-12-20",
    "end_date": "2026-12-31",
    "end_date_action": "lock"
  },
  "merchant_controls": {
    "control_type": "allow",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB"
  ],
  "accounts": [
    "26a852b8-4046-4e71-949d-22f4cb6be26a"
  ]
}
16b0:["$","div","200-application/json-allow_specific_merchants",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$16f1"}}]}]],"$L16f2"]}] 16b1:["$","div","400-application/json-nothing_to_update",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1112,\n  \"message\": \"Specify at least one parameter for card update\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1112,\n \"message\": \"Specify at least one parameter for card update\"\n}"}]}]]}] 16b2:["$","div","400-application/json-invalid_spending_period_date_settings",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"At least one of start_date or end_date must be present\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"At least one of start_date or end_date must be present\"\n}"}]}]]}] 16b3:["$","div","400-application/json-invalid_spending_period_end_settings",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"end_date and end_date_action must be either both present or both empty\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"end_date and end_date_action must be either both present or both empty\"\n}"}]}]]}] 16b4:["$","div","400-application/json-spending_period_end_date_before_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"end_date must be at or after 2025-12-28, but is 2024-12-20\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"end_date must be at or after 2025-12-28, but is 2024-12-20\"\n}"}]}]]}] 16b5:["$","div","400-application/json-past_spending_period_end_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2102,\n  \"message\": \"Spending period start_date must be in the future\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2102,\n \"message\": \"Spending period start_date must be in the future\"\n}"}]}]]}] 16b6:["$","div","400-application/json-multiple_periodic_limits",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Only one periodic limit can be specified\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Only one periodic limit can be specified\"\n}"}]}]]}] 16b7:["$","div","400-application/json-label_too_long",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Card label cannot contain more than 30 characters\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Card label cannot contain more than 30 characters\"\n}"}]}]]}] 16b8:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 16b9:["$","div","400-application/json-invalid_country_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}"}]}]]}] 16ba:["$","div","401-application/json-unauthorized",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"status\": 401,\n  \"message\": \"The request should be authorized.\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"status\": 401,\n \"message\": \"The request should be authorized.\"\n}"}]}]]}] 16bb:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3088,\n  \"message\": \"Card invitation '3c059a42-24e1-4fd6-bfbe-f3c09234315f not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3088,\n \"message\": \"Card invitation '3c059a42-24e1-4fd6-bfbe-f3c09234315f not found\"\n}"}]}]]}] 16bc:["$","div","422-application/json-unsupported_card_invitation_state",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Unable to update card invitation with state=redeemed\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Unable to update card invitation with state=redeemed\"\n}"}]}]]}] 16bd:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 16e2:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"expiry_period\": \"P14D\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 50,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-31\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 16e4:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"state\": \"created\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-21T00:00:00Z\",\n \"expiry_date\": \"2025-12-06T00:00:00Z\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 50,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-31\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 16e6:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"label\": \"New card label\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 100,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 300,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2027-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"services\",\n \"shopping\",\n \"furniture\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\",\n \"3f09819f-63d1-473a-966c-54d8b9f43a93\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\",\n \"ES\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\",\n \"9ae4345a-5ee5-496b-b776-241fcc5a5ba4\"\n ]\n}"}]}] 16f3:T407,{ "id": "4016b891-bb50-4bd2-8a1b-adb74f4aacdd", "state": "created", "created_at": "2025-11-21T00:00:00Z", "updated_at": "2025-11-21T10:27:15Z", "expiry_date": "2025-12-06T00:00:00Z", "holder_id": "3791712d-e5b5-4d5f-b1f1-79a93d57e08b", "virtual": true, "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "week": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-12-20", "end_date": "2027-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] }16ea:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$16f3"}]}] 16ec:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"state\": \"created\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-21T10:27:15Z\",\n \"expiry_date\": \"2025-12-06T00:00:00Z\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 50,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2027-12-20\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 16ee:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"state\": \"created\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-21T10:27:15Z\",\n \"expiry_date\": \"2025-12-06T00:00:00Z\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_period\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2026-12-31\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 16f0:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"state\": \"created\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-21T10:27:15Z\",\n \"expiry_date\": \"2025-12-06T00:00:00Z\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_limits\": {\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2026-12-31\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"14c8d663-2093-4086-96ed-334a4011333f\",\n \"06e0f7fa-38a2-4fcf-a115-df5caf190b55\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 16f2:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"4016b891-bb50-4bd2-8a1b-adb74f4aacdd\",\n \"state\": \"created\",\n \"created_at\": \"2025-11-21T00:00:00Z\",\n \"updated_at\": \"2025-11-21T10:27:15Z\",\n \"expiry_date\": \"2025-12-06T00:00:00Z\",\n \"holder_id\": \"3791712d-e5b5-4d5f-b1f1-79a93d57e08b\",\n \"virtual\": true,\n \"label\": \"Dariel Pattie\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 50,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 250,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-12-20\",\n \"end_date\": \"2026-12-31\",\n \"end_date_action\": \"lock\"\n },\n \"merchant_controls\": {\n \"control_type\": \"allow\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\"\n ],\n \"accounts\": [\n \"26a852b8-4046-4e71-949d-22f4cb6be26a\"\n ]\n}"}]}] 1700:T4be,References for the card. Up to 5 name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, they will only be applied to future transactions. Existing transaction are not affected. :::1701:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::1706:T477,The state that the card is in. Possible values: - `active`: The card is available for spending. Newly created cards typically go into `active` unless subject to certain conditions, for example, spending period starting in the future. - `frozen`: The card has been frozen and is temporarily unavailable for spending. - `locked`: The card is locked, typically due to an [admin lock](https://developer.revolut.com/docs/api/business#lock-card) or spending period settings, i.e. when its `spending_period.start_date` is in the future or `spending_period.end_date` is in the past. A locked card is unavailable for spending until it's [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) and active. :::tip To see if the card can be unlocked, check the `can_be_unlocked` parameter. Note that you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock it. ::: - `created`: The card has been created but is not yet active. Used only for a specific type of cards. - `pending`: This status is currently not in use.173a:T5a2,The controls for the card's spending period. They let you set or modify the dates when the card becomes available or unavailable for spending, and define what happens after the end date. If specified, you must provide at least one of these: - `start_date` - `end_date` together with `end_date_action` The spending period dates must be in the future. The dates are inclusive. This means that: - If you set the `start_date` to `2025-12-31`, the card will become active on that day. - If you set the `end_date` to `2026-06-01`, the card will be active through that day, and will be locked/terminated starting on 2nd June 2026. :::note [] If you wish to unlock a card with a spending period starting in the future and make it available for spending right away, you can do it in a few ways, depending on your use case: - To remove the start date, but keep the end date settings, provide the current `spending_period` settings without the `start_date`. - To remove the start date when no end date is set, provide the `spending_period.start_date` set to `null`. - To remove **all** spending period settings, either provide `spending_period` set to `null`, or use the dedicated endpoint to [unlock](https://developer.revolut.com/docs/api/business#unlock-card) the card. If you wish to erase a spending period end date, you can do this in a similar way, applying the steps to `spending_period.end_date` and `spending_period.end_date_action`. :::45:["$","$98","update-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the updated card\n\n:::note\nIf you modify the card's spending period in the request, the card's `state` returned in the response might not yet reflect those changes.\nThis is because these spending period locks are applied to the card asynchronously, which might result in a slight delay in the card's state update.\n\nTo re-check the state, [fetch the card's details](https://developer.revolut.com/docs/api/business#get-card).\n:::","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card.","format":"uuid","descriptionNode":"$L16f4"},"holder_id":{"type":"string","description":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty.\n\nFor more information, see the guides: [Manage Cards - Create a virtual card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card).","format":"uuid","descriptionNode":"$L16f5"},"contact_ids":{"description":"The list of contacts for a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"One of the card's contacts.","type":"string","format":"uuid","descriptionNode":"$L16f6"},"descriptionNode":"$L16f7"},"created_at":{"type":"string","description":"The date and time the card was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L16f8"},"updated_at":{"type":"string","description":"The date and time the card was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L16f9"},"product":{"description":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under.\n\n:::note\nThis property is only available to travel intermediaries using our travel solution.\nTo use it, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","properties":{"code":{"type":"string","description":"The code of the card product.","descriptionNode":"$L16fa"}},"required":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:product:required","descriptionNode":"$L16fb"},"virtual":{"type":"boolean","description":"Specifies whether the card is virtual (`true`) or physical (`false`).","descriptionNode":"$L16fc"},"last_digits":{"type":"string","description":"The last 4 digits of the card's PAN.","pattern":"^[0-9]{4}$","descriptionNode":"$L16fd"},"expiry":{"type":"string","format":"DD/YYYY","description":"The card expiration date.","pattern":"^[0-9]{2}/[0-9]{4}$","descriptionNode":"$L16fe"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L16ff"},"references":{"description":"$1700","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$1701","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L1702"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L1703"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L1704"},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:examples","descriptionNode":"$L1705"},"state":{"enum":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:state:enum","description":"$1706","type":"string","descriptionNode":"$L1707"},"can_be_unlocked":{"type":"boolean","description":"Returned for locked cards (`state=locked`).\nIndicates whether the card can be [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) manually (via API or in-app).\nIf `true`, you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock the card.\n\n:::info\nCards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually.\n:::","descriptionNode":"$L1708"},"spend_program":{"description":"The [spend program](https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/) assigned to the card.\n:::note\nTo use this property, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","readOnly":true,"properties":{"label":{"description":"The name of the spend program.","type":"string","maxLength":30,"descriptionNode":"$L1709"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spend_program:required","descriptionNode":"$L170a"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L170b"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L170c"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L170d"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L170e"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L170f"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1710"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1711"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1712"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1713"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1714"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1715"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L1716"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L1717"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L1718"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L1719"},"categories":{"type":"array","description":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L171a"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey block or allow the card to only transact with specific merchants: \n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set)\n- `block`: blocks the specified merchants (can be used with or without `categories`)","type":"object","allOf":[{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L171b"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L171c"}}}],"descriptionNode":"$L171d"},"countries":{"description":"The list of countries where the card can be used, specified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:countries:items:examples"},"descriptionNode":"$L171e"},"accounts":{"type":"array","description":"The list of linked accounts.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L171f"}},"required":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required"},"examples":{"update_all_properties":{"summary":"Update all properties","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"New card label","state":"locked","spending_limits":{"single":{"amount":100,"currency":"GBP"},"week":{"amount":300,"currency":"GBP"}},"spending_period":{"start_date":"2025-09-18","end_date":"2026-12-20","end_date_action":"lock"},"categories":["services","shopping","furniture"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929","3f09819f-63d1-473a-966c-54d8b9f43a93"]},"countries":["GB","SG","ES"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51","9ae4345a-5ee5-496b-b776-241fcc5a5ba4"]}},"erase_spending_period_start_date":{"summary":"Erase spending period start date","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","spending_period":{"end_date":"2026-12-20","end_date_action":"lock"},"categories":["restaurants","groceries"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51"]}},"erase_all_spending_limits":{"summary":"Erase all spending limits","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","categories":["restaurants","groceries"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51"]}},"erase_single_transaction_limit":{"summary":"Erase the single-transaction limit","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","spending_limits":{"month":{"amount":200.44,"currency":"GBP"}},"categories":["restaurants","groceries"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51"]}},"allow_specific_merchants":{"summary":"Allow only specific merchants","value":{"id":"aa14a9af-d7a7-4214-a743-lok818f74bd0","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","created_at":"2025-09-15T11:04:11.047305Z","updated_at":"2025-09-17T08:32:11.024721Z","virtual":true,"last_digits":"2671","expiry":"09/2030","label":"Kirby Janette","state":"active","spending_limits":{"single":{"amount":200.22,"currency":"GBP"},"month":{"amount":200.44,"currency":"GBP"}},"merchant_controls":{"control_type":"allow","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51"]}}}}},"descriptionNode":"$L1720"},"400":{"description":"Nothing to update or the provided details are unsupported for this operation\n\nIf the invalid value is an array item, the error might indicate the array index of this faulty item, counting from `0`. \nFor example, if you provide the list of countries, such as `\"countries\": [\"GB\", \"USA\", ...]`, the first item (`GB`) has index `0`, the second item (`USA`) has index `1`, and so on.\nIn the example, `USA` is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that `countries[1]` is invalid, thus pointing to the second item in the array, i.e. `USA`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1721"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1722"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"nothing_to_update":{"summary":"Nothing to update","value":{"code":1112,"message":"Specify at least one parameter for card update"}},"invalid_spending_period_date_settings":{"summary":"Invalid spending period date settings","value":{"code":3000,"message":"At least one of start_date or end_date must be present"}},"invalid_spending_period_end_settings":{"summary":"Invalid spending period end settings","value":{"code":3000,"message":"end_date and end_date_action must be either both present or both empty"}},"invalid_id":{"summary":"Invalid ID - the path parameter must be UUID","value":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value"},"invalid_country_code":{"summary":"Invalid country code (when countries=[\"GB\", \"USA\"])","value":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value"}}}},"descriptionNode":"$L1723"},"404":{"description":"Card doesn't exist\n\nThe card for which you wish to update details does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1724"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1725"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":1214,"message":"Card not found"}}}}},"descriptionNode":"$L1726"},"422":{"description":"Unprocessable entity\n\nFor example, you try to provide a spending period end date that's in the past.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L1727"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L1728"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"past_spending_period_end_date":{"summary":"Spending period end date is in the past","value":{"code":33003,"message":"Unable to update the card with state=active"}}}}},"descriptionNode":"$L1729"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L172a"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L172b"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L172c"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"label":{"type":"string","description":"The label of the card.","maxLength":30,"descriptionNode":"$L172d"},"spending_limits":{"description":"All spending limits set for the card.\n\nYou can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error.\n\nUse `null` as the value for a specific limit to erase that limit.\nUse `null` as the value for the `spending_limits` object to erase all limits.\n\n:::note\nUpdating a spending limit does not reset the spending counter.\nFor more information, see the guides: [Manage cards - Update a card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#update-a-card).\n:::","type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L172e"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L172f"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L1730"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1731"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1732"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1733"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1734"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1735"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1736"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1737"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$45:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1738"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples","descriptionNode":"$L1739"},"spending_period":{"description":"$173a","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L173b"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L173c"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L173d"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L173e"},"categories":{"type":"array","description":"The list of merchant categories that will be available for card spending.\nUse `null` to erase the value and reset to empty (all categories will be allowed).\n\n:::note\nThe `categories` and `merchant_controls` parameters have the following restrictions:\n- If you set `categories`, you **cannot** set `merchant_controls.control_type` to `allow`.\n- You **can** set `merchant_controls.control_type` to `block`.\n- You may also set **either** `categories` or `merchant_controls` independently, or **set neither**.\n- Both parameters can be used together **only** if `merchant_controls.control_type` is `block`.\n:::","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L173f"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey let you block or allow the card to only transact with specific merchants:\n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set).\n- `block`: blocks the specified merchants (can be used with or without `categories`).","type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L1740"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1741"}},"descriptionNode":"$L1742"},"countries":{"description":"The list of countries where the card can be used, provided as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":["GB"]},"descriptionNode":"$L1743"},"accounts":{"type":"array","description":"The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the [`GET /accounts` operation](https://developer.revolut.com/docs/api/business#get-accounts).","items":{"type":"string","format":"uuid"},"descriptionNode":"$L1744"}}},"examples":{"update_all_properties":{"summary":"Update all properties","value":{"label":"New card label","spending_limits":{"single":{"amount":100,"currency":"GBP"},"month":{"amount":300,"currency":"GBP"}},"spending_period":{"start_date":"2025-09-18","end_date":"2026-12-20","end_date_action":"lock"},"categories":["services","shopping","furniture"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929","3f09819f-63d1-473a-966c-54d8b9f43a93"]},"countries":["GB","SG","ES"],"accounts":["f52c6c84-26b9-4e95-bbcf-99ed6523fb51","9ae4345a-5ee5-496b-b776-241fcc5a5ba4"]}},"erase_spending_period_start_date":{"summary":"Erase spending period start date","value":{"spending_period":{"start_date":null,"end_date":"2026-12-20","end_date_action":"lock"}}},"erase_all_spending_limits":{"summary":"Erase all spending limits","value":{"spending_limits":null}},"erase_single_transaction_limit":{"summary":"Erase the single-transaction limit","value":{"spending_limits":{"single":null}}},"allow_specific_merchants":{"summary":"Allow only specific merchants","value":{"categories":[],"merchant_controls":{"control_type":"allow","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]}}}}}}},"variantLabels":["Update all properties","Erase spending period start date","Erase all spending limits","Erase the single-transaction limit","Allow only specific merchants"],"children":["$L1745","$L1746"]}]}],false]}] 1745:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"update-card","children":[["$L1747","$undefined"],["$","$L3a",null,{"id":"update-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/update-card.md"}]]}]}],"$undefined"]}] 174a:T141a,
curl -X PATCH "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}'
174b:T438,const payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] }; fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", { method: "PATCH", headers: { "Authorization": "Bearer ", "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(response => response.json()) .then(data => console.log(data));174c:T247b,
const payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
};
fetch("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
174d:T4c1,package main import ( "fmt" "net/http" "bytes" "encoding/json" ) func main() { url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__" jsonData := []byte(` { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } `) req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData)) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() fmt.Println(res) }174e:T2312,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
  jsonData := []byte(`
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
174f:T40e,import requests url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__" headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } response = requests.patch(url, headers=headers, json=payload) print(response.json())1750:T21b1,
import requests

url = "https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
1751:T5ea,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 = """ { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }1752:T2879,
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 = """
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
1753:T5b8,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Patch, RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""label"": ""New card label"", ""spending_limits"": { ""single"": { ""amount"": 100, ""currency"": ""GBP"" }, ""month"": { ""amount"": 300, ""currency"": ""GBP"" } }, ""spending_period"": { ""start_date"": ""2025-09-18"", ""end_date"": ""2026-12-20"", ""end_date_action"": ""lock"" }, ""categories"": [ ""services"", ""shopping"", ""furniture"" ], ""merchant_controls"": { ""control_type"": ""block"", ""merchant_ids"": [ ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"", ""e8a87432-f71e-4deb-be84-969a02792929"", ""3f09819f-63d1-473a-966c-54d8b9f43a93"" ] }, ""countries"": [ ""GB"", ""SG"", ""ES"" ], ""accounts"": [ ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"", ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4"" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }1754:T416b,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Patch,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""label"": ""New card label"",
  ""spending_limits"": {
    ""single"": {
      ""amount"": 100,
      ""currency"": ""GBP""
    },
    ""month"": {
      ""amount"": 300,
      ""currency"": ""GBP""
    }
  },
  ""spending_period"": {
    ""start_date"": ""2025-09-18"",
    ""end_date"": ""2026-12-20"",
    ""end_date_action"": ""lock""
  },
  ""categories"": [
    ""services"",
    ""shopping"",
    ""furniture""
  ],
  ""merchant_controls"": {
    ""control_type"": ""block"",
    ""merchant_ids"": [
      ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"",
      ""e8a87432-f71e-4deb-be84-969a02792929"",
      ""3f09819f-63d1-473a-966c-54d8b9f43a93""
    ]
  },
  ""countries"": [
    ""GB"",
    ""SG"",
    ""ES""
  ],
  ""accounts"": [
    ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"",
    ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1755:T1422,
curl -X PATCH "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}'
1756:T440,const payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] }; fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", { method: "PATCH", headers: { "Authorization": "Bearer ", "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(response => response.json()) .then(data => console.log(data));1757:T2483,
const payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
1758:T4c9,package main import ( "fmt" "net/http" "bytes" "encoding/json" ) func main() { url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__" jsonData := []byte(` { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } `) req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData)) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() fmt.Println(res) }1759:T231a,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
  jsonData := []byte(`
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
  `)
  req, _ := http.NewRequest("PATCH", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
175a:T416,import requests url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__" headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } payload = { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } response = requests.patch(url, headers=headers, json=payload) print(response.json())175b:T21b9,
import requests

url = "https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}

response = requests.patch(url, headers=headers, json=payload)
print(response.json())
175c:T5f2,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 = """ { "label": "New card label", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "month": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .PATCH(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }175d:T2881,
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 = """
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .PATCH(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
175e:T5c0,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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""label"": ""New card label"", ""spending_limits"": { ""single"": { ""amount"": 100, ""currency"": ""GBP"" }, ""month"": { ""amount"": 300, ""currency"": ""GBP"" } }, ""spending_period"": { ""start_date"": ""2025-09-18"", ""end_date"": ""2026-12-20"", ""end_date_action"": ""lock"" }, ""categories"": [ ""services"", ""shopping"", ""furniture"" ], ""merchant_controls"": { ""control_type"": ""block"", ""merchant_ids"": [ ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"", ""e8a87432-f71e-4deb-be84-969a02792929"", ""3f09819f-63d1-473a-966c-54d8b9f43a93"" ] }, ""countries"": [ ""GB"", ""SG"", ""ES"" ], ""accounts"": [ ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"", ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4"" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }175f:T4173,
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-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""label"": ""New card label"",
  ""spending_limits"": {
    ""single"": {
      ""amount"": 100,
      ""currency"": ""GBP""
    },
    ""month"": {
      ""amount"": 300,
      ""currency"": ""GBP""
    }
  },
  ""spending_period"": {
    ""start_date"": ""2025-09-18"",
    ""end_date"": ""2026-12-20"",
    ""end_date_action"": ""lock""
  },
  ""categories"": [
    ""services"",
    ""shopping"",
    ""furniture""
  ],
  ""merchant_controls"": {
    ""control_type"": ""block"",
    ""merchant_ids"": [
      ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"",
      ""e8a87432-f71e-4deb-be84-969a02792929"",
      ""3f09819f-63d1-473a-966c-54d8b9f43a93""
    ]
  },
  ""countries"": [
    ""GB"",
    ""SG"",
    ""ES""
  ],
  ""accounts"": [
    ""f52c6c84-26b9-4e95-bbcf-99ed6523fb51"",
    ""9ae4345a-5ee5-496b-b776-241fcc5a5ba4""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
1746:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L1748",["$","$Lac",null,{"parameters":[{"name":"card_id","in":"path","required":true,"description":"The ID of the card.","schema":{"type":"string","format":"uuid"},"descriptionNode":"$L1749"}],"requestBody":"$45:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$45:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"label\": \"New card label\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 100,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 300,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-09-18\",\n \"end_date\": \"2026-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"services\",\n \"shopping\",\n \"furniture\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\",\n \"3f09819f-63d1-473a-966c-54d8b9f43a93\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\",\n \"ES\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\",\n \"9ae4345a-5ee5-496b-b776-241fcc5a5ba4\"\n ]\n}'","templateHtml":"$174a","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"$174b","templateHtml":"$174c","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"$174d","templateHtml":"$174e","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"$174f","templateHtml":"$1750","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$1751","templateHtml":"$1752","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"$1753","templateHtml":"$1754","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X PATCH \"https://sandbox-b2b.revolut.com/api/1.0/cards/__RP_TOK_0__\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"label\": \"New card label\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 100,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 300,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-09-18\",\n \"end_date\": \"2026-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"services\",\n \"shopping\",\n \"furniture\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\",\n \"3f09819f-63d1-473a-966c-54d8b9f43a93\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\",\n \"ES\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\",\n \"9ae4345a-5ee5-496b-b776-241fcc5a5ba4\"\n ]\n}'","templateHtml":"$1755","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["shell-double-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"javascript","label":"JavaScript","templateCode":"$1756","templateHtml":"$1757","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"go","label":"Go","templateCode":"$1758","templateHtml":"$1759","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"python","label":"Python","templateCode":"$175a","templateHtml":"$175b","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"java","label":"Java","templateCode":"$175c","templateHtml":"$175d","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}},{"id":"csharp","label":"C#","templateCode":"$175e","templateHtml":"$175f","tokens":[{"marker":"__RP_TOK_0__","paramName":"card_id","paramIn":"path","pipeline":["json-string-inner"]}],"defaults":{"path:card_id":"123e4567-e89b-12d3-a456-426614174000"}}]},"method":"patch","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards/{card_id}","parameters":["$1746:props:children:0:props:children:1:props:parameters:0"]}],"$L1760"],"$L1761","$L1762"]}]]}] 1763:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)1760:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1763","descriptionNode":"$L1764"}}}] 1761:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"update_all_properties","label":"Update all properties","rawValue":"$45:props:children:0:props:children:props:requestBody:content:application/json:examples:update_all_properties:value","block":"$L1765"},{"key":"erase_spending_period_start_date","label":"Erase spending period start date","rawValue":"$45:props:children:0:props:children:props:requestBody:content:application/json:examples:erase_spending_period_start_date:value","block":"$L1766"},{"key":"erase_all_spending_limits","label":"Erase all spending limits","rawValue":"$45:props:children:0:props:children:props:requestBody:content:application/json:examples:erase_all_spending_limits:value","block":"$L1767"},{"key":"erase_single_transaction_limit","label":"Erase the single-transaction limit","rawValue":"$45:props:children:0:props:children:props:requestBody:content:application/json:examples:erase_single_transaction_limit:value","block":"$L1768"},{"key":"allow_specific_merchants","label":"Allow only specific merchants","rawValue":"$45:props:children:0:props:children:props:requestBody:content:application/json:examples:allow_specific_merchants:value","block":"$L1769"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 1762:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"update_all_properties","label":"Update all properties","rawValue":"$45:props:children:0:props:children:props:responses:200:content:application/json:examples:update_all_properties:value","block":"$L176a"},{"key":"erase_spending_period_start_date","label":"Erase spending period start date","rawValue":"$45:props:children:0:props:children:props:responses:200:content:application/json:examples:erase_spending_period_start_date:value","block":"$L176b"},{"key":"erase_all_spending_limits","label":"Erase all spending limits","rawValue":"$45:props:children:0:props:children:props:responses:200:content:application/json:examples:erase_all_spending_limits:value","block":"$L176c"},{"key":"erase_single_transaction_limit","label":"Erase the single-transaction limit","rawValue":"$45:props:children:0:props:children:props:responses:200:content:application/json:examples:erase_single_transaction_limit:value","block":"$L176d"},{"key":"allow_specific_merchants","label":"Allow only specific merchants","rawValue":"$45:props:children:0:props:children:props:responses:200:content:application/json:examples:allow_specific_merchants:value","block":"$L176e"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"nothing_to_update","label":"Nothing to update","rawValue":"$45:props:children:0:props:children:props:responses:400:content:application/json:examples:nothing_to_update:value","block":"$L176f"},{"key":"invalid_spending_period_date_settings","label":"Invalid spending period date settings","rawValue":"$45:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_spending_period_date_settings:value","block":"$L1770"},{"key":"invalid_spending_period_end_settings","label":"Invalid spending period end settings","rawValue":"$45:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_spending_period_end_settings:value","block":"$L1771"},{"key":"invalid_id","label":"Invalid ID - the path parameter must be UUID","rawValue":"$46:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_id:value","block":"$L1772"},{"key":"invalid_country_code","label":"Invalid country code (when countries=[\"GB\", \"USA\"])","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value","block":"$L1773"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$45:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L1774"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"past_spending_period_end_date","label":"Spending period end date is in the past","rawValue":"$45:props:children:0:props:children:props:responses:422:content:application/json:examples:past_spending_period_end_date:value","block":"$L1775"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1776"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 1747:"Update card settings" 16f4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 16f5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card","target":"_blank","rel":"noreferrer","children":"Manage Cards - Create a virtual card"}],"."]}]]}] 16f6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"One of the card's contacts."}]]}] 16f7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of contacts for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 16f8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 16f9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 16fa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the card product."}]]}] 16fb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This property is only available to travel intermediaries using our travel solution.\nTo use it, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 16fc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the card is virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],")."]}]]}] 16fd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last 4 digits of the card's PAN."}]]}] 16fe:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card expiration date."}]]}] 16ff:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 1702:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 1703:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 1704:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 1705:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times."]}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 1707:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the card is in."}],"\n",["$","p","p-1",{"children":"Possible values:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"active"}],": The card is available for spending.\nNewly created cards typically go into ",["$","code","code-1",{"children":"active"}]," unless subject to certain conditions, for example, spending period starting in the future."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"frozen"}],": The card has been frozen and is temporarily unavailable for spending."]}],"\n",["$","li","li-2",{"children":[["$","code","code-0",{"children":"locked"}],": The card is locked, typically due to an ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#lock-card","target":"_blank","rel":"noreferrer","children":"admin lock"}]," or spending period settings, i.e. when its ",["$","code","code-1",{"children":"spending_period.start_date"}]," is in the future or ",["$","code","code-2",{"children":"spending_period.end_date"}]," is in the past.\nA locked card is unavailable for spending until it's ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," and active.\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To see if the card can be unlocked, check the ",["$","code","code-0",{"children":"can_be_unlocked"}]," parameter.\nNote that you'll still need the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock it."]}]}]]}],"\n"]}],"\n",["$","li","li-3",{"children":[["$","code","code-0",{"children":"created"}],": The card has been created but is not yet active.\nUsed only for a specific type of cards."]}],"\n",["$","li","li-4",{"children":[["$","code","code-0",{"children":"pending"}],": This status is currently not in use."]}],"\n"]}]]}] 1708:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Returned for locked cards (",["$","code","code-0",{"children":"state=locked"}],").\nIndicates whether the card can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," manually (via API or in-app).\nIf ",["$","code","code-1",{"children":"true"}],", you'll still need the ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Cards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually."}]}]]}]]}] 1709:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the spend program."}]]}] 170a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/making-paymentsbusiness/spend-controls/setting-card-presets-for-my-team-members/","target":"_blank","rel":"noreferrer","children":"spend program"}]," assigned to the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To use this property, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 170b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 170c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 170d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 170e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 170f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1710:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 1711:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 1712:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1713:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 1714:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 1715:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1716:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1717:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1718:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 1719:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}]]}] 171a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted."}]]}] 171b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 171c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 171d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")"]}],"\n"]}]]}] 171e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the card can be used, specified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 171f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of linked accounts."}]]}] 1720:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the updated card"}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you modify the card's spending period in the request, the card's ",["$","code","code-0",{"children":"state"}]," returned in the response might not yet reflect those changes.\nThis is because these spending period locks are applied to the card asynchronously, which might result in a slight delay in the card's state update."]}],["$","p","p-1",{"children":["To re-check the state, ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-card","target":"_blank","rel":"noreferrer","children":"fetch the card's details"}],"."]}]]}]]}]]}] 1721:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1722:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1723:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Nothing to update or the provided details are unsupported for this operation"}],"\n",["$","p","p-1",{"children":["If the invalid value is an array item, the error might indicate the array index of this faulty item, counting from ",["$","code","code-0",{"children":"0"}],".\nFor example, if you provide the list of countries, such as ",["$","code","code-1",{"children":"\"countries\": [\"GB\", \"USA\", ...]"}],", the first item (",["$","code","code-2",{"children":"GB"}],") has index ",["$","code","code-3",{"children":"0"}],", the second item (",["$","code","code-4",{"children":"USA"}],") has index ",["$","code","code-5",{"children":"1"}],", and so on.\nIn the example, ",["$","code","code-6",{"children":"USA"}]," is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that ",["$","code","code-7",{"children":"countries[1]"}]," is invalid, thus pointing to the second item in the array, i.e. ",["$","code","code-8",{"children":"USA"}],"."]}]]}] 1724:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1725:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1726:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card doesn't exist"}],"\n",["$","p","p-1",{"children":"The card for which you wish to update details does not exist."}]]}] 1727:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 1728:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 1729:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":"For example, you try to provide a spending period end date that's in the past."}]]}] 172a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 172b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 172c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 172d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 172e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 172f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1730:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 1731:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1732:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1733:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 1734:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 1735:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1736:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 1737:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 1738:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1739:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"All spending limits set for the card."}],"\n",["$","p","p-1",{"children":"You can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error."}],"\n",["$","p","p-2",{"children":["Use ",["$","code","code-0",{"children":"null"}]," as the value for a specific limit to erase that limit.\nUse ",["$","code","code-1",{"children":"null"}]," as the value for the ",["$","code","code-2",{"children":"spending_limits"}]," object to erase all limits."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Updating a spending limit does not reset the spending counter.\nFor more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#update-a-card","target":"_blank","rel":"noreferrer","children":"Manage cards - Update a card"}],"."]}]}]]}]]}] 173b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 173c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 173d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 173e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They let you set or modify the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}],"\n",["$","p","p-2",{"children":"If specified, you must provide at least one of these:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"start_date"}]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"end_date"}]," together with ",["$","code","code-1",{"children":"end_date_action"}]]}],"\n"]}],"\n",["$","p","p-3",{"children":"The spending period dates must be in the future."}],"\n",["$","p","p-4",{"children":"The dates are inclusive.\nThis means that:"}],"\n",["$","ul","ul-1",{"children":["\n",["$","li","li-0",{"children":["If you set the ",["$","code","code-0",{"children":"start_date"}]," to ",["$","code","code-1",{"children":"2025-12-31"}],", the card will become active on that day."]}],"\n",["$","li","li-1",{"children":["If you set the ",["$","code","code-0",{"children":"end_date"}]," to ",["$","code","code-1",{"children":"2026-06-01"}],", the card will be active through that day, and will be locked/terminated starting on 2nd June 2026."]}],"\n"]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 unlock a card with a spending period starting in the future and make it available for spending right away, you can do it in a few ways, depending on your use case:"}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["To remove the start date, but keep the end date settings, provide the current ",["$","code","code-0",{"children":"spending_period"}]," settings without the ",["$","code","code-1",{"children":"start_date"}],"."]}],"\n",["$","li","li-1",{"children":["To remove the start date when no end date is set, provide the ",["$","code","code-0",{"children":"spending_period.start_date"}]," set to ",["$","code","code-1",{"children":"null"}],"."]}],"\n",["$","li","li-2",{"children":["To remove ",["$","strong","strong-0",{"children":"all"}]," spending period settings, either provide ",["$","code","code-0",{"children":"spending_period"}]," set to ",["$","code","code-1",{"children":"null"}],", or use the dedicated endpoint to ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlock"}]," the card."]}],"\n"]}],["$","p","p-1",{"children":["If you wish to erase a spending period end date, you can do this in a similar way, applying the steps to ",["$","code","code-0",{"children":"spending_period.end_date"}]," and ",["$","code","code-1",{"children":"spending_period.end_date_action"}],"."]}]]}]]}]]}] 173f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of merchant categories that will be available for card spending.\nUse ",["$","code","code-0",{"children":"null"}]," to erase the value and reset to empty (all categories will be allowed)."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"categories"}]," and ",["$","code","code-1",{"children":"merchant_controls"}]," parameters have the following restrictions:"]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If you set ",["$","code","code-0",{"children":"categories"}],", you ",["$","strong","strong-0",{"children":"cannot"}]," set ",["$","code","code-1",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-2",{"children":"allow"}],"."]}],"\n",["$","li","li-1",{"children":["You ",["$","strong","strong-0",{"children":"can"}]," set ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-1",{"children":"block"}],"."]}],"\n",["$","li","li-2",{"children":["You may also set ",["$","strong","strong-0",{"children":"either"}]," ",["$","code","code-0",{"children":"categories"}]," or ",["$","code","code-1",{"children":"merchant_controls"}]," independently, or ",["$","strong","strong-1",{"children":"set neither"}],"."]}],"\n",["$","li","li-3",{"children":["Both parameters can be used together ",["$","strong","strong-0",{"children":"only"}]," if ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," is ",["$","code","code-1",{"children":"block"}],"."]}],"\n"]}]]}]]}]]}] 1740:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 1741:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 1742:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They let you block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")."]}],"\n"]}]]}] 1743:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the card can be used, provided as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 1744:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-accounts","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /accounts"}]," operation"]}],"."]}]]}] 1748:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Update settings for a specific card, based on its ID."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","div","inlinealert-1",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Some spend control parameters can affect one another.\nWhen updating spend controls, review the resulting settings in the response to ensure they reflect the configuration you intended."}]}]]}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 1749:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 1764:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L1777","\n","$L1778","\n"]}]]}] 1777:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 1778:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 1785:T4be,References for the card. Up to 5 name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, they will only be applied to future transactions. Existing transaction are not affected. :::1786:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::17b9:T4c0,References for the card. Up to 5 name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, they will only be applied to future transactions. Existing transaction are not affected. :::17ba:T4ca,Reference for the card. One of the name-value pairs assigned to the card for tracking. :::info Each time the card is used, the references are recorded in the [transaction details](https://developer.revolut.com/docs/api/business#get-transaction#response) (`card.references`), helping track transactions made with this card. ::: The names must be unique. The references can be [amended](https://developer.revolut.com/docs/api/business#update-card-references) up to 10 times. References are only supported for cards owned by the business (i.e. [company](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) or [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)). They are **not** supported for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (i.e. with `holder_id` present). :::note The references recorded on a transaction are those assigned to the card at the time the transaction took place. If the references are amended, the new references are only applied to future transactions. Existing transaction are not affected. :::43:["$","$98","create-card",{"children":[["$","section",null,{"className":"y9a0do0","data-variant":"endpoint","children":["$","$L99",null,{"responses":{"200":{"description":"Information about the created card","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the card.","format":"uuid","descriptionNode":"$L1779"},"holder_id":{"type":"string","description":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty.\n\nFor more information, see the guides: [Manage Cards - Create a virtual card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card).","format":"uuid","descriptionNode":"$L177a"},"contact_ids":{"description":"The list of contacts for a [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards).","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"One of the card's contacts.","type":"string","format":"uuid","descriptionNode":"$L177b"},"descriptionNode":"$L177c"},"created_at":{"type":"string","description":"The date and time the card was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L177d"},"updated_at":{"type":"string","description":"The date and time the card was last updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.","format":"date-time","descriptionNode":"$L177e"},"product":{"description":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under.\n\n:::note\nThis property is only available to travel intermediaries using our travel solution.\nTo use it, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","properties":{"code":{"type":"string","description":"The code of the card product.","descriptionNode":"$L177f"}},"required":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:product:required","descriptionNode":"$L1780"},"virtual":{"type":"boolean","description":"Specifies whether the card is virtual (`true`) or physical (`false`).","descriptionNode":"$L1781"},"last_digits":{"type":"string","description":"The last 4 digits of the card's PAN.","pattern":"^[0-9]{4}$","descriptionNode":"$L1782"},"expiry":{"type":"string","format":"DD/YYYY","description":"The card expiration date.","pattern":"^[0-9]{2}/[0-9]{4}$","descriptionNode":"$L1783"},"label":{"type":"string","description":"The label of the card.","descriptionNode":"$L1784"},"references":{"description":"$1785","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$1786","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L1787"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L1788"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L1789"},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:examples","descriptionNode":"$L178a"},"state":{"description":"The state that the card is in.","enum":"$42:props:children:0:props:children:props:responses:200:content:application/json:schema:items:properties:state:enum","type":"string","descriptionNode":"$L178b"},"can_be_unlocked":{"type":"boolean","description":"Returned for locked cards (`state=locked`).\nIndicates whether the card can be [unlocked](https://developer.revolut.com/docs/api/business#unlock-card) manually (via API or in-app).\nIf `true`, you'll still need the [necessary scope or permission](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards) to unlock the card.\n\n:::info\nCards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually.\n:::","descriptionNode":"$L178c"},"spending_limits":{"type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L178d"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L178e"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L178f"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L1790"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L1791"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1792"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1793"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1794"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1795"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1796"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L1797"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L1798"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L1799"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L179a"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L179b"},"categories":{"type":"array","description":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted.","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L179c"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey block or allow the card to only transact with specific merchants: \n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set)\n- `block`: blocks the specified merchants (can be used with or without `categories`)","type":"object","allOf":[{"type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L179d"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L179e"}}}],"descriptionNode":"$L179f"},"countries":{"description":"The list of countries where the card can be used, specified as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":"$44:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:countries:items:examples"},"descriptionNode":"$L17a0"},"accounts":{"type":"array","description":"The list of linked accounts.","items":{"type":"string","format":"uuid"},"descriptionNode":"$L17a1"}},"required":["id","created_at","updated_at","virtual","last_digits","expiry","state","accounts"]},"examples":{"team_member_card":{"summary":"Team member card","value":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:team_member_card:value"},"company_card":{"summary":"Company card","value":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:company_card:value"},"autogenerated_card":{"summary":"Auto-issued card","value":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:autogenerated_card:value"},"card_with_spending_period_start_date":{"summary":"Card with a spending period start date","value":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:card_with_spending_period_start_date:value"}}}},"descriptionNode":"$L17a2"},"400":{"description":"Bad Request\n\nReturned, for example, when your request is malformed, missing required fields, or when it contains fields that cannot co-exist or unsupported values.\n\nIf the invalid value is an array item, the error might indicate the array index of this faulty item, counting from `0`. \nFor example, if you provide the list of countries, such as `\"countries\": [\"GB\", \"USA\", ...]`, the first item (`GB`) has index `0`, the second item (`USA`) has index `1`, and so on.\nIn the example, `USA` is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that `countries[1]` is invalid, thus pointing to the second item in the array, i.e. `USA`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L17a3"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L17a4"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"missing_conditional_fields":{"summary":"Contact IDs or product are required when holder ID not provided","value":{"code":3000,"message":"Either contact_ids or product must be present when holder_id is empty"}},"contact_ids_and_product_not_allowed_with_holder_id":{"summary":"Contact IDs and product are not allowed when holder ID present","value":{"code":3000,"message":"Both contact_ids and product must be empty when holder_id is present"}},"references_not_allowed_with_holder_id":{"summary":"References are not allowed when holder ID present","value":{"code":3000,"message":"references must be empty when holder_id is present"}},"missing_required_field":{"summary":"Merchant controls are missing merchant IDs","value":{"code":3000,"message":"merchant_ids is empty"}},"invalid_json":{"summary":"Invalid request body","value":{"code":3000,"message":"Cannot parse request: invalid JSON"}},"product_not_found":{"summary":"Card product not found","value":{"code":2101,"message":"Product MJB not found"}},"cannot_add_contact_ids":{"summary":"Contact ID(s) not found","value":{"code":2101,"message":"Unable to attach contactIds"}},"wrong_spending_period_date":{"summary":"Wrong spending period date","value":{"code":2101,"message":"Spending period start_date must be in the future"}},"invalid_account_id":{"summary":"Invalid account ID","value":{"code":2101,"message":"Invalid account ids provided=[0f187658-8c07-491f-9129-ae567b829137]"}},"invalid_country_code":{"summary":"Invalid country code (when countries=[\"GB\", \"USA\"])","value":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value"}}}},"descriptionNode":"$L17a5"},"404":{"description":"Team member not found\n\nReturned when the team member specified as cardholder in `holder_id` does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L17a6"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L17a7"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3042,"message":"Team member not found"}}}}},"descriptionNode":"$L17a8"},"422":{"description":"Unprocessable entity\n\nFor example, the team member exceeds the limit for virtual cards per account, or an unexpected error occurred when the initial request with the same `request_id` was sent.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L17a9"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L17aa"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"cards_limit_exceeded":{"summary":"Virtual cards limit per account exceeded","value":{"code":3087,"message":"Active virtual cards limit is exceeded for the employee"}},"unexpected_error":{"summary":"Unexpected error on initial request","value":{"code":33009,"message":"Idempotent replay failed: first execution was not successful"}}}}},"descriptionNode":"$L17ab"},"429":{"description":"Concurrent requests with the same idempotency key","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L17ac"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L17ad"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"},"examples":{"default":{"value":{"code":3162,"message":"Parallel requests conflict. Please synchronize your requests. request_id=5baa6989-ae59-4668-bb09-042fca180518"}}}}},"descriptionNode":"$L17ae"},"default":{"description":"Unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"The error code.","descriptionNode":"$L17af"},"message":{"type":"string","description":"The description of the error.","descriptionNode":"$L17b0"}},"required":"$62:props:children:0:props:children:props:responses:404:content:application/json:schema:required"}}},"descriptionNode":"$L17b1"}},"requestBody":{"description":"Card to create","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"request_id":{"type":"string","description":"A unique ID of the request that you provide.\n\nThere is no strict requirement on the format of this ID, but we suggest using v4 UUIDs.\n\n:::warning\nThis ID is used to prevent duplicate card creation requests in case of a lost connection or client error, so make sure you use the same `request_id` for requests related to the same card.\nThe deduplication is limited to 24 hours counting from the first request using a given ID.\nFor more information, see the guides: [Manage cards - Idempotency](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#idempotency).\n:::","maxLength":40,"descriptionNode":"$L17b2"},"holder_id":{"type":"string","format":"uuid","description":"The ID of the team member to assign as the holder of the card.\n\n:::tip\nTo retrieve a team member's ID, use the [`GET /team-members` operation](https://developer.revolut.com/docs/api/business#get-team-members).\n:::\n\nFor virtual cards (`virtual=true`), this field is optional. \nIf not provided, the type of the issued card depends on `contact_ids`:\n - `contact_ids` provided → [company card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)\n - `contact_ids` not specified → [auto-issued card](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards)","descriptionNode":"$L17b3"},"contact_ids":{"description":"The list of [contacts](https://help.revolut.com/business/help/cards/more-on-cards/company-cards/) for the card.\nUp to 5 team members sharing the card, much like co-holders.\nCan be [edited](https://developer.revolut.com/docs/api/business#update-card-contacts).\n\nAllowed only for [company cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (`virtual=true`, `holder_id` not specified).","type":"array","minItems":1,"maxItems":5,"items":{"type":"string","format":"uuid"},"descriptionNode":"$L17b4"},"product":{"description":"The card product offered by the card provider for this card.\nIn other words, the program that the card is issued under.\n\nProvided only for virtual cards with no holder ID (`virtual=true`, and `holder_id` not specified):\n- **Required** for [auto-issued cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (`contact_ids` not specified)\n- Optional for [company cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (`contact_ids` specified)\n\nNot allowed for [team member cards](https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards) (`holder_id` present).\n\n:::note\nThis property is only available to travel intermediaries using our travel solution.\nTo use it, please contact [Revolut API Support](mailto:api-requests@revolut.com).\n:::","type":"object","required":["code"],"properties":{"code":{"type":"string","description":"The code of the card product.","examples":["MBJ"],"descriptionNode":"$L17b5"}},"descriptionNode":"$L17b6"},"virtual":{"type":"boolean","enum":[true],"description":"Specifies the type of the card. \nMust be set to `true`, as with the API, you can create only virtual cards.\n\n:::tip\nTo create a physical card, use the [Revolut Business app](https://business.revolut.com).\n:::","descriptionNode":"$L17b7"},"label":{"type":"string","description":"The label for the issued card, displayed in the UI to help distinguish between cards.\nIf not specified, no label will be added.","maxLength":30,"descriptionNode":"$L17b8"},"references":{"description":"$17b9","type":"array","minItems":1,"maxItems":5,"uniqueItems":true,"items":{"description":"$17ba","type":"object","required":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:required","properties":{"name":{"description":"The name of the card reference.\nMust be unique.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L17bb"},"value":{"description":"The value for this reference.","type":"string","minLength":1,"maxLength":30,"descriptionNode":"$L17bc"}},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:items:examples","descriptionNode":"$L17bd"},"examples":"$48:props:children:0:props:children:props:responses:200:content:application/json:schema:examples","descriptionNode":"$L17be"},"spending_limits":{"description":"All spending limits set for the card.\n\nYou can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error.","type":"object","properties":{"single":{"description":"The limit for a single transaction.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L17bf"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L17c0"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:single:required","descriptionNode":"$L17c1"},"day":{"description":"The daily limit for transactions.","type":"object","properties":{"amount":{"type":"number","format":"double","description":"The value of the spending limit.","descriptionNode":"$L17c2"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"The currency of the spending limit, provided as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code in upper case.","descriptionNode":"$L17c3"}},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L17c4"},"week":{"description":"The weekly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L17c5"},"month":{"description":"The monthly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L17c6"},"quarter":{"description":"The quarterly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L17c7"},"year":{"description":"The yearly limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L17c8"},"all_time":{"description":"The all-time limit for transactions.","type":"object","properties":{"amount":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:amount","currency":"$43:props:children:0:props:children:props:requestBody:content:application/json:schema:properties:spending_limits:properties:day:properties:currency"},"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:properties:day:required","descriptionNode":"$L17c9"}},"examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_limits:examples","descriptionNode":"$L17ca"},"spending_period":{"description":"The controls for the card's spending period.\n\nThey let you set the dates when the card becomes available or unavailable for spending, and define what happens after the end date.\n\nIf specified, you must provide at least one of these:\n- `start_date`\n- `end_date` together with `end_date_action`\n\nThe dates provided must be in the future.","type":"object","allOf":[{"type":"object","properties":{"start_date":{"type":"string","format":"date","description":"The start date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:start_date:examples","descriptionNode":"$L17cb"},"end_date":{"type":"string","format":"date","description":"The end date (inclusive) of the spending period, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DD`).\nUses the [timezone set by the business](https://business.revolut.com/settings/appearance), or defaults to `Europe/London`.","examples":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date:examples","descriptionNode":"$L17cc"},"end_date_action":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:properties:end_date_action:enum","description":"The action to take after the end date of the spending period.","descriptionNode":"$L17cd"}},"anyOf":[{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:0:required"},{"required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:spending_period:allOf:0:anyOf:1:required"}]}],"descriptionNode":"$L17ce"},"categories":{"type":"array","description":"The list of merchant categories to be available for card spending.\nIf not specified, all categories will be allowed.\n\n:::note\nThe `categories` and `merchant_controls` parameters have the following restrictions:\n- If you set `categories`, you **cannot** set `merchant_controls.control_type` to `allow`.\n- You **can** set `merchant_controls.control_type` to `block`.\n- You may also set **either** `categories` or `merchant_controls` independently, or **set neither**.\n- Both parameters can be used together **only** if `merchant_controls.control_type` is `block`.\n:::","items":{"enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:categories:items:enum","type":"string"},"descriptionNode":"$L17cf"},"merchant_controls":{"description":"The merchant-level controls for card spending.\n\nThey let you block or allow the card to only transact with specific merchants: \n- `allow`: permits only the specified merchants (cannot be used if the `categories` parameter is set).\n- `block`: blocks the specified merchants (can be used with or without `categories`).","type":"object","required":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:required","properties":{"control_type":{"type":"string","enum":"$51:props:children:0:props:children:props:responses:200:content:application/json:schema:properties:merchant_controls:properties:control_type:enum","description":"The type of control to apply.","descriptionNode":"$L17d0"},"merchant_ids":{"type":"array","minItems":1,"maxItems":20,"description":"The list of IDs of merchants to which the control applies.\n\n:::tip\nTo find merchant IDs, check transaction details (→ `merchant.id`).\nYou can fetch transaction details for a [specific transaction](https://developer.revolut.com/docs/api/business#get-transaction#response) or for [all transactions](https://developer.revolut.com/docs/api/business#get-transactions#response).\n:::","items":{"type":"string","format":"uuid"},"descriptionNode":"$L17d1"}},"descriptionNode":"$L17d2"},"countries":{"description":"Restricts card use to specified countries, provided as 2-letter [ISO 3166](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) codes.","type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$","examples":["GB"]},"descriptionNode":"$L17d3"},"accounts":{"type":"array","description":"The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the [`GET /accounts` operation](https://developer.revolut.com/docs/api/business#get-accounts).","items":{"type":"string","format":"uuid"},"descriptionNode":"$L17d4"}},"required":["request_id","virtual"]},"examples":{"team_member_card":{"summary":"Team member card","value":{"request_id":"7a10f3eb-fe56-4699-9bd0-044a63508828","holder_id":"173ab846-de2a-1234-5678-160bd2e660e6","virtual":true,"label":"Kirby Janette","spending_limits":{"single":{"amount":200.22,"currency":"GBP"},"week":{"amount":200.44,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-15","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}},"company_card":{"summary":"Company card","value":{"request_id":"7a10f3eb-fe56-4699-9bd0-044a63508829","contact_ids":["3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9","02b969cb-b984-4a70-873d-f93220805e5e","36d9604d-4821-45fc-bf1a-a2881f6336c0"],"virtual":true,"label":"Engagement team","spending_limits":{"single":{"amount":200,"currency":"GBP"},"week":{"amount":1000,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-15","end_date_action":"terminate"},"categories":["accommodation"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}},"autogenerated_card":{"summary":"Auto-issued card","value":{"request_id":"7a10f3eb-fe56-4699-9bd0-044a63508830","product":{"code":"MBJ"},"virtual":true,"label":"Reservation 123456","references":[{"name":"PNR","value":"RT12345"},{"name":"Traveller","value":"John Smith"}],"spending_limits":{"single":{"amount":1500,"currency":"GBP"},"week":{"amount":3000,"currency":"GBP"}},"spending_period":{"end_date":"2026-12-15","end_date_action":"terminate"},"categories":["airlines"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}},"card_with_spending_period_start_date":{"summary":"Card with a spending period start date","value":{"request_id":"7a10f3eb-fe56-4699-9bd0-044a63508831","holder_id":"d2d68875-55b4-42d9-a816-19449b8e0840","virtual":true,"label":"Kim Took","spending_limits":{"single":{"amount":200.22,"currency":"GBP"},"week":{"amount":200.44,"currency":"GBP"}},"spending_period":{"start_date":"2025-11-16","end_date":"2026-12-15","end_date_action":"terminate"},"categories":["groceries","restaurants"],"merchant_controls":{"control_type":"block","merchant_ids":["46df0a1b-3678-4ded-9cf5-9f4da1b5019d","e8a87432-f71e-4deb-be84-969a02792929"]},"countries":["GB","SG"],"accounts":["75aa436d-2a04-4ab9-af14-ed0955769b8c"]}}}}},"descriptionNode":"$L17d5"},"variantLabels":["Team member card","Company card","Auto-issued card","Card with a spending period start date"],"children":["$L17d6","$L17d7"]}]}],false]}] 17d6:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$","div",null,{"className":"y9a0do1","children":[["$","h2",null,{"id":"create-card","children":[["$L17d8","$undefined"],["$","$L3a",null,{"id":"create-card"}]]}],["$","$L3b",null,{"url":"/docs/api/business/operations/create-card.md"}]]}]}],"$undefined"]}] 17da:T1362,
curl -X POST "https://b2b.revolut.com/api/1.0/cards" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}'
17db:T424,const payload = { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] }; fetch("https://b2b.revolut.com/api/1.0/cards", { method: "POST", headers: { "Authorization": "Bearer ", "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(response => response.json()) .then(data => console.log(data));17dc:T2433,
const payload = {
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
};
fetch("https://b2b.revolut.com/api/1.0/cards", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
17dd:T4ad,package main import ( "fmt" "net/http" "bytes" "encoding/json" ) func main() { url := "https://b2b.revolut.com/api/1.0/cards" jsonData := []byte(` { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] } `) req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData)) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() fmt.Println(res) }17de:T225a,
package main

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

func main() {
  url := "https://b2b.revolut.com/api/1.0/cards"
  jsonData := []byte(`
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

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

url = "https://b2b.revolut.com/api/1.0/cards"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
17e0:T5d6,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 = """ { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://b2b.revolut.com/api/1.0/cards")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }17e1:T27c1,
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 = """
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://b2b.revolut.com/api/1.0/cards"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
17e2:T5a2,using System.Net.Http; using System.Net.Http.Headers; var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""request_id"": ""7a10f3eb-fe56-4699-9bd0-044a63508828"", ""holder_id"": ""173ab846-de2a-1234-5678-160bd2e660e6"", ""virtual"": true, ""label"": ""Kirby Janette"", ""spending_limits"": { ""single"": { ""amount"": 200.22, ""currency"": ""GBP"" }, ""week"": { ""amount"": 200.44, ""currency"": ""GBP"" } }, ""spending_period"": { ""end_date"": ""2026-12-15"", ""end_date_action"": ""terminate"" }, ""categories"": [ ""groceries"", ""restaurants"" ], ""merchant_controls"": { ""control_type"": ""block"", ""merchant_ids"": [ ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"", ""e8a87432-f71e-4deb-be84-969a02792929"" ] }, ""countries"": [ ""GB"", ""SG"" ], ""accounts"": [ ""75aa436d-2a04-4ab9-af14-ed0955769b8c"" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }17e3:T4041,
using System.Net.Http;
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage
{
  Method = HttpMethod.Post,
  RequestUri = new Uri("https://b2b.revolut.com/api/1.0/cards"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""7a10f3eb-fe56-4699-9bd0-044a63508828"",
  ""holder_id"": ""173ab846-de2a-1234-5678-160bd2e660e6"",
  ""virtual"": true,
  ""label"": ""Kirby Janette"",
  ""spending_limits"": {
    ""single"": {
      ""amount"": 200.22,
      ""currency"": ""GBP""
    },
    ""week"": {
      ""amount"": 200.44,
      ""currency"": ""GBP""
    }
  },
  ""spending_period"": {
    ""end_date"": ""2026-12-15"",
    ""end_date_action"": ""terminate""
  },
  ""categories"": [
    ""groceries"",
    ""restaurants""
  ],
  ""merchant_controls"": {
    ""control_type"": ""block"",
    ""merchant_ids"": [
      ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"",
      ""e8a87432-f71e-4deb-be84-969a02792929""
    ]
  },
  ""countries"": [
    ""GB"",
    ""SG""
  ],
  ""accounts"": [
    ""75aa436d-2a04-4ab9-af14-ed0955769b8c""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
17e4:T136a,
curl -X POST "https://sandbox-b2b.revolut.com/api/1.0/cards" \
  -H "Authorization: Bearer <yourSecretApiKey>" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}'
17e5:T42c,const payload = { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] }; fetch("https://sandbox-b2b.revolut.com/api/1.0/cards", { method: "POST", headers: { "Authorization": "Bearer ", "Content-Type": "application/json" }, body: JSON.stringify(payload) }) .then(response => response.json()) .then(data => console.log(data));17e6:T243b,
const payload = {
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
};
fetch("https://sandbox-b2b.revolut.com/api/1.0/cards", {
  method: "POST",
  headers: {
    "Authorization": "Bearer <yourSecretApiKey>",
    "Content-Type": "application/json"
  },
  body: JSON.stringify(payload)
})
  .then(response => response.json())
  .then(data => console.log(data));
17e7:T4b5,package main import ( "fmt" "net/http" "bytes" "encoding/json" ) func main() { url := "https://sandbox-b2b.revolut.com/api/1.0/cards" jsonData := []byte(` { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] } `) req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData)) req.Header.Add("Authorization", "Bearer ") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() fmt.Println(res) }17e8:T2262,
package main

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

func main() {
  url := "https://sandbox-b2b.revolut.com/api/1.0/cards"
  jsonData := []byte(`
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
  `)
  req, _ := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
  req.Header.Add("Authorization", "Bearer <yourSecretApiKey>")
  req.Header.Add("Content-Type", "application/json")

  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  fmt.Println(res)
}
17e9:T402,import requests url = "https://sandbox-b2b.revolut.com/api/1.0/cards" headers = { "Authorization": "Bearer ", "Content-Type": "application/json" } payload = { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] } response = requests.post(url, headers=headers, json=payload) print(response.json())17ea:T2101,
import requests

url = "https://sandbox-b2b.revolut.com/api/1.0/cards"
headers = {
  "Authorization": "Bearer <yourSecretApiKey>",
  "Content-Type": "application/json"
}
payload = {
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}

response = requests.post(url, headers=headers, json=payload)
print(response.json())
17eb:T5de,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 = """ { "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "virtual": true, "label": "Kirby Janette", "spending_limits": { "single": { "amount": 200.22, "currency": "GBP" }, "week": { "amount": 200.44, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "groceries", "restaurants" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] } """; HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/cards")) .header("Authorization", "Bearer ") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString(body)) .build(); client.sendAsync(request, HttpResponse.BodyHandlers.ofString()) .thenApply(HttpResponse::body) .thenAccept(System.out::println) .join(); } }17ec:T27c9,
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 = """
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
    """;

    HttpRequest request = HttpRequest.newBuilder()
      .uri(URI.create("https://sandbox-b2b.revolut.com/api/1.0/cards"))
      .header("Authorization", "Bearer <yourSecretApiKey>")
      .header("Content-Type", "application/json")
      .POST(HttpRequest.BodyPublishers.ofString(body))
      .build();

    client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
      .thenApply(HttpResponse::body)
      .thenAccept(System.out::println)
      .join();
  }
}
17ed:T5aa,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-b2b.revolut.com/api/1.0/cards"), Headers = { { "Authorization", "Bearer " }, }, Content = new StringContent(@"{ ""request_id"": ""7a10f3eb-fe56-4699-9bd0-044a63508828"", ""holder_id"": ""173ab846-de2a-1234-5678-160bd2e660e6"", ""virtual"": true, ""label"": ""Kirby Janette"", ""spending_limits"": { ""single"": { ""amount"": 200.22, ""currency"": ""GBP"" }, ""week"": { ""amount"": 200.44, ""currency"": ""GBP"" } }, ""spending_period"": { ""end_date"": ""2026-12-15"", ""end_date_action"": ""terminate"" }, ""categories"": [ ""groceries"", ""restaurants"" ], ""merchant_controls"": { ""control_type"": ""block"", ""merchant_ids"": [ ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"", ""e8a87432-f71e-4deb-be84-969a02792929"" ] }, ""countries"": [ ""GB"", ""SG"" ], ""accounts"": [ ""75aa436d-2a04-4ab9-af14-ed0955769b8c"" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }17ee:T4049,
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-b2b.revolut.com/api/1.0/cards"),
  Headers =
  {
    { "Authorization", "Bearer <yourSecretApiKey>" },
  },
  Content = new StringContent(@"{
  ""request_id"": ""7a10f3eb-fe56-4699-9bd0-044a63508828"",
  ""holder_id"": ""173ab846-de2a-1234-5678-160bd2e660e6"",
  ""virtual"": true,
  ""label"": ""Kirby Janette"",
  ""spending_limits"": {
    ""single"": {
      ""amount"": 200.22,
      ""currency"": ""GBP""
    },
    ""week"": {
      ""amount"": 200.44,
      ""currency"": ""GBP""
    }
  },
  ""spending_period"": {
    ""end_date"": ""2026-12-15"",
    ""end_date_action"": ""terminate""
  },
  ""categories"": [
    ""groceries"",
    ""restaurants""
  ],
  ""merchant_controls"": {
    ""control_type"": ""block"",
    ""merchant_ids"": [
      ""46df0a1b-3678-4ded-9cf5-9f4da1b5019d"",
      ""e8a87432-f71e-4deb-be84-969a02792929""
    ]
  },
  ""countries"": [
    ""GB"",
    ""SG""
  ],
  ""accounts"": [
    ""75aa436d-2a04-4ab9-af14-ed0955769b8c""
  ]
}")
  {
    Headers =
    {
      ContentType = new MediaTypeHeaderValue("application/json")
    }
  }
};

using (var response = await client.SendAsync(request))
{
  response.EnsureSuccessStatusCode();
  var body = await response.Content.ReadAsStringAsync();
  Console.WriteLine(body);
}
17d7:["$","div",null,{"className":"ezz1n30","children":[["$","div",null,{"data-header":"$undefined","className":"ezz1n31","children":["$L17d9",["$","$Lac",null,{"parameters":"$undefined","requestBody":"$43:props:children:0:props:children:props:requestBody","heading":"Request","requestBodySchemaTitle":"Request body","headingAs":"h3"}],["$","$Lb2",null,{"responses":"$43:props:children:0:props:children:props:responses","headingAs":"h3"}]]}],["$","div",null,{"className":"ezz1n32","children":[[["$","$Lb3",null,{"itemsByServer":{"https://b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://b2b.revolut.com/api/1.0/cards\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508828\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"virtual\": true,\n \"label\": \"Kirby Janette\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}'","templateHtml":"$17da","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"$17db","templateHtml":"$17dc","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"$17dd","templateHtml":"$17de","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"import requests\n\nurl = \"https://b2b.revolut.com/api/1.0/cards\"\nheaders = {\n \"Authorization\": \"Bearer \",\n \"Content-Type\": \"application/json\"\n}\npayload = {\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508828\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"virtual\": true,\n \"label\": \"Kirby Janette\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}\n\nresponse = requests.post(url, headers=headers, json=payload)\nprint(response.json())","templateHtml":"$17df","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$17e0","templateHtml":"$17e1","tokens":[],"defaults":{}},{"id":"csharp","label":"C#","templateCode":"$17e2","templateHtml":"$17e3","tokens":[],"defaults":{}}],"https://sandbox-b2b.revolut.com/api/1.0":[{"id":"curl","label":"cURL","templateCode":"curl -X POST \"https://sandbox-b2b.revolut.com/api/1.0/cards\" \\\n -H \"Authorization: Bearer \" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508828\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"virtual\": true,\n \"label\": \"Kirby Janette\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}'","templateHtml":"$17e4","tokens":[],"defaults":{}},{"id":"javascript","label":"JavaScript","templateCode":"$17e5","templateHtml":"$17e6","tokens":[],"defaults":{}},{"id":"go","label":"Go","templateCode":"$17e7","templateHtml":"$17e8","tokens":[],"defaults":{}},{"id":"python","label":"Python","templateCode":"$17e9","templateHtml":"$17ea","tokens":[],"defaults":{}},{"id":"java","label":"Java","templateCode":"$17eb","templateHtml":"$17ec","tokens":[],"defaults":{}},{"id":"csharp","label":"C#","templateCode":"$17ed","templateHtml":"$17ee","tokens":[],"defaults":{}}]},"method":"post","servers":"$62:props:children:0:props:children:props:children:1:props:children:1:props:children:0:0:props:servers","path":"/cards","parameters":[]}],"$L17ef"],"$L17f0","$L17f1"]}]]}] 17f2:T1941,
{
  "label": "New card label",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "month": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
1765:["$","div","request-application/json-update_all_properties",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17f2"}}]}]],"$L17f3"]}] 17f4:T55a,
{
  "spending_period": {
    "start_date": null,
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  }
}
1766:["$","div","request-application/json-erase_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17f4"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"spending_period\": {\n \"start_date\": null,\n \"end_date\": \"2026-12-20\",\n \"end_date_action\": \"lock\"\n }\n}"}]}]]}] 1767:["$","div","request-application/json-erase_all_spending_limits",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"spending_limits\": null\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"spending_limits\": null\n}"}]}]]}] 1768:["$","div","request-application/json-erase_single_transaction_limit",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"spending_limits\": {\n    \"single\": null\n  }\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"spending_limits\": {\n \"single\": null\n }\n}"}]}]]}] 17f5:T636,
{
  "categories": [],
  "merchant_controls": {
    "control_type": "allow",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  }
}
1769:["$","div","request-application/json-allow_specific_merchants",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17f5"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"categories\": [],\n \"merchant_controls\": {\n \"control_type\": \"allow\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n }\n}"}]}]]}] 17f6:T222d,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-17T08:32:11.024721Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "New card label",
  "state": "locked",
  "spending_limits": {
    "single": {
      "amount": 100,
      "currency": "GBP"
    },
    "week": {
      "amount": 300,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-09-18",
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "services",
    "shopping",
    "furniture"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929",
      "3f09819f-63d1-473a-966c-54d8b9f43a93"
    ]
  },
  "countries": [
    "GB",
    "SG",
    "ES"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51",
    "9ae4345a-5ee5-496b-b776-241fcc5a5ba4"
  ]
}
176a:["$","div","200-application/json-update_all_properties",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17f6"}}]}]],"$L17f7"]}] 17f8:T11ab,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-17T08:32:11.024721Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "spending_period": {
    "end_date": "2026-12-20",
    "end_date_action": "lock"
  },
  "categories": [
    "restaurants",
    "groceries"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
176b:["$","div","200-application/json-erase_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17f8"}}]}]],"$L17f9"]}] 17fa:Tebb,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-17T08:32:11.024721Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "categories": [
    "restaurants",
    "groceries"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
176c:["$","div","200-application/json-erase_all_spending_limits",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17fa"}}]}]],"$L17fb"]}] 17fc:T1290,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-17T08:32:11.024721Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "spending_limits": {
    "month": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "categories": [
    "restaurants",
    "groceries"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
176d:["$","div","200-application/json-erase_single_transaction_limit",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17fc"}}]}]],"$L17fd"]}] 17fe:T17bd,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-17T08:32:11.024721Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "month": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "merchant_controls": {
    "control_type": "allow",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
176e:["$","div","200-application/json-allow_specific_merchants",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$17fe"}}]}]],"$L17ff"]}] 176f:["$","div","400-application/json-nothing_to_update",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1112,\n  \"message\": \"Specify at least one parameter for card update\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1112,\n \"message\": \"Specify at least one parameter for card update\"\n}"}]}]]}] 1770:["$","div","400-application/json-invalid_spending_period_date_settings",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"At least one of start_date or end_date must be present\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"At least one of start_date or end_date must be present\"\n}"}]}]]}] 1771:["$","div","400-application/json-invalid_spending_period_end_settings",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"end_date and end_date_action must be either both present or both empty\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"end_date and end_date_action must be either both present or both empty\"\n}"}]}]]}] 1772:["$","div","400-application/json-invalid_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"message\": \"Invalid path parameter 'id': expected UUID\",\n  \"code\": 2101\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"message\": \"Invalid path parameter 'id': expected UUID\",\n \"code\": 2101\n}"}]}]]}] 1773:["$","div","400-application/json-invalid_country_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}"}]}]]}] 1774:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 1214,\n  \"message\": \"Card not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 1214,\n \"message\": \"Card not found\"\n}"}]}]]}] 1775:["$","div","422-application/json-past_spending_period_end_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33003,\n  \"message\": \"Unable to update the card with state=active\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33003,\n \"message\": \"Unable to update the card with state=active\"\n}"}]}]]}] 1776:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 1800:T8fa,Each Business API request must contain an authorization header in the following format to make a call: `Bearer `. The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a `refresh_token` will also be obtained which allows to obtain a new `access_token`. :::danger Never share your client-assertion JWT (JSON web token), `access_token` and `refresh_token` with anyone, as these can be used to access your banking data and initiate transactions. ::: Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained: - `READ`: Permissions for `GET` operations. - `WRITE`: Permissions to update counterparties, webhooks, and issue payment drafts. - `PAY`: Permissions to initiate or cancel transactions and currency exchanges. - `READ_SENSITIVE_CARD_DATA`: Permissions to retrieve sensitive card details. :::warning If you enable the `READ_SENSITIVE_CARD_DATA` scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing **any** Business API endpoint. IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so: 1. Go to the Revolut Business web app [settings](https://business.revolut.com/settings) → **APIs** → **Business API**. 2. Select the corresponding API certificate. 3. In **Production IP whitelist**, provide the IP(s) which should be whitelisted. Make sure that the IPs you provide are **not** [local (i.e. private) IP addresses](https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/). 4. Save the new settings. ::: To configure your JWT and obtain the refresh and first access tokens, complete the following steps: 1. [Sign up for a Revolut Business account](https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account) 2. [Prepare your Sandbox environment](https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment) 3. [Make your first API request](https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request)17ef:["$","$L1f6",null,{"security":[{"AccessToken":["WRITE"]}],"authorization":{"AccessToken":{"type":"http","scheme":"bearer","description":"$1800","descriptionNode":"$L1801"}}}] 17f0:["$","$L1f9",null,{"exampleBlocks":{"application/json":{"variants":[{"key":"team_member_card","label":"Team member card","rawValue":"$43:props:children:0:props:children:props:requestBody:content:application/json:examples:team_member_card:value","block":"$L1802"},{"key":"company_card","label":"Company card","rawValue":"$43:props:children:0:props:children:props:requestBody:content:application/json:examples:company_card:value","block":"$L1803"},{"key":"autogenerated_card","label":"Auto-issued card","rawValue":"$43:props:children:0:props:children:props:requestBody:content:application/json:examples:autogenerated_card:value","block":"$L1804"},{"key":"card_with_spending_period_start_date","label":"Card with a spending period start date","rawValue":"$43:props:children:0:props:children:props:requestBody:content:application/json:examples:card_with_spending_period_start_date:value","block":"$L1805"}],"syncedPropertyName":"$undefined"}},"title":"Request body samples","headingAs":"h4"}] 17f1:["$","$L1fa",null,{"exampleBlocks":{"200":{"application/json":{"variants":[{"key":"team_member_card","label":"Team member card","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:team_member_card:value","block":"$L1806"},{"key":"company_card","label":"Company card","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:company_card:value","block":"$L1807"},{"key":"autogenerated_card","label":"Auto-issued card","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:autogenerated_card:value","block":"$L1808"},{"key":"card_with_spending_period_start_date","label":"Card with a spending period start date","rawValue":"$44:props:children:0:props:children:props:responses:200:content:application/json:examples:card_with_spending_period_start_date:value","block":"$L1809"}],"syncedPropertyName":"$undefined"}},"400":{"application/json":{"variants":[{"key":"missing_conditional_fields","label":"Contact IDs or product are required when holder ID not provided","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_conditional_fields:value","block":"$L180a"},{"key":"contact_ids_and_product_not_allowed_with_holder_id","label":"Contact IDs and product are not allowed when holder ID present","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:contact_ids_and_product_not_allowed_with_holder_id:value","block":"$L180b"},{"key":"references_not_allowed_with_holder_id","label":"References are not allowed when holder ID present","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:references_not_allowed_with_holder_id:value","block":"$L180c"},{"key":"missing_required_field","label":"Merchant controls are missing merchant IDs","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:missing_required_field:value","block":"$L180d"},{"key":"invalid_json","label":"Invalid request body","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_json:value","block":"$L180e"},{"key":"product_not_found","label":"Card product not found","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:product_not_found:value","block":"$L180f"},{"key":"cannot_add_contact_ids","label":"Contact ID(s) not found","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:cannot_add_contact_ids:value","block":"$L1810"},{"key":"wrong_spending_period_date","label":"Wrong spending period date","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:wrong_spending_period_date:value","block":"$L1811"},{"key":"invalid_account_id","label":"Invalid account ID","rawValue":"$43:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_account_id:value","block":"$L1812"},{"key":"invalid_country_code","label":"Invalid country code (when countries=[\"GB\", \"USA\"])","rawValue":"$4f:props:children:0:props:children:props:responses:400:content:application/json:examples:invalid_country_code:value","block":"$L1813"}],"syncedPropertyName":"$undefined"}},"404":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$43:props:children:0:props:children:props:responses:404:content:application/json:examples:default:value","block":"$L1814"}],"syncedPropertyName":"$undefined"}},"422":{"application/json":{"variants":[{"key":"cards_limit_exceeded","label":"Virtual cards limit per account exceeded","rawValue":"$43:props:children:0:props:children:props:responses:422:content:application/json:examples:cards_limit_exceeded:value","block":"$L1815"},{"key":"unexpected_error","label":"Unexpected error on initial request","rawValue":"$43:props:children:0:props:children:props:responses:422:content:application/json:examples:unexpected_error:value","block":"$L1816"}],"syncedPropertyName":"$undefined"}},"429":{"application/json":{"variants":[{"key":"default","label":"default","rawValue":"$43:props:children:0:props:children:props:responses:429:content:application/json:examples:default:value","block":"$L1817"}],"syncedPropertyName":"$undefined"}},"default":{"application/json":{"variants":[{"key":"default","label":"Example","rawValue":{"code":123,"message":"string"},"block":"$L1818"}],"syncedPropertyName":"$undefined"}}},"headingAs":"h4"}] 17f3:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"label\": \"New card label\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 100,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 300,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-09-18\",\n \"end_date\": \"2026-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"services\",\n \"shopping\",\n \"furniture\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\",\n \"3f09819f-63d1-473a-966c-54d8b9f43a93\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\",\n \"ES\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\",\n \"9ae4345a-5ee5-496b-b776-241fcc5a5ba4\"\n ]\n}"}]}] 1819:T41b,{ "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0", "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6", "created_at": "2025-09-15T11:04:11.047305Z", "updated_at": "2025-09-17T08:32:11.024721Z", "virtual": true, "last_digits": "2671", "expiry": "09/2030", "label": "New card label", "state": "locked", "spending_limits": { "single": { "amount": 100, "currency": "GBP" }, "week": { "amount": 300, "currency": "GBP" } }, "spending_period": { "start_date": "2025-09-18", "end_date": "2026-12-20", "end_date_action": "lock" }, "categories": [ "services", "shopping", "furniture" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929", "3f09819f-63d1-473a-966c-54d8b9f43a93" ] }, "countries": [ "GB", "SG", "ES" ], "accounts": [ "f52c6c84-26b9-4e95-bbcf-99ed6523fb51", "9ae4345a-5ee5-496b-b776-241fcc5a5ba4" ] }17f7:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$1819"}]}] 17f9:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-17T08:32:11.024721Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"spending_period\": {\n \"end_date\": \"2026-12-20\",\n \"end_date_action\": \"lock\"\n },\n \"categories\": [\n \"restaurants\",\n \"groceries\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 17fb:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-17T08:32:11.024721Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"categories\": [\n \"restaurants\",\n \"groceries\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 17fd:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-17T08:32:11.024721Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"month\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"categories\": [\n \"restaurants\",\n \"groceries\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 17ff:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-17T08:32:11.024721Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"month\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"merchant_controls\": {\n \"control_type\": \"allow\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 17d8:"Create a card" 1779:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the card."}]]}] 177a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member who is the holder of the card.\nIf the card belongs to the business, this will be empty."}],"\n",["$","p","p-1",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#create-a-virtual-card","target":"_blank","rel":"noreferrer","children":"Manage Cards - Create a virtual card"}],"."]}]]}] 177b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"One of the card's contacts."}]]}] 177c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of contacts for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],"."]}]]}] 177d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was created in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 177e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The date and time the card was last updated in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format."]}]]}] 177f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the card product."}]]}] 1780:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card product offered by the card provider for this card.\nIn other words, the program that the card was issued under."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This property is only available to travel intermediaries using our travel solution.\nTo use it, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 1781:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies whether the card is virtual (",["$","code","code-0",{"children":"true"}],") or physical (",["$","code","code-1",{"children":"false"}],")."]}]]}] 1782:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The last 4 digits of the card's PAN."}]]}] 1783:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card expiration date."}]]}] 1784:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label of the card."}]]}] 1787:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 1788:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 1789:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 178a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times."]}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 178b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The state that the card is in."}]]}] 178c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Returned for locked cards (",["$","code","code-0",{"children":"state=locked"}],").\nIndicates whether the card can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#unlock-card","target":"_blank","rel":"noreferrer","children":"unlocked"}]," manually (via API or in-app).\nIf ",["$","code","code-1",{"children":"true"}],", you'll still need the ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#lock-or-unlock-cards","target":"_blank","rel":"noreferrer","children":"necessary scope or permission"}]," to unlock the card."]}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"Cards can be locked for various reasons.\nFor example, a card can be locked by the user, due to spending period settings, or automatically by the system.\nOnly certain types of lock can be lifted manually."}]}]]}]]}] 178d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 178e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 178f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 1790:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 1791:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 1792:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 1793:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 1794:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 1795:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 1796:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 1797:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 1798:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 1799:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 179a:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 179b:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They specify the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}]]}] 179c:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of merchant categories that are available for card spending. If not specified, categories are not restricted."}]]}] 179d:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 179e:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 179f:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)"]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")"]}],"\n"]}]]}] 17a0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of countries where the card can be used, specified as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 17a1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of linked accounts."}]]}] 17a2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Information about the created card"}]]}] 17a3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 17a4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 17a5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Bad Request"}],"\n",["$","p","p-1",{"children":"Returned, for example, when your request is malformed, missing required fields, or when it contains fields that cannot co-exist or unsupported values."}],"\n",["$","p","p-2",{"children":["If the invalid value is an array item, the error might indicate the array index of this faulty item, counting from ",["$","code","code-0",{"children":"0"}],".\nFor example, if you provide the list of countries, such as ",["$","code","code-1",{"children":"\"countries\": [\"GB\", \"USA\", ...]"}],", the first item (",["$","code","code-2",{"children":"GB"}],") has index ",["$","code","code-3",{"children":"0"}],", the second item (",["$","code","code-4",{"children":"USA"}],") has index ",["$","code","code-5",{"children":"1"}],", and so on.\nIn the example, ",["$","code","code-6",{"children":"USA"}]," is invalid, because it should be a 2-letter code.\nIn such a case, the error will indicate that ",["$","code","code-7",{"children":"countries[1]"}]," is invalid, thus pointing to the second item in the array, i.e. ",["$","code","code-8",{"children":"USA"}],"."]}]]}] 17a6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 17a7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 17a8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Team member not found"}],"\n",["$","p","p-1",{"children":["Returned when the team member specified as cardholder in ",["$","code","code-0",{"children":"holder_id"}]," does not exist."]}]]}] 17a9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 17aa:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 17ab:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unprocessable entity"}],"\n",["$","p","p-1",{"children":["For example, the team member exceeds the limit for virtual cards per account, or an unexpected error occurred when the initial request with the same ",["$","code","code-0",{"children":"request_id"}]," was sent."]}]]}] 17ac:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 17ad:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 17ae:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Concurrent requests with the same idempotency key"}]]}] 17af:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The error code."}]]}] 17b0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The description of the error."}]]}] 17b1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Unexpected error"}]]}] 17b2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"A unique ID of the request that you provide."}],"\n",["$","p","p-1",{"children":"There is no strict requirement on the format of this ID, but we suggest using v4 UUIDs."}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This ID is used to prevent duplicate card creation requests in case of a lost connection or client error, so make sure you use the same ",["$","code","code-0",{"children":"request_id"}]," for requests related to the same card.\nThe deduplication is limited to 24 hours counting from the first request using a given ID.\nFor more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#idempotency","target":"_blank","rel":"noreferrer","children":"Manage cards - Idempotency"}],"."]}]}]]}]]}] 17b3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The ID of the team member to assign as the holder of the card."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To retrieve a team member's ID, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-team-members","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /team-members"}]," operation"]}],"."]}]}]]}],"\n",["$","p","p-1",{"children":["For virtual cards (",["$","code","code-0",{"children":"virtual=true"}],"), this field is optional.",["$","br","br-0",{}],"\nIf not provided, the type of the issued card depends on ",["$","code","code-1",{"children":"contact_ids"}],":"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"contact_ids"}]," provided → ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}]]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"contact_ids"}]," not specified → ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued card"}]]}],"\n"]}]]}] 17b4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of ",["$","a","a-0",{"href":"https://help.revolut.com/business/help/cards/more-on-cards/company-cards/","target":"_blank","rel":"noreferrer","children":"contacts"}]," for the card.\nUp to 5 team members sharing the card, much like co-holders.\nCan be ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#update-card-contacts","target":"_blank","rel":"noreferrer","children":"edited"}],"."]}],"\n",["$","p","p-1",{"children":["Allowed only for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company cards"}]," (",["$","code","code-0",{"children":"virtual=true"}],", ",["$","code","code-1",{"children":"holder_id"}]," not specified)."]}]]}] 17b5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The code of the card product."}]]}] 17b6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The card product offered by the card provider for this card.\nIn other words, the program that the card is issued under."}],"\n",["$","p","p-1",{"children":["Provided only for virtual cards with no holder ID (",["$","code","code-0",{"children":"virtual=true"}],", and ",["$","code","code-1",{"children":"holder_id"}]," not specified):"]}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","strong","strong-0",{"children":"Required"}]," for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}]," (",["$","code","code-0",{"children":"contact_ids"}]," not specified)"]}],"\n",["$","li","li-1",{"children":["Optional for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company cards"}]," (",["$","code","code-0",{"children":"contact_ids"}]," specified)"]}],"\n"]}],"\n",["$","p","p-2",{"children":["Not allowed for ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["This property is only available to travel intermediaries using our travel solution.\nTo use it, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}]}]]}]]}] 17b7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Specifies the type of the card.\nMust be set to ",["$","code","code-0",{"children":"true"}],", as with the API, you can create only virtual cards."]}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To create a physical card, use the ",["$","a","a-0",{"href":"https://business.revolut.com","target":"_blank","rel":"noreferrer","children":"Revolut Business app"}],"."]}]}]]}]]}] 17b8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The label for the issued card, displayed in the UI to help distinguish between cards.\nIf not specified, no label will be added."}]]}] 17bb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The name of the card reference.\nMust be unique."}]]}] 17bc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value for this reference."}]]}] 17bd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Reference for the card.\nOne of the name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times.\nReferences are only supported for cards owned by the business (i.e. ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-3",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, the new references are only applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 17be:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"References for the card.\nUp to 5 name-value pairs assigned to the card for tracking."}],"\n",["$","div","inlinealert-0",{"data-type":"info","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMarkOutline","color":"var(--rui-color-accent)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Each time the card is used, the references are recorded in the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"transaction details"}]," (",["$","code","code-0",{"children":"card.references"}],"), helping track transactions made with this card."]}]}]]}],"\n",["$","p","p-1",{"children":["The names must be unique.\nThe references can be ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#update-card-references","target":"_blank","rel":"noreferrer","children":"amended"}]," up to 10 times."]}],"\n",["$","p","p-2",{"children":["References are only supported for cards owned by the business (i.e. ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company"}]," or ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued cards"}],").\nThey are ",["$","strong","strong-0",{"children":"not"}]," supported for ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member cards"}]," (i.e. with ",["$","code","code-0",{"children":"holder_id"}]," present)."]}],"\n",["$","div","inlinealert-1",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"InfoOutline","color":"var(--rui-color-grey-tone-50)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":"The references recorded on a transaction are those assigned to the card at the time the transaction took place.\nIf the references are amended, they will only be applied to future transactions.\nExisting transaction are not affected."}]}]]}]]}] 17bf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 17c0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 17c1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The limit for a single transaction."}]]}] 17c2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The value of the spending limit."}]]}] 17c3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The currency of the spending limit, provided as ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_4217","target":"_blank","rel":"noreferrer","children":"ISO 4217"}]," code in upper case."]}]]}] 17c4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The daily limit for transactions."}]]}] 17c5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The weekly limit for transactions."}]]}] 17c6:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The monthly limit for transactions."}]]}] 17c7:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The quarterly limit for transactions."}]]}] 17c8:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The yearly limit for transactions."}]]}] 17c9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The all-time limit for transactions."}]]}] 17ca:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"All spending limits set for the card."}],"\n",["$","p","p-1",{"children":"You can have at most 1 periodic (day/week/month/quarter/all-time) and 1 non-periodic (single transaction) limit at a time.\nIf you try to specify 2 periodic limits at a time, it will result in an error."}]]}] 17cb:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The start date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 17cc:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The end date (inclusive) of the spending period, in ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/ISO_8601","target":"_blank","rel":"noreferrer","children":"ISO 8601"}]," format (",["$","code","code-0",{"children":"YYYY-MM-DD"}],").\nUses the ",["$","a","a-1",{"href":"https://business.revolut.com/settings/appearance","target":"_blank","rel":"noreferrer","children":"timezone set by the business"}],", or defaults to ",["$","code","code-1",{"children":"Europe/London"}],"."]}]]}] 17cd:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The action to take after the end date of the spending period."}]]}] 17ce:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The controls for the card's spending period."}],"\n",["$","p","p-1",{"children":"They let you set the dates when the card becomes available or unavailable for spending, and define what happens after the end date."}],"\n",["$","p","p-2",{"children":"If specified, you must provide at least one of these:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["$","code","code-0",{"children":"start_date"}]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"end_date"}]," together with ",["$","code","code-1",{"children":"end_date_action"}]]}],"\n"]}],"\n",["$","p","p-3",{"children":"The dates provided must be in the future."}]]}] 17cf:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of merchant categories to be available for card spending.\nIf not specified, all categories will be allowed."}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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":"categories"}]," and ",["$","code","code-1",{"children":"merchant_controls"}]," parameters have the following restrictions:"]}],["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["If you set ",["$","code","code-0",{"children":"categories"}],", you ",["$","strong","strong-0",{"children":"cannot"}]," set ",["$","code","code-1",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-2",{"children":"allow"}],"."]}],"\n",["$","li","li-1",{"children":["You ",["$","strong","strong-0",{"children":"can"}]," set ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," to ",["$","code","code-1",{"children":"block"}],"."]}],"\n",["$","li","li-2",{"children":["You may also set ",["$","strong","strong-0",{"children":"either"}]," ",["$","code","code-0",{"children":"categories"}]," or ",["$","code","code-1",{"children":"merchant_controls"}]," independently, or ",["$","strong","strong-1",{"children":"set neither"}],"."]}],"\n",["$","li","li-3",{"children":["Both parameters can be used together ",["$","strong","strong-0",{"children":"only"}]," if ",["$","code","code-0",{"children":"merchant_controls.control_type"}]," is ",["$","code","code-1",{"children":"block"}],"."]}],"\n"]}]]}]]}]]}] 17d0:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The type of control to apply."}]]}] 17d1:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The list of IDs of merchants to which the control applies."}],"\n",["$","div","inlinealert-0",{"data-type":"tip","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"Lightbulb","color":"var(--rui-color-success)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["To find merchant IDs, check transaction details (→ ",["$","code","code-0",{"children":"merchant.id"}],").\nYou can fetch transaction details for a ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-transaction#response","target":"_blank","rel":"noreferrer","children":"specific transaction"}]," or for ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/api/business#get-transactions#response","target":"_blank","rel":"noreferrer","children":"all transactions"}],"."]}]}]]}]]}] 17d2:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"The merchant-level controls for card spending."}],"\n",["$","p","p-1",{"children":"They let you block or allow the card to only transact with specific merchants:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":[["$","code","code-0",{"children":"allow"}],": permits only the specified merchants (cannot be used if the ",["$","code","code-1",{"children":"categories"}]," parameter is set)."]}],"\n",["$","li","li-1",{"children":[["$","code","code-0",{"children":"block"}],": blocks the specified merchants (can be used with or without ",["$","code","code-1",{"children":"categories"}],")."]}],"\n"]}]]}] 17d3:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Restricts card use to specified countries, provided as 2-letter ",["$","a","a-0",{"href":"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes","target":"_blank","rel":"noreferrer","children":"ISO 3166"}]," codes."]}]]}] 17d4:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["The list of accounts to link to the card.\nIf not specified, all accounts will be linked.\nTo retrieve account IDs, use the ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/api/business#get-accounts","target":"_blank","rel":"noreferrer","children":[["$","code","code-0",{"children":"GET /accounts"}]," operation"]}],"."]}]]}] 17d5:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":"Card to create"}]]}] 17d9:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Create a new ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"team member card"}],", ",["$","a","a-1",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"company card"}],", or ",["$","a","a-2",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards#different-types-of-cards","target":"_blank","rel":"noreferrer","children":"auto-issued card"}],"."]}],"\n",["$","p","p-1",{"children":["When using the API, you can create only virtual cards.\nTo create a physical card, use the ",["$","a","a-0",{"href":"https://business.revolut.com","target":"_blank","rel":"noreferrer","children":"Revolut Business app"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"note","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",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 feature is not available in Sandbox."}],"\n",["$","li","li-1",{"children":["To increase your account's card limits, please contact ",["$","a","a-0",{"href":"mailto:api-requests@revolut.com","children":"Revolut API Support"}],"."]}],"\n"]}]}]]}],"\n",["$","p","p-2",{"children":["For more information, see the guides: ",["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/cards/manage-cards","target":"_blank","rel":"noreferrer","children":"Manage cards"}],"."]}]]}] 1801:["$","article",null,{"className":"_8qmzte0","children":[["$","p","p-0",{"children":["Each Business API request must contain an authorization header in the following format to make a call: ",["$","code","code-0",{"children":"Bearer "}],"."]}],"\n",["$","p","p-1",{"children":["The access token will be obtained the first time you set up your application and has an expiration of 40 minutes.\nDuring setup, a ",["$","code","code-0",{"children":"refresh_token"}]," will also be obtained which allows to obtain a new ",["$","code","code-1",{"children":"access_token"}],"."]}],"\n",["$","div","inlinealert-0",{"data-type":"danger","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationTriangle","color":"var(--rui-color-danger)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":["$","p","p-0",{"children":["Never share your client-assertion JWT (JSON web token), ",["$","code","code-0",{"children":"access_token"}]," and ",["$","code","code-1",{"children":"refresh_token"}]," with anyone, as these can be used to access your banking data and initiate transactions."]}]}]]}],"\n",["$","p","p-2",{"children":"Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:"}],"\n",["$","ul","ul-0",{"children":["\n",["$","li","li-0",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ"}],": Permissions for ",["$","code","code-1",{"children":"GET"}]," operations."]}],"\n"]}],"\n",["$","li","li-1",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"WRITE"}],": Permissions to update counterparties, webhooks, and issue payment drafts."]}],"\n"]}],"\n",["$","li","li-2",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"PAY"}],": Permissions to initiate or cancel transactions and currency exchanges."]}],"\n"]}],"\n",["$","li","li-3",{"children":["\n",["$","p","p-0",{"children":[["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}],": Permissions to retrieve sensitive card details."]}],"\n",["$","div","inlinealert-0",{"data-type":"warning","className":"_25vm6y0","children":[["$","div",null,{"className":"_25vm6y1","children":["$","$L92",null,{"name":"ExclamationMark","color":"var(--rui-color-warning)","inline":true}]}],null,["$","div",null,{"className":"_25vm6y3","children":[["$","p","p-0",{"children":["If you enable the ",["$","code","code-0",{"children":"READ_SENSITIVE_CARD_DATA"}]," scope for your access token, you must set up IP whitelisting.\nFailing to do so will prevent you from accessing ",["$","strong","strong-0",{"children":"any"}]," Business API endpoint."]}],["$","p","p-1",{"children":"IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted.\nTo do so:"}],["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["Go to the Revolut Business web app ",["$","a","a-0",{"href":"https://business.revolut.com/settings","target":"_blank","rel":"noreferrer","children":"settings"}]," → ",["$","strong","strong-0",{"children":"APIs"}]," → ",["$","strong","strong-1",{"children":"Business API"}],"."]}],"\n",["$","li","li-1",{"children":"Select the corresponding API certificate."}],"\n",["$","li","li-2",{"children":["In ",["$","strong","strong-0",{"children":"Production IP whitelist"}],", provide the IP(s) which should be whitelisted.\nMake sure that the IPs you provide are ",["$","strong","strong-1",{"children":"not"}]," ",["$","a","a-0",{"href":"https://www.okta.com/en-sg/identity-101/understanding-private-ip-ranges/","target":"_blank","rel":"noreferrer","children":"local (i.e. private) IP addresses"}],"."]}],"\n",["$","li","li-3",{"children":"Save the new settings."}],"\n"]}]]}]]}],"\n"]}],"\n"]}],"\n",["$","p","p-3",{"children":"To configure your JWT and obtain the refresh and first access tokens, complete the following steps:"}],"\n",["$","ol","ol-0",{"children":["\n",["$","li","li-0",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/sign-up-for-revolut-business-account","target":"_blank","rel":"noreferrer","children":"Sign up for a Revolut Business account"}]}],"\n","$L181a","\n","$L181b","\n"]}]]}] 181a:["$","li","li-1",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/prepare-sandbox-environment","target":"_blank","rel":"noreferrer","children":"Prepare your Sandbox environment"}]}] 181b:["$","li","li-2",{"children":["$","a","a-0",{"href":"https://developer.revolut.com/docs/guides/manage-accounts/get-started/make-your-first-api-request","target":"_blank","rel":"noreferrer","children":"Make your first API request"}]}] 181c:T1907,
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508828",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "virtual": true,
  "label": "Kirby Janette",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1802:["$","div","request-application/json-team_member_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$181c"}}]}]],"$L181d"]}] 181e:T1a17,
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508829",
  "contact_ids": [
    "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
    "02b969cb-b984-4a70-873d-f93220805e5e",
    "36d9604d-4821-45fc-bf1a-a2881f6336c0"
  ],
  "virtual": true,
  "label": "Engagement team",
  "spending_limits": {
    "single": {
      "amount": 200,
      "currency": "GBP"
    },
    "week": {
      "amount": 1000,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "accommodation"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1803:["$","div","request-application/json-company_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$181e"}}]}]],"$L181f"]}] 1820:T1f2e,
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508830",
  "product": {
    "code": "MBJ"
  },
  "virtual": true,
  "label": "Reservation 123456",
  "references": [
    {
      "name": "PNR",
      "value": "RT12345"
    },
    {
      "name": "Traveller",
      "value": "John Smith"
    }
  ],
  "spending_limits": {
    "single": {
      "amount": 1500,
      "currency": "GBP"
    },
    "week": {
      "amount": 3000,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "airlines"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1804:["$","div","request-application/json-autogenerated_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1820"}}]}]],"$L1821"]}] 1822:T1a1c,
{
  "request_id": "7a10f3eb-fe56-4699-9bd0-044a63508831",
  "holder_id": "d2d68875-55b4-42d9-a816-19449b8e0840",
  "virtual": true,
  "label": "Kim Took",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-11-16",
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1805:["$","div","request-application/json-card_with_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1822"}}]}]],"$L1823"]}] 1824:T1ebc,
{
  "id": "aa14a9af-d7a7-4214-a743-lok818f74bd0",
  "holder_id": "173ab846-de2a-1234-5678-160bd2e660e6",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "2671",
  "expiry": "09/2030",
  "label": "Kirby Janette",
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate",
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "categories": [
    "restaurants",
    "groceries"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "f52c6c84-26b9-4e95-bbcf-99ed6523fb51"
  ]
}
1806:["$","div","200-application/json-team_member_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1824"}}]}]],"$L1825"]}] 1826:T1f94,
{
  "id": "448b9493-8bd7-48f9-a7ce-59293b5118ec",
  "contact_ids": [
    "3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9",
    "02b969cb-b984-4a70-873d-f93220805e5e",
    "36d9604d-4821-45fc-bf1a-a2881f6336c0"
  ],
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "4321",
  "expiry": "09/2030",
  "label": "Engagement team",
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 200,
      "currency": "GBP"
    },
    "week": {
      "amount": 1000,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "accommodation"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1807:["$","div","200-application/json-company_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1826"}}]}]],"$L1827"]}] 1828:T24ab,
{
  "id": "f296f3b6-d28c-44e7-aae5-3d540e6a20e9",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "product": {
    "code": "MBJ"
  },
  "virtual": true,
  "last_digits": "9876",
  "expiry": "09/2030",
  "label": "Reservation 123456",
  "references": [
    {
      "name": "PNR",
      "value": "RT12345"
    },
    {
      "name": "Traveller",
      "value": "John Smith"
    }
  ],
  "state": "active",
  "spending_limits": {
    "single": {
      "amount": 1500,
      "currency": "GBP"
    },
    "week": {
      "amount": 3000,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "airlines"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1808:["$","div","200-application/json-autogenerated_card",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$1828"}}]}]],"$L1829"]}] 182a:T20ae,
{
  "id": "e466e17f-7727-46b3-be0f-56acf9209195",
  "holder_id": "d2d68875-55b4-42d9-a816-19449b8e0840",
  "created_at": "2025-09-15T11:04:11.047305Z",
  "updated_at": "2025-09-15T11:04:11.047305Z",
  "virtual": true,
  "last_digits": "1289",
  "expiry": "09/2030",
  "label": "Kim Took",
  "state": "locked",
  "can_be_unlocked": true,
  "spending_limits": {
    "single": {
      "amount": 200.22,
      "currency": "GBP"
    },
    "week": {
      "amount": 200.44,
      "currency": "GBP"
    }
  },
  "spending_period": {
    "start_date": "2025-11-16",
    "end_date": "2026-12-15",
    "end_date_action": "terminate"
  },
  "categories": [
    "groceries",
    "restaurants"
  ],
  "merchant_controls": {
    "control_type": "block",
    "merchant_ids": [
      "46df0a1b-3678-4ded-9cf5-9f4da1b5019d",
      "e8a87432-f71e-4deb-be84-969a02792929"
    ]
  },
  "countries": [
    "GB",
    "SG"
  ],
  "accounts": [
    "75aa436d-2a04-4ab9-af14-ed0955769b8c"
  ]
}
1809:["$","div","200-application/json-card_with_spending_period_start_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"$182a"}}]}]],"$L182b"]}] 180a:["$","div","400-application/json-missing_conditional_fields",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Either contact_ids or product must be present when holder_id is empty\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Either contact_ids or product must be present when holder_id is empty\"\n}"}]}]]}] 180b:["$","div","400-application/json-contact_ids_and_product_not_allowed_with_holder_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Both contact_ids and product must be empty when holder_id is present\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Both contact_ids and product must be empty when holder_id is present\"\n}"}]}]]}] 180c:["$","div","400-application/json-references_not_allowed_with_holder_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"references must be empty when holder_id is present\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"references must be empty when holder_id is present\"\n}"}]}]]}] 180d:["$","div","400-application/json-missing_required_field",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"merchant_ids is empty\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"merchant_ids is empty\"\n}"}]}]]}] 180e:["$","div","400-application/json-invalid_json",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Cannot parse request: invalid JSON\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Cannot parse request: invalid JSON\"\n}"}]}]]}] 180f:["$","div","400-application/json-product_not_found",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Product MJB not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Product MJB not found\"\n}"}]}]]}] 1810:["$","div","400-application/json-cannot_add_contact_ids",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Unable to attach contactIds\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Unable to attach contactIds\"\n}"}]}]]}] 1811:["$","div","400-application/json-wrong_spending_period_date",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Spending period start_date must be in the future\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Spending period start_date must be in the future\"\n}"}]}]]}] 1812:["$","div","400-application/json-invalid_account_id",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 2101,\n  \"message\": \"Invalid account ids provided=[0f187658-8c07-491f-9129-ae567b829137]\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 2101,\n \"message\": \"Invalid account ids provided=[0f187658-8c07-491f-9129-ae567b829137]\"\n}"}]}]]}] 1813:["$","div","400-application/json-invalid_country_code",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3000,\n  \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3000,\n \"message\": \"Invalid value for 'countries[1]': expected a 2-letter ISO country code (e.g. 'US').\"\n}"}]}]]}] 1814:["$","div","404-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3042,\n  \"message\": \"Team member not found\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3042,\n \"message\": \"Team member not found\"\n}"}]}]]}] 1815:["$","div","422-application/json-cards_limit_exceeded",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3087,\n  \"message\": \"Active virtual cards limit is exceeded for the employee\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3087,\n \"message\": \"Active virtual cards limit is exceeded for the employee\"\n}"}]}]]}] 1816:["$","div","422-application/json-unexpected_error",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 33009,\n  \"message\": \"Idempotent replay failed: first execution was not successful\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 33009,\n \"message\": \"Idempotent replay failed: first execution was not successful\"\n}"}]}]]}] 1817:["$","div","429-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 3162,\n  \"message\": \"Parallel requests conflict. Please synchronize your requests. request_id=5baa6989-ae59-4668-bb09-042fca180518\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 3162,\n \"message\": \"Parallel requests conflict. Please synchronize your requests. request_id=5baa6989-ae59-4668-bb09-042fca180518\"\n}"}]}]]}] 1818:["$","div","default-application/json-default",{"className":"wzy01m0 _18b50nc0 y9a0do3","children":[["$undefined",["$","$Laed",null,{"className":"_18b50nc3","defaultWrap":false,"children":["$","div",null,{"className":"_18b50nc4","dangerouslySetInnerHTML":{"__html":"
{\n  \"code\": 123,\n  \"message\": \"string\"\n}
"}}]}]],["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"code\": 123,\n \"message\": \"string\"\n}"}]}]]}] 181d:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508828\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"virtual\": true,\n \"label\": \"Kirby Janette\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 181f:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508829\",\n \"contact_ids\": [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n ],\n \"virtual\": true,\n \"label\": \"Engagement team\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 1000,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"accommodation\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 1821:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508830\",\n \"product\": {\n \"code\": \"MBJ\"\n },\n \"virtual\": true,\n \"label\": \"Reservation 123456\",\n \"references\": [\n {\n \"name\": \"PNR\",\n \"value\": \"RT12345\"\n },\n {\n \"name\": \"Traveller\",\n \"value\": \"John Smith\"\n }\n ],\n \"spending_limits\": {\n \"single\": {\n \"amount\": 1500,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 3000,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"airlines\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 1823:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"request_id\": \"7a10f3eb-fe56-4699-9bd0-044a63508831\",\n \"holder_id\": \"d2d68875-55b4-42d9-a816-19449b8e0840\",\n \"virtual\": true,\n \"label\": \"Kim Took\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-11-16\",\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 1825:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"aa14a9af-d7a7-4214-a743-lok818f74bd0\",\n \"holder_id\": \"173ab846-de2a-1234-5678-160bd2e660e6\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"2671\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kirby Janette\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\",\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"categories\": [\n \"restaurants\",\n \"groceries\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"f52c6c84-26b9-4e95-bbcf-99ed6523fb51\"\n ]\n}"}]}] 1827:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"448b9493-8bd7-48f9-a7ce-59293b5118ec\",\n \"contact_ids\": [\n \"3ea984a5-d599-4c97-b2b3-c6c12bb9b5e9\",\n \"02b969cb-b984-4a70-873d-f93220805e5e\",\n \"36d9604d-4821-45fc-bf1a-a2881f6336c0\"\n ],\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"4321\",\n \"expiry\": \"09/2030\",\n \"label\": \"Engagement team\",\n \"state\": \"active\",\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 1000,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"accommodation\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}] 182c:T405,{ "id": "f296f3b6-d28c-44e7-aae5-3d540e6a20e9", "created_at": "2025-09-15T11:04:11.047305Z", "updated_at": "2025-09-15T11:04:11.047305Z", "product": { "code": "MBJ" }, "virtual": true, "last_digits": "9876", "expiry": "09/2030", "label": "Reservation 123456", "references": [ { "name": "PNR", "value": "RT12345" }, { "name": "Traveller", "value": "John Smith" } ], "state": "active", "spending_limits": { "single": { "amount": 1500, "currency": "GBP" }, "week": { "amount": 3000, "currency": "GBP" } }, "spending_period": { "end_date": "2026-12-15", "end_date_action": "terminate" }, "categories": [ "airlines" ], "merchant_controls": { "control_type": "block", "merchant_ids": [ "46df0a1b-3678-4ded-9cf5-9f4da1b5019d", "e8a87432-f71e-4deb-be84-969a02792929" ] }, "countries": [ "GB", "SG" ], "accounts": [ "75aa436d-2a04-4ab9-af14-ed0955769b8c" ] }1829:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"$182c"}]}] 182b:["$","div",null,{"className":"wzy01m1","children":["$","$Laf0",null,{"code":"{\n \"id\": \"e466e17f-7727-46b3-be0f-56acf9209195\",\n \"holder_id\": \"d2d68875-55b4-42d9-a816-19449b8e0840\",\n \"created_at\": \"2025-09-15T11:04:11.047305Z\",\n \"updated_at\": \"2025-09-15T11:04:11.047305Z\",\n \"virtual\": true,\n \"last_digits\": \"1289\",\n \"expiry\": \"09/2030\",\n \"label\": \"Kim Took\",\n \"state\": \"locked\",\n \"can_be_unlocked\": true,\n \"spending_limits\": {\n \"single\": {\n \"amount\": 200.22,\n \"currency\": \"GBP\"\n },\n \"week\": {\n \"amount\": 200.44,\n \"currency\": \"GBP\"\n }\n },\n \"spending_period\": {\n \"start_date\": \"2025-11-16\",\n \"end_date\": \"2026-12-15\",\n \"end_date_action\": \"terminate\"\n },\n \"categories\": [\n \"groceries\",\n \"restaurants\"\n ],\n \"merchant_controls\": {\n \"control_type\": \"block\",\n \"merchant_ids\": [\n \"46df0a1b-3678-4ded-9cf5-9f4da1b5019d\",\n \"e8a87432-f71e-4deb-be84-969a02792929\"\n ]\n },\n \"countries\": [\n \"GB\",\n \"SG\"\n ],\n \"accounts\": [\n \"75aa436d-2a04-4ab9-af14-ed0955769b8c\"\n ]\n}"}]}]