Skip to Content
Docs
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:

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.

Commerce sends events for its own resources, such as orders, invoices, credit notes, products, prices, entitlements, customer claims, subscription connections, and report runs. See Commerce events. The checkout session and subscription events below are the ones Pay.com sends today. For how they change under Commerce, see Webhook events in the Commerce API overview.

Events by resource

Each resource lists the events Pay.com sends about it.

Charges

EventSent when
charge.succeededThe charge is approved and funds are captured.
charge.failedThe payment method declined the request and the charge has failed.
charge.refundedA refund for the charge was created (full or partial).
charge.requires_confirmationThe charge was authenticated and needs confirmation via the API to execute.
charge.pendingThe charge was created.
charge.acceptedA charge was created on an external platform and was accepted by Pay.com.
charge.updatedThe charge was updated.
charge.clearing_abandonedClearing was abandoned: the charge won’t be settled, and it won’t appear in settlement reports.
charge.requires_partial_approval_actionA server-to-server partial approval was started. The charge is waiting for the merchant to confirm or cancel the partial amount.

Holds

EventSent when
hold.requires_captureThe hold is approved and funds are waiting to be captured.
hold.succeededThe hold is captured. Sent only for the first capture in a multi-capture scenario.
hold.capturedThe hold is captured. Sent for every capture in a multi-capture scenario.
hold.failedThe payment method declined the request and the hold has failed.
hold.canceledThe hold on the funds expired or was canceled by the merchant.
hold.requires_confirmationThe hold was authenticated and needs confirmation to process.
hold.funds_about_to_expireThe hold on the funds is about to expire.

Refunds

EventSent when
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.

Payouts

EventSent when
payout.succeededThe payout is approved and funds have been sent to the customer.
payout.failedThe payout request has failed.
payout.pendingThe payout request was created. A follow-up webhook will be sent with the final outcome.
payout.returnedThe bank returned the payout, and the funds went back to your balance.

Payment sessions

EventSent when
payment_session.openThe payment session was created but no action has been taken yet.
payment_session.completedThe 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.failedThe payment session failed without a successful charge. A failed session may have multiple declined payment attempts.
payment_session.displayedThe payment session was displayed to the customer with all provided details.

Payment attempts

EventSent when
payment_attempt.succeededAn individual attempt within a payment session succeeded.
payment_attempt.failedAn individual attempt within a payment session failed.

Retried attempts

EventSent when
retried_attempt.createdA provider retry attempt was created.

Setup sessions

EventSent when
setup_session.openThe setup session was created but no action has been taken yet.
setup_session.completedThe setup session was completed and a payment method was successfully saved.
setup_session.failedThe setup session failed without a successful payment method attachment.

Setup attempts

EventSent when
setup_attempt.succeededAn individual attempt within a setup session succeeded.
setup_attempt.failedAn individual attempt within a setup session failed.

Authentication sessions

EventSent when
authentication_session.openA new authentication session was created.
authentication_session.authenticatedThe authentication session succeeded.
authentication_session.failedThe authentication session failed.

Checkout sessions

EventSent when
checkout_session.openThe checkout session was created but no action has been taken yet.
checkout_session.completedThe checkout session was completed and approved.
checkout_session.failedThe checkout session has failed.

Payment methods

EventSent when
payment_method.createdThe payment method was verified and created in the system.
payment_method.failed_authenticationThe additional authentication failed and the payment method cannot be used.
payment_method.requires_confirmationThe payment method was authenticated and needs confirmation to complete verification.
payment_method.updatedThe payment method was updated.
payment_method.deletedThe payment method was deleted.
payment_method.network_token.provisionedA network token was provisioned for the payment method.
payment_method.network_token.deletedA network token for the payment method was deleted.
payment_method.third_party_token.createdA third-party token was created for the payment method.
payment_method.recurring_mandate.createdA recurring mandate was created for the payment method.
payment_method.recurring_mandate.canceledThe payment method’s recurring mandate was canceled.

Customers

EventSent when
customer.createdA new customer was created.
customer.updatedA customer's details were updated.
customer.deletedThe customer was deleted.
customer.default_source.changedA customer's default payment method changed.

Subscriptions

EventSent when
subscription.failedThe subscription has failed.
subscription.activeThe subscription is active, either after initial creation or after a failed charge that succeeded on retry.
subscription.chargedThe subscription charge succeeded at the end of a billing term.
subscription.unpaidThe subscription charge failed and the subscription entered a retry sequence.
subscription.attemptedA retry attempt to charge the subscription failed. Sent for each failed retry until the subscription is canceled.
subscription.canceledThe subscription was canceled. The `cancellation_reason` field indicates why: `ended`, `cancellation_requested`, `charge_disputed` or `charge_failed`.
subscription.upcoming_renewalSent before the end of the billing term, based on the configured advance notice period.
subscription.payment_method.upcoming_expiryThe stored payment method is expiring within one month.

Disputes

EventSent when
dispute.newA new dispute that needs information from you was received.
dispute.openThe customer initiated a chargeback.
dispute.evidence_under_reviewThe submitted defense is under review.
dispute.chargeback_acceptedThe merchant agreed with the chargeback.
dispute.chargeback_canceledThe customer canceled the chargeback.
dispute.resolvedThe dispute was resolved automatically.
dispute.resolved_rapid_dispute_resolutionThe dispute was pre-resolved through the Visa RDR program.
dispute.expiredThe merchant did not respond to the dispute on time.
dispute.lostThe issuing bank rejected the defense.
dispute.wonThe issuing bank accepted the defense.
dispute.pre_arbitrationThe customer initiated a second chargeback.
dispute.arbitration_under_reviewThe merchant proceeded to card network arbitration.
dispute.arbitration_lostThe arbitration process was lost.
dispute.arbitration_wonThe arbitration process was won.
dispute.evidence_under_review_auto_defendThe defense was submitted automatically and is under review.
dispute.evidence_rejectedThe submitted evidence was rejected.

Documents

EventSent when
document.createdA document was created.
document.pendingThe document was uploaded and is pending review.
document.activeThe document was accepted and is now active.
document.rejectedThe document was rejected.

Collaborations

EventSent when
collaboration.openThe collaboration was opened.
collaboration.resolvedThe collaboration was resolved.
collaboration.escalatedThe collaboration was escalated.

Risk reviews

EventSent when
review.customer.createdA customer review was created.
review.customer.expiredA customer review has expired.
review.customer.reviewedA customer review was reviewed.
review.transaction.createdA transaction review was created.
review.transaction.expiredA transaction review has expired.
review.transaction.reviewedA transaction review was reviewed.

Customer block reviews

EventSent when
customer_block_review.createdA customer block review was created.

Fraud warnings

EventSent when
fraud_warning.createdA 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

EventSent when
rule.createdA risk rule was created.
rule.updatedA risk rule was updated.
rule.deletedA risk rule was deleted.

Settlements

EventSent when
settlement.paidThe settlement was paid.

Reconciliation

EventSent when
reconciliation.updateThe reconciliation was updated.

Cash flow transactions

EventSent when
cashflow_transaction.createdA transaction cleared and cashflow data is available.

Exchange rates

EventSent when
exchange_rates.updateExchange rates were updated.

Reports

EventSent when
report.uploadedThe report was generated and uploaded.
Was this page helpful?