Webhook

A webhook can be set up to receive notifications of events that occur on a plan.

Set a webhook

PUT https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId/webhook

Path Parameters

Headers

Request Body

{
    "webhook": "http://mywebhook.com/path/file.php"
}

Get a webhook

GET https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId/webhook

Path Parameters

Headers

{
    "webhook": "http://mywebhook.com/path/file.php"
}

Delete a webhook

DELETE https://api.8pay.network/v1/:chain/variable-recurring/plans/:planId/webhook

Path Parameters

Headers

Last updated