Skip to content

Create webhook

Request

Security
account-password-sign-in or api-key-secret
Bodyapplication/jsonrequired
urlstringrequired
labelstringrequired
scopeArray of stringsrequired
Items Enum:"merchant""charge""payouts"
curl -i -X POST \
  https://docs.taluspay.com/_mock/openapi/v1/webhooks \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "string",
    "label": "string",
    "scope": [
      "merchant"
    ]
  }'

Responses

Create webhook

Bodyapplication/json
idstringrequired
urlstringrequired
labelstringrequired
secretstringrequired
created_atstring, (date-time)required
eventsobjectrequired
Response
{ "id": "string", "url": "string", "label": "string", "secret": "string", "created_at": "2019-08-24T14:15:22Z", "events": {} }