Available in🇮🇳 India🇲🇾 Malaysia🇸🇬 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
Wallet
Whenmethod is wallet, you need to pass an additional field wallet as shown below:
Example
wallet:
touchngo(default)grabpay(default)boost(default)
FPX
Whenmethod is fpx, you need to pass an additional field bank as shown below:
Example