webhook

Create a webhook.

Specify a topic and a url. Use this call to either create or update a webhook for a topic.

Error Glossary (click to expand)
CodeHTTP StatusMessage
AP009401Unauthorized
AP101401No authenticated user
AP1000200Invalid API
AP1102400Topic required to create webhook
AP1103400URL is invalid or missing
AP1104400Unrecognized topic
AP1105200Error creating webhook
AP1107400Merchant is required
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

Webhook topic to subscribe to

string
required

Callback URL where webhook payloads will be sent.

Headers
string
required

A merchant scoped token.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json