Webhook event: charge.created.v1
Fired when a new charge is initiated against a customer's bank account. The event includes details about the charge object, the associated Paykey and bank account, and initial payment status.
postWebhookcharge.created.v1
Payload
Example payload
{
"event_type": "charge.created.v1",
"event_id": "85df84c7-a298-44bc-8040-7bd2ae372cbf",
"account_id": "857c679a-8e80-47f1-9334-39dd08ea801f",
"data": {
"related_payments": {
"6a690a90-7472-4a5d-8513-3a6ea65ae41e": "resubmit",
"f4be021b-f4c4-468c-95b7-2fcf93c02171": "refund"
}
}
}Response
Webhook processed successfully