# Adding payment methods

> Follow the steps to add new payment methods after successfully integrating the One-time Payments product.

After successfully integrating the One-time Payments product and payment methods, adding a new payment method becomes a streamlined process. Minimal additional integration effort is needed, with the primary focus on the sandbox integration and production acceptance stages.

## Sandbox integration

1.  Add payment methods to the checkout page.

      Obtain logos using the provided [tool](https://docs.antom.com/ac/ref/brandasset.md). If you can't obtain logos through the tool, contact technical support for help.

 2. Configure parameters and handle redirections.

a. Update payment method enumerations of the _paymentMethodType_ field in the [**pay**](https://docs.antom.com/ac/ams/payment_cashier.md) API. Refer to [Enumeration values of payment methods](https://docs.antom.com/ac/pm/enumeration_values.md) to check supported enumerations for payment-method-related parameters.

b. After calling the [**pay**](https://docs.antom.com/ac/ams/payment_cashier.md) API, the API response includes payment continuation URLs.

-   To handle redirections correctly after you get the payment continuation URLs, follow [Best practices for configuring the payment continuation URL](https://docs.antom.com/ac/cashierpay/redirection.md).
-   In addition, to check what type of URLs is to be returned for each payment method, see [URLs returned for payment methods](https://docs.antom.com/ac/cashierpay/urls.md).

     c. Pre-front solutions

Some payment methods support pre-front solutions, allowing the bank list, payment details, QR codes, or payment passwords to be displayed to buyers in advance during the payment process. This reduces the need for page redirection and enhances the buyer experience.

Check if the payment method supports the pre-front solution from [Best practices for pre-front solution](https://docs.antom.com/ac/pm/prefront.md). If supported, it is recommended to follow the best practice to complete the integration.

  3. Integrate refund APIs

-   If your business does not involve refund scenarios or only processes refunds through Antom Dashboard, you can skip this section.
-   If your business uses the refund API for refunds, refer to [payment methods](https://docs.antom.com/payment_methods.md) to check if each payment method supports refunds. For payment methods that support refunds, you can initiate refunds or get refund results by using the following methods:


| **Payment method** | **Obtain the refund result by using** | **Obtain the refund result by using** |
| --- | --- | --- |
| **Payment method** | **inquiryRefund** | **notifyRefund** |
| Digital wallet | ✔️ | ✔️ |
| Other payment methods | ✔️ | ✔️ |

## Production Acceptance

Perform payment and refund acceptance tests for the corresponding payment method.