Webhook Schema
Real-time event notifications via HTTP requests to specified URLs
The Webhook schema defines the structure and properties of webhook objects in the Payload API. Webhooks enable real-time notifications by triggering HTTP requests to specified URLs when certain events occur in the system.
Webhook Object Properties
Complete reference for all properties available in the Webhook schema
attrsobject
Custom attributes for extending the resource with additional key-value pairs. Maximum length is 255 characters when serialized.
created_atstring (date-time)Read-only
Timestamp when the resource was created. Automatically set by the system and immutable.
idstringRead-only
Unique identifier for the resource. Automatically generated upon creation and cannot be modified. (ID prefix: None)
Pattern:
^None_[A-Za-z0-9]+$modified_atstring (date-time)Read-only
Timestamp when the resource was last modified. Automatically updated whenever any field changes.
oauth_paramsobject
OAuth Parameters
auth_urlstring
The url of the OAuth 2.0 token request
client_idstring
The client identifier of the OAuth 2.0 client
client_secretstring
The client secret of the OAuth 2.0 client
grant_typestring
Indicates that a token exchange is being performed
resourcestring
Indicates the location of the target service or resource
scopestring
Optional parameter to limit access to a user's account
objectenum[string]Read-only
String representing the object type for this resource.
Values:
webhookpayment_link_id ID of PaymentLinkstring
ID of object reference (ID prefix: None)
Pattern:
^None_[A-Za-z0-9]+$retriesinteger (int64)
Number of times to retry a webhook on failure
sender_secretstring
Secret key for HMAC-SHA256 signature verification. When set, webhook requests will include an X-Payload-Signature header. This field is write-only and will not be returned in responses.
Max length: 64
triggerenum[string]Required
No description
Values:
bank_account_reject, reject, refund, void, chargeback, chargeback_reversal, automatic_payment, payment, processed, authorized, adjusted, decline, processing_status, deposit, payment_activation:status, payment_link:status, reversal, credit, transaction:operation, transaction:operation:clear, payout, withdrawurlstringRequired
Triggered URL
Max length: 512