Initialize Payment Session

Generate or input a unique Session ID before proceeding to the payment form.

ℹ️ What is a Payment Session ID?

A payment session ID is a unique identifier that links your payment request to the card payment form. This ID should be generated by your backend when creating a payment session.

Format: ps_{environment}_{timestamp}_{random}
ℹ️ What are Payment Plan Codes?

Payment plan codes define the available payment methods and installment options for a transaction. These codes should be obtained from your backend when creating a payment session.

Enter payment plan codes as a JSON array.
ℹ️ What are Card Tokens?

Card tokens represent saved card details returned by DOKU after a successful tokenization. These tokens can be used to pre-populate or filter available saved cards on the payment form.

Enter card tokens as a JSON array of token objects.