Payment Session API is a simplified solution for accepting payments and managing your customers’ payment methods through a Xendit-hosted checkout page. It allows you to collect one-time, customer-present payments or securely save a customer’s payment method for future use - all with minimal integration effort.
Payment Session supports three key use cases:
One-Time Payment – Collect a single payment where the customer is present.
Save Payment Method – Let customers securely save their payment method for future transactions.
Pay and Save – Collect the payment and save the end user’s payment information at the same time in a bundled flow.
All Payment Sessions use a Xendit-hosted checkout page to ensure secure, compliant, and consistent user experiences.
.png?sv=2022-11-02&spr=https&st=2025-11-19T07%3A39%3A38Z&se=2025-11-19T07%3A50%3A38Z&sr=c&sp=r&sig=PBXrvLk5cSkNbxoIs35hgUiewPekNhOMzkJbKedPMfg%3D)
Solution Overview

Payment Session simplifies payment collection and payment method management through a Xendit-hosted checkout page. Depending on your use case, the flow can be either One-Time Payment, Save Payment Method or Pay and Save.
Create a Payment Session from your server for either a One-Time Payment or to Save Payment Method to get Xendit’s
payment_link_url.Redirect your customer to the Xendit-hosted page using the
payment_link_url.The customer will enter payment details and confirms the transaction inside Xendit-hosted checkout page
Payment Flow
One-Time Payment: Xendit processes the payment and sends a webhook
payment.captureorpayment.failed). Your system updates the order.Save Payment Method: Xendit links the payment method and sends a webhook
payment_token.activation). Your system stores the Payment Token for future charges.Pay and Save Method: Xendit processes the payment & links the payment method for successful payment
payment.capture&payment_token.activation, andpayment.failed). Your system updates the order and stores the Payment Token for future charges.
Future Charges (Optional for Pay and Save and Save Payment Method)
When ready to charge the customer, create a Payment Request using the stored Payment Token.
The customer does not need to re-enter payment details, simplifying recurring or repeat payments.
Key Notes: All flows use a Xendit-hosted page for secure, PCI-compliant handling of payment details.