Webhooks
webhook
Changed onFetch webhook for the specified 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 |
| AP1101 | 200 | Error fetching webhook |
| AP1107 | 400 | Merchant is required |
get/v2/webhook
Request
- Base URLhttps://api.sandbox-pay.aero.inc
- Authnone declared. Required headers: authorization, Content-Type
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
topicstring
Filter webhooks by topic.
Headers
authorizationstring required
A merchant scoped token.
Content-Typestring required
Response
Success - List of webhooks
Example response
{
"webhooks": [
{
"payloadVersion": "2.0"
}
]
}Changes
- info
added the optional property
/to the response with the status
- info