Quickstart: One-Time Payments
Create a payment session, launch checkout, and handle the completion webhook.
Quickstart: Recurring Payments
Set up a mandate and collect future payments without customer interaction.
Quickstart: Integrate Specific Payment Methods
Control which payment methods appear on the hosted checkout, or manage selection yourself.
Webhooks
The Payment Sessions API supports webhook events that allow you to track the lifecycle and state changes of a payment session in real time. These webhooks can be used to automate internal processes, trigger notifications, or initiate subsequent payment flows.Available Events
-
payment_session.created
Triggered when a Payment Session is successfully created and ready to be used for payment.
👉 Seepayment_session.createdEvent -
payment_session.updated
Triggered when a Payment Session is updated.
👉 Seepayment_session.updatedEvent -
payment_session.completed
Triggered when a Payment Session has been completed successfully.
👉 Seepayment_session.completedEvent
payment_session object, which contains fields like created_at, updated_at, and payment_id.
Where applicable, it also includes a customer_id and payment_method_id, which can be used for subsequent next-in-series payments.

