cURL
curl --request PATCH \ --url https://api.paylora.org/api/v1/webhook/{uuid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "https://example.com/webhook" } '
{ "success": true, "data": { "uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "user_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "url": "https://example.com/webhook", "secret": "strongsecret" } }
Update webhook by uuid. Permissions [“customer”]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"https://example.com/webhook"
Resource model
Indicates if the request was successful
true
The data returned by the API
Show child attributes
The UUID of the webhook
"a1b2c3d4-e5f6-7890-1234-567890abcdef"
The UUID of the user associated with the webhook
The URL for the webhook
The secret for the webhook
"strongsecret"