Webhook API

API for webhook management

Get list of Webhook Subscriptions

post

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
chevron-right
200

OK

*/*

Object with webhooks

post
/api/v1/subscription/webhook

Delete Webhook

delete

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
chevron-right
200

OK

No content

delete
/api/v1/subscription/webhook

No content

Create Webhook

post

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
chevron-right
200

OK

*/*

Webhook channel information

requestIdstring · uuidRequired

Id of the request that has created webhook subscription

urlstringRequired

Web address where request with webhook will be send to

publicKeystringRequired

Public key

secretKeystringRequired

Secret key

createdDatestring · date-timeRequired

Date and time of webhook subscription creation

enabledbooleanRequired

Enabled/disabled via API

blockedByErrorCountbooleanRequired

Automatically disabled due to reaching unsuccessful requests in a row per unit of time

errorCountinteger · int64Required

Number of unsuccessful requests in a row

errorFirstDatestring · date-timeRequired

Time of the first unsuccessful request in the sequence

errorLastDatestring · date-timeRequired

Time of the last unsuccessful request in the sequence

post
/api/v1/subscription/webhook/create

Change Webhook

post

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
chevron-right
200

OK

*/*

Webhook channel information

requestIdstring · uuidRequired

Id of the request that has created webhook subscription

urlstringRequired

Web address where request with webhook will be send to

publicKeystringRequired

Public key

secretKeystringRequired

Secret key

createdDatestring · date-timeRequired

Date and time of webhook subscription creation

enabledbooleanRequired

Enabled/disabled via API

blockedByErrorCountbooleanRequired

Automatically disabled due to reaching unsuccessful requests in a row per unit of time

errorCountinteger · int64Required

Number of unsuccessful requests in a row

errorFirstDatestring · date-timeRequired

Time of the first unsuccessful request in the sequence

errorLastDatestring · date-timeRequired

Time of the last unsuccessful request in the sequence

post
/api/v1/subscription/webhook/change

Regenerate Webhook Api keys

delete

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
chevron-right
200

OK

*/*

Webhook channel information

requestIdstring · uuidRequired

Id of the request that has created webhook subscription

urlstringRequired

Web address where request with webhook will be send to

publicKeystringRequired

Public key

secretKeystringRequired

Secret key

createdDatestring · date-timeRequired

Date and time of webhook subscription creation

enabledbooleanRequired

Enabled/disabled via API

blockedByErrorCountbooleanRequired

Automatically disabled due to reaching unsuccessful requests in a row per unit of time

errorCountinteger · int64Required

Number of unsuccessful requests in a row

errorFirstDatestring · date-timeRequired

Time of the first unsuccessful request in the sequence

errorLastDatestring · date-timeRequired

Time of the last unsuccessful request in the sequence

delete
/api/v1/subscription/webhook/api-keys/regenerate

Last updated