Paytrie Developer Documentation
API ReferenceWebhooks

Patch Webhooks

Update webhook configuration for the authenticated API key. All fields are optional - only include fields you want to update.

PATCH
/webhooks

Request Body

application/json

transactionCompleteEnabled?boolean
transactionCompleteUrl?string
transactionInitiatedEnabled?boolean
transactionInitiatedUrl?string
transactionStatusUpdateEnabled?boolean
transactionStatusUpdateUrl?string
verifiedEmailEnabled?boolean
verifiedEmailUrl?string

Response Body

application/json

curl -X PATCH "https://api.paytrie.com/webhooks" \  -H "Content-Type: application/json" \  -d '{}'
{
  "message": "string",
  "status": "error"
}