ResourceUri to create the event subscriptions under.
Events Subscriptions API (v1)
Welcome to the Aritma Events API!
Over time there will be introduced changes to the API as we continuously introduce improvements. You have the option to use a specific version or the most recent version, supported versions are available in the response header api-supported-versions. Use a specific version of the API by specifying the api-version header, for example api-version: 1.0. If you don't specify the header, the latest version will be used. If a version has been scheduled to be removed, it will be reported through the api-supported-versions header.
Our API uses resource-oriented endpoint paths, accepts Json-Encoded request bodies, returns Json-Encoded responses, and uses standard HTTP response codes and verbs.
Request
Create a subscription for a set of event-types.
To complete provisioning of the subscription you must do a GET request against the validationUrl sent to the Delivery.Url.
Webhooks of the specified event-types will be delivered when provisioning has succeeded.
Aritma.Events.Subscription.Api.Models.Requests.CreateSubscriptionRequest
List of events to subscribe to.
A date and time for when the subscription should expire.
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions
- Subscriptions APIhttps://events.aritma.io/api/subscriptions
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
{ "name": "ExampleName", "events": [ "banking.payment.status.updated", "banking.account.transaction.received", "banking.account.balance.updated" ], "delivery": { "url": "https://api.example.com/webhooks/events", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationTime": "2024-01-01T00:00:00.000Z", "retryPolicy": { "ttl": "20:00:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true }
Created
List of events to subscribe to.
A boolean describing if failed events should be stored in a container.
An event status describing the status for the subscription.
Ok - the subscription is active and operating.
Pending - the subscription is awaiting webhook validation from user.
Processing - the subscription is applying changes, will change status to Ok when done.
Aborted - the last changes was either canceled or failed.
{ "name": "payment-status-webhook", "eventTypes": [ "banking.payment.status.updated", "banking.account.transaction.received", "banking.account.balance.updated" ], "delivery": { "url": "https://api.example.com/webhooks/events", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationDate": "2019-08-24T14:15:22Z", "retryPolicy": { "ttl": "20:00:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true, "provisioningState": "Ok" }
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions
- Subscriptions APIhttps://events.aritma.io/api/subscriptions
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
No request payloadSuccess
List of events to subscribe to.
A boolean describing if failed events should be stored in a container.
An event status describing the status for the subscription.
Ok - the subscription is active and operating.
Pending - the subscription is awaiting webhook validation from user.
Processing - the subscription is applying changes, will change status to Ok when done.
Aborted - the last changes was either canceled or failed.
{ "name": "payment-status-webhook", "eventTypes": [ "banking.payment.status.updated", "banking.account.transaction.received", "banking.account.balance.updated" ], "delivery": { "url": "https://api.example.com/webhooks/events", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationDate": "2019-08-24T14:15:22Z", "retryPolicy": { "ttl": "20:00:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true, "provisioningState": "Ok" }
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions/{subscriptionName}
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions/{subscriptionName}
- Subscriptions APIhttps://events.aritma.io/api/subscriptions/{subscriptionName}
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
No request payloadSuccess
List of events to subscribe to.
A boolean describing if failed events should be stored in a container.
An event status describing the status for the subscription.
Ok - the subscription is active and operating.
Pending - the subscription is awaiting webhook validation from user.
Processing - the subscription is applying changes, will change status to Ok when done.
Aborted - the last changes was either canceled or failed.
{ "name": "payment-status-webhook", "eventTypes": [ "banking.payment.status.updated", "banking.account.transaction.received", "banking.account.balance.updated" ], "delivery": { "url": "https://api.example.com/webhooks/events", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationDate": "2019-08-24T14:15:22Z", "retryPolicy": { "ttl": "20:00:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true, "provisioningState": "Ok" }
Request
Updates a subscription for a set of event-types.
To complete provisioning of the subscription you must do a GET request against the validationUrl sent to the Delivery.Url.
Webhooks of the specified event-types will be delivered when provisioning has succeeded.
A Aritma.Events.Subscription.Api.Models.Requests.UpdateSubscriptionRequest object used to Update a subscription.
List of events to subscribe to.
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions/{subscriptionName}
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions/{subscriptionName}
- Subscriptions APIhttps://events.aritma.io/api/subscriptions/{subscriptionName}
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
{ "events": [ "banking.payment.status.updated", "banking.account.transaction.received", "banking.account.balance.updated" ], "delivery": { "url": "https://api.example.com/webhooks/events", "maxEventsPerBatch": 10, "preferredBatchSizeInKiloBytes": 128, "authorizationHeader": "Bearer mF_9.B5f-4.1JqM" }, "expirationTime": "2019-08-24T14:15:22Z", "retryPolicy": { "ttl": "20:00:00", "maxEventDeliveryAttempts": 30 }, "deadletterEnabled": true }
{ "provisioningState": "string" }
- Mock serverhttps://developer.aritma.com/_mock/apis/platform/events/openapi/events-openapi/api/subscriptions/{subscriptionName}
- Subscriptions API Devhttps://events.dev.aritma.io/api/subscriptions/{subscriptionName}
- Subscriptions APIhttps://events.aritma.io/api/subscriptions/{subscriptionName}
- Payload
- cURL
- C#
- JavaScript
- Python
- Go
- PHP
- Java
- Java 8
No request payload