v1

latestOpenAPI 3.0.02026-07-2459256884.4 KB
Partner Webhooks

Update a Webhook Header

This API allows you to update headers of a specified webhook

patch/v1/partners/webhooks/{webhookId}/headers

Path parameters

webhookIdstring required

Request body

Example request

{
  "headers": [
    {
      "name": "Authorization",
      "value": "Bearer token"
    }
  ]
}

Response

Successful response

Example response

{
  "status": {
    "code": 200,
    "desc": "success",
    "messages": [
      {
        "desc": "Example description"
      }
    ]
  },
  "data": {
    "isEnabled": true,
    "webhookId": "067f4179-6be6-4c50-9933-89893b979f06",
    "eventType": "USER_PAYMENT_STATUS",
    "url": "http://localhost:8000/paymentStatusWebhook",
    "headers": [
      {
        "name": "Authorization",
        "value": "Bearer token"
      }
    ]
  }
}