Skip to content

Creates or updates a webhook

POST
/webhook

It creates a new webhook if it doesn’t exist or updates the existing webhook if it does. Only owner and admin roles can create or update a webhook.

object
name
required
string
url
required
string
transaction
object
created
string
updated
string
completed
string
card
object
updated
string
user
object
updated
string

Webhook created or updated

object
url
required
string
transaction
object
created
string
updated
string
completed
string
card
object
updated
string
user
object
updated
string
secret
required
string

Unauthorized

object
code
required
Allowed values: unauthorized
unauthorized
legacy
required
Allowed values: unauthorized
unauthorized

User doesn’t belong to the organization

Any of:
object
code
required
Allowed values: no organization
no organization