https://api.payload.com/webhooks
Nested Objects
https://api.payload.com/webhooks/{id}/logs
https://api.payload.com/webhooks/{id}/payment_link
Example
{
"id": "18pX2dzyxW7DhS8JFJeG8nsNN",
"object": "webhook",
"attrs": {},
"created_at": "2024-08-21 13:35:03",
"modified_at": "2024-08-21 13:35:03",
"payment_link_id": "pay_bdJlNFxE6UD63nrL2ImYaSIk",
"reference_object": "string",
"trigger": "bank_account_reject",
"url": "https://example.com/bank_account_reject",
"oauth_params": {
"auth_url": "string",
"client_id": "string",
"client_secret": "string",
"grant_type": "string",
"resource": "string",
"scope": "string"
}
}
| Attributes | Description |
|---|---|
idstring readonly |
Object ID |
objectstring readonly |
Value: webhook |
attrsjson |
Custom object attributes |
created_atdatetime readonly |
None |
modified_atdatetime readonly |
None |
payment_link_idid |
ID of object reference |
reference_objectstring non-default |
Type of object reference |
triggerstring required |
Values: bank_account_reject reject refund void chargeback chargeback_reversal automatic_payment payment processed authorized decline processing_status deposit payment_activation:status payment_link:status reversal credit transaction:operation transaction:operation:clear |
urlstring required |
Triggered URL |
| oauth_params: | |
|---|---|
auth_urlstring required |
The url of the OAuth 2.0 token request |
client_idstring required |
The client identifier of the OAuth 2.0 client |
client_secretstring required |
The client secret of the OAuth 2.0 client |
grant_typestring required |
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 |