v1
latestOpenAPI 3.0.02026-07-263118119.8 KBWebhooks
createWebhookSigningKey
Create a webhook.
Specify a topic and a url. Use this call to either create or update a webhook for a topic.
<details> <summary><strong>Error Glossary</strong> (click to expand)</summary>| Code | HTTP Status | Message |
|---|---|---|
| AP009 | 401 | Unauthorized |
| AP101 | 401 | No authenticated user |
| AP1000 | 200 | Invalid API |
| AP1107 | 400 | Merchant is required |
post/v2/createWebhookSigningKey
Headers
Content-Typestring required
authorizationstring required
A merchant scoped token.
Request body
Example request
{
"topic": "transaction_completed",
"url": "https://webhook.site/9374cfe2-8535-44ec-86d6-20e949fd7919"
}Response
Successful Response - Signing Key Created