Orqpay
Partner Webhooks

Get webhook config

Returns the webhook endpoint for the API key's environment.

GET
/v1/partner/webhook

Returns the webhook endpoint for the API key's environment.

Authorization

bearerAuth
AuthorizationBearer <token>

Partner API key (pt_test_... or pt_live_...)

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/partner/webhook"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "environment": "test",  "url": "http://example.com",  "customHeaders": {    "property1": "string",    "property2": "string"  },  "enabled": true,  "secretConfigured": true,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "string",    "message": "string"  }}