Skip to main content
POST
Create a treasury webhook endpoint (signing secret returned once)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>
required
Maximum string length: 2048
Example:

"https://example.com/hooks/axra"

events
string[]
required

Event types to receive, or ["*"] for all supported events.

Minimum array length: 1
Example:
description
string
Maximum string length: 500
apiVersion
string

Optional API version pin for this endpoint

Maximum string length: 32

Response

Webhook endpoint created

success
boolean
required
Example:

true

data
object
required