tenant-bridge-write
or tenant-admin
Creates a new Payments Bridge Subscription with the subscription name subscriptionName
.
required | WebhookEventDeliveryConfiguration (object) Specifies how events are made available to the registered service. |
Accepted
Bad Request
Conflict - An enabled subscription with the same name already exists
{
}
{- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "errors": [
- {
- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
tenant-bridge-write
or tenant-admin
Creates a new Payments Bridge Subscription with the subscription name subscriptionName
.
required | WebhookEventDeliveryConfiguration (object) Specifies how events are made available to the registered service. |
Accepted
Bad Request
{- "eventDeliveryConfiguration": {
- "type": "Webhook",
- "maximumEventsPerBatch": 100
}
}
{- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "errors": [
- {
- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
tenant-bridge-write
or tenant-admin
Deletes the Payments Bridge Subscription with the subscription name subscriptionName
.
No Content
Bad Request
No active registration found for the tenant with the specified name
{- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "errors": [
- {
- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
tenant-bridge-read
or tenant-admin
Retrieve the details for the Payments Bridge Subscription with the subscription name subscriptionName
.
The current service registration details
No active registration found for the tenant
{- "subscriptionName": "string",
- "eventDeliveryConfiguration": {
- "type": "Webhook",
- "maximumEventsPerBatch": 1,
- "authentication": {
- "type": "OAuth2ClientCredentials",
- "clientId": "s6BhdRkqt3",
- "clientSecret": "7Fjfp0ZBr1KtDRbnfVdmIw",
- "scope": "Webhook.Deliver"
}, - "customHeaders": [
- {
- "name": "Ocp-Apim-Subscription-Key",
- "value": "subscription-key-value"
}
]
}
}
tenant-bridge-read
or tenant-admin
List all Payments Bridge Subscriptions under the Tenant.
The current service registration details for the tenant
No active service registrations found for the tenant
{- "subscriptions": [
- {
- "subscriptionName": "string",
- "authentication": true,
- "customHeaders": true
}
]
}
tenant-bridge-write
or tenant-admin
Triggers a test event to be sent for all a tenant's configured subscriptions.
Accepted
Bad Request
{- "eventId": "123e4567-e89b-12d3-a456-426614174000"
}
bridge-writer
Upsert a service registration for the Payments Bridge. This endpoint is used to register a service that will receive payment events.
required | WebhookEventDeliveryConfiguration (object) Specifies how events are made available to the registered service. |
Accepted
Bad Request
{- "eventDeliveryConfiguration": {
- "type": "Webhook",
- "maximumEventsPerBatch": 100
}
}
{- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "errors": [
- {
- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
No Content
Bad Request
No active registration found for the tenant
{- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "errors": [
- {
- "timestamp": "2021-01-30T08:30:00Z",
- "correlationId": "string",
- "status": 202,
- "type": "about:blank",
- "title": "Accepted",
- "detail": "Command was accepted.",
- "traceId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
bridge-reader
Retrieve the current service registration details for the Payments Bridge.
The current service registration details
No active registration found for the tenant
{- "subscriptionName": "string",
- "eventDeliveryConfiguration": {
- "type": "Webhook",
- "maximumEventsPerBatch": 1,
- "authentication": {
- "type": "OAuth2ClientCredentials",
- "clientId": "s6BhdRkqt3",
- "clientSecret": "7Fjfp0ZBr1KtDRbnfVdmIw",
- "scope": "Webhook.Deliver"
}, - "customHeaders": [
- {
- "name": "Ocp-Apim-Subscription-Key",
- "value": "subscription-key-value"
}
]
}
}