Skip to Content
Docs
Holds

Hold events

WEBHOOKhold.*

Pay.com sends these events to your webhook endpoints when a hold changes. Each one carries the hold as it was at that moment. To add an endpoint and check signatures, see Webhooks.

Events

hold.requires_capture
The hold is approved and funds are waiting to be captured.
hold.succeeded
The hold is captured. Sent only for the first capture in a multi-capture scenario.
hold.captured
The hold is captured. Sent for every capture in a multi-capture scenario.
hold.failed
The payment method declined the request and the hold has failed.
hold.canceled
The hold on the funds expired or was canceled by the merchant.
hold.requires_confirmation
The hold was authenticated and needs confirmation to process.
hold.funds_about_to_expire
The hold on the funds is about to expire.

Each event

idstring
The event’s id, starting evt_.
resourcestring
Always event.
typestring
One of the events above, such as hold.requires_capture.
createdstring
When it happened, in ISO 8601 (UTC).
dataobject
The hold as it was at that moment, with the attributes Retrieve a hold returns.
Was this page helpful?