Webhooks
Webhook events
Complete list of Pay.com webhook events grouped by resource.
Pay.com sends webhook events across the lifecycle of every resource in your
account. Each event includes a type identifying what happened and a data
object containing the resource snapshot at the time of the event:
{
"id": "evt_191439662182903690",
"resource": "event",
"type": "charge.succeeded",
"created": "2022-09-07T13:40:41.751Z",
"data": { ... }
}Verify the Pay-Signature header on every incoming event before processing it
(see Verify webhook signatures).
Each resource's events are also listed alongside its endpoints in the API
reference, for example Charge events.
Events by resource
Each resource lists the events Pay.com sends about it.
Charges
| Event | Sent when |
|---|---|
charge.succeeded | The charge is approved and funds are captured. |
charge.failed | The payment method declined the request and the charge has failed. |
charge.refunded | A refund for the charge was created (full or partial). |
charge.requires_confirmation | The charge was authenticated and needs confirmation via the API to execute. |
charge.pending | The charge was created. |
charge.accepted | A charge was created on an external platform and was accepted by Pay.com. |
charge.updated | The charge was updated. |
charge.clearing_abandoned | Clearing was abandoned: the charge won’t be settled, and it won’t appear in settlement reports. |
charge.requires_partial_approval_action | A server-to-server partial approval was started. The charge is waiting for the merchant to confirm or cancel the partial amount. |
Holds
| Event | Sent when |
|---|---|
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. |
Refunds
| Event | Sent when |
|---|---|
refund.succeeded | A refund for a charge was successfully created. |
refund.failed | The refund request has failed. |
refund.pending | The refund request was created. |
refund.updated | The refund was updated. |
Payouts
| Event | Sent when |
|---|---|
payout.succeeded | The payout is approved and funds have been sent to the customer. |
payout.failed | The payout request has failed. |
payout.pending | The payout request was created. A follow-up webhook will be sent with the final outcome. |
payout.returned | The bank returned the payout, and the funds went back to your balance. |
Payment sessions
| Event | Sent when |
|---|---|
payment_session.open | The payment session was created but no action has been taken yet. |
payment_session.completed | The payment session was completed and approved. A payment method was attached and a charge or hold was created based on the session parameters. |
payment_session.failed | The payment session failed without a successful charge. A failed session may have multiple declined payment attempts. |
payment_session.displayed | The payment session was displayed to the customer with all provided details. |
Payment attempts
| Event | Sent when |
|---|---|
payment_attempt.succeeded | An individual attempt within a payment session succeeded. |
payment_attempt.failed | An individual attempt within a payment session failed. |
Retried attempts
| Event | Sent when |
|---|---|
retried_attempt.created | A provider retry attempt was created. |
Setup sessions
| Event | Sent when |
|---|---|
setup_session.open | The setup session was created but no action has been taken yet. |
setup_session.completed | The setup session was completed and a payment method was successfully saved. |
setup_session.failed | The setup session failed without a successful payment method attachment. |
Setup attempts
| Event | Sent when |
|---|---|
setup_attempt.succeeded | An individual attempt within a setup session succeeded. |
setup_attempt.failed | An individual attempt within a setup session failed. |
Authentication sessions
| Event | Sent when |
|---|---|
authentication_session.open | A new authentication session was created. |
authentication_session.authenticated | The authentication session succeeded. |
authentication_session.failed | The authentication session failed. |
Checkout sessions
| Event | Sent when |
|---|---|
checkout_session.open | The checkout session was created but no action has been taken yet. |
checkout_session.completed | The checkout session was completed and approved. |
checkout_session.failed | The checkout session has failed. |
Payment methods
| Event | Sent when |
|---|---|
payment_method.created | The payment method was verified and created in the system. |
payment_method.failed_authentication | The additional authentication failed and the payment method cannot be used. |
payment_method.requires_confirmation | The payment method was authenticated and needs confirmation to complete verification. |
payment_method.updated | The payment method was updated. |
payment_method.deleted | The payment method was deleted. |
payment_method.network_token.provisioned | A network token was provisioned for the payment method. |
payment_method.network_token.deleted | A network token for the payment method was deleted. |
payment_method.third_party_token.created | A third-party token was created for the payment method. |
payment_method.recurring_mandate.created | A recurring mandate was created for the payment method. |
payment_method.recurring_mandate.canceled | The payment method’s recurring mandate was canceled. |
Customers
| Event | Sent when |
|---|---|
customer.created | A new customer was created. |
customer.updated | A customer's details were updated. |
customer.deleted | The customer was deleted. |
customer.default_source.changed | A customer's default payment method changed. |
Subscriptions
| Event | Sent when |
|---|---|
subscription.failed | The subscription has failed. |
subscription.active | The subscription is active, either after initial creation or after a failed charge that succeeded on retry. |
subscription.charged | The subscription charge succeeded at the end of a billing term. |
subscription.unpaid | The subscription charge failed and the subscription entered a retry sequence. |
subscription.attempted | A retry attempt to charge the subscription failed. Sent for each failed retry until the subscription is canceled. |
subscription.canceled | The subscription was canceled. The `cancellation_reason` field indicates why: `ended`, `cancellation_requested`, `charge_disputed` or `charge_failed`. |
subscription.upcoming_renewal | Sent before the end of the billing term, based on the configured advance notice period. |
subscription.payment_method.upcoming_expiry | The stored payment method is expiring within one month. |
Disputes
| Event | Sent when |
|---|---|
dispute.new | A new dispute that needs information from you was received. |
dispute.open | The customer initiated a chargeback. |
dispute.evidence_under_review | The submitted defense is under review. |
dispute.chargeback_accepted | The merchant agreed with the chargeback. |
dispute.chargeback_canceled | The customer canceled the chargeback. |
dispute.resolved | The dispute was resolved automatically. |
dispute.resolved_rapid_dispute_resolution | The dispute was pre-resolved through the Visa RDR program. |
dispute.expired | The merchant did not respond to the dispute on time. |
dispute.lost | The issuing bank rejected the defense. |
dispute.won | The issuing bank accepted the defense. |
dispute.pre_arbitration | The customer initiated a second chargeback. |
dispute.arbitration_under_review | The merchant proceeded to card network arbitration. |
dispute.arbitration_lost | The arbitration process was lost. |
dispute.arbitration_won | The arbitration process was won. |
dispute.evidence_under_review_auto_defend | The defense was submitted automatically and is under review. |
dispute.evidence_rejected | The submitted evidence was rejected. |
Documents
| Event | Sent when |
|---|---|
document.created | A document was created. |
document.pending | The document was uploaded and is pending review. |
document.active | The document was accepted and is now active. |
document.rejected | The document was rejected. |
Collaborations
| Event | Sent when |
|---|---|
collaboration.open | The collaboration was opened. |
collaboration.resolved | The collaboration was resolved. |
collaboration.escalated | The collaboration was escalated. |
Risk reviews
| Event | Sent when |
|---|---|
review.customer.created | A customer review was created. |
review.customer.expired | A customer review has expired. |
review.customer.reviewed | A customer review was reviewed. |
review.transaction.created | A transaction review was created. |
review.transaction.expired | A transaction review has expired. |
review.transaction.reviewed | A transaction review was reviewed. |
Customer block reviews
| Event | Sent when |
|---|---|
customer_block_review.created | A customer block review was created. |
Fraud warnings
| Event | Sent when |
|---|---|
fraud_warning.created | A transaction was officially reported as fraud via TC40 or SAFE files. This event lets you proactively refund the charge before it becomes a dispute. |
Risk rules
| Event | Sent when |
|---|---|
rule.created | A risk rule was created. |
rule.updated | A risk rule was updated. |
rule.deleted | A risk rule was deleted. |
Settlements
| Event | Sent when |
|---|---|
settlement.paid | The settlement was paid. |
Reconciliation
| Event | Sent when |
|---|---|
reconciliation.update | The reconciliation was updated. |
Cash flow transactions
| Event | Sent when |
|---|---|
cashflow_transaction.created | A transaction cleared and cashflow data is available. |
Exchange rates
| Event | Sent when |
|---|---|
exchange_rates.update | Exchange rates were updated. |
Reports
| Event | Sent when |
|---|---|
report.uploaded | The report was generated and uploaded. |
Was this page helpful?