Object containing data to make a request to create a subscription
{
"eventSubscriptions": [
"breadpayments.webhooks.my.super-rev1"
],
"subscriptionURL": "https://example.com/callback",
"name": "SubscriptionEndpoint-dbef2daf-f94a-41f3-8d07-52eb17cc17b3",
"auth": {
"authType": "BASIC",
"username": "string",
"password": "string"
}
}
Name | Type | Required | Restrictions | Description |
---|
eventSubscriptions | [string] | true | none | none |
subscriptionURL | string(uri) | true | none | Subscriber endpoint to call with event |
name | string | true | none | Name of subscription |
auth | any | false | none | none |
Name | Type | Required | Restrictions | Description |
---|
➥ anonymous | object | false | none | none |
➥➥ authType | string | true | none | none |
➥➥ username | string | true | none | none |
➥➥ password | string | true | none | none |
Name | Type | Required | Restrictions | Description |
---|
➥ anonymous | object | false | none | none |
➥➥ authType | string | true | none | none |