{ "opencollection": "1.0.0", "info": { "name": "Business Accounting Domestic payment API", "version": "1.0" }, "items": [ { "info": { "name": "Domestic payment", "type": "folder" }, "items": [ { "info": { "name": "Create a domestic payment consent", "type": "http" }, "http": { "method": "POST", "url": "https://b2b.revolut.com/api/1.0/domestic-payment-consents", "headers": [ { "name": "x-fapi-financial-id", "value": "" }, { "name": "x-fapi-customer-last-logged-time", "value": "" }, { "name": "x-fapi-customer-ip-address", "value": "" }, { "name": "x-fapi-interaction-id", "value": "" }, { "name": "Authorization", "value": "" }, { "name": "x-idempotency-key", "value": "" }, { "name": "x-jws-signature", "value": "" }, { "name": "x-customer-user-agent", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a domestic payment consent described in the [Open Banking API documentation: Account and Transaction API Specification](https://openbanking.atlassian.net/wiki/spaces/DZ/pages/999622968/Account+and+Transaction+API+Specification+-+v3.1.1).\n\nUse domestic payments for local payments in the local currency of the user.\n\n:::note\nRevolut supports only GBP as local in the UK and EUR in Single Euro Payments Area (SEPA) countries.\n:::\n\nBecause Revolut Business users can have multiple accounts in the" }, { "info": { "name": "Retrieve a domestic payment consent", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/domestic-payment-consents/:ConsentId", "headers": [ { "name": "x-fapi-financial-id", "value": "" }, { "name": "x-fapi-customer-last-logged-time", "value": "" }, { "name": "x-fapi-customer-ip-address", "value": "" }, { "name": "x-fapi-interaction-id", "value": "" }, { "name": "Authorization", "value": "" }, { "name": "x-customer-user-agent", "value": "" } ], "params": [ { "name": "ConsentId", "value": "", "type": "path", "description": "The ID of the account access consent." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the details of a domestic payment consent.\n\nSee also [Tutorials: Initiate your first payment](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment)." }, { "info": { "name": "Get funds confirmation for a domestic payment consent", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/domestic-payment-consents/:ConsentId/funds-confirmation", "headers": [ { "name": "x-fapi-financial-id", "value": "" }, { "name": "x-fapi-customer-last-logged-time", "value": "" }, { "name": "x-fapi-customer-ip-address", "value": "" }, { "name": "x-fapi-interaction-id", "value": "" }, { "name": "Authorization", "value": "" }, { "name": "x-customer-user-agent", "value": "" } ], "params": [ { "name": "ConsentId", "value": "", "type": "path", "description": "The ID of the account access consent." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Check the funds for a domestic payment with the given consent.\nYou can get the information only if the user has authorized the related consent.\n\nSee also [Tutorials: Initiate your first payment](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment)." }, { "info": { "name": "Create a domestic payment", "type": "http" }, "http": { "method": "POST", "url": "https://b2b.revolut.com/api/1.0/domestic-payments", "headers": [ { "name": "x-fapi-financial-id", "value": "" }, { "name": "x-fapi-customer-last-logged-time", "value": "" }, { "name": "x-fapi-customer-ip-address", "value": "" }, { "name": "x-fapi-interaction-id", "value": "" }, { "name": "Authorization", "value": "" }, { "name": "x-idempotency-key", "value": "" }, { "name": "x-jws-signature", "value": "" }, { "name": "x-customer-user-agent", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a domestic payment.\n\n:::note\nAs is defined in the Open Banking Specifications, the `/Data/Initiation` and the `/Data/Risk` sections of the request must be an exact match for the related consent passed in `ConsentId`.\n:::\n\nSee also [Tutorials: Initiate your first payment](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment#6-initiate-the-domestic-payment)." }, { "info": { "name": "Retrieve a domestic payment", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/domestic-payments/:DomesticPaymentId", "headers": [ { "name": "x-fapi-financial-id", "value": "" }, { "name": "x-fapi-customer-last-logged-time", "value": "" }, { "name": "x-fapi-customer-ip-address", "value": "" }, { "name": "x-fapi-interaction-id", "value": "" }, { "name": "Authorization", "value": "" }, { "name": "x-customer-user-agent", "value": "" } ], "params": [ { "name": "DomesticPaymentId", "value": "", "type": "path", "description": "The ID of the domestic payment." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the status of a domestic payment.\n\nSee also [Tutorials: Initiate your first payment](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/initiate-your-first-payment#7-check-the-status-of-the-payment)." } ] } ], "bundled": true }