Refunds
Refund events
WEBHOOK
refund.*Pay.com sends these events to your webhook endpoints when a refund changes. Each one carries the refund as it was at that moment. To add an endpoint and check signatures, see Webhooks.
Events
refund.succeededA refund for a charge was successfully created.
refund.failedThe refund request has failed.
refund.pendingThe refund request was created.
refund.updatedThe refund was updated.
Each event
idstringThe event’s id, starting
evt_.resourcestringAlways
event.typestringOne of the events above, such as
refund.succeeded.createdstringWhen it happened, in ISO 8601 (UTC).
dataobjectThe refund as it was at that moment, with the attributes Retrieve a refund returns.
Was this page helpful?