Skip to main content
Available in🇮🇳 India🇲🇾 Malaysia🇸🇬 Singapore
Razorpay Curlec Standard Checkout hosts a variety of payment methods for customers to make payments. The order of these payment methods on the Checkout used to be fixed and could not be interchanged. There can be situations where you want certain payment methods to be shown more prominently, or to rearrange the order in which they are displayed on the Checkout. You can configure the payment methods of your choice on the Checkout to provide a personalised experience for your customers, and you can restrict payments to only the instruments you want to accept.

Use Cases

You can configure the payment methods depending on your use case.
  • Highlighting certain payment instruments on the Checkout.
    For example, Maybank could be displayed outside the FPX block as a separate payment method. Similarly, Touch ‘n Go can be pulled out of the wallet block.
  • Restricting the network, issuer, BIN and card type to accept payments from.
    For example, you can choose to accept payments only from CIMB Visa Debit cards on the Checkout.
  • Removing a certain payment method or instrument.
    For example, Boost can be removed as a payment method from wallets. The entire FPX block, or a certain bank within FPX, can be removed from the Checkout.
  • Reordering of payment methods on the Checkout.
    You can choose to have FPX as the first section instead of Cards on the Checkout.
  • Grouping of payment instruments.
    For example, you can group the FPX and card payment methods of a bank into a block labelled Pay via Bank on the Checkout.

Configuring Payment Methods

Depending on how you want to control the payment methods on the Checkout, there are different ways in which the configuration can be passed to the Checkout:
  • Pass the configuration in the options parameter of the Checkout code at run time.
    This is useful when you want to modify the order of the payment methods for a particular set of payments while rendering the Checkout. See the sample code for details.
  • Create a global setting of the payments as a Configuration ID and pass these values while creating the Order.
    This is useful when you want to fix the order of the payment methods across all Checkout renders.
NoteContact our Support team for more details about the Configuration ID.

Understanding the Configuration

The building blocks of a configuration — payment methods, payment instruments, blocks, sequence and preferences — are documented in Understand the Configuration, along with the instruments available for each method in Malaysia.

Building the Configuration

This section contains details about the display configuration and the restrictions configuration.

Display Configuration

Using the display config, you can put together all the modules, that is, blocks, sequence, preferences and hide instruments, as shown below. The display config can be passed in the Checkout options or in the Orders API request using the checkout_config_id parameter.
Handy TipsContact our Support team to get your checkout_config_id parameter.

Restrictions Configuration

Using the display config, you can reorder, highlight or hide instruments and methods and display the modules on the Checkout. Using the restrictions config, you can accept payments using only certain instruments. For example, you can use it to accept payments only from specific card networks such as Visa or Mastercard, only from CIMB or Maybank cards, or only from cards of a particular BIN. To restrict payments, we recommend using the restrictions config.
Feature RequestThis feature is not enabled by default. Raise a request with our Support team to have it enabled on your account.
The restrictions config must be sent in the Orders API request as shown below:
Know more about the Orders API.

Sample Code

Let us assume you want to list all the payment methods offered by CIMB, allow card payments for RHB only, and hide the wallet payment method from the Checkout. You can do so using the code given below:
Checkout Code

Reference

The banks, card types, wallets and pay later providers you can use in a configuration are listed in Supported Methods.