{ "opencollection": "1.0.0", "info": { "name": "Business Accounting Webhooks API", "version": "1.0" }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Retrieve a webhook", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/webhooks/:webhook_id", "headers": [ { "name": "X-API-KEY", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get the details of a specific webhook.\n\nFor more information, see the guides: [Work with webhooks -> Track order and payment lifecycle](https://developer.revolut.com/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks)." }, { "info": { "name": "Update a webhook", "type": "http" }, "http": { "method": "PATCH", "url": "https://b2b.revolut.com/api/1.0/webhooks/:webhook_id", "headers": [ { "name": "X-API-KEY", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the details of a specific webhook.\n\nFor more information, see the guides: [Work with webhooks -> Track order and payment lifecycle](https://developer.revolut.com/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks)." }, { "info": { "name": "Delete a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://b2b.revolut.com/api/1.0/webhooks/:webhook_id", "headers": [ { "name": "X-API-KEY", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a webhook so that events are not sent to the specified URL any more.\n\nFor more information, see the guides: [Work with webhooks -> Track order and payment lifecycle](https://developer.revolut.com/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks)." }, { "info": { "name": "Retrieve a list of webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/webhooks", "headers": [ { "name": "X-API-KEY", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a list of webhooks that the partner is currently subscribed to.\n\nFor more information, see the guides: [Work with webhooks -> Track order and payment lifecycle](https://developer.revolut.com/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks)." }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://b2b.revolut.com/api/1.0/webhooks", "headers": [ { "name": "X-API-KEY", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a webhook so that Ramp can push event notifications to the specified URL.\n\nFor more information, see the guides: [Work with webhooks -> Track order and payment lifecycle](https://developer.revolut.com/docs/guides/crypto-ramp/tutorials/work-with-webhooks/use-webhooks)." }, { "info": { "name": "Retrieve a webhook list", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/api/webhooks", "headers": [ { "name": "Authorization", "value": "" }, { "name": "Revolut-Api-Version", "value": "" } ] }, "docs": "Get a list of webhooks that you are currently subscribed to." }, { "info": { "name": "Create a webhook", "type": "http" }, "http": { "method": "POST", "url": "https://b2b.revolut.com/api/1.0/api/webhooks", "headers": [ { "name": "Authorization", "value": "" }, { "name": "Revolut-Api-Version", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set up a webhook URL so that the Merchant API can push event notifications to the specified URL.\n:::warning\nMerchants can register a **maximum of 10 webhook URLs**. If you attempt to register more than 10, the API will return a `422 - Unprocessable Content` error.\n\nEnsure your webhook registrations are necessary and within the allowed limit.\n:::" }, { "info": { "name": "Retrieve a webhook", "type": "http" }, "http": { "method": "GET", "url": "https://b2b.revolut.com/api/1.0/api/webhooks/:webhook_id", "headers": [ { "name": "Authorization", "value": "" }, { "name": "Revolut-Api-Version", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ] }, "docs": "Get the details of a specific webhook, including its `signing_secret`. " }, { "info": { "name": "Update a webhook", "type": "http" }, "http": { "method": "PATCH", "url": "https://b2b.revolut.com/api/1.0/api/webhooks/:webhook_id", "headers": [ { "name": "Authorization", "value": "" }, { "name": "Revolut-Api-Version", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the URL or events for a specific webhook.\n\nAll request body fields are optional. Only the fields provided will be updated. " }, { "info": { "name": "Delete a webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://b2b.revolut.com/api/1.0/api/webhooks/:webhook_id", "headers": [ { "name": "Authorization", "value": "" }, { "name": "Revolut-Api-Version", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ] }, "docs": "Delete a webhook so that events are no longer sent to the specified URL." }, { "info": { "name": "Rotate a webhook signing secret", "type": "http" }, "http": { "method": "POST", "url": "https://b2b.revolut.com/api/1.0/api/webhooks/:webhook_id/rotate-signing-secret", "headers": [ { "name": "Authorization", "value": "" }, { "name": "Revolut-Api-Version", "value": "" } ], "params": [ { "name": "webhook_id", "value": "", "type": "path", "description": "The ID of the webhook." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Rotate the `signing_secret` for a specific webhook.\n\nThe updated signing secret is returned in the response as part of the full webhook object.\n\n:::info\nFor more information, see [Tutorials: Verify the payload signature](https://developer.revolut.com/docs/guides/merchant/monitor-and-observe/webhooks/verify-the-payload-signature).\n:::" } ] } ], "bundled": true }