Callbacks (webhooks)

Отримання списку підписок

Get subscription list

get

Get subscription list

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Ok

application/json
get
/v1/merchant/callback/subscriptions

Створення нової підписки

Create subscription

post

Create subscription

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
companyIdsstring[]OptionalExample: e80594bf-9fea-4e3e-b86f-1099b270332d
callbackstringOptionalExample: https://example.com/loko_callback
Responses
post
/v1/merchant/callback/subscriptions

Оновлення підписки

Update subscription

put

Update subscription

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Internal identifier

Example: 569e7427-14ca-43f1-8d4b-ed3b7f1fd197
Body
companyIdsstring[]OptionalExample: e80594bf-9fea-4e3e-b86f-1099b270332d
callbackstringOptionalExample: https://example.com/loko_callback
Responses
200

Ok

application/json
put
/v1/merchant/callback/subscriptions/{id}

Видалення непотрібної підписки

Remove subscription

delete

Remove subscription

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

Internal identifier

Example: 569e7427-14ca-43f1-8d4b-ed3b7f1fd197
Responses
delete
/v1/merchant/callback/subscriptions/{id}

No content

Отримання списку подій, доступних для підписки

Event list to subscribe

get

Event list to subscribe

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful operation

application/json
get
/v1/merchant/callback/events

Last updated