GladysDevelopers

Register a webhook endpoint

Where this application should be told about its payments. Returns the signing secret once.

Choose a TEST app to send requests from the playground.
post/webhook-endpoints

Where this application should be told about its payments. Returns the signing secret once.

Authorization

BearerAuth
headerAuthorizationBearer <token>

An access token from POST /oauth/token: client_credentials for your own app, or authorization_code for a user who connected it.

Request Body

Endpoint

application/json
  1. body
description?string
events?array<string>
url*string

Response Body

Created

application/json
  1. response
data?
error?
message?string
meta?
success?boolean
curl -X POST "https://example.com/webhook-endpoints" \  -H "Content-Type: application/json" \  -d '{    "url": "string"  }'
{  "error": {    "code": "string",    "details": {      "property1": "string",      "property2": "string"    },    "message": "string"  },  "message": "string",  "meta": {    "pagination": {      "next_cursor": "string",      "page": 0,      "per_page": 0,      "total_items": 0,      "total_pages": 0    }  },  "success": true,  "data": {    "client_id": "string",    "created_at": "string",    "description": "string",    "environment": "LIVE",    "events": [      "string"    ],    "id": "string",    "is_active": true,    "secret": "string",    "updated_at": "string",    "url": "string"  }}