Last Used Payment Channels
Overview
Last Used Payment Channel feature automatically displays a customer's most recently used payment channel on the Checkout Page. Instead of requiring returning customers to scroll through the full list of available channels, this feature surfaces their previous choice for a faster, more convenient checkout experience.
This feature is best suited for merchants with a high volume of repeat/returning customers.
How It Works
Merchant sends
customer.idin the checkout API request.If a previous successful payment channel is found, it is automatically shown/prioritized on the Checkout Page.
If no history is found (e.g., first-time customer), the Checkout Page displays the default channel list as usual.
1. Enable via Dashboard
Log in to the DOKU Dashboard
Navigate to the Checkout Page settings
Locate the Last Used Payment Channel feature
Toggle the feature ON

2. API Reference
Once activated, merchants need to pass the customer identifier in the API request:
Required parameter:
customer.id
String
Unique identifier for the customer, used to look up their last used payment channel
Request sample:
FAQ
Q: What happens if the customer used multiple channels before? A: Only the most recent successfully used channel is shown.
Q: Does this work without activating on the Dashboard?
A: No. The feature must be activated on the Dashboard even if customer.id is sent via API.
Q: Is customer.id required for all merchants, even those not using this feature?
A: No, customer.id is only needed if the merchant wants to enable this feature.
Last updated