Skip to main content
Available in🇮🇳 India🇸🇬 Singapore🇺🇸 United States
The Razorpay Web Custom SDK lets you integrate the supported payment methods on your website’s checkout form.

Fetch Payment Methods

Use the Fetch Payment Methods API to fetch the payment methods available for your account. Below are the sample payloads for each payment method.

Debit and Credit Card

In this case, data.method should be specified as card. Other required fields:
  • card[name]
  • card[number]
  • card[cvv]
  • card[expiry_month]
  • card[expiry_year]
Example

ACH Direct Debit

When method is ach, you need to pass an additional field bank_account as shown below:
Example
You can list the available banks using a drop-down for customers. You can obtain a list of banks using the Fetch Supported Methods API.