Callbacks (webhooks)
Отримання списку підписок
Створення нової підписки
Create subscription
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
companyIdsstring[]OptionalExample:
e80594bf-9fea-4e3e-b86f-1099b270332dcallbackstringOptionalExample:
https://example.com/loko_callbackResponses
201
Created
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
post
/v1/merchant/callback/subscriptionsОновлення підписки
Update subscription
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequiredExample:
Internal identifier
569e7427-14ca-43f1-8d4b-ed3b7f1fd197Body
companyIdsstring[]OptionalExample:
e80594bf-9fea-4e3e-b86f-1099b270332dcallbackstringOptionalExample:
https://example.com/loko_callbackResponses
200
Ok
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
put
/v1/merchant/callback/subscriptions/{id}Видалення непотрібної підписки
Remove subscription
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequiredExample:
Internal identifier
569e7427-14ca-43f1-8d4b-ed3b7f1fd197Responses
204
No content
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
delete
/v1/merchant/callback/subscriptions/{id}No content
Отримання списку подій, доступних для підписки
Event list to subscribe
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
Successful operation
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
get
/v1/merchant/callback/eventsLast updated