Rabo Smart Pay Webhook Subscriptions Management API (0.0.1)
Download OpenAPI specification:Download
Response samples
- 200
{- "subscriptions": [
- {
- "id": "string",
- "status": "enabled",
- "description": "string",
- "eventTypes": [
- "test/v1"
]
}
]
}
Create a new webhook subscription
A webhook subscription consist of a status
, an url
, and a set of eventTypes
.
header Parameters
idempotency-key | string [ 1 .. 64 ] Example: ce55fab6b56d45279f90b3d2152e7766 Idempotency key used to safely retry the request. |
Request Body schema: application/jsonrequired
status required | string Enum: "enabled" "disabled" Status of the subscription. Indicates wheter or not Rabo Smart Pay will deliver to this subscription or not. Options are |
url required | string <uri> URL of the subscription. Events for this subscription will be delivered to this URL. It is important that your server, at the receiving end of this URL, is set up correctly to accept events. |
description | string [ 1 .. 2048 ] Optional description that you provide to this subscription. Will be used when listing subscriptions. |
eventTypes required | Array of strings (EventType) non-empty Items Enum: "test/v1" "order.finalized/v1" Set of event types that are delivered using this subscription. A subscription is not allowed to have no event types associated with it, at least one must be configured. |
Responses
Request samples
- Payload
{- "status": "enabled",
- "description": "string",
- "eventTypes": [
- "test/v1"
]
}
Update an existing webhook subscription
Updating a webhook subscription. Only values specified in the request will be updated.
If a subscription gets disabled, and it still has active deliveries, or retries pending, Rabo Smart Pay will still deliver those even though the subscription is disabled.
Keep in mind that your server might still receive events on the disabled subscription!
Request Body schema: application/jsonrequired
status | string Enum: "enabled" "disabled" Status of the subscription. Indicates wheter or not Rabo Smart Pay will deliver to this subscription or not. Options are |
url | string <uri> URL of the subscription. Events for this subscription will be delivered to this URL. It is important that your server, at the receiving end of this URL, is set up correctly to accept events. |
description | string [ 1 .. 2048 ] Optional description that you provide to this subscription. Will be used when listing subscriptions. |
eventTypes | Array of strings (EventType) non-empty Items Enum: "test/v1" "order.finalized/v1" Set of event types that are delivered using this subscription. A subscription is not allowed to have no event types associated with it, at least one must be configured. |
Responses
Request samples
- Payload
{- "status": "enabled",
- "description": "string",
- "eventTypes": [
- "test/v1"
]
}
Delete an existing webhook subscription
Delete an existing webhook.
If the subscription still has active deliveries, or retries pending, Rabo Smart Pay will still deliver those even though the subscription is deleted.
Keep in mind that your server might still receive events on the deleted subscription!