API ReferenceWebhooks
Patch Webhooks
Update webhook configuration for the authenticated API key. All fields are optional - only include fields you want to update.
Authorization
ApiKeyAuth x-api-key<token>
API key
In: header
Header Parameters
x-api-key*string
API key for authentication
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 "x-api-key: string" \ -H "Content-Type: application/json" \ -d '{}'{
"message": "string",
"status": "error"
}