Webhooks
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
Request
- Base URLhttps://api.sandbox-pay.aero.inc
- Authnone declared. Required headers: Content-Type, authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 2 revisions of this API.