The Payment Sessions API provides a single, uniform interface for merchants to accept payments from their customers — including one-time charges, subscription setup payments, and repeat payments using previously saved details. 👉 See Product Guide

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

The event payload includes a 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.

Error Codes

👉 See Common Error Codes