> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chip-in.asia/llms.txt
> Use this file to discover all available pages before exploring further.

# Set a default payment method

> Pre-select a payment method on the checkout page while keeping all methods available

## Instruction

Once a purchase is created, a `checkout_url` will be provided to redirect the buyer to the payment page. To pre-select a specific payment method on the default payment page — so the customer's chosen method is highlighted first while the other methods remain visible — append the following parameter to the URL:

`?active={payment_method}`

`{payment_method}` must be one of the method names returned by [`GET /payment_methods/`](/chip-collect/api-reference/payment-methods/list). Common values include `fpx`, `fpx_b2b1`, `dnqr`, `shopee_pay`, and `crypto_coin`.

<Note>
  This is different from [`?preferred={payment_method}`](/chip-collect/overview/direct-post/intro), which **skips** the default payment page entirely and forces the customer straight into the chosen method's checkout. Use `?active=` when you want to suggest a method but still let the customer pick a different one.
</Note>

## Example

```text theme={null}
https://gate.chip-in.asia/p/{purchase_id}/?active=dnqr
```

`{purchase_id}` is the purchase ID from the `checkout_url` field returned in the [purchase response](/chip-collect/api-reference/purchases/create). Use your own purchase's ID — example URLs pointing at someone else's purchase will not work.
