# CommercePay - [Overview](https://docs.commercepay.asia/docs/overview.md): Accept payments and send payouts through the CommercePay API. - [Setup Guide](https://docs.commercepay.asia/docs/get-started.md): Set up your environment, obtain credentials, and choose an integration method. - [API Credentials](https://docs.commercepay.asia/docs/api-credentials.md): Credentials issued by CommercePay for authenticating API requests. - [Service Environments](https://docs.commercepay.asia/docs/service-environments.md): Staging and production base URLs for the CommercePay API. - [Request Headers](https://docs.commercepay.asia/docs/request-headers.md): Required headers for every CommercePay API request. - [Generate Signature](https://docs.commercepay.asia/docs/generate-signature.md): How to generate the cap-signature header for POST and GET requests. - [Direct Integration](https://docs.commercepay.asia/docs/direct-integration.md): Maintain full control over your checkout experience with Direct Integration. - [Hosted Session Checkout](https://docs.commercepay.asia/docs/hosted-session-checkout.md): Redirect customers to a persistent CommercePay-hosted payment page. - [Card Integration](https://docs.commercepay.asia/docs/card-integration.md): Display card fields directly on your own checkout page (PCI DSS required). - [Recurring Payments](https://docs.commercepay.asia/docs/recurring-payments.md): Automatically charge customers on a scheduled billing cycle. - [Payout Integration](https://docs.commercepay.asia/docs/payout-integration.md): Transfer funds to external recipients via bank account or DuitNow Proxy. - [Payout Provider Channel Code](https://docs.commercepay.asia/docs/payout-provider-channel.md): Bank and DuitNow Proxy codes used for payouts. - [Payout Test Accounts](https://docs.commercepay.asia/docs/payout-test-account.md): Test bank and proxy accounts available in the staging environment. - [Refund Integration](https://docs.commercepay.asia/docs/refund-integration.md): Initiate full or partial refunds for successful payment transactions. - [Get Access Token](https://docs.commercepay.asia/api-reference/get-access-token.md): The following input parameters are expected to be provided by the Merchant to retrieve the access token. - [Get Channel List](https://docs.commercepay.asia/api-reference/get-tenant-channels-by-country.md): The following input parameters are expected to be provided by the merchant to retrieve available channels by country code. - [Get Provider Channels](https://docs.commercepay.asia/api-reference/get-provider-channels.md): The following input parameters are expected to be provided by the merchant to retrieve available payment provider channels. - [Direct Integration](https://docs.commercepay.asia/api-reference/direct-integration-api-request-payment.md): Initiate a checkout transaction and obtain the payment provider redirection URL. - [Hosted Session Checkout](https://docs.commercepay.asia/api-reference/initial-session.md): Payment gateway hosted session checkout. The following input parameters are expected to be provided by the merchant to initiate a hosted checkout session. Unlike [Direct Integration](/api-reference/direct-integration-api-request-payment), this endpoint does not take a `channelId` — the customer s… - [Query Payment](https://docs.commercepay.asia/api-reference/paymentgateway/query-payment.md): Payment gateway checks the existing payment status. - [Add Saved Payment](https://docs.commercepay.asia/api-reference/add-saved-payment.md): **Pre add customer payer payment details in Payment Gateway** Allow merchants save their customer payment details and using their system generated Unique Id to identify each of customers. > - Merchants shall pass their customers Unique Id to **"customer.username"** parameter > - Merchants may… - [Check Saved Payment](https://docs.commercepay.asia/api-reference/check-saved-payment.md): Payment gateway check existing saved payment status. (Only for TNG) - [Revoke Saved Payment](https://docs.commercepay.asia/api-reference/revoke-saved-payment.md): **Revoke a customer's saved payment method in Payment Gateway** - [Request Payout](https://docs.commercepay.asia/api-reference/payout-api-requestpayout.md): Request a payout and transfer funds via bank account or DuitNow Proxy. - [Inquiry Wallets](https://docs.commercepay.asia/api-reference/payout-api-querywallets.md): Retrieve wallet balance, status, and related details. - [Inquiry Wallet Histories](https://docs.commercepay.asia/api-reference/payout-api-querywallethistories.md): Retrieve wallet transaction history. - [Refund Payment](https://docs.commercepay.asia/api-reference/paymentgateway/refund-payment.md): **The payment gateway requests a refund payment** - [Query Refund Payment](https://docs.commercepay.asia/api-reference/paymentgateway/query-refund-payment.md): **The payment gateway requests a query refund payment status** - [Get Access Token](https://docs.commercepay.asia/api-reference/get-access-token.md): The following input parameters are expected to be provided by the Merchant to retrieve the access token. - [Get Channel List](https://docs.commercepay.asia/api-reference/get-tenant-channels-by-country.md): The following input parameters are expected to be provided by the merchant to retrieve available channels by country code. - [Get Provider Channels](https://docs.commercepay.asia/api-reference/get-provider-channels.md): The following input parameters are expected to be provided by the merchant to retrieve available payment provider channels. - [Query Payment](https://docs.commercepay.asia/api-reference/paymentgateway/query-payment.md): Payment gateway checks the existing payment status. - [Request Payment](https://docs.commercepay.asia/api-reference/paymentgateway/request-payment.md): **The payment gateway requests a new payment** - [Process Payment](https://docs.commercepay.asia/api-reference/paymentgateway/process-payment.md): **The payment gateway process a new payment** The following input parameters are expected to be provided by the merchant to perform pre-auth, full payment or partial payment operation. - [Check Saved Payment](https://docs.commercepay.asia/api-reference/check-saved-payment.md): Payment gateway check existing saved payment status. (Only for TNG) - [Add Saved Payment](https://docs.commercepay.asia/api-reference/add-saved-payment.md): **Pre add customer payer payment details in Payment Gateway** Allow merchants save their customer payment details and using their system generated Unique Id to identify each of customers. > - Merchants shall pass their customers Unique Id to **"customer.username"** parameter > - Merchants may… - [Revoke Saved Payment](https://docs.commercepay.asia/api-reference/revoke-saved-payment.md): **Revoke a customer's saved payment method in Payment Gateway** - [Refund Payment](https://docs.commercepay.asia/api-reference/paymentgateway/refund-payment.md): **The payment gateway requests a refund payment** - [Query Refund Payment](https://docs.commercepay.asia/api-reference/paymentgateway/query-refund-payment.md): **The payment gateway requests a query refund payment status** - [Query Wallets](https://docs.commercepay.asia/api-reference/paymentgateway/query-wallets.md): Inquiry the wallet balance. The following input parameters are expected to be provided by the merchant to retrieve the wallet balances. - [Hosted Session Checkout](https://docs.commercepay.asia/api-reference/initial-session.md): Payment gateway hosted session checkout. The following input parameters are expected to be provided by the merchant to initiate a hosted checkout session. Unlike [Direct Integration](/api-reference/direct-integration-api-request-payment), this endpoint does not take a `channelId` — the customer s… ## OpenAPI Specs - [openapi](/openapi.json)