Build Customized Payment Page

circle-info

Applicable only for QRIS and Virtual Account

Finalize Payment Method early

If you choose autoConfirm = true, The payment will be automatically confirmed after you complete the API mode flow — no additional confirmation step is needed

chevron-rightCreate Payment Sessionhashtag

A windowed time for the end customer to complete the payment, starting when the client initiates the payment request through your app. The payment session duration is customizable, with a default duration of 15 minutes.

API Reference: Create Payment Session

chevron-rightChoose a modehashtag

To customize your own Payment Page choose mode “API”

chevron-rightDefine Payment Method hashtag

Set autoConfirm to true and fill paymentMethod and paymentMethodOptions Object to finalize the payment method from the previous step

Object Reference:

chevron-rightFill Customer and Order informationhashtag

Include customer and order details by filling the customer and orderInformation objects. Personalize the payment experience, enhance fraud detection and reconciliation, and ensure smoother processing of refund requests.

Object Reference:

chevron-rightGet Payment Information detailshashtag

After creating the Payment Session, display the payment information details on your customized Payment page, which is returned in the response.

Object Reference: Charge Object

chevron-rightSimulate Paymenthashtag

Finalize Payment Method later

If you choose autoConfirm = false, Payment Method can be submitted later during the confirmation step using the confirm API

chevron-rightCreate Payment Sessionhashtag

A windowed time for the end customer to complete the payment, starting when the client initiates the payment request through your app. The payment session duration is customizable, with a default duration of 15 minutes.

API Reference: Create Payment Session

chevron-rightChoose a modehashtag

To customize your own Payment Page choose mode “API”

chevron-rightFill Customer and Order informationhashtag

Include customer and order details by filling the customer and orderInformation objects. Personalize the payment experience, enhance fraud detection and reconciliation, and ensure smoother processing of refund requests.

Object Reference:

chevron-rightConfirm Payment Sessionhashtag

If you set autoConfirm to false on the Create Payment Session API, you can finalize the Payment Method by filling paymentMethod and paymentMethodOptions objects

API Reference: Confirm Payment Session

chevron-rightGet Payment Information detailshashtag

After confirming the Payment Session, display the payment information details on your customized Payment page, which is returned in the response.

Object Reference: Charge Object

chevron-rightSimulate Paymenthashtag

Last updated