Create event subscription
Changed onUse this method to create an event subscription that we use to notify you when an event occurs, for example, when we change the status of a processing account.
In the request, include the events that you want to subscribe to and the public endpoint that we send event notifications to. For a complete list of events that you can subscribe to, go to Events List.
In the response, our gateway returns the id of the event subscription, which you can use to perform follow-on actions.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/event-subscriptions
- AuthHTTP bearer
Headers
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Request body
Response
Successful request. We created the event subscription.
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning
- info
api operation id
createremoved and replaced witheventSubscriptions_create
- info