Refund
These are the events for which webhooks will be triggered:
refund.status specific events:
These are the events created and triggered when the status of the refund object changes.
Event | Description | Default (on/off) |
---|---|---|
refund.succeeded | When a refund has succeeded | On |
refund.failed | When a refund fails | On |
refund.pending | When a refund is pending to be processed | On |
refund.pending
{
"type":"refund.pending",
"created_at":958793503,
"data":{
"id":"rfd_ahfafooi7ibakbfahoan",
"object":"refund",
"created_at":7942792,
......
...... //Entire refund object
........
},
"id":"evt_auigfianfoangohuehg",
"object":"event"
}
refund.succeeded
{
"type":"refund.succeeded",
"created_at":958793503,
"data":{
"id":"rfd_ahfafooi7ibakbfahoan",
"object":"refund",
"created_at":7942792,
......
...... //Entire refund object
........
},
"id":"evt_auigfianfoangohuehg",
"object":"event"
}
refund.failed
{
"type":"refund.failed",
"created_at":958793503,
"data":{
"id":"rfd_ahfafooi7ibakbfahoan",
"object":"refund",
"created_at":7942792,
......
...... //Entire refund object
........
},
"id":"evt_auigfianfoangohuehg",
"object":"event"
}
Other events:
Event | Description | Default (on/off) |
---|---|---|
refund.created | When a refund object is created for the account | On |
refund.created
{
"type":"refund.created",
"created_at":958793503,
"data":{
"id":"rfd_ahfafooi7ibakbfahoan",
"object":"refund",
"created_at":7942792,
......
...... //Entire refund object
........
},
"id":"evt_auigfianfoangohuehg",
"object":"event"
}
Updated about 1 year ago