Pular para o conteúdo principal
PUT
/
webhook
Update a Webhook
curl --request PUT \
  --url https://api.cliquepay.app/webhook
{
  "id": "67b14aa9-daac-800e-83bf-f1b44468d1d9",
  "url": "https://example.com/webhook",
  "companyId": "67b14aa9-daac-800e-83bf-f1b44468d1d9",
  "createdAt": "2024-02-15T12:34:56Z",
  "updatedAt": "2024-02-16T12:34:56Z"
}

Response

200 - application/json

Webhook updated

id
string
required

Webhook id

Example:

"67b14aa9-daac-800e-83bf-f1b44468d1d9"

url
string
required

Webhook URL

Example:

"https://example.com/webhook"

companyId
string
required

Company id

Example:

"67b14aa9-daac-800e-83bf-f1b44468d1d9"

createdAt
string<date-time>
required

Creation date

Example:

"2024-02-15T12:34:56Z"

updatedAt
string<date-time>
required

Update date

Example:

"2024-02-16T12:34:56Z"

I