GET
/
api
/
v1
/
csp
/
webhook
/
{webhook_id}
Find Webhook
curl --request GET \
  --url https://sandbox.paylias.xyz/gateway/api/v1/csp/webhook/{webhook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-partner-id: <x-partner-id>'
{
  "data": {
    "description": "Webhook to consume link events",
    "endpoint": "https://www.postb.in/1743272420303-9920796800870",
    "enabled": false,
    "events": [
      {
        "record_type": "RT_PaymentSubmissions",
        "event_type": "EK_Created"
      },
      {
        "record_type": "RT_PaymentSubmissions",
        "event_type": "EK_Updated"
      }
    ],
    "name": "Link Events",
    "secret": "2ff46f215a5bb7da8f7fda9b2b0c9ef86c9e7de6"
  },
  "ok": true
}

Authorizations

Authorization
string
header
required

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

Headers

x-partner-id
string
default:""
required

The Partner ID header used for authorization

Path Parameters

webhook_id
string
required

The unique identifier for the webhook

Example:

"whk_cjf0qivsemvkg2on8f9g"

Response

200
application/json

Successful retrieval of a webhook subscription

Standard response structure for successful operations