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": {
"2bfc787e-20eb-424f-988d-83ddf58bebeb": "resubmit",
"728d0471-41c3-43f0-93ee-c91c553b68c1": "refund"
}
}
}Response
Webhook processed successfully