# Specify a payment method

> You can pass the parameters in the createPaymentSession API to specify the display elements for different payment methods.

You can pass the parameters in the [**createPaymentSession (One-time Payments)**](https://docs.antom.com/ac/ams/session_cashier.md) API to specify the display of payment methods, the order of the payment method list, and the display of quick payments on [Payment Element](https://docs.antom.com/ac/cashierpay/element.md?platform=web-wap) or [Checkout Page (CKP)](https://docs.antom.com/ac/cashierpay/HOSTEDCKP.md).

> **Note**: For [Checkout Page (CKP)](https://docs.antom.com/ac/cashierpay/HOSTEDCKP.md), you can also specify payment methods on [Antom Dashboard](https://dashboard.alipay.com/global-payments/account/login?goto=https%3A%2F%2Fdashboard.alipay.com%2Fglobal-payments%2Fhome) through **Payments > Checkout page> Payment methods**. If you pass parameters through the API, the API values take priority.

This feature offers you the following benefits:

-   Filter local payment methods based on your business region.
-   Sort your preferred payment methods.
-   Display the mainstream quick payments, such as [Alipay](https://docs.antom.com/ac/antomop/alipay_cn.md), [Apple Pay](https://docs.antom.com/ac/antomop/applepay.md), and [Google Pay](https://docs.antom.com/ac/antomop/googlepay.md).

To specify the payment method, pass the following parameters in the _availablePaymentMethod_ parameter of the [**createPaymentSession (One-time Payments)**](https://docs.antom.com/ac/ams/session_cashier.md) API:

| **Parameter name** | **Required** | **Description** |
| --- | --- | --- |
| _paymentMethodTypeList_ | No | List of payment methods available to the buyer. The list includes the following parameters: - _paymentMethodType_: The type of payment method included in the payment option. See [Enumeration values of payment methods](https://docs.antom.com/ac/pm/enumeration_values.md) for valid values. - _paymentMethodOrder_: The priority order you set for payment methods, represented by sequence numbers. The smaller the number, the higher the priority. If no sequence is set, Antom's default sorting will be used. - _expressCheckout_: Specifies whether to enable the express checkout option for a payment method. Currently, only `ALIPAY_CN`, `APPLEPAY`, and `GOOGLEPAY` can be set as express checkout methods. Valid values are: - `true`: Enables express checkout for this payment method. - `false`: Disables express checkout for this payment method. > **Note**: For [Payment Element](https://docs.antom.com/ac/cashierpay/element.md?platform=web-wap), the _expressCheckout_ parameter is currently supported only on Android and iOS. |

The following is a sample code for specifying the payment method:

```json
{ ...
  "availablePaymentMethod": {
    "paymentMethodTypeList": [
      {
        "paymentMethodType": "ALIPAY_CN",
        "expressCheckout": true,
        "paymentMethodOrder": "0"
      },
      {
        "paymentMethodType": "TNG",
        "expressCheckout": false,
        "paymentMethodOrder": "1"
      }
    ]
  }
}
```